diff options
author | Valery Piashchynski <[email protected]> | 2021-08-10 19:54:03 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-10 19:54:03 +0300 |
commit | a8a7f4194156440ef3157d8e5d75c43ed0327bcf (patch) | |
tree | 9bc4240fb3c6f02682420689490f56d681d4b545 /plugins/jobs/job | |
parent | d379c28a1e9babead0266bc4fa10d6c5e7aa14cb (diff) |
Add jobs protocol support for the AMQP driver
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/job')
-rw-r--r-- | plugins/jobs/job/general.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/jobs/job/general.go b/plugins/jobs/job/general.go index 2c7d04f0..d2a27373 100644 --- a/plugins/jobs/job/general.go +++ b/plugins/jobs/job/general.go @@ -29,3 +29,31 @@ type Job struct { // Options contains set of PipelineOptions specific to job execution. Can be empty. Options *Options `json:"options,omitempty"` } + +func (j Job) ID() string { + panic("implement me") +} + +func (j Job) Priority() int64 { + panic("implement me") +} + +func (j Job) Body() []byte { + panic("implement me") +} + +func (j Job) Context() ([]byte, error) { + panic("implement me") +} + +func (j Job) Ack() error { + panic("implement me") +} + +func (j Job) Nack() error { + panic("implement me") +} + +func (j Job) Requeue(delay uint32) error { + panic("implement me") +} |