runner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner added in v0.2.0

type Runner struct {
	GrootFSBin string
	StorePath  string
	DraxBin    string

	LogLevel lager.LogLevel
	LogFile  string

	Stdout io.Writer
	Stderr io.Writer

	Timeout time.Duration
}

func (*Runner) Clean added in v0.2.0

func (r *Runner) Clean(threshold uint64, ignoredImages []string) (string, error)

func (*Runner) Create added in v0.2.0

func (r *Runner) Create(spec groot.CreateSpec) (groot.Bundle, error)

func (*Runner) Delete added in v0.2.0

func (r *Runner) Delete(id string) error

func (*Runner) RunSubcommand added in v0.2.0

func (r *Runner) RunSubcommand(subcommand string, args ...string) (string, error)

func (*Runner) WithLogFile added in v0.2.0

func (r *Runner) WithLogFile(path string) *Runner

func (*Runner) WithStderr added in v0.2.0

func (r *Runner) WithStderr(stderr io.Writer) *Runner

func (*Runner) WithStdout added in v0.2.0

func (r *Runner) WithStdout(stdout io.Writer) *Runner

Jump to

Keyboard shortcuts

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