partition

package
v0.0.0-...-46d4b59 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPartitionCommand

func NewPartitionCommand() *cobra.Command

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)

func (*QueryPartitionRpc) Stub_Func

func (qpRpc *QueryPartitionRpc) Stub_Func(ctx context.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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