Until now, all jobs were put as "osbuild" jobs into the job queue and the worker API hard-coded sending an osbuild manifest and upload targets. Change the API to take a "type" and "args" keys, which are equivalent to the job-queue's type and args. Workers continue to support only osbuild jobs, but this makes other jobs possible in the future. |
||
|---|---|---|
| .. | ||
| api.gen.go | ||
| api.go | ||
| openapi.yml | ||