test

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCertSecret

func CreateCertSecret(name, namespace string) *corev1.Secret

func ExpectEnv

func ExpectEnv(env []v1.EnvVar, key, value string)

func ExpectGlobalAlertTemplateToBePopulated

func ExpectGlobalAlertTemplateToBePopulated(resource runtime.Object)

func ExpectGlobalReportType

func ExpectGlobalReportType(resource runtime.Object, name string)

func ExpectK8sServiceEpEnvVars

func ExpectK8sServiceEpEnvVars(podSpec corev1.PodSpec, host, port string)

func ExpectNoK8sServiceEpEnvVars added in v1.22.0

func ExpectNoK8sServiceEpEnvVars(podSpec corev1.PodSpec)

func ExpectResource

func ExpectResource(resource runtime.Object, name, ns, group, version, kind string)

func ExpectResourceInList added in v1.19.0

func ExpectResourceInList(objs []client.Object, name, ns, group, version, kind string)

func GetContainer

func GetContainer(containers []v1.Container, name string) *v1.Container

func GetResource

func GetResource(resources []client.Object, name, ns, group, version, kind string) client.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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