pod

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPodsChanged added in v1.2.7

func IsPodsChanged(old v1.Pod, cur v1.Pod) bool

func ListContainerFromPod added in v1.4.0

func ListContainerFromPod(spec v1.PodSpec, pred func(container v1.Container) bool) []v1.Container

func ListPods added in v1.3.2

func ListPods(labelSelector string, ns string, c clientset.Interface) ([]v1.Pod, error)

func MustListPods added in v1.3.2

func MustListPods(labelSelector string, ns string, c clientset.Interface) []v1.Pod

func PodsAreChanged

func PodsAreChanged(c kubernetes.Interface, pods []v1.Pod) wait.ConditionFunc

PodsAreChanged checks the given pods are changed or not (recreate, update).

func WaitForPodsAreChanged

func WaitForPodsAreChanged(c kubernetes.Interface, pods []v1.Pod, timeout time.Duration) error

WaitForPodsAreChanged waits for given pods are changed. It returns wait.ErrWaitTimeout if the given pods are not changed in specified timeout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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