fake

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeSecretManager

func NewFakeSecretManager() secretmgr.SecretManager

NewFakeSecretManager creates a fake secret manager

Types

type FakeSecretManager

type FakeSecretManager struct {
	SecretsYAML string
}

FakeSecretManager a fake implementation for testing

func (*FakeSecretManager) Kind

func (f *FakeSecretManager) Kind() string

func (*FakeSecretManager) String

func (f *FakeSecretManager) String() string

func (*FakeSecretManager) UpsertSecrets

func (f *FakeSecretManager) UpsertSecrets(callback secretmgr.SecretCallback, defaultYaml string) error

UpsertSecrets upserts the secrets

Jump to

Keyboard shortcuts

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