moby/distribution
Sebastiaan van Stijn d43e61758a
registry: deprecate APIEndpoint.Version and APIVersion type
This field was used when the code supported both "v1" and "v2" registries.
We no longer support v1 registries, and the only v1 endpoint that's still
used is for the legacy "search" endpoint, which does not use the APIEndpoint
type.

As no code is using this field, and the value will always be set to "v2",
we can deprecated the Version field.

I'm keeping this field for 1 release, to give notice to any potential
external consumer, after which we can delete it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-29 12:49:46 +02:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata distribution: format code with gofumpt 2023-06-29 00:30:52 +02:00
utils Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
xfer distribution: format code with gofumpt 2023-06-29 00:30:52 +02:00
config.go fixing consistent aliases for OCI spec imports 2023-05-08 15:27:52 +05:30
errors.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
errors_test.go distribution: un-export internal errors and error-utilities 2022-04-21 22:53:02 +02:00
manifest.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
manifest_test.go fixing consistent aliases for OCI spec imports 2023-05-08 15:27:52 +05:30
pull.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
pull_v2.go distribution: show image schema deprecation on all registries 2023-08-02 14:15:34 +02:00
pull_v2_test.go registry: deprecate APIEndpoint.Version and APIVersion type 2023-08-29 12:49:46 +02:00
pull_v2_unix.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
pull_v2_windows.go distribution: format code with gofumpt 2023-06-29 00:30:52 +02:00
push.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
push_v2.go distribution: format code with gofumpt 2023-06-29 00:30:52 +02:00
push_v2_test.go registry: deprecate APIEndpoint.Version and APIVersion type 2023-08-29 12:49:46 +02:00
registry.go distribution: checkSupportedMediaType: allow additional media-types 2022-12-02 01:26:06 +01:00
registry_unit_test.go registry: deprecate APIEndpoint.Version and APIVersion type 2023-08-29 12:49:46 +02:00
repository.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00