Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PushTracker = docker.NewInMemoryTracker()
Functions ¶
func New ¶
New instantiates a resolver using $DOCKER_CONFIG/config.json .
$DOCKER_CONFIG defaults to "~/.docker".
refHostname is like "docker.io".
func NewHostOptions ¶ added in v0.16.0
func NewHostOptions(ctx context.Context, refHostname string, optFuncs ...Opt) (*dockerconfig.HostOptions, error)
NewHostOptions instantiates a HostOptions struct using $DOCKER_CONFIG/config.json .
$DOCKER_CONFIG defaults to "~/.docker".
refHostname is like "docker.io".
Types ¶
type AuthCreds ¶
AuthCreds is for docker.WithAuthCreds
func NewAuthCreds ¶
NewAuthCreds returns AuthCreds that uses $DOCKER_CONFIG/config.json . AuthCreds can be nil.
type Opt ¶
type Opt func(*opts)
Opt for New
func WithAuthCreds ¶ added in v0.16.0
func WithHostsDirs ¶ added in v0.16.0
WithHostsDirs specifies directories like /etc/containerd/certs.d and /etc/docker/certs.d
func WithSkipVerifyCerts ¶
WithSkipVerifyCerts skips verifying TLS certs
Click to show internal directories.
Click to hide internal directories.