Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockCmd ¶
func NewMockCmd(rc io.ReadCloser) exec.Cmd
NewMockCmd creates a new mock Cmd with rc as its stdout pipe
func NewMockCmdString ¶
NewMockCmdString creates a new mock Cmd which has s on its stdout pipe
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.