Documentation
¶
Index ¶
- type Client
- func (c *Client) Close(_ context.Context) error
- func (c *Client) DeleteSecret(_ context.Context, _ esv1beta1.PushSecretRemoteRef) 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, _ *corev1.Secret, _ esv1beta1.PushSecretData) error
- func (c *Client) SecretExists(_ context.Context, _ esv1beta1.PushSecretRemoteRef) (bool, 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 ¶
func (*Client) GetAllSecrets ¶
func (*Client) GetSecretMap ¶
func (*Client) PushSecret ¶
func (*Client) SecretExists ¶
type Provider ¶
type Provider struct{}
Provider is a Onboardbase secrets provider implementing NewClient and ValidateStore for the esv1beta1.Provider interface.
func (*Provider) Capabilities ¶
func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
func (*Provider) ValidateStore ¶
type SecretsClientInterface ¶
type SecretsClientInterface interface { BaseURL() *url.URL Authenticate() error GetSecret(request onboardbaseClient.SecretRequest) (*onboardbaseClient.SecretResponse, error) DeleteSecret(request onboardbaseClient.SecretRequest) error GetSecrets(request onboardbaseClient.SecretsRequest) (*onboardbaseClient.SecretsResponse, error) }
SecretsClientInterface defines the required Onboardbase Client methods.
Click to show internal directories.
Click to hide internal directories.