Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterVersion ¶
func GetClusterVersion(c *kubernetes.Clientset) string
GetClusterVersion get kube cluster version.
Types ¶
type K8sClient ¶
type K8sClient struct { Config *rest.Config Clientset *kubernetes.Clientset }
func (*K8sClient) GetClusterStatus ¶
GetClusterStatus cluster status
Click to show internal directories.
Click to hide internal directories.