auth

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCreds

type AuthCreds func(string) (string, string, error)

AuthCreds is for docker.WithAuthCreds used in containerd remote resolver.

func NewAuthCreds

func NewAuthCreds(refHostname string, configPath string) (AuthCreds, string, error)

NewAuthCreds returns an AuthCreds which loads the credentials from the docker client config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL