debian-forge-composer/internal/cloudapi/v2
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
..
errors.go cloupapi/v2: add koji support 2022-02-01 20:28:40 +00:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
openapi.v2.gen.go cloudapi/v2: introduce multi build composes 2022-02-01 20:28:40 +00:00
openapi.v2.yml cloudapi/v2: introduce multi build composes 2022-02-01 20:28:40 +00:00
v2.go worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00
v2_test.go cloudapi/v2: introduce compose status 2022-02-01 20:28:40 +00:00