Versions in this module Expand all Collapse all v0 v0.4.2 Dec 13, 2022 Changes in this version + var ControllerLabel = "vcluster.loft.sh/controlled-by" + var MarkerLabel = "vcluster.loft.sh/managed-by" + var NamespaceLabel = "vcluster.loft.sh/namespace" + var Owner client.Object + var Suffix = "suffix" + func ConvertKindToResource(config *rest.Config, groupVersionKind schema.GroupVersionKind) (schema.GroupVersionResource, error) + func EnsureCRDFromFile(ctx context.Context, config *rest.Config, crdFilePath string, ...) error + func EnsureCRDFromPhysicalCluster(ctx context.Context, pConfig *rest.Config, vConfig *rest.Config, ...) error + func GetOwnerReference() []metav1.OwnerReference + func IsManaged(obj runtime.Object) bool + func IsManagedCluster(physicalNamespace string, obj runtime.Object) bool + func KindExists(config *rest.Config, groupVersionKind schema.GroupVersionKind) (bool, error) + func PhysicalName(name, namespace string) string + func PhysicalNameClusterScoped(name, physicalNamespace string) string + func SafeConcatGenerateName(name ...string) string + func SafeConcatName(name ...string) string