Documentation ¶
Index ¶
- type Config
- type Data
- type Provider
- func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
- func (p *Provider) Close(_ context.Context) error
- func (p *Provider) DeleteSecret(_ context.Context, _ esv1beta1.PushSecretRemoteRef) error
- func (p *Provider) GetAllSecrets(_ context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (p *Provider) GetSecret(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (p *Provider) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (p *Provider) NewClient(_ context.Context, store esv1beta1.GenericStore, _ client.Client, _ string) (esv1beta1.SecretsClient, error)
- func (p *Provider) PushSecret(_ context.Context, secret *corev1.Secret, data esv1beta1.PushSecretData) error
- func (p *Provider) SecretExists(_ context.Context, ref esv1beta1.PushSecretRemoteRef) (bool, error)
- func (p *Provider) Validate() (esv1beta1.ValidationResult, error)
- func (p *Provider) ValidateStore(store esv1beta1.GenericStore) (admission.Warnings, error)
- type SourceOrigin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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
func (p *Provider) GetSecret(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
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) PushSecret ¶ added in v0.7.0
func (*Provider) SecretExists ¶ added in v0.9.14
func (*Provider) Validate ¶ added in v0.4.2
func (p *Provider) Validate() (esv1beta1.ValidationResult, error)
func (*Provider) ValidateStore ¶ added in v0.5.0
type SourceOrigin ¶ added in v0.7.0
type SourceOrigin string
const ( FakeSecretStore SourceOrigin = "SecretStore" FakeSetSecret SourceOrigin = "SetSecret" )
Click to show internal directories.
Click to hide internal directories.