helper

package
v0.0.0-...-0219ce9 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 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 DeleteIstioCRDs

func DeleteIstioCRDs() error

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(subscriptionName, operatorPackage, channel, namespace, group,
	sourceNamespace, startingCSV string, installApproval v1alpha1.Approval) error

func DoesOperatorHaveLabels

func DoesOperatorHaveLabels(prefixCsvName string, namespace string, labels map[string]string) (bool, error)

func GetCsvByPrefix

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

GetCsvByPrefix returns csv object based on given prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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