Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentReplicas ¶
func GetDeploymentReplicas(deploymentName, namespace string, client *kubernetes.Clientset) int32
GetDeploymentReplicas 用于获取 Deployment 的副本数
func GetPodsByDeployment ¶
func GetPodsByDeployment(deploymentName, namespace string, client *kubernetes.Clientset) []corev1.Pod
GetPodsByDeployment 用于根据 Deployment 获取关联的 Pod 列表
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.