Documentation ¶
Index ¶
- Constants
- func GetDeploymentByOwnerReference(uid types.UID) (*v1.Deployment, error)
- func GetNodeNames(nodes []corev1.Node) []string
- func ListMasterNodes(aclient client.Client) ([]corev1.Node, error)
- func ListPodsByDaemonset(cli client.Client, ds appsv1.DaemonSet) ([]corev1.Pod, error)
- func ListPodsByDeployment(aclient client.Client, deployment v1.Deployment) ([]corev1.Pod, error)
Constants ¶
View Source
const ( // LabelMasterRole contains the key for the role label LabelMasterRole = "node-role.kubernetes.io/master" // LabelControlPlane contains the key for the control-plane role label LabelControlPlane = "node-role.kubernetes.io/control-plane" )
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentByOwnerReference ¶
func GetDeploymentByOwnerReference(uid types.UID) (*v1.Deployment, error)
func GetNodeNames ¶
func ListPodsByDaemonset ¶
func ListPodsByDeployment ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.