moby--moby/registry
Sebastiaan van Stijn 7d70d95d8e
registry: add DefaultRegistryHost const, and improve documentation
This is more in line with other consts that are used for defaults, and makes it
slightly easier to consume than DefaultV2Registry, e.g. see:
https://github.com/oras-project/oras-go/blob/v1.1.0/pkg/auth/docker/resolver.go#L81-L84

Note that both the "index.docker.io" and "registry-1.docker.io" domains
are here for historic reasons and backward-compatibility. These domains
are still supported by Docker Hub (and will continue to be supported), but
there are new domains already in use, and plans to consolidate all legacy
domains to new "canonical" domains. Once those domains are decided on, we
should update these consts (but making sure to preserve compatibility with
existing installs, clients, and user configuration).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-02-27 13:48:27 +01:00
..
resumable refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
auth.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
auth_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
config.go registry: add DefaultRegistryHost const, and improve documentation 2022-02-27 13:48:27 +01:00
config_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
config_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
config_windows.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
endpoint_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_v1.go registry: EndPointV1.Ping() remove redundant "Standalone" and cleanup logs 2021-10-07 16:26:39 +02:00
errors.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
registry.go distribution: remove use of deprecated dial.DualStack 2022-02-22 16:34:12 +01:00
registry_mock_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
registry_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
service.go registry: remove unused ToV1Endpoint() 2021-10-05 14:43:58 +02:00
service_v2.go registry: remove tlsConfigForMirror() 2021-10-05 14:37:53 +02:00
session.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
types.go registry: remove use of iota for consts 2021-10-05 21:14:17 +02:00