Documentation ¶
Index ¶
- type Namespaces
- func (obj *Namespaces) Apply(yaml string) (k8sTypes.Namespace, error)
- func (obj *Namespaces) Create(namespace k8sTypes.Namespace, opts metav1.CreateOptions) (k8sTypes.Namespace, error)
- func (obj *Namespaces) Delete(name string, opts metav1.DeleteOptions) error
- func (obj *Namespaces) Get(name string, opts metav1.GetOptions) (k8sTypes.Namespace, error)
- func (obj *Namespaces) Kill(name string, opts metav1.DeleteOptions) errordeprecated
- func (obj *Namespaces) List() ([]k8sTypes.Namespace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespaces ¶
type Namespaces struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *kubernetes.Clientset, metaOptions metav1.ListOptions, ctx context.Context) *Namespaces
func (*Namespaces) Create ¶
func (obj *Namespaces) Create( namespace k8sTypes.Namespace, opts metav1.CreateOptions, ) (k8sTypes.Namespace, error)
func (*Namespaces) Delete ¶
func (obj *Namespaces) Delete(name string, opts metav1.DeleteOptions) error
func (*Namespaces) Get ¶
func (obj *Namespaces) Get(name string, opts metav1.GetOptions) (k8sTypes.Namespace, error)
func (*Namespaces) Kill
deprecated
func (obj *Namespaces) Kill(name string, opts metav1.DeleteOptions) error
Deprecated: Use Delete instead.
Click to show internal directories.
Click to hide internal directories.