podutil

package
v2.2.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable(pod *corev1.Pod, minReadySeconds int64, now metav1.Time) bool

IsAvailable returns whether the pod has remained ready for minReadySeconds.

func IsContainerRunning

func IsContainerRunning(pod *corev1.Pod, mainContainerName string) error

IsContainerRunning means the main container of this pod is running and deleting this pod may increase an unavailable instance

func IsReady

func IsReady(pod *corev1.Pod) bool

IsReady returns whether the pod has a true Ready condition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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