secret

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: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	Username string
	Password string
}

func ReadSecret added in v0.0.5

func ReadSecret(secretVolume, secretName string) (BasicAuth, error)

type Matcher added in v0.0.2

type Matcher func(url, annotatedUrl string) bool

type SecretManager added in v0.0.2

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

func (*SecretManager) SecretForServiceAccountAndURL added in v0.0.2

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

Jump to

Keyboard shortcuts

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