secret

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 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 BasicAuth

type BasicAuth struct {
	Username string
	Password string
}

func ReadBasicAuthSecret

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

type Fetcher

type Fetcher struct {
	Client k8sclient.Interface
}

func (*Fetcher) SecretsForServiceAccount

func (f *Fetcher) SecretsForServiceAccount(serviceAccount, namespace string) ([]*corev1.Secret, error)

type SSH

type SSH struct {
	PrivateKey []byte
}

func ReadSshSecret

func ReadSshSecret(secretVolume, secretName string) (SSH, error)

Jump to

Keyboard shortcuts

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