Modify composer to use RepoRegistry, instead of loading the host repositories, when initializing WeldrAPI. Modify WeldrAPI to use RepoRegistry, instead of a map of repository definitions. Make sure that the RepoRegistry method specific to image type is used in Welder where appropriate. Specifically when depsolving a Blueprint, which is used to build a specific image type. Update Weldr API unit tests to reflect the change. Add a new method to RepoRegistry, allowing to get list of repositories, which should be used for building an image for a given architecture, without specifying the exact image type. Add relevant unit tests. Signed-off-by: Tomas Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| blueprints.go | ||
| blueprints_test.go | ||
| client.go | ||
| client_test.go | ||
| compose.go | ||
| compose_test.go | ||
| integration_test.go | ||
| modules.go | ||
| modules_test.go | ||
| projects.go | ||
| projects_test.go | ||
| source.go | ||
| source_test.go | ||
| unit_test.go | ||
| utils.go | ||
| weldr.go | ||