secret

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 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 ReadBasicAuthSecret

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

type Fetcher

type Fetcher struct {
	Client k8sclient.Interface
}

func (*Fetcher) SecretsForServiceAccount

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

type SSH

type SSH struct {
	PrivateKey string
}

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