moby--moby/registry
Sebastiaan van Stijn dae2173568
registry: defaultService: use sync.RWMutex
Most operations only require read access, so change this to use an RWMutex,
and some minor refactoring in lookupV2Endpoints() so that we are not
constructing tlsconfig multiple times in some cases.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-17 17:12:23 +01:00
..
resumable
auth.go
auth_test.go
config.go
config_test.go
config_unix.go
config_windows.go
endpoint_test.go
endpoint_v1.go
errors.go
registry.go registry: defaultService: use sync.RWMutex 2022-03-17 17:12:23 +01:00
registry_mock_test.go
registry_test.go
service.go registry: defaultService: use sync.RWMutex 2022-03-17 17:12:23 +01:00
service_v2.go registry: defaultService: use sync.RWMutex 2022-03-17 17:12:23 +01:00
session.go
types.go