runner

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 14 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
	ConfigPath string

	LogLevelSet bool
	LogLevel    lager.LogLevel
	LogFile     string
	MetronHost  net.IP
	MetronPort  uint16

	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.Image, error)

func (Runner) Delete added in v0.2.0

func (r Runner) Delete(id string) error

func (Runner) List added in v0.5.0

func (r Runner) List() ([]groot.Image, error)

func (Runner) RunSubcommand added in v0.2.0

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

func (Runner) Stats added in v0.5.0

func (r Runner) Stats(id string) (groot.VolumeStats, error)

func (Runner) WithConfig added in v0.5.0

func (r Runner) WithConfig(path string) Runner

func (Runner) WithLogFile added in v0.2.0

func (r Runner) WithLogFile(path string) Runner

func (Runner) WithLogLevel added in v0.4.0

func (r Runner) WithLogLevel(level lager.LogLevel) Runner

func (Runner) WithMetronEndpoint added in v0.5.0

func (r Runner) WithMetronEndpoint(host net.IP, port uint16) 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

func (Runner) WithoutLogLevel added in v0.4.0

func (r Runner) WithoutLogLevel() Runner

Jump to

Keyboard shortcuts

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