containerd/remotes/docker
Derek McGowan adeba792f1
Add namespace query parameter for registry proxying
Proxy registries are designed to serve content from upstreams.
However, the proxy hostname will usually not match the hostname
of the upstream, requiring the proxy to only use a single
upstream or use its own pattern matching to determine the upstream.
To solve this issue, the client will pass along the namespace which
is being used for the request, allowing mirrors to easily map
to multiple upstreams. This query parameter can safely be ignored
if multiple upstreams are not supported.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2020-08-03 09:32:44 -07:00
..
config Add host specific headers 2020-06-01 18:27:41 -07:00
schema1 fix: polish log to make more clear 2019-06-20 20:46:26 +08:00
auth.go fix: linter issue 2019-01-23 22:54:51 +08:00
authorizer.go Allow empty scope authorization 2019-12-12 11:05:48 -08:00
converter.go bugfix: support application/octet-stream during pull 2018-12-29 13:58:36 +08:00
errcode.go Add distribution subpkgs to core 2019-10-07 13:38:12 -04:00
errdesc.go Add distribution subpkgs to core 2019-10-07 13:38:12 -04:00
fetcher_test.go Add namespace query parameter for registry proxying 2020-08-03 09:32:44 -07:00
fetcher.go Add namespace query parameter for registry proxying 2020-08-03 09:32:44 -07:00
handler_test.go Add unit test for func in remotes/docker/handler.go 2020-05-28 16:54:33 +08:00
handler.go remotes: support cross-repo-push 2019-06-13 09:51:46 +08:00
httpreadseeker.go Fix typos 2018-09-07 16:59:42 +08:00
pusher.go docker: fix data race on err 2020-05-17 09:20:38 -04:00
registry_test.go Update resolver to handle endpoint configuration 2019-07-16 11:28:23 -07:00
registry.go Add namespace query parameter for registry proxying 2020-08-03 09:32:44 -07:00
resolver_test.go Add namespace query parameter for registry proxying 2020-08-03 09:32:44 -07:00
resolver.go Add namespace query parameter for registry proxying 2020-08-03 09:32:44 -07:00
scope_test.go vendor: update gotest.tools v3.0.2 2020-02-28 17:47:20 +01:00
scope.go Add function to set custom auth scope in context 2019-09-18 11:29:16 -07:00
status.go Licence header added 2018-02-19 10:32:26 +09:00