Documentation ¶
Index ¶
- func CreateCertSecret(name, namespace string, dnsNames ...string) *corev1.Secret
- func ExpectEnv(env []v1.EnvVar, key, value string)
- func ExpectGlobalAlertTemplateToBePopulated(resource runtime.Object)
- func ExpectGlobalReportType(resource runtime.Object, name string)
- func ExpectK8sServiceEpEnvVars(podSpec corev1.PodSpec, host, port string)
- func ExpectNoK8sServiceEpEnvVars(podSpec corev1.PodSpec)
- func ExpectResource(resource runtime.Object, name, ns, group, version, kind string)
- func ExpectResourceInList(objs []client.Object, name, ns, group, version, kind string)
- func ExpectVolumeMount(vms []v1.VolumeMount, name, path string)
- func GetContainer(containers []v1.Container, name string) *v1.Container
- func GetGlobalResource(resources []client.Object, name, group, version, kind string) client.Object
- func GetResource(resources []client.Object, name, ns, group, version, kind string) client.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertSecret ¶
CreateCertSecret creates a secret that is not signed by the certificate manager, making it useful for testing legacy operator secrets or secrets that are brought to the cluster by the customer.
func ExpectGlobalReportType ¶
func ExpectNoK8sServiceEpEnvVars ¶ added in v1.22.0
func ExpectResource ¶
func ExpectResourceInList ¶ added in v1.19.0
func ExpectVolumeMount ¶ added in v1.25.2
func ExpectVolumeMount(vms []v1.VolumeMount, name, path string)
func GetGlobalResource ¶ added in v1.30.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.