Documentation ¶
Index ¶
- type MockAction
- func (_m *MockAction) AcquireValues() bool
- func (_m *MockAction) EXPECT() *MockActionMockRecorder
- func (_m *MockAction) Execute(_param0 chan string) bool
- func (_m *MockAction) GetCommand() string
- func (_m *MockAction) GetExitCode() int
- func (_m *MockAction) GetLastMessage() string
- func (_m *MockAction) GetName() string
- func (_m *MockAction) GetUsage() string
- func (_m *MockAction) Init() bool
- func (_m *MockAction) IsInProgress() bool
- func (_m *MockAction) Reset() bool
- type MockActionMockRecorder
- func (_mr *MockActionMockRecorder) AcquireValues() *gomock.Call
- func (_mr *MockActionMockRecorder) Execute(_param0 interface{}) *gomock.Call
- func (_mr *MockActionMockRecorder) GetCommand() *gomock.Call
- func (_mr *MockActionMockRecorder) GetExitCode() *gomock.Call
- func (_mr *MockActionMockRecorder) GetLastMessage() *gomock.Call
- func (_mr *MockActionMockRecorder) GetName() *gomock.Call
- func (_mr *MockActionMockRecorder) GetUsage() *gomock.Call
- func (_mr *MockActionMockRecorder) Init() *gomock.Call
- func (_mr *MockActionMockRecorder) IsInProgress() *gomock.Call
- func (_mr *MockActionMockRecorder) Reset() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAction ¶
type MockAction struct {
// contains filtered or unexported fields
}
MockAction is a mock of Action interface
func NewMockAction ¶
func NewMockAction(ctrl *gomock.Controller) *MockAction
NewMockAction creates a new mock instance
func (*MockAction) AcquireValues ¶
func (_m *MockAction) AcquireValues() bool
AcquireValues mocks base method
func (*MockAction) EXPECT ¶
func (_m *MockAction) EXPECT() *MockActionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAction) Execute ¶
func (_m *MockAction) Execute(_param0 chan string) bool
Execute mocks base method
func (*MockAction) GetCommand ¶
func (_m *MockAction) GetCommand() string
GetCommand mocks base method
func (*MockAction) GetExitCode ¶
func (_m *MockAction) GetExitCode() int
GetExitCode mocks base method
func (*MockAction) GetLastMessage ¶
func (_m *MockAction) GetLastMessage() string
GetLastMessage mocks base method
func (*MockAction) IsInProgress ¶
func (_m *MockAction) IsInProgress() bool
IsInProgress mocks base method
type MockActionMockRecorder ¶
type MockActionMockRecorder struct {
// contains filtered or unexported fields
}
MockActionMockRecorder is the mock recorder for MockAction
func (*MockActionMockRecorder) AcquireValues ¶
func (_mr *MockActionMockRecorder) AcquireValues() *gomock.Call
AcquireValues indicates an expected call of AcquireValues
func (*MockActionMockRecorder) Execute ¶
func (_mr *MockActionMockRecorder) Execute(_param0 interface{}) *gomock.Call
Execute indicates an expected call of Execute
func (*MockActionMockRecorder) GetCommand ¶
func (_mr *MockActionMockRecorder) GetCommand() *gomock.Call
GetCommand indicates an expected call of GetCommand
func (*MockActionMockRecorder) GetExitCode ¶
func (_mr *MockActionMockRecorder) GetExitCode() *gomock.Call
GetExitCode indicates an expected call of GetExitCode
func (*MockActionMockRecorder) GetLastMessage ¶
func (_mr *MockActionMockRecorder) GetLastMessage() *gomock.Call
GetLastMessage indicates an expected call of GetLastMessage
func (*MockActionMockRecorder) GetName ¶
func (_mr *MockActionMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockActionMockRecorder) GetUsage ¶
func (_mr *MockActionMockRecorder) GetUsage() *gomock.Call
GetName indicates an expected call of GetUsage
func (*MockActionMockRecorder) Init ¶
func (_mr *MockActionMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init
func (*MockActionMockRecorder) IsInProgress ¶
func (_mr *MockActionMockRecorder) IsInProgress() *gomock.Call
IsInProgress indicates an expected call of IsInProgress
func (*MockActionMockRecorder) Reset ¶
func (_mr *MockActionMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset