Documentation
¶
Index ¶
- func ExecuteBash(command string, workDir string, env []string) (stdout string, stderr string, exitCode int, err error)
- func ExecuteBashMock(command string, mock MockConfig) (stdout string, stderr string, exitCode int)
- func ExecuteGrep(pattern string, searchPath string) (output string, exitCode int, err error)
- func ExecuteGrepMock(mock MockConfig) (output string, exitCode int)
- func ExecuteRead(path string) (content string, err error)
- func ExecuteReadMock(mock MockConfig) (content string)
- func ExecuteWrite(path string, content string) error
- func ExecuteWriteMock()
- type FileChange
- type MockConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteBash ¶
func ExecuteBashMock ¶
func ExecuteBashMock(command string, mock MockConfig) (stdout string, stderr string, exitCode int)
func ExecuteGrep ¶
func ExecuteGrepMock ¶
func ExecuteGrepMock(mock MockConfig) (output string, exitCode int)
func ExecuteRead ¶
func ExecuteReadMock ¶
func ExecuteReadMock(mock MockConfig) (content string)
func ExecuteWrite ¶
func ExecuteWriteMock ¶
func ExecuteWriteMock()
Types ¶
type FileChange ¶
type FileChange = types.FileChange
type MockConfig ¶
type MockConfig = types.MockConfig
Click to show internal directories.
Click to hide internal directories.