Documentation ¶
Index ¶
- func FetchAllOperandRequests(c client.Client, label map[string]string) (*apiv1alpha1.OperandRequestList, error)
- func FetchClusterServiceVersion(olmClient olmclient.Interface, sub *olmv1alpha1.Subscription) (*olmv1alpha1.ClusterServiceVersion, error)
- func FetchOperandConfig(c client.Client, key types.NamespacedName) (*apiv1alpha1.OperandConfig, error)
- func FetchOperandRegistry(c client.Client, key types.NamespacedName) (*apiv1alpha1.OperandRegistry, error)
- func FetchOperandRequest(c client.Client, key types.NamespacedName) (*apiv1alpha1.OperandRequest, error)
- func FetchSubscription(olmClient olmclient.Interface, name, namespace string, packageName ...string) (*olmv1alpha1.Subscription, error)
- func GetOperatorNamespace(installMode, namespace string) string
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 ¶
GetOperatorNamespace returns the operator namespace based on the install mode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.