summaryrefslogtreecommitdiff
path: root/common/jobs/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/jobs/interface.go')
-rw-r--r--common/jobs/interface.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/jobs/interface.go b/common/jobs/interface.go
index 3c29447d..a75ba760 100644
--- a/common/jobs/interface.go
+++ b/common/jobs/interface.go
@@ -11,7 +11,8 @@ type Consumer interface {
Push(job *structs.Job) error
Register(pipeline *pipeline.Pipeline) error
Consume(pipeline *pipeline.Pipeline) error
- List() []*pipeline.Pipeline
+ // List of the pipelines
+ List() []string
Pause(pipeline string)
Resume(pipeline string)