meta

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationLock                   = "polardbx/lock"
	AnnotationControllerHints        = "polardbx/controller.hints"
	AnnotationEnableRebalanceOnScale = "polardbx/scale.enable-rebalance"
	AnnotationSchemaCaseInsensitive  = "polardbx/schema.case-insensitive"
)
View Source
const (
	AnnotationConfigGuide       = "polardbx/config-guide"
	AnnotationTopologyModeGuide = "polardbx/topology-mode-guide"
	AnnotationTopologyRuleGuide = "polardbx/topology-rule-guide"
)

Guide annotations

View Source
const (
	LabelName         = "polardbx/name"
	LabelRand         = "polardbx/rand"
	LabelRole         = "polardbx/role"
	LabelCNType       = "polardbx/cn-type"
	LabelDNIndex      = "polardbx/dn-index"
	LabelTopologyRule = "polardbx/topology-rule"
	LabelGeneration   = "polardbx/generation"
	LabelPortLock     = "polardbx/port-lock"
	LabelGroup        = "polardbx/group"
)
View Source
const (
	RoleGMS = "gms"
	RoleCN  = "cn"
	RoleDN  = "dn"
	RoleCDC = "cdc"
)
View Source
const (
	CNTypeRW = "rw"
	CNTypeRO = "ro"
)
View Source
const Finalizer = "polardbx/finalizer"
View Source
const (
	HintForbidden = "forbidden"
)

Variables

This section is empty.

Functions

func AssertRoleIn

func AssertRoleIn(role string, candidates ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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