account

package
v0.0.0-...-f9713b7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

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 CheckOrchDiscoverDbPseudoGtidPrivilege

func CheckOrchDiscoverDbPseudoGtidPrivilege(SupportGtid string) error

func CheckOrchDiscoverPrivilege

func CheckOrchDiscoverPrivilege() error

func GetClusterInUSEGtidMode

func GetClusterInUSEGtidMode(ClusterName string, HostIP string, BackendPort string) (string, error)

func OrchDiscoverAccountCheck

func OrchDiscoverAccountCheck() error

Types

type OrchDiscoverDbPriv

type OrchDiscoverDbPriv struct {
	SelectPriv string
}

type OrchDiscoverDbPseudoPriv

type OrchDiscoverDbPseudoPriv struct {
	DropPriv string
}

type OrchDiscoverPriv

type OrchDiscoverPriv struct {
	SelectPriv     string
	ProcessPriv    string
	SuperPriv      string
	ReplSlavePriv  string
	ReplClientPriv string
}

type ReplicaInfo

type ReplicaInfo struct {
	Physical_ip string
	Port        string
	ClusterName string
}

func DetectOrchAccount

func DetectOrchAccount(ClusterName string, MetaDsn string) (*ReplicaInfo, error)

type SupportGtidMode

type SupportGtidMode struct {
	SupportsOracleGtid string
}

Jump to

Keyboard shortcuts

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