cmd

package
Version: v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorOK

func ErrorOK(err error)

func GetConfig

func GetConfig() (*config.Config, error)

func NewClusterAddCommand

func NewClusterAddCommand() *cobra.Command

func NewClusterCommand

func NewClusterCommand() *cobra.Command

func NewClusterGTIDCommand

func NewClusterGTIDCommand() *cobra.Command

func NewClusterIdleAddCommand added in v1.0.9

func NewClusterIdleAddCommand() *cobra.Command

func NewClusterIdleRemoveCommand added in v1.0.9

func NewClusterIdleRemoveCommand() *cobra.Command

func NewClusterLogCommand

func NewClusterLogCommand() *cobra.Command

log

func NewClusterMysqlCommand

func NewClusterMysqlCommand() *cobra.Command

mysqlstatus

func NewClusterRaftCommand

func NewClusterRaftCommand() *cobra.Command

raft

func NewClusterRemoveCommand

func NewClusterRemoveCommand() *cobra.Command

func NewClusterStatusCommand

func NewClusterStatusCommand() *cobra.Command

func NewClusterStatusJsonCommand

func NewClusterStatusJsonCommand() *cobra.Command

func NewClusterXenonCommand

func NewClusterXenonCommand() *cobra.Command

func NewInitCommand

func NewInitCommand() *cobra.Command

func NewMysqlCancelBackupCommand

func NewMysqlCancelBackupCommand() *cobra.Command

func NewMysqlChangePasswordCommand

func NewMysqlChangePasswordCommand() *cobra.Command

change normal user password

func NewMysqlCommand

func NewMysqlCommand() *cobra.Command

func NewMysqlCreateSuperUserCommand

func NewMysqlCreateSuperUserCommand() *cobra.Command

create super user

func NewMysqlCreateUserCommand

func NewMysqlCreateUserCommand() *cobra.Command

create normal user

func NewMysqlCreateUserWithPrivilegesCommand

func NewMysqlCreateUserWithPrivilegesCommand() *cobra.Command

create normal user with privileges

func NewMysqlDoBackupCommand

func NewMysqlDoBackupCommand() *cobra.Command

func NewMysqlDropUserCommand

func NewMysqlDropUserCommand() *cobra.Command

drop user(normal&super)

func NewMysqlGetUserCommand

func NewMysqlGetUserCommand() *cobra.Command

NewMysqlGetUserCommand get mysql user list api (format in JSON)

func NewMysqlKillCommand

func NewMysqlKillCommand() *cobra.Command

kill mysql

func NewMysqlRebuildMeCommand

func NewMysqlRebuildMeCommand() *cobra.Command

func NewMysqlSetVarCommand

func NewMysqlSetVarCommand() *cobra.Command

set global sysvar

func NewMysqlShutDownCommand

func NewMysqlShutDownCommand() *cobra.Command

shutdown mysql

func NewMysqlStartCommand

func NewMysqlStartCommand() *cobra.Command

start mysql

func NewMysqlStartMonitorCommand

func NewMysqlStartMonitorCommand() *cobra.Command

start monitor

func NewMysqlStatusCommand

func NewMysqlStatusCommand() *cobra.Command

mysql status api format in JSON

func NewMysqlStopMonitorCommand

func NewMysqlStopMonitorCommand() *cobra.Command

stop monitor

func NewPerfCommand

func NewPerfCommand() *cobra.Command

func NewQuickStackCommand

func NewQuickStackCommand() *cobra.Command

func NewQuickStackJsonCommand

func NewQuickStackJsonCommand() *cobra.Command

func NewRaftAddCommand

func NewRaftAddCommand() *cobra.Command

func NewRaftCommand

func NewRaftCommand() *cobra.Command

func NewRaftDisableCheckSemiSyncCommand added in v1.0.9

func NewRaftDisableCheckSemiSyncCommand() *cobra.Command

func NewRaftDisableCommand

func NewRaftDisableCommand() *cobra.Command

func NewRaftDisablePurgeBinlogCommand

func NewRaftDisablePurgeBinlogCommand() *cobra.Command

func NewRaftEnableCheckSemiSyncCommand added in v1.0.9

func NewRaftEnableCheckSemiSyncCommand() *cobra.Command

func NewRaftEnableCommand

func NewRaftEnableCommand() *cobra.Command

func NewRaftEnablePurgeBinlogCommand

func NewRaftEnablePurgeBinlogCommand() *cobra.Command

func NewRaftNodesCommand

func NewRaftNodesCommand() *cobra.Command

func NewRaftRemoveCommand

func NewRaftRemoveCommand() *cobra.Command

func NewRaftStatusCommand

func NewRaftStatusCommand() *cobra.Command

raft status api format in JSON

func NewRaftTryToLeaderCommand

func NewRaftTryToLeaderCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

func NewXenonCommand

func NewXenonCommand() *cobra.Command

func NewXenonStatusCommand

func NewXenonStatusCommand() *cobra.Command

func RspOK

func RspOK(ret string)

func SaveConfig

func SaveConfig(conf *config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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