1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Aaron Lehmann 8f26fe4f59 Push/pull errors improvement and cleanup
Several improvements to error handling:

- Introduce ImageConfigPullError type, wrapping errors related to
  downloading the image configuration blob in schema2. This allows for a
  more descriptive error message to be seen by the end user.

- Change some logrus.Debugf calls that display errors to logrus.Errorf.
  Add log lines in the push/pull fallback cases to make sure the errors
  leading to the fallback are shown.

- Move error-related types and functions which are only used by the
  distribution package out of the registry package.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-02-11 16:28:56 -08:00
..
auth.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
auth_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
authchallenge.go
config.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
config_test.go
config_unix.go Check if CertsDir is not empty 2015-11-25 18:12:19 +01:00
config_windows.go
endpoint.go Remove the use of dockerversion from the registry package 2016-01-15 12:43:54 -05:00
endpoint_test.go Remove the use of dockerversion from the registry package 2016-01-15 12:43:54 -05:00
reference.go
registry.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
registry_mock_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
registry_test.go Remove the use of dockerversion from the registry package 2016-01-15 12:43:54 -05:00
service.go Remove the use of dockerversion from the registry package 2016-01-15 12:43:54 -05:00
service_v1.go Remove usage of pkg sockets and tlsconfig. 2015-12-29 19:27:12 -05:00
service_v2.go Remove usage of pkg sockets and tlsconfig. 2015-12-29 19:27:12 -05:00
session.go Respond with 401 when there is an unauthorized error from the registry. 2016-01-27 13:55:33 -05:00
token.go
types.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00