Documentation
¶
Overview ¶
Package registry is a fork of github.com/docker/docker/registry, taken at commit moby@49306c6. Git history was not preserved in this fork, but can be found using the URLs provided.
This fork was created to remove the dependency on the "Moby" codebase, and because the CLI only needs a subset of its features. The original package was written specifically for use in the daemon code, and includes functionality that cannot be used in the CLI.
Package registry contains client primitives to interact with a remote Docker registry.
Index ¶
Constants ¶
const AuthClientID = "docker"
AuthClientID is used the ClientID used for the token server
const IndexName = "docker.io"
IndexName is the name of the index
Variables ¶
This section is empty.
Functions ¶
func Headers ¶
func Headers(userAgent string, metaHeaders http.Header) []transport.RequestModifier
Headers returns request modifiers with a User-Agent and metaHeaders
func NewIndexInfo ¶
NewIndexInfo creates a new registry.IndexInfo or the given repository-name, and detects whether the registry is considered "secure" (non-localhost).
Types ¶
This section is empty.