moby--moby/registry
Eng Zer Jun 7873c27cfb
all: replace strings.Replace with strings.ReplaceAll
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-09 19:45:40 +08:00
..
resumable refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
auth.go registry: remove unused fallbackError 2022-03-18 15:09:16 +01:00
auth_test.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00
config.go registry: remove dependency on rootlesskit, add `SetCertsDir()` 2022-03-25 16:21:45 +01:00
config_test.go registry: return "errdefs" compatible error types 2022-03-17 17:12:13 +01:00
config_unix.go registry: remove dependency on rootlesskit, add `SetCertsDir()` 2022-03-25 16:21:45 +01:00
config_windows.go all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
endpoint_test.go registry: un-export V1Endpoint and NewV1Endpoint() 2022-03-17 17:09:00 +01:00
endpoint_v1.go registry: minor improvements and cleanup 2022-03-17 17:12:21 +01:00
errors.go registry: return "errdefs" compatible error types 2022-03-17 17:12:13 +01:00
registry.go registry: defaultService: use sync.RWMutex 2022-03-17 17:12:23 +01:00
registry_mock_test.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00
registry_test.go registry: un-export AuthTransport() 2022-03-18 13:52:20 +01:00
service.go Merge pull request #43394 from thaJeztah/cleanup_registry_step2 2022-03-18 19:35:02 +01:00
service_v2.go registry: move allowNondistributableArtifacts, isSecureIndex to config 2022-03-17 17:12:28 +01:00
session.go Merge pull request #43394 from thaJeztah/cleanup_registry_step2 2022-03-18 19:35:02 +01:00
types.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00