Documentation
¶
Index ¶
- Variables
- func CheckOrchDiscoverDbMetaPrivilege()
- func CheckOrchDiscoverDbPseudoGtidPrivilege(SupportGtid string) error
- func CheckOrchDiscoverPrivilege() error
- func GetClusterInUSEGtidMode(ClusterName string, HostIP string, BackendPort string) (string, error)
- func OrchDiscoverAccountCheck() error
- type OrchDiscoverDbPriv
- type OrchDiscoverDbPseudoPriv
- type OrchDiscoverPriv
- type ReplicaInfo
- type SupportGtidMode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OrchdbName = "orchestrator" OrchUser = "orch_discover" OrchDbName = "mysql" OrchEncodePasswd = "xx" OrchPasswd, _ = base64.StdEncoding.DecodeString(OrchEncodePasswd) MetaEncodePasswd = "xxxx" MetaPasswd, _ = base64.StdEncoding.DecodeString(MetaEncodePasswd) MetaUser = "dbmgr" )
Functions ¶
func CheckOrchDiscoverDbMetaPrivilege ¶
func CheckOrchDiscoverDbMetaPrivilege()
func CheckOrchDiscoverPrivilege ¶
func CheckOrchDiscoverPrivilege() error
func GetClusterInUSEGtidMode ¶
func OrchDiscoverAccountCheck ¶
func OrchDiscoverAccountCheck() error
Types ¶
type OrchDiscoverDbPriv ¶
type OrchDiscoverDbPriv struct {
SelectPriv string
}
type OrchDiscoverDbPseudoPriv ¶
type OrchDiscoverDbPseudoPriv struct {
DropPriv string
}
type OrchDiscoverPriv ¶
type ReplicaInfo ¶
func DetectOrchAccount ¶
func DetectOrchAccount(ClusterName string, MetaDsn string) (*ReplicaInfo, error)
type SupportGtidMode ¶
type SupportGtidMode struct {
SupportsOracleGtid string
}
Click to show internal directories.
Click to hide internal directories.