summaryrefslogtreecommitdiff
path: root/plugins/jobs/brokers/ephemeral/broker.go
blob: 905f540932dc4b4743ed414bd1c8583a664711f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package ephemeral

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

type JobBroker struct {
}

func NewJobBroker(q priorityqueue.Queue) (*JobBroker, error) {
	return &JobBroker{}, nil
}

func (j *JobBroker) Push(pipeline *pipeline.Pipeline, job *structs.Job) (string, error) {
	panic("implement me")
}

func (j *JobBroker) Stat() {
	panic("implement me")
}

func (j *JobBroker) Consume(pipeline *pipeline.Pipeline) {
	panic("implement me")
}

func (j *JobBroker) Register(pipeline *pipeline.Pipeline) {
	panic("implement me")
}