diff options
author | Valery Piashchynski <[email protected]> | 2021-07-05 18:44:29 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-05 18:44:29 +0300 |
commit | 207739f7346c98e16087547bc510e1f909671260 (patch) | |
tree | 5c6eac27beb4eb5e127c7d8dae3464edb3359be9 /plugins/jobs/structs/job_options.go | |
parent | 300166eda7b138847008a7653f90753bd8397b9e (diff) |
- Update PQ
- Update ephemeral plugin, complete Push
- Add Jobs full configuration
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/structs/job_options.go')
-rw-r--r-- | plugins/jobs/structs/job_options.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/jobs/structs/job_options.go b/plugins/jobs/structs/job_options.go index 1507d053..029a797d 100644 --- a/plugins/jobs/structs/job_options.go +++ b/plugins/jobs/structs/job_options.go @@ -4,6 +4,13 @@ import "time" // Options carry information about how to handle given job. type Options struct { + // Priority is job priority, default - 10 + // pointer to distinguish 0 as a priority and nil as priority not set + Priority *uint64 `json:"priority"` + + // ID - generated ID for the job + ID string `json:"id"` + // Pipeline manually specified pipeline. Pipeline string `json:"pipeline,omitempty"` |