debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou 0eb999d510 cloudapi: remove ostree from imageRequest
Use ostree.ImageOptions for the request parameters instead of a
SourceSpec on the imageRequest.

When preparing the image request, add the ostree values from the API's
compose request to the ostree options on the image options of the image
request.

It's not necessary to create a source spec and it's also not necessary
to add the default ref when it's not specified in the request for an
ostree-based image type.  Both of these will be handled by the Manifest
generation based on the ostree options (imageOptions.OSTree).  The image
functions will take care of setting any missing parameters or returning
errors if any required parameters are missing.
2023-06-14 11:19:29 +02:00
..
errors.go Cloud API: add error for failed customization validation 2023-02-22 12:17:36 +01:00
errors_test.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
handler.go cloudapi: remove ostree from imageRequest 2023-06-14 11:19:29 +02:00
middleware.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
openapi.v2.gen.go cloudapi: add vsphere-ova type 2023-06-05 11:22:07 +02:00
openapi.v2.yml cloudapi: add vsphere-ova type 2023-06-05 11:22:07 +02:00
server.go cloudapi: remove ostree from imageRequest 2023-06-14 11:19:29 +02:00
v2_internal_test.go internal/rpmmd: change ignoressl to pointer 2023-05-31 16:24:36 +02:00
v2_koji_test.go Adapt tests to new test_distro 2023-06-14 11:19:29 +02:00
v2_multi_tenancy_test.go cloudapi: Correctly test dependency errors 2022-08-03 13:51:52 +02:00
v2_test.go cloudapi/v2/test: codestyle cleanup 2023-06-14 11:19:29 +02:00