distribution/registry/client
Aaron Lehmann ec636bbfd2 Handle nonstandard token endpoint errors
https://github.com/docker/distribution/pull/1249 changed token fetching
to parse HTTP error response bodies as serialized errcodes. However,
Docker Hub's authentication endpoint does not return error bodies in
this format. To work around this, convert its format into
ErrCodeUnauthorized or ErrCodeUnknown.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-20 14:45:08 -08:00
..
auth Allows token authentication handler to request additional scopes 2016-01-08 13:53:23 -08:00
transport Avoid stat round-trips when fetching a blob 2015-12-02 14:21:13 -08:00
blob_writer.go Print error for failed HTTP auth request. 2015-12-29 11:39:20 -08:00
blob_writer_test.go Add ability to pass in substitution args into an Error 2015-07-15 11:02:10 -07:00
errors.go Handle nonstandard token endpoint errors 2016-01-20 14:45:08 -08:00
errors_test.go Merge branch 'print-error-msg' of https://github.com/k4leung4/distribution into print-error-msg 2015-12-29 16:26:13 -08:00
repository.go Splits up blob create options definitions to be package-specific 2016-01-14 10:47:33 -08:00
repository_test.go Fix content type for schema1 signed manifests 2016-01-18 16:08:02 -08:00