Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultRegistryDomain = "docker.io" DefaultRegistryHost = "index.docker.io" LegacyDefaultRegistryDomain = "index.docker.io" )
domains for Docker Hub, the default registry
Variables ¶
This section is empty.
Functions ¶
func GetRegistryAddress ¶
GetRegistryAddress parses an image name and returns the address of the specified registry
func NewHTTPClient ¶ added in v0.1.8
NewHTTPClient returns a shared *http.Client with TLS verification configured according to ShouldSkipRegistryTLSVerify. The client is initialized once on first call and reused on all subsequent calls, so the TLS setting is read only at first use and the security warning is emitted at most once.
func ShouldSkipRegistryTLSVerify ¶ added in v0.1.8
func ShouldSkipRegistryTLSVerify() bool
ShouldSkipRegistryTLSVerify returns true if the DOCKWATCH_REGISTRY_TLS_SKIP_VERIFY environment variable is set to a truthy value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.