helper

package
v0.0.0-...-6776c55 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLabelToInstalledCSV

func AddLabelToInstalledCSV(prefixCsvName string, namespace string, label map[string]string) error

AddLabelToInstalledCSV adds given label to existing csv object.

func DeleteLabelFromInstalledCSV

func DeleteLabelFromInstalledCSV(prefixCsvName string, namespace string, label map[string]string) error

DeleteLabelFromInstalledCSV removes given label from existing csv object.

func DeployOperatorSubscription

func DeployOperatorSubscription(operatorPackage, channel, namespace, group,
	sourceNamespace, startingCSV string, installApproval v1alpha1.Approval) error

func DeployOperatorSubscriptionWithNodeSelector

func DeployOperatorSubscriptionWithNodeSelector(operatorPackage, channel, namespace, group,
	sourceNamespace, startingCSV string, installApproval v1alpha1.Approval, nodeSelector map[string]string) error

func DeployTestOperatorGroup

func DeployTestOperatorGroup() error

func GetCsvByPrefix

func GetCsvByPrefix(prefixCsvName string, namespace string) (*v1alpha1.ClusterServiceVersion, error)

GetCsvByPrefix returns csv object based on given prefix.

func WaitUntilOperatorIsReady

func WaitUntilOperatorIsReady(csvPrefix, namespace string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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