Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadyCondition ¶
func GetReadyCondition(status *corev1.PodStatus) *corev1.PodCondition
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 IsPodAvailable ¶
IsPodAvailable returns true if the pod is ready and minReadySeconds have elapsed or is 0. False otherwise.
func IsPodReady ¶
IsPodReady returns true if a pod is ready; false otherwise.
func IsPodUnreachable ¶
IsPodUnreachable returns true if a pod is unreachable. Pod is considered unreachable when its ready status is "Unknown".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.