Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterID ¶
func ClusterID(c *gin.Context) (*kubernetes.Clientset, error)
ClusterID 公共方法, 获取指定k8s集群的KubeConfig
func GetK8sClient ¶
func GetK8sClient(k8sConf string) (*kubernetes.Clientset, error)
GetK8sClient 获取k8s Client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.