fake

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretManagerFactory added in v0.2.1

type SecretManagerFactory struct {
	// contains filtered or unexported fields
}

func (SecretManagerFactory) GetSecretStore added in v0.2.1

func (f SecretManagerFactory) GetSecretStore() *SecretStore

func (*SecretManagerFactory) NewSecretManager added in v0.2.1

func (f *SecretManagerFactory) NewSecretManager(_ secretstore.Type) (secretstore.Interface, error)

type SecretStore added in v0.2.1

type SecretStore struct {
	// contains filtered or unexported fields
}

func NewFakeSecretStore

func NewFakeSecretStore() *SecretStore

func (SecretStore) AssertHasValue added in v0.2.1

func (f SecretStore) AssertHasValue(t *testing.T, location, secretName, secretKey string)

func (SecretStore) AssertValueEquals added in v0.2.1

func (f SecretStore) AssertValueEquals(t *testing.T, location, secretName, secretKey, expectedValue string)

func (SecretStore) GetSecret added in v0.2.1

func (f SecretStore) GetSecret(location, secretName, secretKey string) (string, error)

func (SecretStore) SetSecret added in v0.2.1

func (f SecretStore) SetSecret(location, secretName string, secretValue *secretstore.SecretValue) error

Jump to

Keyboard shortcuts

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