moby/distribution
Sebastiaan van Stijn 41999abcbe
distribution: remove Puller interface, remove redundant V1 checks
It's only used internally, so we can refer to the implementation itself. Given
that RegistryService.LookupPullEndpoints now only returns V2 endpoints, we
no longer need to check if an endpoint is possibly V1.

Also rename some types that had "v2" in their name, now that we only support v2.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-21 23:11:07 +02:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
utils Add canonical import comment 2018-02-05 16:51:57 -05:00
xfer distribution: retry downloading schema config on retryable error 2022-03-05 19:36:48 +01:00
config.go distribution: un-export ImageTypes, make ImagePullConfig.Schema2Types optional 2022-04-21 22:36:56 +02:00
errors.go distribution: un-export internal errors and error-utilities 2022-04-21 22:53:02 +02:00
errors_test.go distribution: un-export internal errors and error-utilities 2022-04-21 22:53:02 +02:00
manifest.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
manifest_test.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
pull.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
pull_v2.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
pull_v2_test.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
pull_v2_unix.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
pull_v2_windows.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
push.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
push_v2.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
push_v2_test.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
registry.go distribution: un-export ImageTypes, make ImagePullConfig.Schema2Types optional 2022-04-21 22:36:56 +02:00
registry_unit_test.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00