Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubernetesClient ¶
func GetKubernetesClient() kubernetes.Interface
GetKubernetesClient generate kubernetes local client
func GetNamespaceNames ¶
func GetNamespaceNames(namespaces *v1.NamespaceList) []string
GetNamespaceNames generate list of ns name from k8s nsList
Types ¶
type NamespaceList ¶
type NamespaceList struct {
Namespaces []string `json:"namespaces"`
}
Generated by https://quicktype.io
Click to show internal directories.
Click to hide internal directories.