Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Debug = false //nolint:gochecknoglobals // This variable is shared between all the command instances. LogFile *os.File //nolint:gochecknoglobals // This variable is shared between all the command instances. NoTTY = false //nolint:gochecknoglobals // This variable is shared between all the command instances. ErrCmdFailed = errors.New("command failed") ErrCmdTimeout = errors.New("command timed out") ErrCastingToBuffer = errors.New("error casting stdout to bytes.Buffer") )
Functions ¶
func CombinedOutput ¶
Types ¶
type CmdOptions ¶
type FakeExecutor ¶
type FakeExecutor struct {
// contains filtered or unexported fields
}
func NewFakeExecutor ¶
func NewFakeExecutor(testHelperProcessFn string) *FakeExecutor
type StdExecutor ¶
type StdExecutor struct{}
func NewStdExecutor ¶
func NewStdExecutor() *StdExecutor
Click to show internal directories.
Click to hide internal directories.