secret

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher func(url, annotatedUrl string) bool

type SecretKeychainFactory added in v0.0.4

type SecretKeychainFactory struct {
	// contains filtered or unexported fields
}

func NewSecretKeychainFactory added in v0.0.4

func NewSecretKeychainFactory(client k8sclient.Interface) *SecretKeychainFactory

func (*SecretKeychainFactory) KeychainForImageRef added in v0.0.4

func (f *SecretKeychainFactory) KeychainForImageRef(ref registry.ImageRef) authn.Keychain

type SecretManager

type SecretManager struct {
	Client        k8sclient.Interface
	AnnotationKey string
	Matcher       Matcher
}

func (*SecretManager) SecretForImagePull added in v0.0.3

func (m *SecretManager) SecretForImagePull(namespace, secretName, registryName string) (string, error)

func (*SecretManager) SecretForServiceAccountAndURL

func (m *SecretManager) SecretForServiceAccountAndURL(serviceAccount, namespace string, url string) (*URLAndUser, error)

type URLAndUser

type URLAndUser struct {
	URL      string
	Username string
	Password string
}

func NewURLAndUser

func NewURLAndUser(url, username, password string) URLAndUser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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