object

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectAllHaveLabel

func ExpectAllHaveLabel(objList interface{}, key string)

func ExpectHaveAnnotation

func ExpectHaveAnnotation(obj client.Object, key string)

func ExpectHaveAnnotationWithValue

func ExpectHaveAnnotationWithValue(obj client.Object, key string, value string)

func ExpectHaveFinalizer

func ExpectHaveFinalizer(obj client.Object, finalizer string)

func ExpectHaveLabel

func ExpectHaveLabel(obj client.Object, key string)

func ExpectHaveLabelWithValue

func ExpectHaveLabelWithValue(obj client.Object, key string, value string)

func ExpectNoFinalizers

func ExpectNoFinalizers(obj client.Object)

func ExpectNotHaveAnnotation

func ExpectNotHaveAnnotation(obj client.Object, key string)

func ExpectNotHaveLabel

func ExpectNotHaveLabel(obj client.Object, key string)

func ExpectToBeHostNetworkEqualTo

func ExpectToBeHostNetworkEqualTo(pod *corev1.Pod, hostNetwork bool)

func ExpectToBeScheduled

func ExpectToBeScheduled(pod *corev1.Pod)

func ExpectToHaveContainer

func ExpectToHaveContainer(pod *corev1.Pod, container string)

func ExpectToHaveResources

func ExpectToHaveResources(pod *corev1.Pod, container string, resources corev1.ResourceRequirements)

func WaitForConfigMapsWithLabelsToDisappear

func WaitForConfigMapsWithLabelsToDisappear(c client.Client, ns string, labels map[string]string, timeout time.Duration) error

func WaitForDeploymentsWithLabelsToDisappear

func WaitForDeploymentsWithLabelsToDisappear(c client.Client, ns string, labels map[string]string, timeout time.Duration) error

func WaitForJobsWithLabelsToDisappear

func WaitForJobsWithLabelsToDisappear(c client.Client, ns string, labels map[string]string, timeout time.Duration) error

func WaitForPodNotFoundInNamespace

func WaitForPodNotFoundInNamespace(c client.Client, podName string, ns string, timeout time.Duration) error

func WaitForPodsWithLabelsToDisappear

func WaitForPodsWithLabelsToDisappear(c client.Client, ns string, labels map[string]string, timeout time.Duration) error

func WaitForSecretsWithLabelsToDisappear

func WaitForSecretsWithLabelsToDisappear(c client.Client, ns string, labels map[string]string, timeout time.Duration) error

func WaitForServicesWithLabelsToDisappear

func WaitForServicesWithLabelsToDisappear(c client.Client, ns string, labels map[string]string, timeout time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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