command

package
v0.0.0-...-ea498fe Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStageFactory

func AddStageFactory() (cli.Command, error)

AddStageFactory creates a add-stage command for CLI

func BuildFactory

func BuildFactory() (cli.Command, error)

BuildFactory creates a build command for CLI

func CloneFactory

func CloneFactory() (cli.Command, error)

CloneFactory creates a clone command for CLI

func NopFactory

func NopFactory() (cli.Command, error)

NopFactory creates a nop command for CLI

func ServerFactory

func ServerFactory() (cli.Command, error)

ServerFactory creates a server command for CLI

func ShowConfigFactory

func ShowConfigFactory() (cli.Command, error)

ShowConfigFactory creates a nop command for CLI

func ShutdownFactory

func ShutdownFactory() (cli.Command, error)

ShutdownFactory creates a shutdown command for CLI

Types

type AddStage

type AddStage struct{}

AddStage is the add-stage command

func (*AddStage) Help

func (cmd *AddStage) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*AddStage) Run

func (cmd *AddStage) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*AddStage) Synopsis

func (cmd *AddStage) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

type Build

type Build struct{}

Build is the build command

func (*Build) Help

func (cmd *Build) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*Build) Run

func (cmd *Build) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*Build) Synopsis

func (cmd *Build) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

type Clone

type Clone struct{}

Clone is the clone command

func (*Clone) Help

func (cmd *Clone) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*Clone) Run

func (cmd *Clone) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*Clone) Synopsis

func (cmd *Clone) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

type Nop

type Nop struct{}

Nop is the nop command

func (*Nop) Help

func (cmd *Nop) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*Nop) Run

func (cmd *Nop) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*Nop) Synopsis

func (cmd *Nop) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

type Server

type Server struct{}

Server is the server command

func (*Server) Help

func (cmd *Server) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*Server) Run

func (cmd *Server) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*Server) Synopsis

func (cmd *Server) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

type ShowConfig

type ShowConfig struct{}

ShowConfig is the nop command

func (*ShowConfig) Help

func (cmd *ShowConfig) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*ShowConfig) Run

func (cmd *ShowConfig) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*ShowConfig) Synopsis

func (cmd *ShowConfig) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

type Shutdown

type Shutdown struct{}

Shutdown is the shutdown command

func (*Shutdown) Help

func (cmd *Shutdown) Help() string

Help returns long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*Shutdown) Run

func (cmd *Shutdown) Run(args []string) int

Run runs the actual command with the given CLI instance and command-line arguments. It returns the exit status when it is finished.

func (*Shutdown) Synopsis

func (cmd *Shutdown) Synopsis() string

Synopsis returns a one-line, short synopsis of the command.

Jump to

Keyboard shortcuts

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