debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou 9e0af86775 ostree: rename errors and introduce ParameterComboError
Shorter and clearer error types.
- InvalidParameterError is now RefError.  It is returned when a ref (the
  new ref or the parent ref) is invalid.
- The ResolveRefError is not renamed.  It is returned when a ref can't
  be resolved (e.g., ref not found at URL).

New error type ParameterComboError.  It is returned when a parent ref is
specified but no URL, which is an invalid parameter combination.
2022-02-23 11:08:24 +01:00
..
errors.go cloudapi/v2: validate ostree params using common validation function 2022-02-23 11:08:24 +01:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
openapi.v2.gen.go cloudapi/v2: support specifying parent ref for ostree requests 2022-02-23 11:08:24 +01:00
openapi.v2.yml cloudapi/v2: support specifying parent ref for ostree requests 2022-02-23 11:08:24 +01:00
v2.go ostree: rename errors and introduce ParameterComboError 2022-02-23 11:08:24 +01:00
v2_internal_test.go cloudapi: test repository config conversion function 2022-02-14 17:38:41 +01:00
v2_koji_test.go cloudapi/v2: add koji-specific tests 2022-02-01 20:28:40 +00:00
v2_test.go cloudapi/v2: test ostree url + parent error conditions 2022-02-23 11:08:24 +01:00