Documentation ¶
Index ¶
- type Client
- func (c *Client) Close(_ context.Context) error
- func (c *Client) DeleteSecret(_ context.Context, _ esv1beta1.PushRemoteRef) error
- func (c *Client) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (c *Client) GetSecret(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (c *Client) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (c *Client) PushSecret(_ context.Context, _ []byte, _ esv1beta1.PushRemoteRef) error
- func (c *Client) Validate() (esv1beta1.ValidationResult, error)
- type Provider
- type SecretsClientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteSecret ¶ added in v0.7.0
func (*Client) GetAllSecrets ¶
func (*Client) GetSecretMap ¶
func (*Client) PushSecret ¶ added in v0.7.0
type Provider ¶
type Provider struct{}
Provider is a Doppler secrets provider implementing NewClient and ValidateStore for the esv1beta1.Provider interface.
func (*Provider) Capabilities ¶ added in v0.7.0
func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
func (*Provider) ValidateStore ¶
func (p *Provider) ValidateStore(store esv1beta1.GenericStore) error
type SecretsClientInterface ¶
type SecretsClientInterface interface { BaseURL() *url.URL Authenticate() error GetSecret(request dClient.SecretRequest) (*dClient.SecretResponse, error) GetSecrets(request dClient.SecretsRequest) (*dClient.SecretsResponse, error) }
SecretsClientInterface defines the required Doppler Client methods.
Click to show internal directories.
Click to hide internal directories.