doppler

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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) Close

func (c *Client) Close(_ context.Context) error

func (*Client) DeleteSecret added in v0.7.0

func (c *Client) DeleteSecret(_ context.Context, ref esv1beta1.PushSecretRemoteRef) error

func (*Client) GetAllSecrets

func (c *Client) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)

func (*Client) GetSecret

func (*Client) GetSecretMap

func (c *Client) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)

func (*Client) PushSecret added in v0.7.0

func (c *Client) PushSecret(_ context.Context, secret *corev1.Secret, data esv1beta1.PushSecretData) error

func (*Client) SecretExists added in v0.9.14

func (c *Client) SecretExists(_ context.Context, _ esv1beta1.PushSecretRemoteRef) (bool, error)

func (*Client) Validate

func (c *Client) Validate() (esv1beta1.ValidationResult, error)

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) NewClient

func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)

func (*Provider) ValidateStore

func (p *Provider) ValidateStore(store esv1beta1.GenericStore) (admission.Warnings, 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)
	UpdateSecrets(request dClient.UpdateSecretsRequest) error
}

SecretsClientInterface defines the required Doppler Client methods.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL