Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSilenceBuffer ¶
Types ¶
type Config ¶
type Config struct {
Command *exec.Cmd // process to be executed
Name string // prefixes all output lines
AnsiColorCode string // colors the output
StartCheck string // text to match to indicate successful start.
StartCheckTimeout time.Duration // how long to wait to see StartCheck
Cleanup func() // invoked once the process exits
Stdout, Stderr io.Writer
}
Config defines a Runner.
type Runner ¶
type Runner struct {
Command *exec.Cmd
Name string
AnsiColorCode string
StartCheck string
StartCheckTimeout time.Duration
Cleanup func()
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.