pod

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func IsPodAvailable(pod *corev1.Pod, minReadySeconds int32, now metav1.Time) bool

IsPodAvailable returns true if the pod is ready and minReadySeconds have elapsed or is 0. False otherwise.

func IsPodReady

func IsPodReady(pod *corev1.Pod) bool

IsPodReady returns true if a pod is ready; false otherwise.

func IsPodUnreachable

func IsPodUnreachable(pod *corev1.Pod) bool

IsPodUnreachable returns true if a pod is unreachable. Pod is considered unreachable when its ready status is "Unknown".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL