Documentation
¶
Index ¶
Constants ¶
View Source
const ( WorkflowStateModifyClass statemachine.State = "ModifyClass" WorkflowStateUpgradeMinorVersion statemachine.State = "UpgradeMinorVersion" WorkflowStateFlushParams statemachine.State = "FlushParams" WorkflowStateRestartIns statemachine.State = "RestartIns" WorkflowStateRestartCluster statemachine.State = "RestartCluster" WorkflowStateSwitchRw statemachine.State = "SwitchRw" WorkflowStateMigrateRw statemachine.State = "MigrateRw" WorkflowStateMigrateRo statemachine.State = "MigrateRo" WorkflowStateRebuildRo statemachine.State = "RebuildRo" WorkflowStateAddRo statemachine.State = "AddRo" WorkflowStateRemoveRo statemachine.State = "RemoveRo" WorkflowStateExtendStorage statemachine.State = "ExtendStorage" EnginePortRangesAnnotation = "polarbox.novip.engine.port.range" // Manager RwEnvServiceType = "polardb_mpd_rw" RoEnvServiceType = "polardb_mpd_ro" EngineImageName = "engineImage" ManagerImageName = "managerImage" PfsdImageName = "pfsdImage" PfsdToolImageName = "pfsdToolImage" ClusterManagerImageName = "clusterManagerImage" AnnotationForceRebuild = "forceRebuild" AnnotationMigrate = "migrate" AnnotationFlushParams = "flushParams" AnnotationTempRoIds = "tempRoIds" AnnotationRestartIns = "restartIns" AnnotationRestartCluster = "restartCluster" AnnotationFlushParamsRestartCluster = "flushParamsRestartCluster" AnnotationSwitchRw = "switchRw" AnnotationRemoveIns = "removeIns" AnnotationExtendStorage = "extendStorage" InsTypeRw string = "polardb_mpd_rw" InsTypeRo string = "polardb_mpd_ro" MpdClusterFinalizer = "mpd.finalizers.polardb.aliyun.com" )
View Source
const ( // 格式: "中断错误类型|导致中断的组件|中断原因" TempRoInsIdNotFound commondefine.InterruptErrorEnum = "TEMP_INS_ID_NOT_FOUND||temp ro instance id is not found." TempRoForRwMetaLost commondefine.InterruptErrorEnum = "TEMP_RO_FOR_RW_MEAT_LOST||" TempRoForRoMetaLost commondefine.InterruptErrorEnum = "TEMP_RO_FOR_RO_MEAT_LOST||" RoMetaInvalid commondefine.InterruptErrorEnum = "RO_META_INVALID||ro metadata is invalid." )
Variables ¶
View Source
var DefaultWfConf = map[wfdefine.WFConfKey]string{ wfdefine.WorkFlowResourceName: "_resourceName", wfdefine.WorkFlowResourceNameSpace: "_resourceNameSpace", wfdefine.WFInterruptReason: "interrupt.reason", wfdefine.WFInterruptMessage: "interrupt.message", wfdefine.WFInterruptPrevious: "interrupt.previous.status", wfdefine.WFInterruptToRecover: "interrupt.recover", }
View Source
var IgnoreParams []string = []string{"log_line_prefix"}
忽略以下参数的更新
View Source
var IgnoreTemplateParams []string = []string{"ssl", "ssl_cert_file", "ssl_key_file", "listen_addresses"}
忽略以下模板参数的覆盖
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.