moby/registry
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
..
resumable Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
auth.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
auth_test.go registry: use types/registry.AuthConfig 2022-07-29 23:05:20 +02:00
config.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
config_test.go runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-09-28 01:58:52 +02:00
config_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
config_windows.go all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
endpoint_test.go registry: improve error for invalid search endpoints 2023-08-29 10:47:29 +02:00
endpoint_v1.go registry: improve error for invalid search endpoints 2023-08-29 10:47:29 +02:00
errors.go registry: return "errdefs" compatible error types 2022-03-17 17:12:13 +01:00
registry.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
registry_mock_test.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
registry_test.go registry/search: pass User-Agent through headers 2023-03-21 14:41:29 +01:00
search.go api: search: deprecate is_automated field, and is-automated filter 2023-08-01 13:45:44 +02:00
search_test.go api: search: deprecate is_automated field, and is-automated filter 2023-08-01 13:45:44 +02:00
service.go registry: deprecate APIEndpoint.Version and APIVersion type 2023-08-29 12:49:46 +02:00
service_v2.go registry: deprecate APIEndpoint.Version and APIVersion type 2023-08-29 12:49:46 +02:00
session.go registry: session.searchRepositories(): return typed error, and small cleanup 2023-07-11 09:47:02 +02:00
types.go registry: deprecate APIEndpoint.Version and APIVersion type 2023-08-29 12:49:46 +02:00