Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockShell ¶
type MockShell struct {
LastNameCalled string
LastArgsCalled []string
OutputToReturn []string
ErrorToReturn error
}
func (*MockShell) CombinedOutput ¶
func (sh *MockShell) CombinedOutput(name string, arg ...string) (string, error)
func (*MockShell) HomeDir ¶
func (sh *MockShell) HomeDir() string
func (*MockShell) LastFullCommand ¶
func (sh *MockShell) LastFullCommand() string
func (*MockShell) Path ¶
func (sh *MockShell) Path() string
Click to show internal directories.
Click to hide internal directories.