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) List() ([]groot.Image, error)
- func (r Runner) RunSubcommand(subcommand string, args ...string) (string, error)
- func (r Runner) Stats(id string) (groot.VolumeStats, error)
- func (r Runner) WithConfig(path string) Runner
- func (r Runner) WithLogFile(path string) Runner
- func (r Runner) WithLogLevel(level lager.LogLevel) Runner
- func (r Runner) WithMetronEndpoint(host net.IP, port uint16) 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 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) RunSubcommand ¶ added in v0.2.0
func (Runner) WithConfig ¶ added in v0.5.0
func (Runner) WithLogFile ¶ added in v0.2.0
func (Runner) WithLogLevel ¶ added in v0.4.0
func (Runner) WithMetronEndpoint ¶ added in v0.5.0
func (Runner) WithoutLogLevel ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.