Documentation ¶
Index ¶
- Constants
- Variables
- func KubeDescribe(text string, body func()) bool
- func SIGDescribe(text string, body func()) bool
- func WaitForPartitionedRollingUpdate(c clientset.Interface, set *appsv1.StatefulSet) (*appsv1.StatefulSet, *v1.PodList)
- func WaitForRunning(c clientset.Interface, numPodsRunning, numPodsReady int32, ...)
- func WaitForRunningAndReady(c clientset.Interface, numStatefulPods int32, ss *appsv1.StatefulSet)
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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.