Documentation ¶
Index ¶
- type Command
- func (_m *Command) PrintableCommandArgs() string
- func (_m *Command) Run() error
- func (_m *Command) RunAndReturnExitCode() (int, error)
- func (_m *Command) RunAndReturnTrimmedCombinedOutput() (string, error)
- func (_m *Command) RunAndReturnTrimmedOutput() (string, error)
- func (_m *Command) Start() error
- func (_m *Command) Wait() error
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command is an autogenerated mock type for the Command type
func NewCommand ¶
func NewCommand(t mockConstructorTestingTNewCommand) *Command
NewCommand creates a new instance of Command. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Command) PrintableCommandArgs ¶
PrintableCommandArgs provides a mock function with given fields:
func (*Command) RunAndReturnExitCode ¶
RunAndReturnExitCode provides a mock function with given fields:
func (*Command) RunAndReturnTrimmedCombinedOutput ¶
RunAndReturnTrimmedCombinedOutput provides a mock function with given fields:
func (*Command) RunAndReturnTrimmedOutput ¶
RunAndReturnTrimmedOutput provides a mock function with given fields:
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
func NewFactory(t mockConstructorTestingTNewFactory) *Factory
NewFactory creates a new instance of Factory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.