distribution/docs
Aaron Lehmann 693eb14e73 Allow v1 protocol fallback when pulling all tags from a repository unknown to v2 registry
This is a followup to #18839. That PR relaxed the fallback logic so that
if a manifest doesn't exist on v2, or the user is unauthorized to access
it, we try again with the v1 protocol. A similar special case is needed
for "pull all tags" (docker pull -a). If the v2 registry doesn't
recognize the repository, or doesn't allow the user to access it, we
should fall back to v1 and try to pull all tags from the v1 registry.
Conversely, if the v2 registry does allow us to list the tags, there
should be no fallback, even if there are errors pulling those tags.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-23 15:21:43 -08:00
..
auth.go Move IndexInfo and ServiceConfig types to api/types/registry/registry.go 2015-12-14 11:28:02 -05:00
auth_test.go Move the TestEncodeAuth test to the correct package. 2015-12-15 13:36:52 -05:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
config_unix.go Check if CertsDir is not empty 2015-11-25 18:12:19 +01:00
config_windows.go Update Windows TP3 registry endpoints 2015-08-07 14:03:46 -07:00
endpoint.go Move IndexInfo and ServiceConfig types to api/types/registry/registry.go 2015-12-14 11:28:02 -05:00
endpoint_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
reference.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Allow v1 protocol fallback when pulling all tags from a repository unknown to v2 registry 2015-12-23 15:21:43 -08:00
registry_mock_test.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00
registry_test.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00
service.go Do not fall back to the V1 protocol when we know we are talking to a V2 registry 2015-12-16 15:02:03 -08:00
service_v1.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00
service_v2.go Do not fall back to the V1 protocol when we know we are talking to a V2 registry 2015-12-16 15:02:03 -08:00
session.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00
token.go Registry: remove unwanted return variable name 2015-06-09 10:58:33 +08:00
types.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00