Documentation
¶
Index ¶
- func AddOwnerRef(obj metav1.Object, ownerRef *metav1.OwnerReference)
- func GetImageEnv(envName string) string
- func HTTPS(host string) string
- func LabelsForConsole() map[string]string
- func LabelsForDownloads() map[string]string
- func OwnerRefFrom(cr *operatorv1.Console) *metav1.OwnerReference
- func RemoveDuplicateStr(strSlice []string) []string
- func SharedLabels() map[string]string
- func SharedMeta() metav1.ObjectMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOwnerRef ¶
func AddOwnerRef(obj metav1.Object, ownerRef *metav1.OwnerReference)
objects can have more than one ownerRef, potentially
func GetImageEnv ¶
borrowed from library-go https://github.com/openshift/library-go/blob/master/pkg/operator/v1alpha1helpers/helpers.go
func LabelsForConsole ¶
func LabelsForDownloads ¶
func OwnerRefFrom ¶
func OwnerRefFrom(cr *operatorv1.Console) *metav1.OwnerReference
func RemoveOwnerRef
func RemoveDuplicateStr ¶
func SharedLabels ¶
func SharedMeta ¶
func SharedMeta() metav1.ObjectMeta
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.