# Functions
New instantiates a resolver using $DOCKER_CONFIG/config.json .
NewAuthCreds returns AuthCreds that uses $DOCKER_CONFIG/config.json .
NewCredentialsStore returns a CredentialsStore from a directory If path is left empty, the default docker `~/.docker/config.json` will be used In case the docker call fails, we wrap the error with ErrUnableToInstantiate.
NewHostOptions instantiates a HostOptions struct using $DOCKER_CONFIG/config.json .
Parse will return a normalized Docker Registry url from the provided string address.
No description provided by the author
WithHostsDirs specifies directories like /etc/containerd/certs.d and /etc/docker/certs.d.
WithPlainHTTP enables insecure plain HTTP.
WithSkipVerifyCerts skips verifying TLS certs.
# Variables
Errors returned by the credentials store.
Errors returned by the credentials store.
Errors returned by the credentials store.
Errors returned by the credentials store.
Errors returned by `Parse`.
Errors returned by `Parse`.
No description provided by the author
# Structs
CredentialsStore is an abstraction in front of docker config API manipulation exposing just the limited functions we need and hiding away url normalization / identifiers magic, and handling of backward compatibility.
RegistryURL is a struct that represents a registry namespace or host, meant specifically to deal with credentials storage and retrieval inside Docker config file.
# Type aliases
AuthCreds is for docker.WithAuthCreds.
No description provided by the author
Opt for New.