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.PushRemoteRef) error
- func (p *Provider) GetAllSecrets(_ context.Context, _ esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (p *Provider) GetSecret(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (p *Provider) GetSecretMap(_ 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, value []byte, remoteRef esv1beta1.PushRemoteRef) error
- func (p *Provider) Validate() (esv1beta1.ValidationResult, error)
- func (p *Provider) ValidateStore(store esv1beta1.GenericStore) 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, _ esv1beta1.ExternalSecretFind) (map[string][]byte, error)
Empty GetAllSecrets.
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(_ 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) 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" )
Click to show internal directories.
Click to hide internal directories.