runner

package
v0.0.0-...-a0285da Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner struct {
	// contains filtered or unexported fields
}

CommandRunner runs a specific command

func NewCommandRunner

func NewCommandRunner(command string, args ...string) *CommandRunner

NewCommandRunner creates a new command runner

func (*CommandRunner) Run

func (r *CommandRunner) Run(logsDir string) (bool, error)

Run runs the command

func (*CommandRunner) String

func (r *CommandRunner) String() string

Jump to

Keyboard shortcuts

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