fake

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.7.0

type Config map[string]*Data

type Data added in v0.7.0

type Data struct {
	Value    string
	Version  string
	ValueMap map[string]string
	Origin   SourceOrigin
}

type Provider added in v0.4.0

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

func (*Provider) Capabilities added in v0.7.0

func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities

Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).

func (*Provider) Close added in v0.4.0

func (p *Provider) Close(_ context.Context) error

func (*Provider) DeleteSecret added in v0.7.0

func (p *Provider) DeleteSecret(_ context.Context, _ esv1beta1.PushRemoteRef) error

func (*Provider) GetAllSecrets added in v0.5.0

func (p *Provider) GetAllSecrets(_ context.Context, _ esv1beta1.ExternalSecretFind) (map[string][]byte, error)

Empty GetAllSecrets.

func (*Provider) GetSecret added in v0.4.0

GetSecret returns a single secret from the provider.

func (*Provider) GetSecretMap added in v0.4.0

func (p *Provider) GetSecretMap(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)

GetSecretMap returns multiple k/v pairs from the provider.

func (*Provider) NewClient added in v0.4.0

func (*Provider) PushSecret added in v0.7.0

func (p *Provider) PushSecret(_ context.Context, value []byte, _ *apiextensionsv1.JSON, remoteRef esv1beta1.PushRemoteRef) error

func (*Provider) Validate added in v0.4.2

func (p *Provider) Validate() (esv1beta1.ValidationResult, error)

func (*Provider) ValidateStore added in v0.5.0

func (p *Provider) ValidateStore(store esv1beta1.GenericStore) error

type SourceOrigin added in v0.7.0

type SourceOrigin string
const (
	FakeSecretStore SourceOrigin = "SecretStore"
	FakeSetSecret   SourceOrigin = "SetSecret"
)

Jump to

Keyboard shortcuts

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