debian-forge-composer/internal/cloudapi
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
..
v2 cloudapi: remove ostree from imageRequest 2023-06-14 11:19:29 +02:00
server.go cloudapi: prevent dangling manifest goroutines 2022-04-06 08:51:01 +02:00