pod

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodListWithLabelSelector added in v0.10.1

func GetPodListWithLabelSelector(kubeClientset kubernetes.Interface, namespace, labelSelector string) (*corev1.PodList, error)

func GetPodListWithLabelSelectorAndFieldSelector added in v0.11.0

func GetPodListWithLabelSelectorAndFieldSelector(kubeClientset kubernetes.Interface, namespace, labelSelector, fieldSelector string) (*corev1.PodList, error)

func ListPods added in v0.10.1

func ListPods(kubeClientset kubernetes.Interface, namespace string) error

func ListPodsWithSelector added in v0.10.1

func ListPodsWithSelector(kubeClientset kubernetes.Interface, namespace, selector string) error

func PodInNamespaceShouldHaveLabels

func PodInNamespaceShouldHaveLabels(kubeClientset kubernetes.Interface, name, namespace, labels string) error

func PodsInNamespaceWithLabelSelectorConvergeToFieldSelector added in v0.11.0

func PodsInNamespaceWithLabelSelectorConvergeToFieldSelector(kubeClientset kubernetes.Interface, expBackoff wait.Backoff, namespace, labelSelector, fieldSelector string) error

func PodsInNamespaceWithSelectorHaveNoErrorsInLogsSinceTime

func PodsInNamespaceWithSelectorHaveNoErrorsInLogsSinceTime(kubeClientset kubernetes.Interface, namespace string, selector string, since time.Time) error

func PodsInNamespaceWithSelectorHaveSomeErrorsInLogsSinceTime

func PodsInNamespaceWithSelectorHaveSomeErrorsInLogsSinceTime(kubeClientset kubernetes.Interface, namespace string, selector string, since time.Time) error

func PodsInNamespaceWithSelectorShouldHaveLabels

func PodsInNamespaceWithSelectorShouldHaveLabels(kubeClientset kubernetes.Interface, namespace, selector, labels string) error

func PodsWithSelectorHaveRestartCountLessThan

func PodsWithSelectorHaveRestartCountLessThan(kubeClientset kubernetes.Interface, namespace string, selector string, restartCount int) error

func SomeOrAllPodsInNamespaceWithSelectorHaveStringInLogsSinceTime

func SomeOrAllPodsInNamespaceWithSelectorHaveStringInLogsSinceTime(kubeClientset kubernetes.Interface, expBackoff wait.Backoff, SomeOrAll, namespace, selector, searchKeyword string, since time.Time) error

func SomePodsInNamespaceWithSelectorDontHaveStringInLogsSinceTime

func SomePodsInNamespaceWithSelectorDontHaveStringInLogsSinceTime(kubeClientset kubernetes.Interface, namespace, selector, searchkeyword string, since time.Time) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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