Documentation ¶
Index ¶
- func ErrorOK(err error)
- func GetConfig() (*config.Config, error)
- func NewClusterAddCommand() *cobra.Command
- func NewClusterCommand() *cobra.Command
- func NewClusterGTIDCommand() *cobra.Command
- func NewClusterIdleAddCommand() *cobra.Command
- func NewClusterIdleRemoveCommand() *cobra.Command
- func NewClusterLogCommand() *cobra.Command
- func NewClusterMysqlCommand() *cobra.Command
- func NewClusterRaftCommand() *cobra.Command
- func NewClusterRemoveCommand() *cobra.Command
- func NewClusterStatusCommand() *cobra.Command
- func NewClusterStatusJsonCommand() *cobra.Command
- func NewClusterXenonCommand() *cobra.Command
- func NewInitCommand() *cobra.Command
- func NewMysqlCancelBackupCommand() *cobra.Command
- func NewMysqlChangePasswordCommand() *cobra.Command
- func NewMysqlCommand() *cobra.Command
- func NewMysqlCreateSuperUserCommand() *cobra.Command
- func NewMysqlCreateUserCommand() *cobra.Command
- func NewMysqlCreateUserWithPrivilegesCommand() *cobra.Command
- func NewMysqlDoBackupCommand() *cobra.Command
- func NewMysqlDropUserCommand() *cobra.Command
- func NewMysqlGetUserCommand() *cobra.Command
- func NewMysqlKillCommand() *cobra.Command
- func NewMysqlRebuildMeCommand() *cobra.Command
- func NewMysqlSetVarCommand() *cobra.Command
- func NewMysqlShutDownCommand() *cobra.Command
- func NewMysqlStartCommand() *cobra.Command
- func NewMysqlStartMonitorCommand() *cobra.Command
- func NewMysqlStatusCommand() *cobra.Command
- func NewMysqlStopMonitorCommand() *cobra.Command
- func NewPerfCommand() *cobra.Command
- func NewQuickStackCommand() *cobra.Command
- func NewQuickStackJsonCommand() *cobra.Command
- func NewRaftAddCommand() *cobra.Command
- func NewRaftCommand() *cobra.Command
- func NewRaftDisableCheckSemiSyncCommand() *cobra.Command
- func NewRaftDisableCommand() *cobra.Command
- func NewRaftDisablePurgeBinlogCommand() *cobra.Command
- func NewRaftEnableCheckSemiSyncCommand() *cobra.Command
- func NewRaftEnableCommand() *cobra.Command
- func NewRaftEnablePurgeBinlogCommand() *cobra.Command
- func NewRaftNodesCommand() *cobra.Command
- func NewRaftRemoveCommand() *cobra.Command
- func NewRaftStatusCommand() *cobra.Command
- func NewRaftTryToLeaderCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func NewXenonCommand() *cobra.Command
- func NewXenonStatusCommand() *cobra.Command
- func RspOK(ret string)
- func SaveConfig(conf *config.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterAddCommand ¶
func NewClusterCommand ¶
func NewClusterGTIDCommand ¶
func NewClusterRemoveCommand ¶
func NewClusterStatusCommand ¶
func NewClusterXenonCommand ¶
func NewInitCommand ¶
func NewMysqlChangePasswordCommand ¶
change normal user password
func NewMysqlCommand ¶
func NewMysqlCreateSuperUserCommand ¶
create super user
func NewMysqlCreateUserWithPrivilegesCommand ¶
create normal user with privileges
func NewMysqlDoBackupCommand ¶
func NewMysqlDropUserCommand ¶
drop user(normal&super)
func NewMysqlGetUserCommand ¶
NewMysqlGetUserCommand get mysql user list api (format in JSON)
func NewMysqlStatusCommand ¶
mysql status api format in JSON
func NewPerfCommand ¶
func NewQuickStackCommand ¶
func NewRaftAddCommand ¶
func NewRaftCommand ¶
func NewRaftDisableCommand ¶
func NewRaftEnableCommand ¶
func NewRaftNodesCommand ¶
func NewRaftRemoveCommand ¶
func NewRaftStatusCommand ¶
raft status api format in JSON
func NewVersionCommand ¶
func NewXenonCommand ¶
func NewXenonStatusCommand ¶
func SaveConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.