Documentation ¶
Overview ¶
Package cmdrunnermock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommandRunner ¶
type MockCommandRunner struct {
// contains filtered or unexported fields
}
MockCommandRunner is a mock of CommandRunner interface.
func NewMockCommandRunner ¶
func NewMockCommandRunner(ctrl *gomock.Controller) *MockCommandRunner
NewMockCommandRunner creates a new mock instance.
func (*MockCommandRunner) CombinedOutput ¶
func (m *MockCommandRunner) CombinedOutput(arg0 string, arg1 ...string) ([]byte, error)
CombinedOutput mocks base method.
func (*MockCommandRunner) Command ¶ added in v1.20.7
func (m *MockCommandRunner) Command(arg0 string, arg1 ...string) *exec.Cmd
Command mocks base method.
func (*MockCommandRunner) EXPECT ¶
func (m *MockCommandRunner) EXPECT() *MockCommandRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCommandRunnerMockRecorder ¶
type MockCommandRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandRunnerMockRecorder is the mock recorder for MockCommandRunner.
func (*MockCommandRunnerMockRecorder) CombinedOutput ¶
func (mr *MockCommandRunnerMockRecorder) CombinedOutput(arg0 interface{}, arg1 ...interface{}) *gomock.Call
CombinedOutput indicates an expected call of CombinedOutput.
func (*MockCommandRunnerMockRecorder) Command ¶ added in v1.20.7
func (mr *MockCommandRunnerMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Command indicates an expected call of Command.
Click to show internal directories.
Click to hide internal directories.