Documentation ¶
Index ¶
- func AddStageFactory() (cli.Command, error)
- func BuildFactory() (cli.Command, error)
- func CloneFactory() (cli.Command, error)
- func NopFactory() (cli.Command, error)
- func ServerFactory() (cli.Command, error)
- func ShowConfigFactory() (cli.Command, error)
- func ShutdownFactory() (cli.Command, error)
- type AddStage
- type Build
- type Clone
- type Nop
- type Server
- type ShowConfig
- type Shutdown
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddStageFactory ¶
AddStageFactory creates a add-stage command for CLI
func BuildFactory ¶
BuildFactory creates a build command for CLI
func CloneFactory ¶
CloneFactory creates a clone command for CLI
func ServerFactory ¶
ServerFactory creates a server command for CLI
func ShowConfigFactory ¶
ShowConfigFactory creates a nop command for CLI
func ShutdownFactory ¶
ShutdownFactory creates a shutdown command for CLI
Types ¶
type AddStage ¶
type AddStage struct{}
AddStage is the add-stage command
func (*AddStage) Help ¶
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.
type Build ¶
type Build struct{}
Build is the build command
func (*Build) Help ¶
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.
type Clone ¶
type Clone struct{}
Clone is the clone command
func (*Clone) Help ¶
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.
type Nop ¶
type Nop struct{}
Nop is the nop command
func (*Nop) Help ¶
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.
type Server ¶
type Server struct{}
Server is the server command
func (*Server) Help ¶
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.
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 ¶
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.