topology

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetaserverAddrs

func GetMetaserverAddrs(caller *cobra.Command) ([]string, []string, *cmderror.CmdError)

func NewTopologyCommand

func NewTopologyCommand() *cobra.Command

Types

type ListTopologyRpc

type ListTopologyRpc struct {
	Info    *basecmd.Rpc
	Request *topology.ListTopologyRequest

	Response *topology.ListTopologyResponse
	// contains filtered or unexported fields
}

func (*ListTopologyRpc) NewRpcClient

func (lRpc *ListTopologyRpc) NewRpcClient(cc grpc.ClientConnInterface)

func (*ListTopologyRpc) Stub_Func

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

type TopologyCommand

type TopologyCommand struct {
	basecmd.FinalCurveCmd
	Rpc ListTopologyRpc
	// contains filtered or unexported fields
}

func NewListTopologyCommand

func NewListTopologyCommand() *TopologyCommand

func (*TopologyCommand) AddFlags

func (tCmd *TopologyCommand) AddFlags()

func (*TopologyCommand) Init

func (tCmd *TopologyCommand) Init(cmd *cobra.Command, args []string) error

func (*TopologyCommand) Print

func (tCmd *TopologyCommand) Print(cmd *cobra.Command, args []string) error

func (*TopologyCommand) ResultPlainOutput

func (tCmd *TopologyCommand) ResultPlainOutput() error

func (*TopologyCommand) RunCommand

func (tCmd *TopologyCommand) 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