pods

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CreateSync added in v0.11.100

func CreateSync(f *fixture.Fixture, pod *corev1.Pod) (*corev1.Pod, error)

CreateSync creates a new pod according to the fixture specifications, and wait for it to start and be running and ready.

func DeletePodSyncByName

func DeletePodSyncByName(f *fixture.Fixture, podNamespace, podName string) error

func GetLogsForPod added in v0.7.0

func GetLogsForPod(cs clientset.Interface, podNamespace, podName, containerName string) (string, error)

func GetPodOnNode added in v0.3.2

func GetPodOnNode(cs clientset.Interface, nodeName, namespace, labelName string) (*corev1.Pod, error)

func GetPodsByLabel added in v0.3.1

func GetPodsByLabel(cs clientset.Interface, ns, label string) ([]corev1.Pod, error)

func MakeBestEffortSleeperPod

func MakeBestEffortSleeperPod() *corev1.Pod

func MakeGuaranteedSleeperPod

func MakeGuaranteedSleeperPod(cpuLimit string) *corev1.Pod

Types

This section is empty.

Directories

Path Synopsis
rtepod includes utilities to introspect the RTE pod - and the RTE pod only
rtepod includes utilities to introspect the RTE pod - and the RTE pod only

Jump to

Keyboard shortcuts

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