Documentation ¶
Overview ¶
Package secrets provides implementation of Secret resources for Kubernetes
Deprecated: Use the resources package instead.
Index ¶
- type Secretsdeprecated
- func (obj *Secrets) Apply(yaml string, namespace string) (k8sTypes.Secret, error)deprecated
- func (obj *Secrets) Create(secret k8sTypes.Secret, namespace string, opts metav1.CreateOptions) (k8sTypes.Secret, error)deprecated
- func (obj *Secrets) Delete(name, namespace string, opts metav1.DeleteOptions) errordeprecated
- func (obj *Secrets) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.Secret, error)deprecated
- func (obj *Secrets) Kill(name, namespace string, opts metav1.DeleteOptions) errordeprecated
- func (obj *Secrets) List(namespace string) ([]k8sTypes.Secret, error)deprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secrets
deprecated
type Secrets struct {
// contains filtered or unexported fields
}
Secrets provides API for manipulating Secret resources within a Kubernetes cluster
Deprecated: No longer used in favor of generic resources.
func New
deprecated
func New(ctx context.Context, client kubernetes.Interface, metaOptions metav1.ListOptions) *Secrets
New creates a new instance backed by the provided client
Deprecated: No longer used.
Click to show internal directories.
Click to hide internal directories.