Documentation ¶
Index ¶
- type Config
- type Data
- type Provider
- func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
- func (p *Provider) Close(ctx context.Context) error
- func (p *Provider) DeleteSecret(ctx context.Context, remoteRef esv1beta1.PushRemoteRef) error
- func (p *Provider) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (p *Provider) GetSecret(ctx 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(ctx context.Context, store esv1beta1.GenericStore, kube client.Client, ...) (esv1beta1.SecretsClient, error)
- func (p *Provider) PushSecret(ctx 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(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
Empty GetAllSecrets.
func (*Provider) GetSecret ¶ added in v0.4.0
func (p *Provider) GetSecret(ctx 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) 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.