Documentation ¶
Index ¶
- func GetNodeReadyStatus(node corev1.Node) corev1.ConditionStatus
- func GetNonTerminatedPodsOfNode(client kubernetes.Interface, nodeName string) (*corev1.PodList, error)
- func GetPodsOfNode(client kubernetes.Interface, nodeName string) (*corev1.PodList, error)
- func IsControlPlaneRole(node *corev1.Node) bool
- func Patch(ctx context.Context, c kubernetes.Interface, node *corev1.Node, ...) (*corev1.Node, error)
- func PatchNodeLabel(c kubernetes.Interface, node *corev1.Node, labels map[string]string) (*corev1.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeReadyStatus ¶
func GetNodeReadyStatus(node corev1.Node) corev1.ConditionStatus
func GetPodsOfNode ¶
func IsControlPlaneRole ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.