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 NewDeleteLabelPropertyConfigCommand() *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 NewMergeRegionCommand() *cobra.Command
- func NewOperatorCommand() *cobra.Command
- func NewPingCommand() *cobra.Command
- func NewRegionCommand() *cobra.Command
- func NewRegionWithCheckCommand() *cobra.Command
- func NewRegionWithKeyCommand() *cobra.Command
- func NewRegionWithSiblingCommand() *cobra.Command
- func NewRegionWithStoreCommand() *cobra.Command
- func NewRemoveNamespaceStoreCommand() *cobra.Command
- func NewRemoveOperatorCommand() *cobra.Command
- func NewRemovePeerCommand() *cobra.Command
- func NewRemoveSchedulerCommand() *cobra.Command
- func NewRemoveTableIDCommand() *cobra.Command
- func NewScatterRangeSchedulerCommand() *cobra.Command
- func NewScatterRegionCommand() *cobra.Command
- func NewSchedulerCommand() *cobra.Command
- func NewSetClusterVersionCommand() *cobra.Command
- func NewSetConfigCommand() *cobra.Command
- func NewSetLabelPropertyCommand() *cobra.Command
- func NewSetNamespaceConfigCommand() *cobra.Command
- func NewSetNamespaceStoreCommand() *cobra.Command
- func NewSetStoreWeightCommand() *cobra.Command
- func NewShowAllConfigCommand() *cobra.Command
- func NewShowClusterVersionCommand() *cobra.Command
- func NewShowConfigCommand() *cobra.Command
- func NewShowLabelPropertyCommand() *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 NewSplitRegionCommand() *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 = `` /* 837-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 NewDeleteLabelPropertyConfigCommand ¶
NewDeleteLabelPropertyConfigCommand a set subcommand of delete subcommand.
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 NewMergeRegionCommand ¶
NewMergeRegionCommand returns a command to merge two regions.
func NewOperatorCommand ¶
NewOperatorCommand returns a operator command.
func NewPingCommand ¶
NewPingCommand return a ping subcommand of rootCmd
func NewRegionCommand ¶
NewRegionCommand returns a region subcommand of rootCmd
func NewRegionWithCheckCommand ¶
NewRegionWithCheckCommand returns a region with check subcommand of regionCmd
func NewRegionWithKeyCommand ¶
NewRegionWithKeyCommand return a region with key subcommand of regionCmd
func NewRegionWithSiblingCommand ¶
NewRegionWithSiblingCommand returns a region with sibling subcommand of regionCmd
func NewRegionWithStoreCommand ¶
NewRegionWithStoreCommand returns regions with store 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 NewScatterRangeSchedulerCommand ¶
NewScatterRangeSchedulerCommand returns a command to add a scatter-range-scheduler.
func NewScatterRegionCommand ¶
NewScatterRegionCommand returns a command to scatter a region.
func NewSchedulerCommand ¶
NewSchedulerCommand returns a scheduler command.
func NewSetClusterVersionCommand ¶
NewSetClusterVersionCommand creates a set subcommand of set subcommand
func NewSetConfigCommand ¶
NewSetConfigCommand return a set subcommand of configCmd
func NewSetLabelPropertyCommand ¶
NewSetLabelPropertyCommand creates a set subcommand of set subcommand
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 NewShowClusterVersionCommand ¶
NewShowClusterVersionCommand returns a cluster version subcommand of show subcommand.
func NewShowConfigCommand ¶
NewShowConfigCommand return a show subcommand of configCmd
func NewShowLabelPropertyCommand ¶
NewShowLabelPropertyCommand returns a show label property subcommand of show subcommand.
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 NewSplitRegionCommand ¶
NewSplitRegionCommand returns a command to split a region.
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.