cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() map[string]cli.CommandFactory

Commands returns the cli commands

Types

type Meta

type Meta struct {
	UI cli.Ui
	// contains filtered or unexported fields
}

func (*Meta) Conn

func (m *Meta) Conn() (proto.E2EServiceClient, error)

Conn returns a grpc connection

func (*Meta) FlagSet

func (m *Meta) FlagSet(n string) *flag.FlagSet

type NodeCommand

type NodeCommand struct {
	*Meta
	// contains filtered or unexported fields
}

E2ENodeCommand is the command to deploy an e2e network

func (*NodeCommand) Help

func (c *NodeCommand) Help() string

Help implements the cli.Command interface

func (*NodeCommand) Run

func (c *NodeCommand) Run(args []string) int

Run implements the cli.Command interface

func (*NodeCommand) Synopsis

func (c *NodeCommand) Synopsis() string

Synopsis implements the cli.Command interface

type VersionCommand

type VersionCommand struct {
	UI cli.Ui
}

VersionCommand is the command to show the version of the agent

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help implements the cli.Command interface

func (*VersionCommand) Run

func (c *VersionCommand) Run(args []string) int

Run implements the cli.Command interface

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis implements the cli.Command interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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