util

package
v0.0.0-...-0ec9d85 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 HTTPS

func HTTPS(host string) string

TODO: technically, this should take targetPort from route.spec.port.targetPort

func LabelsForConsole

func LabelsForConsole() map[string]string

func LabelsForDownloads

func LabelsForDownloads() map[string]string

func OwnerRefFrom

func OwnerRefFrom(cr *operatorv1.Console) *metav1.OwnerReference

func RemoveOwnerRef

func RemoveDuplicateStr

func RemoveDuplicateStr(strSlice []string) []string

func SharedLabels

func SharedLabels() map[string]string

func SharedMeta

func SharedMeta() metav1.ObjectMeta

Types

This section is empty.

Jump to

Keyboard shortcuts

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