debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou 45929efbcf cloudapi: validate Disk customization before returining
After converting a Disk customization from the API type to the Blueprint
equivalent, run the validator and return an error if it fails to
validate.
The schema doesn't catch all invalid cases, such as the mountpoint being
required when the fs_type is not "swap", so calling the validator
ensures that any such cases are caught without needing to duplicate the
checks.
2025-06-16 13:33:20 +02:00
..
compose.go cloudapi: validate Disk customization before returining 2025-06-16 13:33:20 +02:00
compose_test.go cloudapi: make fs_type required for filesystems and logical volumes 2025-06-16 13:33:20 +02:00
depsolve.go cloudapi: support dnf modules 2025-03-20 14:07:52 +01:00
errors.go cloudapi: Add artifact cleanup to delete handler 2025-06-05 10:32:56 +02:00
errors_test.go cloudapi/v2: add test for errors 2024-06-25 17:27:28 +02:00
handler.go cloudapi: Fix listing composes with empty result 2025-06-05 10:32:56 +02:00
imagerequest.go cloudapi: drop ImageRequest.GetImageOptions() method 2025-05-05 20:37:19 +02:00
imagerequest_test.go cloudapi: drop ImageRequest.GetImageOptions() method 2025-05-05 20:37:19 +02:00
middleware.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
openapi.v2.gen.go cloudapi: make fs_type required for filesystems and logical volumes 2025-06-16 13:33:20 +02:00
openapi.v2.yml cloudapi: make fs_type required for filesystems and logical volumes 2025-06-16 13:33:20 +02:00
search.go cloudapi: Hook up the /search/packages handler 2025-01-30 08:00:12 +01:00
server.go cloudapi: Fix missing specs for koji ContainerResolve 2025-05-13 20:38:38 +02:00
v2_internal_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_koji_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_multi_tenancy_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_test.go cloudapi: Fix listing composes with empty result 2025-06-05 10:32:56 +02:00