Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesClient ¶
type KubernetesClient struct {
Client kubernetes.Interface
}
func NewFakeKubernetesClient ¶
func NewFakeKubernetesClient(objects ...runtime.Object) KubernetesClient
func NewKubeClient ¶
func NewKubeClient() KubernetesClient
func (KubernetesClient) GetNamespaces ¶
func (kc KubernetesClient) GetNamespaces(labelSelector string) ([]v1.Namespace, error)
func (KubernetesClient) GetOperationNamespace ¶
func (kc KubernetesClient) GetOperationNamespace(fl *genericclioptions.ConfigFlags) (*v1.Namespace, error)
func (KubernetesClient) UpdateNamespace ¶
func (kc KubernetesClient) UpdateNamespace(ns *v1.Namespace) error
Click to show internal directories.
Click to hide internal directories.