debian-forge-composer/internal/worker
Tom Gundersen b32ab36e1d worker/server: typesafe Job and JobStatus
Replace Job() and JobStatus() with typesafe versions, and introduce JobType()
for the rare instances where we don't know the type up front.

Additionally, catch a few more error cases:
 - if OSBuildResult is nil, then we failed to invoke osbuild
 - make sure the same JobResult handling is done for osbuild-koji, as for osbuild
2022-02-01 20:28:40 +00:00
..
api go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
clienterrors worker: define worker errors 2022-01-27 16:45:14 +01:00
client.go worker: Configurable timeout for RequestJob 2021-10-19 00:12:18 +01:00
json.go cloupapi/v2: add koji support 2022-02-01 20:28:40 +00:00
server.go worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00
server_test.go worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00