secret

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher added in v0.0.2

type Matcher interface {
	Match(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) (*URLAndUser, error)

type URLAndUser added in v0.0.2

type URLAndUser struct {
	URL      string
	Username string
	Password string
}

func NewURLAndUser added in v0.0.2

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