1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
Sebastiaan van Stijn 1e75ab0ab9
distribution: remove Pusher interface, NewPusher(), and redundant V1 checks
It's only used internally, so we can refer to the implementation itself. Given
that RegistryService.LookupPushEndpoints 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:54 +02:00
..
fixtures/validate_manifest
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 distribution: remove Pusher interface, NewPusher(), and redundant V1 checks 2022-04-21 23:11:54 +02:00
push_v2.go distribution: remove Pusher interface, NewPusher(), and redundant V1 checks 2022-04-21 23:11:54 +02:00
push_v2_test.go distribution: remove Pusher interface, NewPusher(), and redundant V1 checks 2022-04-21 23:11:54 +02: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