Documentation
¶
Index ¶
- type Runner
- func (r *Runner) Clean(threshold uint64, ignoredImages []string) (string, error)
- func (r *Runner) Create(spec groot.CreateSpec) (groot.Image, error)
- func (r *Runner) Delete(id string) error
- func (r *Runner) RunSubcommand(subcommand string, args ...string) (string, error)
- func (r *Runner) WithLogFile(path string) *Runner
- func (r *Runner) WithLogLevel(level lager.LogLevel) *Runner
- func (r *Runner) WithStderr(stderr io.Writer) *Runner
- func (r *Runner) WithStdout(stdout io.Writer) *Runner
- func (r *Runner) WithoutLogLevel() *Runner
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
LogLevelSet bool
LogLevel lager.LogLevel
LogFile string
Stdout io.Writer
Stderr io.Writer
Timeout time.Duration
}
func (*Runner) RunSubcommand ¶ added in v0.2.0
func (*Runner) WithLogFile ¶ added in v0.2.0
func (*Runner) WithLogLevel ¶ added in v0.4.0
func (*Runner) WithoutLogLevel ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.