apps

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebserverImageName = "httpd"
	RedisImageName     = "redis"
)

NOTE(claudiub): These constants should NOT be used as Pod Container Images.

Variables

View Source
var (
	// CronJobGroupVersionResourceAlpha unambiguously identifies a resource of cronjob with alpha status
	CronJobGroupVersionResourceAlpha = schema.GroupVersionResource{Group: "batch", Version: "v2alpha1", Resource: "cronjobs"}

	// CronJobGroupVersionResourceBeta unambiguously identifies a resource of cronjob with beta status
	CronJobGroupVersionResourceBeta = schema.GroupVersionResource{Group: "batch", Version: "v1beta1", Resource: "cronjobs"}

	// NewWebserverImage is the fully qualified URI to the HttpdNew image
	NewWebserverImage = util.Images[util.ImageHttpdNew]
)

Functions

func KubeDescribe

func KubeDescribe(text string, body func()) bool

KubeDescribe annotates the test with the Kube label. copied from https://github.com/kubernetes/kubernetes/blob/v1.20.15/test/e2e/framework/framework.go#L621-L625

func SIGDescribe

func SIGDescribe(text string, body func()) bool

SIGDescribe annotates the test with the SIG label.

func WaitForPartitionedRollingUpdate

func WaitForPartitionedRollingUpdate(c clientset.Interface, set *appsv1.StatefulSet) (*appsv1.StatefulSet, *v1.PodList)

WaitForPartitionedRollingUpdate works like e2esset.WaitForPartitionedRollingUpdate except it takes delete slots into account.

func WaitForRunning

func WaitForRunning(c clientset.Interface, numPodsRunning, numPodsReady int32, ss *appsv1.StatefulSet)

WaitForRunning works like e2esset.WaitForRunning except it takes delete slots into account.

func WaitForRunningAndReady

func WaitForRunningAndReady(c clientset.Interface, numStatefulPods int32, ss *appsv1.StatefulSet)

WaitForRunningAndReady waits for numStatefulPods in ss to be Running and Ready.

Types

This section is empty.

Jump to

Keyboard shortcuts

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