Documentation ¶
Index ¶
- Constants
- func InitHTTPSClient(CAPath, CertPath, KeyPath string) error
- func NewAddOperatorCommand() *cobra.Command
- func NewAddPeerCommand() *cobra.Command
- func NewAddSchedulerCommand() *cobra.Command
- func NewAddTableIDCommand() *cobra.Command
- func NewClusterCommand() *cobra.Command
- func NewConfigCommand() *cobra.Command
- func NewCreateNamespaceCommand() *cobra.Command
- func NewDeleteConfigCommand() *cobra.Command
- func NewDeleteMemberCommand() *cobra.Command
- func NewDeleteNamespaceConfigCommand() *cobra.Command
- func NewDeleteStoreCommand() *cobra.Command
- func NewEvictLeaderSchedulerCommand() *cobra.Command
- func NewExitCommand() *cobra.Command
- func NewGrantLeaderSchedulerCommand() *cobra.Command
- func NewHealthCommand() *cobra.Command
- func NewHotReadRegionCommand() *cobra.Command
- func NewHotSpotCommand() *cobra.Command
- func NewHotStoreCommand() *cobra.Command
- func NewHotWriteRegionCommand() *cobra.Command
- func NewLabelCommand() *cobra.Command
- func NewLabelListStoresCommand() *cobra.Command
- func NewLabelStoreCommand() *cobra.Command
- func NewLeaderMemberCommand() *cobra.Command
- func NewLogCommand() *cobra.Command
- func NewMemberCommand() *cobra.Command
- func NewOperatorCommand() *cobra.Command
- func NewPingCommand() *cobra.Command
- func NewRegionCommand() *cobra.Command
- func NewRegionWithKeyCommand() *cobra.Command
- func NewRemoveNamespaceStoreCommand() *cobra.Command
- func NewRemoveOperatorCommand() *cobra.Command
- func NewRemovePeerCommand() *cobra.Command
- func NewRemoveSchedulerCommand() *cobra.Command
- func NewRemoveTableIDCommand() *cobra.Command
- func NewSchedulerCommand() *cobra.Command
- func NewSetConfigCommand() *cobra.Command
- func NewSetNamespaceConfigCommand() *cobra.Command
- func NewSetNamespaceStoreCommand() *cobra.Command
- func NewSetStoreWeightCommand() *cobra.Command
- func NewShowAllConfigCommand() *cobra.Command
- func NewShowConfigCommand() *cobra.Command
- func NewShowNamespaceConfigCommand() *cobra.Command
- func NewShowOperatorCommand() *cobra.Command
- func NewShowReplicationConfigCommand() *cobra.Command
- func NewShowSchedulerCommand() *cobra.Command
- func NewShuffleLeaderSchedulerCommand() *cobra.Command
- func NewShuffleRegionSchedulerCommand() *cobra.Command
- func NewStoreCommand() *cobra.Command
- func NewTSOCommand() *cobra.Command
- func NewTableNamespaceCommand() *cobra.Command
- func NewTransferLeaderCommand() *cobra.Command
- func NewTransferPeerCommand() *cobra.Command
- func NewTransferRegionCommand() *cobra.Command
Constants ¶
const UsageTemplate = `` /* 822-byte string literal not displayed */
UsageTemplate will used to generate a help information
Variables ¶
This section is empty.
Functions ¶
func InitHTTPSClient ¶
InitHTTPSClient creates https client with ca file
func NewAddOperatorCommand ¶
NewAddOperatorCommand returns a command to add operators.
func NewAddPeerCommand ¶
NewAddPeerCommand returns a command to add region peer.
func NewAddSchedulerCommand ¶
NewAddSchedulerCommand returns a command to add scheduler.
func NewAddTableIDCommand ¶
NewAddTableIDCommand returns a add sub-command of namespaceCmd
func NewClusterCommand ¶
NewClusterCommand return a cluster subcommand of rootCmd
func NewConfigCommand ¶
NewConfigCommand return a config subcommand of rootCmd
func NewCreateNamespaceCommand ¶
NewCreateNamespaceCommand returns a create sub-command of namespaceCmd
func NewDeleteConfigCommand ¶
NewDeleteConfigCommand a set subcommand of cfgCmd
func NewDeleteMemberCommand ¶
NewDeleteMemberCommand return a delete subcommand of memberCmd
func NewDeleteNamespaceConfigCommand ¶
NewDeleteNamespaceConfigCommand a set subcommand of delete subcommand
func NewDeleteStoreCommand ¶
NewDeleteStoreCommand return a delete subcommand of storeCmd
func NewEvictLeaderSchedulerCommand ¶
NewEvictLeaderSchedulerCommand returns a command to add a evict-leader-scheduler.
func NewExitCommand ¶
NewExitCommand New a exit subcommand of the rootCmd
func NewGrantLeaderSchedulerCommand ¶
NewGrantLeaderSchedulerCommand returns a command to add a grant-leader-scheduler.
func NewHealthCommand ¶
NewHealthCommand return a health subcommand of rootCmd
func NewHotReadRegionCommand ¶
NewHotReadRegionCommand return a hot read regions subcommand of hotSpotCmd
func NewHotSpotCommand ¶
NewHotSpotCommand return a hot subcommand of rootCmd
func NewHotStoreCommand ¶
NewHotStoreCommand return a hot stores subcommand of hotSpotCmd
func NewHotWriteRegionCommand ¶
NewHotWriteRegionCommand return a hot regions subcommand of hotSpotCmd
func NewLabelCommand ¶
NewLabelCommand return a member subcommand of rootCmd
func NewLabelListStoresCommand ¶
NewLabelListStoresCommand return a label subcommand of labelCmd
func NewLabelStoreCommand ¶
NewLabelStoreCommand returns a label subcommand of storeCmd.
func NewLeaderMemberCommand ¶
NewLeaderMemberCommand return a leader subcommand of memberCmd
func NewLogCommand ¶ added in v1.0.7
NewLogCommand New a log subcommand of the rootCmd
func NewMemberCommand ¶
NewMemberCommand return a member subcommand of rootCmd
func NewOperatorCommand ¶
NewOperatorCommand returns a operator command.
func NewPingCommand ¶
NewPingCommand return a ping subcommand of rootCmd
func NewRegionCommand ¶
NewRegionCommand return a region subcommand of rootCmd
func NewRegionWithKeyCommand ¶
NewRegionWithKeyCommand return a region with key subcommand of regionCmd
func NewRemoveNamespaceStoreCommand ¶
NewRemoveNamespaceStoreCommand returns a rm subcommand of storeNsCmd.
func NewRemoveOperatorCommand ¶
NewRemoveOperatorCommand returns a command to remove operators.
func NewRemovePeerCommand ¶
NewRemovePeerCommand returns a command to add region peer.
func NewRemoveSchedulerCommand ¶
NewRemoveSchedulerCommand returns a command to remove scheduler.
func NewRemoveTableIDCommand ¶
NewRemoveTableIDCommand returns a remove sub-command of namespaceCmd
func NewSchedulerCommand ¶
NewSchedulerCommand returns a scheduler command.
func NewSetConfigCommand ¶
NewSetConfigCommand return a set subcommand of configCmd
func NewSetNamespaceConfigCommand ¶
NewSetNamespaceConfigCommand a set subcommand of set subcommand
func NewSetNamespaceStoreCommand ¶
NewSetNamespaceStoreCommand returns a set subcommand of storeNsCmd.
func NewSetStoreWeightCommand ¶
NewSetStoreWeightCommand returns a weight subcommand of storeCmd.
func NewShowAllConfigCommand ¶
NewShowAllConfigCommand return a show all subcommand of show subcommand
func NewShowConfigCommand ¶
NewShowConfigCommand return a show subcommand of configCmd
func NewShowNamespaceConfigCommand ¶
NewShowNamespaceConfigCommand return a show all subcommand of show subcommand
func NewShowOperatorCommand ¶
NewShowOperatorCommand returns a command to show operators.
func NewShowReplicationConfigCommand ¶
NewShowReplicationConfigCommand return a show all subcommand of show subcommand
func NewShowSchedulerCommand ¶
NewShowSchedulerCommand returns a command to show schedulers.
func NewShuffleLeaderSchedulerCommand ¶
NewShuffleLeaderSchedulerCommand returns a command to add a shuffle-leader-scheduler.
func NewShuffleRegionSchedulerCommand ¶
NewShuffleRegionSchedulerCommand returns a command to add a shuffle-region-scheduler.
func NewStoreCommand ¶
NewStoreCommand return a store subcommand of rootCmd
func NewTSOCommand ¶
NewTSOCommand return a ping subcommand of rootCmd
func NewTableNamespaceCommand ¶
NewTableNamespaceCommand return a table namespace sub-command of rootCmd
func NewTransferLeaderCommand ¶
NewTransferLeaderCommand returns a command to transfer leader.
func NewTransferPeerCommand ¶
NewTransferPeerCommand returns a command to transfer region.
func NewTransferRegionCommand ¶
NewTransferRegionCommand returns a command to transfer region.
Types ¶
This section is empty.