command

package
v0.0.0-...-c0ac931 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingCommand

type PingCommand struct {
	Address string
	Ui      cli.Ui
}

PingCommand is a Command implementation prints the version.

func (*PingCommand) Help

func (c *PingCommand) Help() string

func (*PingCommand) Run

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

func (*PingCommand) Synopsis

func (c *PingCommand) Synopsis() string

type RestartCommand

type RestartCommand struct {
	Address string
	Ui      cli.Ui
}

RestartCommand is a Command implementation that restarts a job.

func (*RestartCommand) Help

func (c *RestartCommand) Help() string

func (*RestartCommand) Run

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

func (*RestartCommand) Synopsis

func (c *RestartCommand) Synopsis() string

type ScaleCommand

type ScaleCommand struct {
	Address string
	Ui      cli.Ui
}

ScaleCommand is a Command implementation prints the version.

func (*ScaleCommand) Help

func (c *ScaleCommand) Help() string

func (*ScaleCommand) Run

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

func (*ScaleCommand) Synopsis

func (c *ScaleCommand) Synopsis() string

type ServerCommand

type ServerCommand struct {
	ConfDir string
	Ui      cli.Ui
}

ServerCommand is a Command implementation prints the version.

func (*ServerCommand) Help

func (c *ServerCommand) Help() string

func (*ServerCommand) Run

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

func (*ServerCommand) Synopsis

func (c *ServerCommand) Synopsis() string

type SetCapacityCommand

type SetCapacityCommand struct {
	Address string
	Ui      cli.Ui
}

SetCapacityCommand is a Command implementation prints the version.

func (*SetCapacityCommand) Help

func (c *SetCapacityCommand) Help() string

func (*SetCapacityCommand) Run

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

func (*SetCapacityCommand) Synopsis

func (c *SetCapacityCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Revision          string
	Version           string
	VersionPrerelease string
	Ui                cli.Ui
}

VersionCommand is a Command implementation prints the version.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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