kube

package
v0.0.0-...-4354d50 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

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

func (*SecretClient) Upsert

func (k *SecretClient) Upsert(ctx context.Context, key secrets.SecretKey, data map[string][]byte, opts ...secrets.SecretOption) error

Jump to

Keyboard shortcuts

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