summaryrefslogtreecommitdiff
path: root/plugins/status/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/status/interface.go')
-rw-r--r--plugins/status/interface.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/status/interface.go b/plugins/status/interface.go
index 0a92bc52..9d5a13af 100644
--- a/plugins/status/interface.go
+++ b/plugins/status/interface.go
@@ -9,3 +9,10 @@ type Status struct {
type Checker interface {
Status() Status
}
+
+// Readiness interface used to get readiness status from the plugin
+// that means, that worker poll inside the plugin has 1+ plugins which are ready to work
+// at the particular moment
+type Readiness interface {
+ Ready() Status
+}