Documentation ¶
Overview ¶
Package executor is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyRequirementError = errors.New("requirements cannot be empty")
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface {
Execute(requirements Requirements) error
}
func GetInstance ¶
func GetInstance() Executor
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.
func (*MockExecutor) Execute ¶
func (m *MockExecutor) Execute(requirements Requirements) error
Execute mocks base method.
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor.
func (*MockExecutorMockRecorder) Execute ¶
func (mr *MockExecutorMockRecorder) Execute(requirements interface{}) *gomock.Call
Execute indicates an expected call of Execute.
type Requirements ¶
type Requirements []model.Requirement
Click to show internal directories.
Click to hide internal directories.