Documentation ¶
Index ¶
- Variables
- func GetOwnerReference(object client.Object) []metav1.OwnerReference
- func IsManaged(obj runtime.Object) bool
- func IsManagedCluster(physicalNamespace string, obj runtime.Object) bool
- func ObjectPhysicalName(obj client.Object) string
- func PhysicalName(name, namespace string) string
- func PhysicalNameClusterScoped(name, physicalNamespace string) string
- func SafeConcatGenerateName(name ...string) string
- func SafeConcatName(name ...string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NamespaceLabel = "vcluster.loft.sh/namespace" MarkerLabel = "vcluster.loft.sh/managed-by" Suffix = "suffix" )
View Source
var Owner client.Object
Functions ¶
func GetOwnerReference ¶ added in v0.4.4
func GetOwnerReference(object client.Object) []metav1.OwnerReference
func IsManagedCluster ¶ added in v0.4.0
func ObjectPhysicalName ¶
func PhysicalName ¶
PhysicalName returns the physical name of the name / namespace resource
func PhysicalNameClusterScoped ¶ added in v0.4.0
PhysicalNameClusterScoped returns the physical name of a cluster scoped object in the host cluster
func SafeConcatGenerateName ¶ added in v0.3.0
func SafeConcatName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.