Documentation ¶
Overview ¶
Package exec is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor
func (*MockExecutorMockRecorder) Output ¶
func (mr *MockExecutorMockRecorder) Output(args interface{}) *gomock.Call
Output indicates an expected call of Output
type ShellExec ¶
type ShellExec struct {
// contains filtered or unexported fields
}
ShellExec is a shell based struct that implements Executor interface
func NewShellExec ¶
NewShellExec returns a new instance of shellExec based on the provided binary name
Click to show internal directories.
Click to hide internal directories.