Documentation ¶
Index ¶
- type SecretClient
- func (k *SecretClient) Delete(ctx context.Context, key secrets.SecretKey, opts ...secrets.SecretOption) error
- func (k *SecretClient) Get(ctx context.Context, key secrets.SecretKey, opts ...secrets.SecretOption) (map[string][]byte, error)
- func (k *SecretClient) GetSecretNamingVersion() secrets.SecretNamingVersion
- func (k *SecretClient) IsKeyVault() bool
- func (k *SecretClient) Upsert(ctx context.Context, key secrets.SecretKey, data map[string][]byte, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretClient ¶
type SecretClient struct { KubeClient client.Client SecretNamingVersion secrets.SecretNamingVersion }
func New ¶
func New(kubeClient client.Client, secretNamingVersion secrets.SecretNamingVersion) *SecretClient
func (*SecretClient) Delete ¶
func (k *SecretClient) Delete(ctx context.Context, key secrets.SecretKey, opts ...secrets.SecretOption) error
func (*SecretClient) Get ¶
func (k *SecretClient) Get(ctx context.Context, key secrets.SecretKey, opts ...secrets.SecretOption) (map[string][]byte, error)
func (*SecretClient) GetSecretNamingVersion ¶
func (k *SecretClient) GetSecretNamingVersion() secrets.SecretNamingVersion
func (*SecretClient) IsKeyVault ¶
func (k *SecretClient) IsKeyVault() bool
Click to show internal directories.
Click to hide internal directories.