Documentation ¶
Index ¶
- Constants
- Variables
- func CatalogSource(name, namespace string) *olmv1alpha1.CatalogSource
- func CatalogSourceStatus() olmv1alpha1.CatalogSourceStatus
- func ClusterServiceVersion(name, namespace, example string) *olmv1alpha1.ClusterServiceVersion
- func ClusterServiceVersionStatus() olmv1alpha1.ClusterServiceVersionStatus
- func ConfigmapObj(name, namespace string) *corev1.ConfigMap
- func CreateNSName(prefix string) string
- func InstallPlan(name, namespace string) *olmv1alpha1.InstallPlan
- func InstallPlanStatus() olmv1alpha1.InstallPlanStatus
- func NamespaceObj(name string) *corev1.Namespace
- func NamespaceScopeObj(namespace string) *nssv1.NamespaceScope
- func OdlmNssObj(namespace string) *nssv1.NamespaceScope
- func OperandBindInfoObj(name, namespace, registryName, registryNamespace string) *apiv1alpha1.OperandBindInfo
- func OperandConfigObj(name, namespace string) *apiv1alpha1.OperandConfig
- func OperandRegistryObj(name, namespace, subNamespace string) *apiv1alpha1.OperandRegistry
- func OperandRegistryObjwithCfg(name, namespace, subNamespace string) *apiv1alpha1.OperandRegistry
- func OperandRequestObj(registryName, registryNamespace, requestName, requestNamespace string) *apiv1alpha1.OperandRequest
- func OperandRequestObjWithCR(registryName, registryNamespace, requestName, requestNamespace string) *apiv1alpha1.OperandRequest
- func OperandRequestObjWithProtected(registryName, registryNamespace, requestName, requestNamespace string) *apiv1alpha1.OperandRequest
- func SecretObj(name, namespace string) *corev1.Secret
- func Subscription(name, namespace string) *olmv1alpha1.Subscription
- func SubscriptionStatus(name, namespace, csvVersion string) olmv1alpha1.SubscriptionStatus
Constants ¶
View Source
const ( Timeout = time.Second * 300 Interval = time.Second * 5 )
View Source
const JaegerExample string = `` /* 160-byte string literal not displayed */
View Source
const MongodbExample string = `` /* 372-byte string literal not displayed */
Variables ¶
View Source
var SubConfig = &olmv1alpha1.SubscriptionConfig{ Resources: &corev1.ResourceRequirements{ Limits: map[corev1.ResourceName]resource.Quantity{ corev1.ResourceCPU: *cpu500, corev1.ResourceMemory: *memory500}, Requests: map[corev1.ResourceName]resource.Quantity{ corev1.ResourceCPU: *cpu100, corev1.ResourceMemory: *memory300}, }, }
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 CreateNSName ¶ added in v1.5.0
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 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 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.
Click to show internal directories.
Click to hide internal directories.