common

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagerName                     = "workload-cluster-operator.sylva-project.org"
	ManagerSWCNameLabel             = ManagerName + "/cluster-name"
	ManagerSWCNamespaceLabel        = ManagerName + "/cluster-namespace"
	WorkloadClusterSpecificLabelKey = "sylva-project.org/workload-cluster"
	PreviewSWCAnnotationKey         = ManagerName + "/preview"
	ManagerSWCRevisionAnnotation    = ManagerName + "/value-from-revision"
)

Variables

View Source
var (
	WorkloadClusterSpecificLabel = map[string]string{WorkloadClusterSpecificLabelKey: ""}
)

Functions

func GetAllLabels added in v0.8.0

func GetAllLabels(swc *swcv1alpha1.SylvaWorkloadCluster) map[string]string

func GetDataFromValuesFromItem

func GetDataFromValuesFromItem(vf sylvav1alpha1.ValuesFrom, source client.Object) (string, error)

func GetManagerLabels

func GetManagerLabels(swc *swcv1alpha1.SylvaWorkloadCluster) map[string]string

func HashObject

func HashObject(obj any) string

func ValidateString

func ValidateString(in string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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