testutil

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Timeout  = time.Second * 300
	Interval = time.Second * 5
)
View Source
const EtcdExample string = `` /* 186-byte string literal not displayed */
View Source
const JenkinsExample string = `` /* 162-byte string literal not displayed */

Variables

This section is empty.

Functions

func CatalogSource

func CatalogSource(name, namespace string) *olmv1alpha1.CatalogSource

func CatalogSourceStatus

func CatalogSourceStatus() olmv1alpha1.CatalogSourceStatus

func ClusterServiceVersion

func ClusterServiceVersion(name, namespace, example string) *olmv1alpha1.ClusterServiceVersion

func ClusterServiceVersionStatus

func ClusterServiceVersionStatus() olmv1alpha1.ClusterServiceVersionStatus

func ConfigmapObj

func ConfigmapObj(name, namespace string) *corev1.ConfigMap

func CreateNSName added in v1.5.0

func CreateNSName(prefix string) string

CreateNSName generates random namespace names. Namespaces are never deleted in test environment

func InstallPlan

func InstallPlan(name, namespace string) *olmv1alpha1.InstallPlan

func InstallPlanStatus

func InstallPlanStatus() olmv1alpha1.InstallPlanStatus

func NamespaceObj

func NamespaceObj(name string) *corev1.Namespace

func OperandBindInfoObj

func OperandBindInfoObj(name, namespace, registryName, registryNamespace string) *apiv1alpha1.OperandBindInfo

Return OperandBindInfo obj

func OperandConfigObj

func OperandConfigObj(name, namespace string) *apiv1alpha1.OperandConfig

Return OperandConfig obj

func OperandRegistryObj

func OperandRegistryObj(name, namespace, subNamespace string) *apiv1alpha1.OperandRegistry

Return OperandRegistry obj

func OperandRequestObj

func OperandRequestObj(registryName, registryNamespace, requestName, requestNamespace string) *apiv1alpha1.OperandRequest

Return OperandRequest obj

func OperandRequestObjWithProtected added in v1.5.0

func OperandRequestObjWithProtected(registryName, registryNamespace, requestName, requestNamespace string) *apiv1alpha1.OperandRequest

OperandRequestObjWithProtected returns OperandRequest obj

func SecretObj

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

func Subscription

func Subscription(name, namespace string) *olmv1alpha1.Subscription

Return Subscription obj

func SubscriptionStatus

func SubscriptionStatus(name, namespace, csvVersion string) olmv1alpha1.SubscriptionStatus

Types

This section is empty.

Jump to

Keyboard shortcuts

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