{"modulePath":"github.com/dbkernel/xenon","version":"v1.0.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Functions\n\n```go\nfunc ErrorOK(err error)\n```\n\n```go\nfunc GetConfig() (*config.Config, error)\n```\n\n```go\nfunc NewClusterAddCommand() *cobra.Command\n```\n\n```go\nfunc NewClusterCommand() *cobra.Command\n```\n\n```go\nfunc NewClusterGTIDCommand() *cobra.Command\n```\n\n```go\nfunc NewClusterLogCommand() *cobra.Command\n```\nlog\n\n```go\nfunc NewClusterMysqlCommand() *cobra.Command\n```\nmysqlstatus\n\n```go\nfunc NewClusterRaftCommand() *cobra.Command\n```\nraft\n\n```go\nfunc NewClusterRemoveCommand() *cobra.Command\n```\n\n```go\nfunc NewClusterStatusCommand() *cobra.Command\n```\n\n```go\nfunc NewClusterStatusJsonCommand() *cobra.Command\n```\n\n```go\nfunc NewClusterXenonCommand() *cobra.Command\n```\n\n```go\nfunc NewInitCommand() *cobra.Command\n```\n\n```go\nfunc NewMysqlCancelBackupCommand() *cobra.Command\n```\n\n```go\nfunc NewMysqlChangePasswordCommand() *cobra.Command\n```\nchange normal user password\n\n```go\nfunc NewMysqlCommand() *cobra.Command\n```\n\n```go\nfunc NewMysqlCreateSuperUserCommand() *cobra.Command\n```\ncreate super user\n\n```go\nfunc NewMysqlCreateUserCommand() *cobra.Command\n```\ncreate normal user\n\n```go\nfunc NewMysqlCreateUserWithPrivilegesCommand() *cobra.Command\n```\ncreate normal user with privileges\n\n```go\nfunc NewMysqlDoBackupCommand() *cobra.Command\n```\n\n```go\nfunc NewMysqlDropUserCommand() *cobra.Command\n```\ndrop user(normal\u0026super)\n\n```go\nfunc NewMysqlGetUserCommand() *cobra.Command\n```\nNewMysqlGetUserCommand get mysql user list api (format in JSON)\n\n```go\nfunc NewMysqlKillCommand() *cobra.Command\n```\nkill mysql\n\n```go\nfunc NewMysqlRebuildMeCommand() *cobra.Command\n```\n\n```go\nfunc NewMysqlSetVarCommand() *cobra.Command\n```\nset global sysvar\n\n```go\nfunc NewMysqlShutDownCommand() *cobra.Command\n```\nshutdown mysql\n\n```go\nfunc NewMysqlStartCommand() *cobra.Command\n```\nstart mysql\n\n```go\nfunc NewMysqlStartMonitorCommand() *cobra.Command\n```\nstart monitor\n\n```go\nfunc NewMysqlStatusCommand() *cobra.Command\n```\nmysql status api format in JSON\n\n```go\nfunc NewMysqlStopMonitorCommand() *cobra.Command\n```\nstop monitor\n\n```go\nfunc NewPerfCommand() *cobra.Command\n```\n\n```go\nfunc NewQuickStackCommand() *cobra.Command\n```\n\n```go\nfunc NewQuickStackJsonCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftAddCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftDisableCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftDisablePurgeBinlogCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftEnableCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftEnablePurgeBinlogCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftNodesCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftRemoveCommand() *cobra.Command\n```\n\n```go\nfunc NewRaftStatusCommand() *cobra.Command\n```\nraft status api format in JSON\n\n```go\nfunc NewRaftTryToLeaderCommand() *cobra.Command\n```\n\n```go\nfunc NewVersionCommand() *cobra.Command\n```\n\n```go\nfunc NewXenonCommand() *cobra.Command\n```\n\n```go\nfunc NewXenonStatusCommand() *cobra.Command\n```\n\n```go\nfunc RspOK(ret string)\n```\n\n```go\nfunc SaveConfig(conf *config.Config) error\n```\n\n","path":"github.com/dbkernel/xenon/src/cli/cmd","name":"cmd","synopsis":"","isRedistributable":true}
