debian-forge-composer/internal/cloudapi
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
..
v2 cloudapi/v2: minsize can be a string or integer 2025-03-27 11:33:56 +01:00
server.go cloudapi: Pass the RepoRegistry to the cloudapi Server 2024-03-11 03:04:54 -07:00