testutil

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 12 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

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 NamespaceScopeObj added in v1.4.3

func NamespaceScopeObj(namespace string) *nssv1.NamespaceScope

func OdlmNssObj added in v1.6.0

func OdlmNssObj(namespace string) *nssv1.NamespaceScope

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 OperandRegistryObjwithCfg added in v1.9.0

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

Return OperandRegistry obj

func OperandRequestObj

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

Return OperandRequest obj

func OperandRequestObjWithCR added in v1.6.0

func OperandRequestObjWithCR(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