command

package
v2.1.0-rc.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const UsageTemplate = `` /* 837-byte string literal not displayed */

UsageTemplate will used to generate a help information

Variables

This section is empty.

Functions

func InitHTTPSClient

func InitHTTPSClient(CAPath, CertPath, KeyPath string) error

InitHTTPSClient creates https client with ca file

func NewAddOperatorCommand

func NewAddOperatorCommand() *cobra.Command

NewAddOperatorCommand returns a command to add operators.

func NewAddPeerCommand

func NewAddPeerCommand() *cobra.Command

NewAddPeerCommand returns a command to add region peer.

func NewAddSchedulerCommand

func NewAddSchedulerCommand() *cobra.Command

NewAddSchedulerCommand returns a command to add scheduler.

func NewAddTableIDCommand

func NewAddTableIDCommand() *cobra.Command

NewAddTableIDCommand returns a add sub-command of namespaceCmd

func NewClusterCommand

func NewClusterCommand() *cobra.Command

NewClusterCommand return a cluster subcommand of rootCmd

func NewConfigCommand

func NewConfigCommand() *cobra.Command

NewConfigCommand return a config subcommand of rootCmd

func NewCreateNamespaceCommand

func NewCreateNamespaceCommand() *cobra.Command

NewCreateNamespaceCommand returns a create sub-command of namespaceCmd

func NewDeleteConfigCommand

func NewDeleteConfigCommand() *cobra.Command

NewDeleteConfigCommand a set subcommand of cfgCmd

func NewDeleteLabelPropertyConfigCommand

func NewDeleteLabelPropertyConfigCommand() *cobra.Command

NewDeleteLabelPropertyConfigCommand a set subcommand of delete subcommand.

func NewDeleteMemberCommand

func NewDeleteMemberCommand() *cobra.Command

NewDeleteMemberCommand return a delete subcommand of memberCmd

func NewDeleteNamespaceConfigCommand

func NewDeleteNamespaceConfigCommand() *cobra.Command

NewDeleteNamespaceConfigCommand a set subcommand of delete subcommand

func NewDeleteStoreCommand

func NewDeleteStoreCommand() *cobra.Command

NewDeleteStoreCommand return a delete subcommand of storeCmd

func NewEvictLeaderSchedulerCommand

func NewEvictLeaderSchedulerCommand() *cobra.Command

NewEvictLeaderSchedulerCommand returns a command to add a evict-leader-scheduler.

func NewExitCommand

func NewExitCommand() *cobra.Command

NewExitCommand New a exit subcommand of the rootCmd

func NewGrantLeaderSchedulerCommand

func NewGrantLeaderSchedulerCommand() *cobra.Command

NewGrantLeaderSchedulerCommand returns a command to add a grant-leader-scheduler.

func NewHealthCommand

func NewHealthCommand() *cobra.Command

NewHealthCommand return a health subcommand of rootCmd

func NewHotReadRegionCommand

func NewHotReadRegionCommand() *cobra.Command

NewHotReadRegionCommand return a hot read regions subcommand of hotSpotCmd

func NewHotSpotCommand

func NewHotSpotCommand() *cobra.Command

NewHotSpotCommand return a hot subcommand of rootCmd

func NewHotStoreCommand

func NewHotStoreCommand() *cobra.Command

NewHotStoreCommand return a hot stores subcommand of hotSpotCmd

func NewHotWriteRegionCommand

func NewHotWriteRegionCommand() *cobra.Command

NewHotWriteRegionCommand return a hot regions subcommand of hotSpotCmd

func NewLabelCommand

func NewLabelCommand() *cobra.Command

NewLabelCommand return a member subcommand of rootCmd

func NewLabelListStoresCommand

func NewLabelListStoresCommand() *cobra.Command

NewLabelListStoresCommand return a label subcommand of labelCmd

func NewLabelStoreCommand

func NewLabelStoreCommand() *cobra.Command

NewLabelStoreCommand returns a label subcommand of storeCmd.

func NewLeaderMemberCommand

func NewLeaderMemberCommand() *cobra.Command

NewLeaderMemberCommand return a leader subcommand of memberCmd

func NewLogCommand

func NewLogCommand() *cobra.Command

NewLogCommand New a log subcommand of the rootCmd

func NewMemberCommand

func NewMemberCommand() *cobra.Command

NewMemberCommand return a member subcommand of rootCmd

func NewMergeRegionCommand

func NewMergeRegionCommand() *cobra.Command

NewMergeRegionCommand returns a command to merge two regions.

func NewOperatorCommand

func NewOperatorCommand() *cobra.Command

NewOperatorCommand returns a operator command.

func NewPingCommand

func NewPingCommand() *cobra.Command

NewPingCommand return a ping subcommand of rootCmd

func NewRegionCommand

func NewRegionCommand() *cobra.Command

NewRegionCommand returns a region subcommand of rootCmd

func NewRegionWithCheckCommand

func NewRegionWithCheckCommand() *cobra.Command

NewRegionWithCheckCommand returns a region with check subcommand of regionCmd

func NewRegionWithKeyCommand

func NewRegionWithKeyCommand() *cobra.Command

NewRegionWithKeyCommand return a region with key subcommand of regionCmd

func NewRegionWithSiblingCommand

func NewRegionWithSiblingCommand() *cobra.Command

