containerd/remotes/docker
Alex Price a022c21819 Improve host fallback behaviour in docker remote
This commit improves the fallback behaviour when resolving and
fetching images with multiple hosts. If an error is encountered
when resolving and fetching images, and more than one host is being
used, we will try the same operation on the next host. The error
from the first host is preserved so that if all hosts fail, we can
display the error from the first host.

fixes #3850

Signed-off-by: Alex Price <aprice@atlassian.com>
2019-12-13 11:42:32 +11: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 distribution subpkgs to core 2019-10-07 13:38:12 -04:00
fetcher.go Improve host fallback behaviour in docker remote 2019-12-13 11:42:32 +11:00
handler_test.go remotes: add distribution labels to blob data 2019-03-12 13:42:54 +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 Allow 202 response code for commit 2019-10-14 09:21:31 -04:00
registry_test.go Update resolver to handle endpoint configuration 2019-07-16 11:28:23 -07:00
registry.go Update resolver to handle endpoint configuration 2019-07-16 11:28:23 -07:00
resolver_test.go Improve host fallback behaviour in docker remote 2019-12-13 11:42:32 +11:00
resolver.go Improve host fallback behaviour in docker remote 2019-12-13 11:42:32 +11:00
scope_test.go Add function to set custom auth scope in context 2019-09-18 11:29:16 -07: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