Documentation
¶
Index ¶
- func IsCreated(pod *corev1.Pod) bool
- func IsFailed(pod *corev1.Pod) bool
- func IsHealthy(pod *corev1.Pod) bool
- func IsPending(pod *corev1.Pod) bool
- func IsPodCordon(pod *corev1.Pod) bool
- func IsRunning(pod *corev1.Pod) bool
- func IsRunningAndAvailable(pod *corev1.Pod, minReadySeconds int32) bool
- func IsRunningAndReady(pod *corev1.Pod) bool
- func IsSucceeded(pod *corev1.Pod) bool
- func IsTerminating(pod *corev1.Pod) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPodCordon ¶
IsPodCordon returns true if and only if the delete annotation is nodeset to true.
func IsRunningAndAvailable ¶
func IsRunningAndReady ¶
isRunningAndReady returns true if pod is in the PodRunning Phase, if it has a condition of PodReady.
func IsSucceeded ¶
isSucceeded returns true if pod has a Phase of PodSucceeded
func IsTerminating ¶
isTerminating returns true if pod's DeletionTimestamp has been set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.