Documentation ¶
Index ¶
- func GenerateLabelSelector(selector map[string]string) string
- func GetDeploymentBySelectorLabel(labelSelector, nameSpace string, clientSet *kubernetes.Clientset) (*appsv1.DeploymentList, error)
- func GetPodBySelectorLabel(labelSelector, nameSpace string, clientSet *kubernetes.Clientset) (*v1.PodList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLabelSelector ¶
根据Label生成对应的labelSelector k8s-app=nginx,app=nginx01 多标签查询
func GetDeploymentBySelectorLabel ¶
func GetDeploymentBySelectorLabel(labelSelector, nameSpace string, clientSet *kubernetes.Clientset) (*appsv1.DeploymentList, error)
func GetPodBySelectorLabel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.