Documentation ¶
Index ¶
- func NewPartitionCommand() *cobra.Command
- type PartitionCommand
- func (pCmd *PartitionCommand) AddFlags()
- func (pCmd *PartitionCommand) Init(cmd *cobra.Command, args []string) error
- func (pCmd *PartitionCommand) Print(cmd *cobra.Command, args []string) error
- func (pCmd *PartitionCommand) ResultPlainOutput() error
- func (pCmd *PartitionCommand) RunCommand(cmd *cobra.Command, args []string) error
- type QueryPartitionRpc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPartitionCommand ¶
Types ¶
type PartitionCommand ¶
type PartitionCommand struct { basecmd.FinalCurveCmd Rpc *QueryPartitionRpc }
func (*PartitionCommand) AddFlags ¶
func (pCmd *PartitionCommand) AddFlags()
func (*PartitionCommand) Init ¶
func (pCmd *PartitionCommand) Init(cmd *cobra.Command, args []string) error
func (*PartitionCommand) Print ¶
func (pCmd *PartitionCommand) Print(cmd *cobra.Command, args []string) error
func (*PartitionCommand) ResultPlainOutput ¶
func (pCmd *PartitionCommand) ResultPlainOutput() error
func (*PartitionCommand) RunCommand ¶
func (pCmd *PartitionCommand) RunCommand(cmd *cobra.Command, args []string) error
type QueryPartitionRpc ¶
type QueryPartitionRpc struct { Info *basecmd.Rpc Request *topology.GetCopysetOfPartitionRequest // contains filtered or unexported fields }
func (*QueryPartitionRpc) NewRpcClient ¶
func (qpRpc *QueryPartitionRpc) NewRpcClient(cc grpc.ClientConnInterface)
Click to show internal directories.
Click to hide internal directories.