Documentation ¶
Index ¶
- Variables
- func EqualExcept(a map[string]string, b map[string]string, except ...string) bool
- func IsManaged(obj runtime.Object) bool
- func ObjectPhysicalName(obj runtime.Object) string
- func PhysicalName(name, namespace string) string
- func ResetObjectMetadata(obj metav1.Object)
- func SafeConcatName(name ...string) string
- func SetExcept(from map[string]string, to map[string]string, except ...string) map[string]string
- func SetupMetadata(targetNamespace string, obj runtime.Object) (runtime.Object, error)
- func Split(s, sep string) (string, string)
- func UniqueSlice(stringSlice []string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MarkerLabel = "vcluster.loft.sh/managed-by" Suffix = "suffix" )
View Source
var OwningStatefulSet *appsv1.StatefulSet
Functions ¶
func EqualExcept ¶
func ObjectPhysicalName ¶
Returns the translated physical name of this object
func PhysicalName ¶
Returns the physical name of the name / namespace resource
func ResetObjectMetadata ¶
ResetObjectMetadata resets the objects metadata except name, namespace and annotations
func SafeConcatName ¶
func SetupMetadata ¶
func UniqueSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.