debian-forge-composer/internal/client
Brian C. Lane 52e9d45e58 client: Add Cancel function and tests
NOTE that the tests against the rpmmd fixure for running and waiting are
a bit of a kludge. It is impossible to mock up a running or waiting that
will allow an actual cancel, so the tests check for the internal server
error generated by using the fixure data.

Getting this error means that the API code did it's job and tried to
cancel the compose so that should be a good compromise.
2022-02-18 09:31:07 +01:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
client.go client: Add GetRawBody function to return the io.ReadCloser from the request 2020-04-15 11:35:05 +02:00
client_test.go tests: replace cmd.Diff() with require functions 2020-04-20 14:00:49 +02:00
compose.go client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
compose_test.go client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
integration_test.go Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
modules.go client: Add /modules/ support 2020-03-25 10:01:14 +01:00
modules_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
projects.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
projects_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
source.go weldr: Add support for the v1 API to /projects/source/delete 2020-06-03 21:24:47 +02:00
source_test.go weldr: accept rhsm parameter in sources 2021-07-27 15:39:36 +02:00
unit_test.go Weldr API: introduce Image Type denylist for filtering exposed images 2021-08-02 18:51:03 +02:00
utils.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00