summaryrefslogtreecommitdiff
path: root/plugins/informer/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/informer/interface.go')
-rw-r--r--plugins/informer/interface.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/informer/interface.go b/plugins/informer/interface.go
index 45f44691..cd8ab232 100644
--- a/plugins/informer/interface.go
+++ b/plugins/informer/interface.go
@@ -8,3 +8,9 @@ import (
type Informer interface {
Workers() []process.State
}
+
+// Lister interface used to filter available plugins
+type Lister interface {
+ // List gets no args, but returns list of the active plugins
+ List() []string
+}