Documentation ¶
Index ¶
- func GetCopysetsInfos(caller *cobra.Command) (*topology.ListCopysetInfoResponse, *cmderror.CmdError)
- func NewCopysetCommand() *cobra.Command
- type CopysetCommand
- func (cCmd *CopysetCommand) AddFlags()
- func (cCmd *CopysetCommand) Init(cmd *cobra.Command, args []string) error
- func (cCmd *CopysetCommand) Print(cmd *cobra.Command, args []string) error
- func (cCmd *CopysetCommand) ResultPlainOutput() error
- func (cCmd *CopysetCommand) RunCommand(cmd *cobra.Command, args []string) error
- type ListCopysetRpc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCopysetsInfos ¶
func NewCopysetCommand ¶
Types ¶
type CopysetCommand ¶
type CopysetCommand struct { basecmd.FinalCurveCmd Rpc *ListCopysetRpc // contains filtered or unexported fields }
func NewListCopysetCommand ¶
func NewListCopysetCommand() *CopysetCommand
func (*CopysetCommand) AddFlags ¶
func (cCmd *CopysetCommand) AddFlags()
func (*CopysetCommand) Init ¶
func (cCmd *CopysetCommand) Init(cmd *cobra.Command, args []string) error
func (*CopysetCommand) Print ¶
func (cCmd *CopysetCommand) Print(cmd *cobra.Command, args []string) error
func (*CopysetCommand) ResultPlainOutput ¶
func (cCmd *CopysetCommand) ResultPlainOutput() error
func (*CopysetCommand) RunCommand ¶
func (cCmd *CopysetCommand) RunCommand(cmd *cobra.Command, args []string) error
type ListCopysetRpc ¶
type ListCopysetRpc struct { Info *basecmd.Rpc Request *topology.ListCopysetInfoRequest // contains filtered or unexported fields }
func (*ListCopysetRpc) NewRpcClient ¶
func (cRpc *ListCopysetRpc) NewRpcClient(cc grpc.ClientConnInterface)
Click to show internal directories.
Click to hide internal directories.