summaryrefslogtreecommitdiff
path: root/plugins/jobs/job
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-10 19:54:03 +0300
committerValery Piashchynski <[email protected]>2021-08-10 19:54:03 +0300
commita8a7f4194156440ef3157d8e5d75c43ed0327bcf (patch)
tree9bc4240fb3c6f02682420689490f56d681d4b545 /plugins/jobs/job
parentd379c28a1e9babead0266bc4fa10d6c5e7aa14cb (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.go28
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")
+}