testutil

package
v1.23.5 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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