olm

package
v0.0.0-...-0312a9a Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyOperatorGroupExists

func AnyOperatorGroupExists(suiteCtx *types.SuiteContext, operatorNamespace string) bool

func CreateCatalogSource

func CreateCatalogSource(suiteCtx *types.SuiteContext, catalogSourceNamespace string, catalogSourceName string) *operatorsv1alpha1.CatalogSource

func CreateOperatorGroup

func CreateOperatorGroup(suiteCtx *types.SuiteContext, operatorNamespace string, operatorGroupName string) *operatorsv1.OperatorGroup

func DeleteCatalogSource

func DeleteCatalogSource(suiteCtx *types.SuiteContext, catalogSourceNamespace string, catalogSourceName string)

func DeleteOperatorGroup

func DeleteOperatorGroup(suiteCtx *types.SuiteContext, operatorNamespace string, operatorGroupName string)

func DeleteSubscription

func DeleteSubscription(suiteCtx *types.SuiteContext, sub *operatorsv1alpha1.Subscription, defaultWait bool)

func UninstallOperatorOLM

func UninstallOperatorOLM(suiteCtx *types.SuiteContext, operatorNamespace string, clusterwide bool, olminfo *OLMInstallationInfo)

Types

type CreateSubscriptionRequest

type CreateSubscriptionRequest struct {
	SubscriptionNamespace string
	SubscriptionName      string

	Package                string
	CatalogSourceName      string
	CatalogSourceNamespace string

	ChannelName string
	ChannelCSV  string
}

type OLMInstallationInfo

type OLMInstallationInfo struct {
	CatalogSource *operatorsv1alpha1.CatalogSource
	OperatorGroup *operatorsv1.OperatorGroup
	Subscription  *operatorsv1alpha1.Subscription
}

func InstallOperatorOLM

func InstallOperatorOLM(suiteCtx *types.SuiteContext, operatorNamespace string, clusterwide bool) *OLMInstallationInfo

Jump to

Keyboard shortcuts

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