subcommand

package
v0.0.0-...-3015c2b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBuildFailed = fmt.Errorf("subcommand failed")

Functions

func Run

func Run(
	command string,
	config *config.Config,
	appOptions *options.AppOptions,
	cleanOptions *options.CleanOptions,
	runOptions *options.RunOptions,
) error

Types

type CommandRunner

type CommandRunner func(*config.Config) error

func NewCleanCommand

func NewCleanCommand(appOptions *options.AppOptions, cleanOptions *options.CleanOptions) CommandRunner

func NewLoginCommand

func NewLoginCommand(appOptions *options.AppOptions) CommandRunner

func NewLogoutCommand

func NewLogoutCommand(appOptions *options.AppOptions) CommandRunner

func NewRotateLogsCommand

func NewRotateLogsCommand(appOptions *options.AppOptions) CommandRunner

func NewRunCommand

func NewRunCommand(appOptions *options.AppOptions, runOptions *options.RunOptions) CommandRunner

func NewShowConfigCommand

func NewShowConfigCommand(appOptions *options.AppOptions) CommandRunner

Jump to

Keyboard shortcuts

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