dockercreds

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 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 NewVolumeSecretKeychain

func NewVolumeSecretKeychain() (authn.Keychain, error)

func VerifyReadAccess

func VerifyReadAccess(keychain authn.Keychain, tag string) error

func VerifyWriteAccess

func VerifyWriteAccess(keychain authn.Keychain, tag string) error

Types

type DockerCreds

type DockerCreds map[string]authn.AuthConfig

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

type RegistryMatcher

type RegistryMatcher struct {
	Registry string
}

func (RegistryMatcher) Match

func (m RegistryMatcher) Match(reg string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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