package
1.1.0-beta
Repository: https://github.com/dbsid/pd.git
Documentation: pkg.go.dev

# Functions

InitHTTPSClient creates https client with ca file.
NewAddOperatorCommand returns a command to add operators.
NewAddPeerCommand returns a command to add region peer.
NewAddSchedulerCommand returns a command to add scheduler.
NewAddTableIDCommand returns a add sub-command of namespaceCmd.
NewClusterCommand return a cluster subcommand of rootCmd.
NewConfigCommand return a config subcommand of rootCmd.
NewCreateNamespaceCommand returns a create sub-command of namespaceCmd.
NewDeleteConfigCommand a set subcommand of cfgCmd.
NewDeleteLabelPropertyConfigCommand a set subcommand of delete subcommand.
NewDeleteMemberCommand return a delete subcommand of memberCmd.
NewDeleteNamespaceConfigCommand a set subcommand of delete subcommand.
NewDeleteStoreCommand return a delete subcommand of storeCmd.
NewEvictLeaderSchedulerCommand returns a command to add a evict-leader-scheduler.
NewExitCommand New a exit subcommand of the rootCmd.
NewGrantLeaderSchedulerCommand returns a command to add a grant-leader-scheduler.
NewHealthCommand return a health subcommand of rootCmd.
NewHotReadRegionCommand return a hot read regions subcommand of hotSpotCmd.
NewHotSpotCommand return a hot subcommand of rootCmd.
NewHotStoreCommand return a hot stores subcommand of hotSpotCmd.
NewHotWriteRegionCommand return a hot regions subcommand of hotSpotCmd.
NewLabelCommand return a member subcommand of rootCmd.
NewLabelListStoresCommand return a label subcommand of labelCmd.
NewLabelStoreCommand returns a label subcommand of storeCmd.
NewLeaderMemberCommand return a leader subcommand of memberCmd.
NewLogCommand New a log subcommand of the rootCmd.
NewMemberCommand return a member subcommand of rootCmd.
NewOperatorCommand returns a operator command.
NewPingCommand return a ping subcommand of rootCmd.
NewRegionCommand return a region subcommand of rootCmd.
NewRegionWithCheckCommand return a region with check subcommand of regionCmd.
NewRegionWithKeyCommand return a region with key subcommand of regionCmd.
NewRemoveNamespaceStoreCommand returns a rm subcommand of storeNsCmd.
NewRemoveOperatorCommand returns a command to remove operators.
NewRemovePeerCommand returns a command to add region peer.
NewRemoveSchedulerCommand returns a command to remove scheduler.
NewRemoveTableIDCommand returns a remove sub-command of namespaceCmd.
NewSchedulerCommand returns a scheduler command.
NewSetConfigCommand return a set subcommand of configCmd.
NewSetLabelPropertyCommand creates a set subcommand of set subcommand.
NewSetNamespaceConfigCommand a set subcommand of set subcommand.
NewSetNamespaceStoreCommand returns a set subcommand of storeNsCmd.
NewSetStoreWeightCommand returns a weight subcommand of storeCmd.
NewShowAllConfigCommand return a show all subcommand of show subcommand.
NewShowConfigCommand return a show subcommand of configCmd.
NewShowLabelPropertyCommand returns a show label property subcommand of show subcommand.
NewShowNamespaceConfigCommand return a show all subcommand of show subcommand.
NewShowOperatorCommand returns a command to show operators.
NewShowReplicationConfigCommand return a show all subcommand of show subcommand.
NewShowSchedulerCommand returns a command to show schedulers.
NewShuffleLeaderSchedulerCommand returns a command to add a shuffle-leader-scheduler.
NewShuffleRegionSchedulerCommand returns a command to add a shuffle-region-scheduler.
NewStoreCommand return a store subcommand of rootCmd.
NewTableNamespaceCommand return a table namespace sub-command of rootCmd.
NewTransferLeaderCommand returns a command to transfer leader.
NewTransferPeerCommand returns a command to transfer region.
NewTransferRegionCommand returns a command to transfer region.
NewTSOCommand return a ping subcommand of rootCmd.

# Constants

UsageTemplate will used to generate a help information.