Add host specific headers

Allows configuring headers per registry host

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2020-05-18 16:38:45 -07:00
parent 84619ee998
commit 3dd8242a67
4 changed files with 56 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ type RegistryHost struct {
Scheme string
Path string
Capabilities HostCapabilities
Header http.Header
}
// RegistryHosts fetches the registry hosts for a given namespace,