# Packages
No description provided by the author
# Functions
AppendDistributionSourceLabel updates the label of blob with distribution source.
ConfigureDefaultRegistries is used to create a default configuration for registries.
ConvertManifest changes application/octet-stream to schema2 config media type if need.
DefaultHost is the default host function.
MatchAllHosts is a host match function which is always true.
MatchLocalhost is a host match function which returns true for localhost.
NewAuthorizer creates a Docker authorizer using the provided function to get credentials for the token server or basic auth.
NewDockerAuthorizer creates an authorizer using Docker's registry authentication spec.
NewInMemoryTracker returns a StatusTracker that tracks content status in-memory.
NewResolver returns a new resolver to a Docker registry.
Registries joins multiple registry configuration functions, using the same order as provided within the arguments.
WithAuthClient provides the HTTP client for the authorizer.
WithAuthCreds provides a credential function to the authorizer.
WithAuthHeader provides HTTP headers for authorization.
WithAuthorizer configures the default authorizer for a registry.
WithClient configures the default http client for a registry.
WithHostTranslator defines the default translator to use for registry hosts.
WithPlainHTTP configures registries to use plaintext http scheme for the provided host match function.
WithScope appends a custom registry auth scope to the context.
# Constants
HostCapabilityPull represents the capability to fetch manifests and blobs by digest.
HostCapabilityPush represents the capability to push blobs and manifests.
HostCapabilityResolve represents the capability to fetch manifests by name.
LegacyConfigMediaType should be replaced by OCI image spec.
# Variables
ErrInvalidAuthorization is used when credentials are passed to a server but those credentials are rejected.
ErrNoToken is returned if a request is successful but the body does not contain an authorization token.
MaxManifestSize represents the largest size accepted from a registry during resolution.
# Structs
RegistryHost represents a complete configuration for a registry host, representing the capabilities, authorizations, connection configuration, and location.
ResolverOptions are used to configured a new Docker register resolver.
Status of a content operation.
# Interfaces
Authorizer is used to authorize HTTP requests based on 401 HTTP responses.
StatusTracker to track status of operations.
# Type aliases
AuthorizerOpt configures an authorizer.
HostCapabilities represent the capabilities of the registry host.
RegistryHosts fetches the registry hosts for a given namespace, provided by the host component of an distribution image reference.
RegistryOpt defines a registry default option.