Versions in this module Expand all Collapse all v0 v0.20.0 Jun 24, 2015 Changes in this version + type Cmd interface + CombinedOutput func() ([]byte, error) + SetDir func(dir string) + func InitFakeCmd(fake *FakeCmd, cmd string, args ...string) Cmd + type ExitError interface + Error func() string + ExitStatus func() int + Exited func() bool + String func() string + type FakeCmd struct + Argv []string + CombinedOutputCalls int + CombinedOutputLog [][]string + CombinedOutputScript []FakeCombinedOutputAction + Dirs []string + func (fake *FakeCmd) CombinedOutput() ([]byte, error) + func (fake *FakeCmd) SetDir(dir string) + type FakeCombinedOutputAction func() ([]byte, error) + type FakeCommandAction func(cmd string, args ...string) Cmd + type FakeExec struct + CommandCalls int + CommandScript []FakeCommandAction + func (fake *FakeExec) Command(cmd string, args ...string) Cmd + type FakeExitError struct + Status int + func (fake *FakeExitError) Error() string + func (fake *FakeExitError) ExitStatus() int + func (fake *FakeExitError) Exited() bool + func (fake *FakeExitError) String() string + type Interface interface + Command func(cmd string, args ...string) Cmd + func New() Interface