translate

package
v0.7.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NamespaceLabel = "vcluster.loft.sh/namespace"
	MarkerLabel    = "vcluster.loft.sh/managed-by"
	Suffix         = "suffix"
)

Functions

func GetOwnerReference added in v0.4.4

func GetOwnerReference(object client.Object) []metav1.OwnerReference

func IsManaged

func IsManaged(obj runtime.Object) bool

func IsManagedCluster added in v0.4.0

func IsManagedCluster(physicalNamespace string, obj runtime.Object) bool

func ObjectPhysicalName

func ObjectPhysicalName(obj client.Object) string

func PhysicalName

func PhysicalName(name, namespace string) string

PhysicalName returns the physical name of the name / namespace resource

func PhysicalNameClusterScoped added in v0.4.0

func PhysicalNameClusterScoped(name, physicalNamespace string) string

PhysicalNameClusterScoped returns the physical name of a cluster scoped object in the host cluster

func SafeConcatGenerateName added in v0.3.0

func SafeConcatGenerateName(name ...string) string

func SafeConcatName

func SafeConcatName(name ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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