cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 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 E2ECommand

type E2ECommand struct {
	UI cli.Ui
}

E2ECommand is the command to show the version of the agent

func (*E2ECommand) Help

func (c *E2ECommand) Help() string

Help implements the cli.Command interface

func (*E2ECommand) Run

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

Run implements the cli.Command interface

func (*E2ECommand) Synopsis

func (c *E2ECommand) Synopsis() string

Synopsis implements the cli.Command interface

type E2EDeployCommand

type E2EDeployCommand struct {
	UI cli.Ui
}

E2EDeployCommand is the command to deploy an e2e network

func (*E2EDeployCommand) Help

func (c *E2EDeployCommand) Help() string

Help implements the cli.Command interface

func (*E2EDeployCommand) Run

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

Run implements the cli.Command interface

func (*E2EDeployCommand) Synopsis

func (c *E2EDeployCommand) Synopsis() string

Synopsis implements the cli.Command interface

type Meta

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

func (*Meta) Conn

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

Conn returns a grpc connection

func (*Meta) FlagSet

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

type Validators

type Validators struct {
	UI cli.Ui
}

Validators is the command to show the version of the agent

func (*Validators) Help

func (c *Validators) Help() string

Help implements the cli.Command interface

func (*Validators) Run

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

Run implements the cli.Command interface

func (*Validators) Synopsis

func (c *Validators) Synopsis() string

Synopsis implements the cli.Command interface

type ValidatorsList

type ValidatorsList struct {
	*Meta
}

ValidatorsList is the command to show the version of the agent

func (*ValidatorsList) Help

func (c *ValidatorsList) Help() string

Help implements the cli.Command interface

func (*ValidatorsList) Run

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

Run implements the cli.Command interface

func (*ValidatorsList) Synopsis

func (c *ValidatorsList) 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