cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: GPL-3.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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 NewRaftDisableCommand

func NewRaftDisableCommand() *cobra.Command

func NewRaftDisablePurgeBinlogCommand

func NewRaftDisablePurgeBinlogCommand() *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