vault

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVaultSecretManager

func NewVaultSecretManager(client vaultclient.Client, path string) (secretmgr.SecretManager, error)

NewVaultSecretManager creates a secret manager from the vault client

func NewVaultSecretManagerFromJXFactory

func NewVaultSecretManagerFromJXFactory(f jxfactory.Factory) (secretmgr.SecretManager, error)

NewVaultSecretManagerFromJXFactory creates a secret manager from the jx factory

Types

type SecretManager

type SecretManager struct {
	Path string
	// contains filtered or unexported fields
}

SecretManager uses a Kubernetes Secret

func (*SecretManager) Kind

func (v *SecretManager) Kind() string

Kind returns the kind

func (*SecretManager) String

func (v *SecretManager) String() string

String returns the description

func (*SecretManager) UpsertSecrets

func (v *SecretManager) UpsertSecrets(callback secretmgr.SecretCallback, defaultYaml string) error

UpsertSecrets upserts the secrets yaml

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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