aboutsummaryrefslogtreecommitdiff
path: root/plugin/ready/readiness.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/ready/readiness.go')
-rw-r--r--plugin/ready/readiness.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/ready/readiness.go b/plugin/ready/readiness.go
new file mode 100644
index 000000000..7aca5dfc2
--- /dev/null
+++ b/plugin/ready/readiness.go
@@ -0,0 +1,7 @@
+package ready
+
+// The Readiness interface needs to be implemented by each plugin willing to provide a readiness check.
+type Readiness interface {
+ // Ready is called by ready to see whether the plugin is ready.
+ Ready() bool
+}