annotation

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AnnPVCDeferDeletingKey is pvc defer deletion annotation key used in PVC for defer deleting PVC
	AnnPVCDeferDeletingKey = "nebula-graph.io/pvc-defer-deleting"
	// AnnPodNameKey is pod name annotation key used in PV/PVC for synchronizing nebula cluster meta info
	AnnPodNameKey string = "nebula-graph.io/pod-name"
	// AnnLastSyncTimestampKey is annotation key to indicate the last timestamp the operator sync the workload
	AnnLastSyncTimestampKey = "nebula-graph.io/sync-timestamp"
	// AnnHaModeKey is annotation key to indicate whether in ha mode
	AnnHaModeKey = "nebula-graph.io/ha-mode"
	// AnnLastAppliedConfigKey is annotation key to indicate the last applied configuration
	AnnLastAppliedConfigKey = "nebula-graph.io/last-applied-configuration"
	// AnnPodSchedulingKey is pod scheduling annotation key, it represents whether the pod is scheduling
	AnnPodSchedulingKey = "nebula-graph.io/pod-scheduling"
	// AnnPodConfigMapHash is pod configmap hash key to update configuration dynamically
	AnnPodConfigMapHash = "nebula-graph.io/cm-hash"

	// AnnHaModeVal is annotation value to indicate whether in ha mode
	AnnHaModeVal = "true"
)

Variables

This section is empty.

Functions

func IsInHaMode

func IsInHaMode(ann map[string]string) bool

IsInHaMode check whether in ha mode

Types

This section is empty.

Jump to

Keyboard shortcuts

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