Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GetRunWithoutRetryFunc fetches the mock command's `RunWithoutRetry` func. GetRunWithoutRetryFunc func(c *util.Command) (string, error) )
Functions ¶
This section is empty.
Types ¶
type MockCommandRunner ¶
type MockCommandRunner struct {
RunWithoutRetryFunc func(c *util.Command) (string, error)
Commands []string
}
MockCommandRunner is the mock command.
func (*MockCommandRunner) RunWithoutRetry ¶
func (m *MockCommandRunner) RunWithoutRetry(c *util.Command) (string, error)
RunWithoutRetry is the mock command's `RunWithoutRetry` func.
Click to show internal directories.
Click to hide internal directories.