command

package
v0.0.0-...-91ad568 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

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

UsageTemplate will used to generate a help information

Variables

This section is empty.

Functions

func InitPDClient

func InitPDClient(cmd *cobra.Command) error

InitPDClient initialize pd client from cmd

func NewAddOperatorCommand

func NewAddOperatorCommand() *cobra.Command

NewAddOperatorCommand returns a command to add operators.

func NewAddSchedulerCommand

func NewAddSchedulerCommand() *cobra.Command

NewAddSchedulerCommand returns a command to add scheduler.

func NewConfigCommand

func NewConfigCommand() *cobra.Command

NewConfigCommand return a config subcommand of rootCmd

func NewDeleteMemberCommand

func NewDeleteMemberCommand() *cobra.Command

NewDeleteMemberCommand return a delete subcommand of memberCmd

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

func NewLeaderMemberCommand() *cobra.Command

NewLeaderMemberCommand return a leader subcommand of memberCmd

func NewMemberCommand

func NewMemberCommand() *cobra.Command

NewMemberCommand return a member subcommand of rootCmd

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 return a region subcommand of rootCmd

func NewRegionWithKeyCommand

func NewRegionWithKeyCommand() *cobra.Command

NewRegionWithKeyCommand return a region with key subcommand of regionCmd

func NewRemoveOperatorCommand

func NewRemoveOperatorCommand() *cobra.Command

NewRemoveOperatorCommand returns a command to remove operators.

func NewRemoveSchedulerCommand

func NewRemoveSchedulerCommand() *cobra.Command

NewRemoveSchedulerCommand returns a command to remove scheduler.

func NewSchedulerCommand

func NewSchedulerCommand() *cobra.Command

NewSchedulerCommand returns a scheduler command.

func NewSetConfigCommand

func NewSetConfigCommand() *cobra.Command

NewSetConfigCommand return a set subcommand of configCmd

func NewShowAllConfigCommand

func NewShowAllConfigCommand() *cobra.Command

NewShowAllConfigCommand return a show all subcommand of show subcommand

func NewShowConfigCommand

func NewShowConfigCommand() *cobra.Command

NewShowConfigCommand return a show subcommand of configCmd

func NewShowOperatorCommand

func NewShowOperatorCommand() *cobra.Command

NewShowOperatorCommand returns a command to show operators.

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