Documentation ¶
Index ¶
Constants ¶
View Source
const ( OwnerSetKind = "vcluster.loft.sh/owner-set-kind" NamespaceAnnotation = "vcluster.loft.sh/namespace" NameAnnotation = "vcluster.loft.sh/name" LabelsAnnotation = "vcluster.loft.sh/labels" UIDAnnotation = "vcluster.loft.sh/uid" ServiceAccountNameAnnotation = "vcluster.loft.sh/service-account-name" ServiceAccountTokenAnnotation = "vcluster.loft.sh/token-" DisableSubdomainRewriteAnnotation = "vcluster.loft.sh/disable-subdomain-rewrite" HostsRewrittenAnnotation = "vcluster.loft.sh/hosts-rewritten" HostsVolumeName = "vcluster-rewrite-hosts" HostsRewriteImage = "alpine:3.13.1" HostsRewriteContainerName = "vcluster-rewrite-hosts" )
Variables ¶
View Source
var ( FieldPathLabelRegEx = regexp.MustCompile("^metadata\\.labels\\['(.+)'\\]$") FieldPathAnnotationRegEx = regexp.MustCompile("^metadata\\.annotations\\['(.+)'\\]$") False = false )
Functions ¶
This section is empty.
Types ¶
type ImageTranslator ¶
func NewImageTranslator ¶
func NewImageTranslator(translateImages []string) (ImageTranslator, error)
Click to show internal directories.
Click to hide internal directories.