dockercreds

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasWriteAccess added in v0.0.4

func HasWriteAccess(tag string) (bool, error)

func RegistryMatch added in v0.0.4

func RegistryMatch(parsedRegistry, registry string) bool

Types

type Auth added in v0.0.4

type Auth string

func (Auth) Authorization added in v0.0.4

func (a Auth) Authorization() (string, error)

type DockerCreds

type DockerCreds map[string]entry

func ParseDockerPullSecrets added in v0.0.4

func ParseDockerPullSecrets(path string) (DockerCreds, error)

func (DockerCreds) AppendToDockerConfig added in v0.0.4

func (c DockerCreds) AppendToDockerConfig(path string) error

func (DockerCreds) Resolve

func (c DockerCreds) Resolve(reg authn.Resource) (authn.Authenticator, error)

Jump to

Keyboard shortcuts

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