cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MPL-2.0 Imports: 21 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 CatalogCommand

type CatalogCommand struct {
	*Meta
}

CatalogCommand is the command to show the version of the agent

func (*CatalogCommand) Help

func (c *CatalogCommand) Help() string

Help implements the cli.Command interface

func (*CatalogCommand) Run

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

Run implements the cli.Command interface

func (*CatalogCommand) Synopsis

func (c *CatalogCommand) Synopsis() string

Synopsis implements the cli.Command interface

type CatalogInspectCommand

type CatalogInspectCommand struct {
	*Meta
}

CatalogInspectCommand is the command to show the version of the agent

func (*CatalogInspectCommand) Help

func (c *CatalogInspectCommand) Help() string

Help implements the cli.Command interface

func (*CatalogInspectCommand) Run

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

Run implements the cli.Command interface

func (*CatalogInspectCommand) Synopsis

func (c *CatalogInspectCommand) Synopsis() string

Synopsis implements the cli.Command interface

type CatalogListCommand

type CatalogListCommand struct {
	*Meta
}

CatalogListCommand is the command to show the version of the agent

func (*CatalogListCommand) Help

func (c *CatalogListCommand) Help() string

Help implements the cli.Command interface

func (*CatalogListCommand) Run

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

Run implements the cli.Command interface

func (*CatalogListCommand) Synopsis

func (c *CatalogListCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeployCommand

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

DeployCommand is the command to show the version of the agent

func (*DeployCommand) Help

func (c *DeployCommand) Help() string

Help implements the cli.Command interface

func (*DeployCommand) Run

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

Run implements the cli.Command interface

func (*DeployCommand) Synopsis

func (c *DeployCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeploymentCommand

type DeploymentCommand struct {
	*Meta
}

DeploymentCommand is the command to show the version of the agent

func (*DeploymentCommand) Help

func (c *DeploymentCommand) Help() string

Help implements the cli.Command interface

func (*DeploymentCommand) Run

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

Run implements the cli.Command interface

func (*DeploymentCommand) Synopsis

func (c *DeploymentCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeploymentListCommand

type DeploymentListCommand struct {
	*Meta
}

DeploymentListCommand is the command to show the version of the agent

func (*DeploymentListCommand) Help

func (c *DeploymentListCommand) Help() string

Help implements the cli.Command interface

func (*DeploymentListCommand) Run

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

Run implements the cli.Command interface

func (*DeploymentListCommand) Synopsis

func (c *DeploymentListCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeploymentStatusCommand

type DeploymentStatusCommand struct {
	*Meta
}

DeploymentStatusCommand is the command to show the version of the agent

func (*DeploymentStatusCommand) Help

func (c *DeploymentStatusCommand) Help() string

Help implements the cli.Command interface

func (*DeploymentStatusCommand) Run

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

Run implements the cli.Command interface

func (*DeploymentStatusCommand) Synopsis

func (c *DeploymentStatusCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DestroyCommand

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

DestroyCommand is the command to destroy an allocation

func (*DestroyCommand) Help

func (c *DestroyCommand) Help() string

Help implements the cli.Command interface

func (*DestroyCommand) Run

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

Run implements the cli.Command interface

func (*DestroyCommand) Synopsis

func (c *DestroyCommand) Synopsis() string

Synopsis implements the cli.Command interface

type Meta

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

func (*Meta) Colorize

func (m *Meta) Colorize() *colorstring.Colorize

func (*Meta) Conn

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

Conn returns a grpc connection

func (*Meta) FlagSet

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

type ServerCommand

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

ServerCommand is the command to show the version of the agent

func (*ServerCommand) Help

func (c *ServerCommand) Help() string

Help implements the cli.Command interface

func (*ServerCommand) Run

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

Run implements the cli.Command interface

func (*ServerCommand) Synopsis

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

Jump to

Keyboard shortcuts

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