testutil

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//Namespace is a test namespace for unit tests
	Namespace = "test-konfig"
)

Variables

This section is empty.

Functions

func GetApp

func GetApp(kind v1alpha1.AppKind) v1alpha1.App

func GetDaemonSet

func GetDaemonSet(daemonsetName string) *appsv1.DaemonSet

GetDaemonSet provides daemonset for testing

func GetDeployment

func GetDeployment(deploymentName string) *appsv1.Deployment

GetDeployment provides deployment for testing

func GetKonfiguratorTemplateSpec

func GetKonfiguratorTemplateSpec() v1alpha1.KonfiguratorTemplateSpec

func GetKonfiguratorTemplateStatus

func GetKonfiguratorTemplateStatus() v1alpha1.KonfiguratorTemplateStatus

func GetStatefulSet

func GetStatefulSet(statefulsetName string) *appsv1.StatefulSet

GetStatefulSet provides statefulset for testing

func GetVolumeMount

func GetVolumeMount() v1alpha1.VolumeMount

func GetVolumeMounts

func GetVolumeMounts() []v1alpha1.VolumeMount

Types

This section is empty.

Jump to

Keyboard shortcuts

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