zone

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListZone

func ListZone(caller *cobra.Command) ([]*topology.ZoneInfo, *cmderror.CmdError)

func NewPoolZoneCommand

func NewPoolZoneCommand() *cobra.Command

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)

func (*ListPoolZoneRpc) Stub_Func

func (lRpc *ListPoolZoneRpc) Stub_Func(ctx context.Context) (interface{}, error)

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

Jump to

Keyboard shortcuts

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