pods

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CentosImage = "quay.io/centos/centos:8"
)

Variables

This section is empty.

Functions

func DumpEventsForPod added in v0.14.0

func DumpEventsForPod(events []corev1.Event, podNamespace, podName string) string

func GetByDeployment added in v0.14.0

func GetByDeployment(cli client.Client, ctx context.Context, deployment appsv1.Deployment) ([]corev1.Pod, error)

func GetByRegex

func GetByRegex(cs client.Client, reg string) ([]*corev1.Pod, error)

func GetEventsForPod added in v0.14.0

func GetEventsForPod(k8sCli kubernetes.Interface, ctx context.Context, podNamespace, podName string) ([]corev1.Event, error)

func GuaranteedSleeperPod

func GuaranteedSleeperPod(namespace, schedulerName string) *corev1.Pod

func LogEventsForPod added in v0.14.0

func LogEventsForPod(k8sCli kubernetes.Interface, ctx context.Context, podNamespace, podName string) error

func WaitForPodToBeRunning

func WaitForPodToBeRunning(cli *kubernetes.Clientset, podNamespace, podName string) *corev1.Pod

func WaitPodsToBeRunningByRegex

func WaitPodsToBeRunningByRegex(pattern string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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