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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.