debian-forge-composer/internal/worker
Lars Karlitski c15c17960b worker: make worker.Client job-agnostic
Move the fact that the worker is requesting jobs of type "osbuild" out
of the client library.

For one, require consumers to pass accepted job types to RequestJobs()
and allow querying for the job type with the new Type() function.

Also, make OSBuildArgs() and Update() generic, requiring to pass an
argument that matches the job type.
2020-11-09 14:17:19 +01:00
..
api worker: prefix all routes with /api/worker/v1 2020-09-24 21:08:56 +01:00
client.go worker: make worker.Client job-agnostic 2020-11-09 14:17:19 +01:00
json.go worker: use OSBuildJobResult consistently 2020-11-09 14:17:19 +01:00
server.go worker: use OSBuildJobResult consistently 2020-11-09 14:17:19 +01:00
server_test.go worker: deprecate the local target 2020-11-09 14:17:19 +01:00