dockercreds

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

View Source
const (
	SecretFilePathEnv = "CREDENTIAL_PROVIDER_SECRET_PATH"
)

Variables

This section is empty.

Functions

func HasReadAccess added in v0.0.5

func HasReadAccess(keychain authn.Keychain, tag string) (bool, error)

func HasWriteAccess added in v0.0.4

func HasWriteAccess(keychain authn.Keychain, tag string) (bool, error)

func NewVolumeSecretKeychain

func NewVolumeSecretKeychain() (authn.Keychain, 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 ParseMountedAnnotatedSecrets added in v0.0.5

func ParseMountedAnnotatedSecrets(volumeName string, secrets []string) (DockerCreds, error)

func (DockerCreds) Append

func (c DockerCreds) Append(a DockerCreds) (DockerCreds, error)

func (DockerCreds) Resolve

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

func (DockerCreds) Save

func (c DockerCreds) Save(path string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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