Documentation ¶
Index ¶
- func NewVaultClient(config *vault.Config) (util.Client, error)
- type Provider
- func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
- func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, ...) (esv1beta1.SecretsClient, error)
- func (p *Provider) NewGeneratorClient(ctx context.Context, kube kclient.Client, corev1 typedcorev1.CoreV1Interface, ...) (util.Client, error)
- func (p *Provider) ValidateStore(store esv1beta1.GenericStore) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶ added in v0.9.12
type Provider struct { // NewVaultClient is a function that returns a new Vault client. // This is used for testing to inject a fake client. NewVaultClient func(config *vault.Config) (util.Client, error) }
func (*Provider) Capabilities ¶ added in v0.9.12
func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).
func (*Provider) NewClient ¶ added in v0.9.12
func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)
NewClient implements the Client interface.
func (*Provider) NewGeneratorClient ¶ added in v0.9.12
func (p *Provider) NewGeneratorClient(ctx context.Context, kube kclient.Client, corev1 typedcorev1.CoreV1Interface, vaultSpec *esv1beta1.VaultProvider, namespace string) (util.Client, error)
func (*Provider) ValidateStore ¶ added in v0.9.12
Source Files ¶
Click to show internal directories.
Click to hide internal directories.