debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou 5c95eb565c cloudapi: support multiple upload targets
Read the upload target types and options in the UploadTargets array of
the ImageRequest and initialise the Target array.  If the top-level
(old) UploadOptions are also specified, prepend them to the array using
the image type's default target type.

Each upload target type is checked against a support map for
compatibility.
2023-11-17 16:48:16 +01:00
..
compose.go cloudapi: Add partitioning_mode support to the API 2023-10-23 14:52:30 +02:00
compose_test.go cloudapi: Add partitioning_mode support to the API 2023-10-23 14:52:30 +02:00
errors.go cloudapi: new error type ErrorInvalidUploadTarget 2023-11-17 16:48:16 +01:00
errors_test.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
handler.go cloudapi: multiple upload targets in request 2023-11-17 16:48:16 +01:00
imagerequest.go cloudapi: support multiple upload targets 2023-11-17 16:48:16 +01:00
imagerequest_test.go cloudapi: Add tests for refactored handler code 2023-08-05 11:28:29 +02:00
middleware.go internal/auth: add TenantChannelMiddleware 2023-06-28 15:08:37 +02:00
openapi.v2.gen.go cloudapi: add multiple upload_statuses to ImageStatus 2023-11-17 16:48:16 +01:00
openapi.v2.yml cloudapi: add multiple upload_statuses to ImageStatus 2023-11-17 16:48:16 +01:00
server.go cloudapi: multiple upload targets in request 2023-11-17 16:48:16 +01:00
v2_internal_test.go lint: Fix implicit memory aliasing in for loops 2023-09-21 16:56:54 +02:00
v2_koji_test.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
v2_multi_tenancy_test.go split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
v2_test.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00