Documentation ¶
Index ¶
- func GetNamespaces(c *kubernetes.Clientset) (namespaces []string, err error)
- func GetNodes(c *kubernetes.Clientset) ([]types.K8sNode, error)
- func GetPodDetail(c *kubernetes.Clientset, podNamespace, podName string) (types.PodDetail, error)
- func GetPodYaml(c *kubernetes.Clientset, podNamespace string, podName string) (string, error)
- func GetPodsInNamespace(c *kubernetes.Clientset, namespace string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespaces ¶
func GetNamespaces(c *kubernetes.Clientset) (namespaces []string, err error)
get namespaces
func GetPodDetail ¶
func GetPodYaml ¶
func GetPodsInNamespace ¶
func GetPodsInNamespace(c *kubernetes.Clientset, namespace string) ([]string, error)
get pod names with provided namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.