NewRegionWithSiblingCommand returns a region with sibling subcommand of regionCmd

func NewRegionWithStoreCommand

func NewRegionWithStoreCommand() *cobra.Command

NewRegionWithStoreCommand returns regions with store subcommand of regionCmd

func NewRemoveNamespaceStoreCommand

func NewRemoveNamespaceStoreCommand() *cobra.Command

NewRemoveNamespaceStoreCommand returns a rm subcommand of storeNsCmd.

func NewRemoveOperatorCommand

func NewRemoveOperatorCommand() *cobra.Command

NewRemoveOperatorCommand returns a command to remove operators.

func NewRemovePeerCommand

func NewRemovePeerCommand() *cobra.Command

NewRemovePeerCommand returns a command to add region peer.

func NewRemoveSchedulerCommand

func NewRemoveSchedulerCommand() *cobra.Command

NewRemoveSchedulerCommand returns a command to remove scheduler.

func NewRemoveTableIDCommand

func NewRemoveTableIDCommand() *cobra.Command

NewRemoveTableIDCommand returns a remove sub-command of namespaceCmd

func NewScatterRangeSchedulerCommand

func NewScatterRangeSchedulerCommand() *cobra.Command

NewScatterRangeSchedulerCommand returns a command to add a scatter-range-scheduler.

func NewScatterRegionCommand

func NewScatterRegionCommand() *cobra.Command

NewScatterRegionCommand returns a command to scatter a region.

func NewSchedulerCommand

func NewSchedulerCommand() *cobra.Command

NewSchedulerCommand returns a scheduler command.

func NewSetClusterVersionCommand

func NewSetClusterVersionCommand() *cobra.Command

NewSetClusterVersionCommand creates a set subcommand of set subcommand

func NewSetConfigCommand

func NewSetConfigCommand() *cobra.Command

NewSetConfigCommand return a set subcommand of configCmd

func NewSetLabelPropertyCommand

func NewSetLabelPropertyCommand() *cobra.Command

NewSetLabelPropertyCommand creates a set subcommand of set subcommand

func NewSetNamespaceConfigCommand

func NewSetNamespaceConfigCommand() *cobra.Command

NewSetNamespaceConfigCommand a set subcommand of set subcommand

func NewSetNamespaceStoreCommand

func NewSetNamespaceStoreCommand() *cobra.Command

NewSetNamespaceStoreCommand returns a set subcommand of storeNsCmd.

func NewSetStoreWeightCommand

func NewSetStoreWeightCommand() *cobra.Command

NewSetStoreWeightCommand returns a weight subcommand of storeCmd.

func NewShowAllConfigCommand

func NewShowAllConfigCommand() *cobra.Command

NewShowAllConfigCommand return a show all subcommand of show subcommand

func NewShowClusterVersionCommand

func NewShowClusterVersionCommand() *cobra.Command

NewShowClusterVersionCommand returns a cluster version subcommand of show subcommand.

func NewShowConfigCommand

func NewShowConfigCommand() *cobra.Command

NewShowConfigCommand return a show subcommand of configCmd

func NewShowLabelPropertyCommand

func NewShowLabelPropertyCommand() *cobra.Command

NewShowLabelPropertyCommand returns a show label property subcommand of show subcommand.

func NewShowNamespaceConfigCommand

func NewShowNamespaceConfigCommand() *cobra.Command

NewShowNamespaceConfigCommand return a show all subcommand of show subcommand

func NewShowOperatorCommand

func NewShowOperatorCommand() *cobra.Command

NewShowOperatorCommand returns a command to show operators.

func NewShowReplicationConfigCommand

func NewShowReplicationConfigCommand() *cobra.Command

NewShowReplicationConfigCommand return a show all subcommand of show subcommand

func NewShowSchedulerCommand

func NewShowSchedulerCommand() *cobra.Command

NewShowSchedulerCommand returns a command to show schedulers.

func NewShuffleLeaderSchedulerCommand

func NewShuffleLeaderSchedulerCommand() *cobra.Command

NewShuffleLeaderSchedulerCommand returns a command to add a shuffle-leader-scheduler.

func NewShuffleRegionSchedulerCommand

func NewShuffleRegionSchedulerCommand() *cobra.Command

NewShuffleRegionSchedulerCommand returns a command to add a shuffle-region-scheduler.

func NewSplitRegionCommand

func NewSplitRegionCommand() *cobra.Command

NewSplitRegionCommand returns a command to split a region.

func NewStoreCommand

func NewStoreCommand() *cobra.Command

NewStoreCommand return a store subcommand of rootCmd

func NewTSOCommand

func NewTSOCommand() *cobra.Command

NewTSOCommand return a ping subcommand of rootCmd

func NewTableNamespaceCommand

func NewTableNamespaceCommand() *cobra.Command

NewTableNamespaceCommand return a table namespace sub-command of rootCmd

func NewTransferLeaderCommand

func NewTransferLeaderCommand() *cobra.Command

NewTransferLeaderCommand returns a command to transfer leader.

func NewTransferPeerCommand

func NewTransferPeerCommand() *cobra.Command

NewTransferPeerCommand returns a command to transfer region.

func NewTransferRegionCommand

func NewTransferRegionCommand() *cobra.Command

NewTransferRegionCommand returns a command to transfer region.

Types

This section is empty.

Jump to

Keyboard shortcuts

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