moby/registry
Sebastiaan van Stijn aa59b0f5a2
registry: improve error for invalid search endpoints
Explain that search is not supported on v2 endpoints, and include the
offending endpoint in the error-message.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-29 10:47:29 +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: format code with gofumpt 2023-06-29 00:31:49 +02:00
service_v2.go registry: return concrete service type 2023-03-10 18:38:08 -05:00
session.go registry: session.searchRepositories(): return typed error, and small cleanup 2023-07-11 09:47:02 +02:00
types.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00