command

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTag

func BuildTag(registryURL string, imageName string, tag string) string

BuildTag builds a single tag.

func Commands

func Commands(conf config.Config) map[string]cli.CommandFactory

Commands creates all of the possible commands that can be run.

Types

type BuildCommand

type BuildCommand struct {
	Meta
}

BuildCommand runs the build to prepare the project for deployment.

func (*BuildCommand) Help

func (c *BuildCommand) Help() string

Help displays help output for the command.

func (*BuildCommand) Name

func (c *BuildCommand) Name() string

Name returns the name of the command.

func (*BuildCommand) Run

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

Run starts the build procedure.

func (*BuildCommand) Synopsis

func (c *BuildCommand) Synopsis() string

Synopsis displays the command synopsis.

type DeployCommand

type DeployCommand struct {
	Meta
}

DeployCommand runs the build to prepare the project for deployment.

func (*DeployCommand) Help

func (c *DeployCommand) Help() string

Help displays help output for the command.

func (*DeployCommand) Name

func (c *DeployCommand) Name() string

Name returns the name of the command.

func (*DeployCommand) Run

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

Run starts the build procedure.

func (*DeployCommand) Synopsis

func (c *DeployCommand) Synopsis() string

Synopsis displays the command synopsis.

type DestroyCommand

type DestroyCommand struct {
	Meta
}

DestroyCommand runs the build to prepare the project for deployment.

func (*DestroyCommand) Help

func (c *DestroyCommand) Help() string

Help displays help output for the command.

func (*DestroyCommand) Name

func (c *DestroyCommand) Name() string

Name returns the name of the command.

func (*DestroyCommand) Run

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

Run starts the build procedure.

func (*DestroyCommand) Synopsis

func (c *DestroyCommand) Synopsis() string

Synopsis displays the command synopsis.

type Meta

type Meta struct {
	Config config.Config
	UI     cli.Ui
}

Meta contains the meta options for functionally for nearly every command.

Jump to

Keyboard shortcuts

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