summaryrefslogtreecommitdiff
path: root/plugins/jobs/interface.go
blob: b48620389d3c2abd3c07f7aab1df7a9e2e70c0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package jobs

import (
	"github.com/spiral/roadrunner/v2/plugins/jobs/pipeline"
	"github.com/spiral/roadrunner/v2/plugins/jobs/structs"
)

// Consumer todo naming
type Consumer interface {
	Push(*pipeline.Pipeline, *structs.Job) (string, error)
	Stat()
	Consume(*pipeline.Pipeline)
	Register(*pipeline.Pipeline)
}