Documentation ¶
Overview ¶
Package noderefutil implements noderef utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadyCondition ¶
func GetReadyCondition(status *corev1.NodeStatus) *corev1.NodeCondition
GetReadyCondition extracts the ready condition from the given status and returns that. Returns nil and -1 if the condition is not present, and the index of the located condition.
func IsNodeAvailable ¶
IsNodeAvailable returns true if the node is ready and minReadySeconds have elapsed or is 0. False otherwise.
func IsNodeReady ¶
IsNodeReady returns true if a node is ready; false otherwise.
func IsNodeUnreachable ¶ added in v0.3.0
IsNodeUnreachable returns true if a node is unreachable. Node is considered unreachable when its ready status is "Unknown".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.