79661b8a7e
Today, endpoints implementing v2 cannot properly fallback to v1 because the underlying transport that deals with authentication (Basic / Token) doesn't get annotated. This doesn't affect DockerHub because the DockerHub endpoint appears as 'https://index.docker.io/v1/' (in .dockercfg), and the 'v1' tricks this logic just long enough that the transport is always annotated for DockerHub accesses. Signed-off-by: Matt Moore <mattmoor@google.com> |
||
---|---|---|
.. | ||
auth_test.go | ||
auth.go | ||
authchallenge.go | ||
config_test.go | ||
config.go | ||
endpoint_test.go | ||
endpoint.go | ||
registry_mock_test.go | ||
registry_test.go | ||
registry.go | ||
service.go | ||
session_v2.go | ||
session.go | ||
token.go | ||
types.go |