common

package
v1.2.3-durham Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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(olmClient olmclient.Interface, 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)

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(olmClient olmclient.Interface, name, namespace string, packageName ...string) (*olmv1alpha1.Subscription, error)

FetchSubscription fetch Subscription from 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