Documentation ¶
Index ¶
- func ListZone(caller *cobra.Command) ([]*topology.ZoneInfo, *cmderror.CmdError)
- func NewPoolZoneCommand() *cobra.Command
- type ListPoolZoneRpc
- type PoolZoneCommand
- func (pCmd *PoolZoneCommand) AddFlags()
- func (pCmd *PoolZoneCommand) Init(cmd *cobra.Command, args []string) error
- func (pCmd *PoolZoneCommand) Print(cmd *cobra.Command, args []string) error
- func (pCmd *PoolZoneCommand) ResultPlainOutput() error
- func (pCmd *PoolZoneCommand) RunCommand(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPoolZoneCommand ¶
Types ¶
type ListPoolZoneRpc ¶
type ListPoolZoneRpc struct { Info *basecmd.Rpc Request *topology.ListPoolZoneRequest // contains filtered or unexported fields }
func (*ListPoolZoneRpc) NewRpcClient ¶
func (lRpc *ListPoolZoneRpc) NewRpcClient(cc grpc.ClientConnInterface)
type PoolZoneCommand ¶
type PoolZoneCommand struct { basecmd.FinalCurveCmd Rpc []*ListPoolZoneRpc Zones []*topology.ZoneInfo }
func NewListPoolZoneCommand ¶
func NewListPoolZoneCommand() *PoolZoneCommand
func (*PoolZoneCommand) AddFlags ¶
func (pCmd *PoolZoneCommand) AddFlags()
func (*PoolZoneCommand) Init ¶
func (pCmd *PoolZoneCommand) Init(cmd *cobra.Command, args []string) error
func (*PoolZoneCommand) Print ¶
func (pCmd *PoolZoneCommand) Print(cmd *cobra.Command, args []string) error
func (*PoolZoneCommand) ResultPlainOutput ¶
func (pCmd *PoolZoneCommand) ResultPlainOutput() error
func (*PoolZoneCommand) RunCommand ¶
func (pCmd *PoolZoneCommand) RunCommand(cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.