moby/distribution
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
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Changes cross-repository blob mounting to a blob Create option 2016-01-14 14:26:03 -08:00
xfer Move temporary download file to download descriptor scope 2016-02-09 14:12:28 -08:00
errors.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
pull.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
pull_v1.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
pull_v2.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
pull_v2_test.go Add schema2 pull support 2016-01-08 17:24:21 -08:00
pull_v2_unix.go Add distribution package 2015-11-24 09:40:24 -08:00
pull_v2_windows.go Add distribution package 2015-11-24 09:40:24 -08:00
push.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
push_v1.go Remove the use of dockerversion from the registry package 2016-01-15 12:43:54 -05:00
push_v2.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
registry.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
registry_unit_test.go distribution: add test to ensure pass-thru registry token is host-bound 2016-01-28 16:23:06 -08:00