package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AddOrUpdateLabelsOnNode updates the labels on the node and returns true on success and false on failure.
CreateAddNodeHandler creates an add node handler.
CreateDeleteNodeHandler creates a delete node handler.
CreateUpdateNodeHandler creates a node update handler.
DeletePods will delete all pods from master running on given node, and return true if any pods were deleted, or were found pending deletion.
GetNodeCondition extracts the provided condition from the given status and returns that.
MarkPodsNotReady updates ready status of given pods running on given node from master return true if success.
RecordNodeEvent records a event related to a node.
RecordNodeStatusChange records a event related to a node status change.
SetPodTerminationReason attempts to set a reason and message in the pod status, updates it in the apiserver, and returns an error if it encounters one.
SwapNodeControllerTaint returns true in case of success and false otherwise.