package
1.13.1
Repository: https://github.com/react-vue-devel/moby.git
Documentation: pkg.go.dev

# Functions

AuthTransport handles the auth layer when communicating with a v1 registry (private or official) For private v1 registries, set alwaysSetBasicAuth to true.
ConvertToHostname converts a registry url which has http|https prepended to just an hostname.
DockerHeaders returns request modifiers with a User-Agent and metaHeaders.
GetAuthConfigKey special-cases using the full index address of the official index as the AuthConfig key, and uses the (host)name[:port] for private indexes.
HTTPClient returns an HTTP client structure which uses the given transport and contains the necessary headers for redirected requests.
NewService returns a new instance of DefaultService ready to be installed into an engine.
NewSession creates a new session TODO(tiborvass): remove authConfig param once registry client v2 is vendored.
NewStaticCredentialStore returns a credential store which always returns the same credential values.
NewTransport returns a new HTTP transport.
NewV1Endpoint parses the given address to return a registry endpoint.
ParseRepositoryInfo performs the breakdown of a repository name into a RepositoryInfo, but lacks registry configuration.
ParseSearchIndexInfo will use repository name to get back an indexInfo.
PingV2Registry attempts to ping a v2 registry and on success return a challenge manager for the supported authentication types and whether v2 was confirmed by the response.
ReadCertsDirectory reads the directory for TLS certificates including roots and certificate pairs and updates the provided TLS configuration.
ResolveAuthConfig matches an auth configuration to a server address or a URL.
ValidateIndexName validates an index name.
ValidateMirror validates an HTTP(S) registry mirror.

# Constants

API Version identifiers.
API Version identifiers.
AuthClientID is used the ClientID used for the token server.
DefaultSearchLimit is the default value for maximum number of returned search results.

# Variables

CertsDir is the directory where certificates are stored.
DefaultNamespace is the default namespace.
DefaultRegistryVersionHeader is the name of the default HTTP header that carries Registry version info.
DefaultV2Registry is the URI of the default v2 registry.
ErrAlreadyExists is an error returned if an image being pushed already exists on the remote side.
ErrInvalidRepositoryName is an error returned if the repository name did not have the correct form.
ErrRepoNotFound is returned if the repository didn't exist on the remote side.
IndexHostname is the index hostname.
IndexName is the name of the index.
IndexServer is used for user auth and image search.
NotaryServer is the endpoint serving the Notary trust server.

# Structs

APIEndpoint represents a remote API endpoint.
DefaultService is a registry service.
ImgData is used to transfer image checksums to and from the registry.
PingResponseError is used when the response from a ping was received but invalid.
PingResult contains the information returned when pinging a registry.
RepositoryData tracks the image list, list of endpoints, and list of tokens for a repository.
RepositoryInfo describes a repository.
ServiceOptions holds command line options.
A Session is used to communicate with a V1 registry.
V1Endpoint stores basic information about a V1 registry endpoint.

# Interfaces

Service is the interface defining what a registry service should implement.

# Type aliases

APIVersion is an integral representation of an API version (presently either 1 or 2).