fake

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 11 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 (*Provider) GetAllSecrets added in v0.5.0

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

GetAllSecrets returns multiple secrets from the given ExternalSecretFind Currently, only the Name operator is supported.

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(ctx 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, secret *corev1.Secret, data esv1beta1.PushSecretData) error

func (*Provider) SecretExists added in v0.9.14

func (p *Provider) SecretExists(_ context.Context, ref esv1beta1.PushSecretRemoteRef) (bool, 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) (admission.Warnings, 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