debian-forge-composer/internal/client
Brian C. Lane ddd2010815 weldr: Add support for the v1 API to /projects/source/new
This commit changes the store.PushSource function to take the key as
well as the SourceConfig so that it can be used for v0 or v1.

It adds helper functions for decoding the toml/json into a new
SourceConfig interface type which lets the core source/new code be
shared between the versions.

It also adds tests for the new API behavior.
2020-06-03 21:24:47 +02:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go tests: Add missing descriptions to test blueprints 2020-05-28 08:28:11 +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 functions to handle Metadata and Results requests 2020-05-28 00:39:10 +02:00
compose_test.go tests: lorax-composer returns 2 errors for these tests 2020-05-28 08:28:11 +02:00
integration_test.go client: drop client timeout in tests 2020-05-12 22:38:10 +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/new 2020-06-03 21:24:47 +02:00
source_test.go weldr: Add support for the v1 API to /projects/source/new 2020-06-03 21:24:47 +02:00
unit_test.go rpmmd/RepoConf: rename Id to Name 2020-05-28 00:23:54 +02:00
utils.go client: drop client timeout in tests 2020-05-12 22:38:10 +02:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00