common

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProxySchedulerName     = "admiralty-proxy"
	CandidateSchedulerName = "admiralty-candidate"

	LabelAndTaintKeyVirtualKubeletProvider = "virtual-kubelet.io/provider"
	VirtualKubeletProviderName             = "admiralty"

	KeyPrefix = "multicluster.admiralty.io/"

	AnnotationKeyElect = KeyPrefix + "elect"

	KeyPrefixSourcePod = KeyPrefix + "sourcepod-"

	AnnotationKeySourcePodManifest = KeyPrefixSourcePod + "manifest"

	AnnotationKeyIsReserved      = KeyPrefix + "is-reserved"
	AnnotationKeyIsUnschedulable = KeyPrefix + "is-unschedulable"
	AnnotationKeyIsAllowed       = KeyPrefix + "is-allowed"
	AnnotationKeyIsBound         = KeyPrefix + "is-bound"
	AnnotationKeyBindingFailed   = KeyPrefix + "binding-failed"

	AnnotationKeyIsDelegate = KeyPrefix + "is-delegate"

	LabelKeyHasFinalizer = KeyPrefix + "has-finalizer"

	LabelKeyParentUID       = KeyPrefix + "parent-uid"
	LabelKeyParentName      = KeyPrefix + "parent-name"
	LabelKeyParentNamespace = KeyPrefix + "parent-namespace"

	CrossClusterGarbageCollectionFinalizer = KeyPrefix + "multiclusterForegroundDeletion"
)

Functions

func SplitLabelsOrAnnotations added in v0.8.0

func SplitLabelsOrAnnotations(m map[string]string) (map[string]string, map[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