helmcache

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretClient

type SecretClient struct {
	// contains filtered or unexported fields
}

SecretClient implements methods to handle secrets. Get and list will be retrieved from the wrangler cache, the other calls will be make to the Kubernetes API server.

func NewSecretClient

func NewSecretClient(cache corecontrollers.SecretCache, client kubernetes.Interface, namespace string) *SecretClient

func (*SecretClient) Apply

func (s *SecretClient) Apply(ctx context.Context, secretConfiguration *applycorev1.SecretApplyConfiguration, opts metav1.ApplyOptions) (*v1.Secret, error)

Apply applies a secret using a k8s client that calls the Kubernetes API server

func (*SecretClient) Create

func (s *SecretClient) Create(ctx context.Context, secret *v1.Secret, opts metav1.CreateOptions) (*v1.Secret, error)

Create creates a secret using a k8s client that calls the Kubernetes API server

func (*SecretClient) Delete

func (s *SecretClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete deletes a secret using a k8s client that calls the Kubernetes API server

func (*SecretClient) DeleteCollection

func (s *SecretClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a secret collection using a k8s client that calls the Kubernetes API server

func (*SecretClient) Get

func (s *SecretClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Secret, error)

Get gets a secret from the wrangler cache.

func (*SecretClient) List

List lists secrets from the wrangler cache.

func (*SecretClient) Patch

func (s *SecretClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.Secret, error)

Patch patches a secret using a k8s client that calls the Kubernetes API server

func (*SecretClient) Update

func (s *SecretClient) Update(ctx context.Context, secret *v1.Secret, opts metav1.UpdateOptions) (*v1.Secret, error)

Update updates a secret using a k8s client that calls the Kubernetes API server

func (*SecretClient) Watch

Watch watches a secret using a k8s client that calls the Kubernetes API server

Jump to

Keyboard shortcuts

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