debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou ad0cb80bed cloudapi/v2: minsize can be a string or integer
Define a reusable minsize property in the cloud API schema.
The minsize type is either a uint64 or a string with data units.

Internally, this creates a union (json.RawMessage) type called Minsize
and optional uses of the property are of type *Minsize.  We define an
internal decodeMinsize() function to convert *Minsize to uint64.  This
is similar to the decodeSize() function in the blueprint, but made
specifically to handle *Minsize.
2025-03-27 11:33:56 +01:00
..
compose.go cloudapi/v2: minsize can be a string or integer 2025-03-27 11:33:56 +01:00
compose_test.go cloudapi/v2: minsize can be a string or integer 2025-03-27 11:33:56 +01:00
depsolve.go cloudapi: support dnf modules 2025-03-20 14:07:52 +01:00
errors.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
errors_test.go cloudapi/v2: add test for errors 2024-06-25 17:27:28 +02:00
handler.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
imagerequest.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
imagerequest_test.go cloudapi/v2: support local upload target 2025-01-22 13:54:40 +01:00
middleware.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
openapi.v2.gen.go cloudapi/v2: minsize can be a string or integer 2025-03-27 11:33:56 +01:00
openapi.v2.yml cloudapi/v2: minsize can be a string or integer 2025-03-27 11:33:56 +01:00
search.go cloudapi: Hook up the /search/packages handler 2025-01-30 08:00:12 +01:00
server.go cloudapi: fix manifestSource.Serialize() 2025-01-29 18:03:11 +01: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/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00