common

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchALLOperandRegistry added in v1.4.3

func FetchALLOperandRegistry(c client.Client, label map[string]string) (*apiv1alpha1.OperandRegistryList, error)

FetchALLOperandRegistry lists the OperandRegistry instance with default value

func FetchAllOperandRequests

func FetchAllOperandRequests(c client.Client, label map[string]string) (*apiv1alpha1.OperandRequestList, error)

FetchAllOperandRequests fetch all the OperandRequests with specific label

func FetchClusterServiceVersion

func FetchClusterServiceVersion(c client.Client, sub *olmv1alpha1.Subscription) (*olmv1alpha1.ClusterServiceVersion, error)

FetchClusterServiceVersion fetch the ClusterServiceVersion from the subscription

func FetchOperandConfig

func FetchOperandConfig(c client.Client, key types.NamespacedName) (*apiv1alpha1.OperandConfig, error)

FetchOperandConfig fetch the OperandConfig

func FetchOperandRegistry

func FetchOperandRegistry(c client.Client, key types.NamespacedName) (*apiv1alpha1.OperandRegistry, error)

FetchOperandRegistry fetch the OperandRegistry instance with default value

func FetchOperandRequest

func FetchOperandRequest(c client.Client, key types.NamespacedName) (*apiv1alpha1.OperandRequest, error)

FetchOperandRequest fetch OperandRequest

func FetchSubscription

func FetchSubscription(c client.Client, name, namespace string, packageName ...string) (*olmv1alpha1.Subscription, error)

FetchSubscription fetch Subscription from a name

func GetOperatorNamespace

func GetOperatorNamespace(installMode, namespace string) string

GetOperatorNamespace returns the operator namespace based on the install mode

Types

This section is empty.

Jump to

Keyboard shortcuts

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