secrets

package
v0.0.0-...-f6da7c5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secrets

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

func New

func New(client *kubernetes.Clientset, metaOptions metav1.ListOptions, ctx context.Context) *Secrets

func (*Secrets) Apply

func (obj *Secrets) Apply(yaml string, namespace string) (k8sTypes.Secret, error)

func (*Secrets) Create

func (obj *Secrets) Create(
	secret k8sTypes.Secret,
	namespace string,
	opts metav1.CreateOptions,
) (k8sTypes.Secret, error)

func (*Secrets) Delete

func (obj *Secrets) Delete(name, namespace string, opts metav1.DeleteOptions) error

func (*Secrets) Get

func (obj *Secrets) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.Secret, error)

func (*Secrets) Kill deprecated

func (obj *Secrets) Kill(name, namespace string, opts metav1.DeleteOptions) error

Deprecated: Use Delete instead.

func (*Secrets) List

func (obj *Secrets) List(namespace string) ([]k8sTypes.Secret, error)

Jump to

Keyboard shortcuts

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