Documentation ¶
Overview ¶
Package mock_indexer is a generated GoMock package.
Index ¶
- type MockConfigParser
- func (m *MockConfigParser) EXPECT() *MockConfigParserMockRecorder
- func (m *MockConfigParser) GetAllAvailableTasks() []pipeline.TaskName
- func (m *MockConfigParser) GetAllVersionedTasks() ([]pipeline.TaskName, error)
- func (m *MockConfigParser) GetAllVersionedVersionIds() []int64
- func (m *MockConfigParser) GetCurrentVersionId() int64
- func (m *MockConfigParser) GetTasksByTargetIds(arg0 []int64) ([]pipeline.TaskName, error)
- func (m *MockConfigParser) GetTasksByVersionIds(arg0 []int64) ([]pipeline.TaskName, error)
- func (m *MockConfigParser) IsAnyVersionSequential(arg0 []int64) bool
- type MockConfigParserMockRecorder
- func (mr *MockConfigParserMockRecorder) GetAllAvailableTasks() *gomock.Call
- func (mr *MockConfigParserMockRecorder) GetAllVersionedTasks() *gomock.Call
- func (mr *MockConfigParserMockRecorder) GetAllVersionedVersionIds() *gomock.Call
- func (mr *MockConfigParserMockRecorder) GetCurrentVersionId() *gomock.Call
- func (mr *MockConfigParserMockRecorder) GetTasksByTargetIds(arg0 interface{}) *gomock.Call
- func (mr *MockConfigParserMockRecorder) GetTasksByVersionIds(arg0 interface{}) *gomock.Call
- func (mr *MockConfigParserMockRecorder) IsAnyVersionSequential(arg0 interface{}) *gomock.Call
- type MockReportStore
- type MockReportStoreMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigParser ¶
type MockConfigParser struct {
// contains filtered or unexported fields
}
MockConfigParser is a mock of ConfigParser interface
func NewMockConfigParser ¶
func NewMockConfigParser(ctrl *gomock.Controller) *MockConfigParser
NewMockConfigParser creates a new mock instance
func (*MockConfigParser) EXPECT ¶
func (m *MockConfigParser) EXPECT() *MockConfigParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfigParser) GetAllAvailableTasks ¶
func (m *MockConfigParser) GetAllAvailableTasks() []pipeline.TaskName
GetAllAvailableTasks mocks base method
func (*MockConfigParser) GetAllVersionedTasks ¶
func (m *MockConfigParser) GetAllVersionedTasks() ([]pipeline.TaskName, error)
GetAllVersionedTasks mocks base method
func (*MockConfigParser) GetAllVersionedVersionIds ¶
func (m *MockConfigParser) GetAllVersionedVersionIds() []int64
GetAllVersionedVersionIds mocks base method
func (*MockConfigParser) GetCurrentVersionId ¶
func (m *MockConfigParser) GetCurrentVersionId() int64
GetCurrentVersionId mocks base method
func (*MockConfigParser) GetTasksByTargetIds ¶
func (m *MockConfigParser) GetTasksByTargetIds(arg0 []int64) ([]pipeline.TaskName, error)
GetTasksByTargetIds mocks base method
func (*MockConfigParser) GetTasksByVersionIds ¶
func (m *MockConfigParser) GetTasksByVersionIds(arg0 []int64) ([]pipeline.TaskName, error)
GetTasksByVersionIds mocks base method
func (*MockConfigParser) IsAnyVersionSequential ¶
func (m *MockConfigParser) IsAnyVersionSequential(arg0 []int64) bool
IsAnyVersionSequential mocks base method
type MockConfigParserMockRecorder ¶
type MockConfigParserMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigParserMockRecorder is the mock recorder for MockConfigParser
func (*MockConfigParserMockRecorder) GetAllAvailableTasks ¶
func (mr *MockConfigParserMockRecorder) GetAllAvailableTasks() *gomock.Call
GetAllAvailableTasks indicates an expected call of GetAllAvailableTasks
func (*MockConfigParserMockRecorder) GetAllVersionedTasks ¶
func (mr *MockConfigParserMockRecorder) GetAllVersionedTasks() *gomock.Call
GetAllVersionedTasks indicates an expected call of GetAllVersionedTasks
func (*MockConfigParserMockRecorder) GetAllVersionedVersionIds ¶
func (mr *MockConfigParserMockRecorder) GetAllVersionedVersionIds() *gomock.Call
GetAllVersionedVersionIds indicates an expected call of GetAllVersionedVersionIds
func (*MockConfigParserMockRecorder) GetCurrentVersionId ¶
func (mr *MockConfigParserMockRecorder) GetCurrentVersionId() *gomock.Call
GetCurrentVersionId indicates an expected call of GetCurrentVersionId
func (*MockConfigParserMockRecorder) GetTasksByTargetIds ¶
func (mr *MockConfigParserMockRecorder) GetTasksByTargetIds(arg0 interface{}) *gomock.Call
GetTasksByTargetIds indicates an expected call of GetTasksByTargetIds
func (*MockConfigParserMockRecorder) GetTasksByVersionIds ¶
func (mr *MockConfigParserMockRecorder) GetTasksByVersionIds(arg0 interface{}) *gomock.Call
GetTasksByVersionIds indicates an expected call of GetTasksByVersionIds
func (*MockConfigParserMockRecorder) IsAnyVersionSequential ¶
func (mr *MockConfigParserMockRecorder) IsAnyVersionSequential(arg0 interface{}) *gomock.Call
IsAnyVersionSequential indicates an expected call of IsAnyVersionSequential
type MockReportStore ¶
type MockReportStore struct {
// contains filtered or unexported fields
}
MockReportStore is a mock of ReportStore interface
func NewMockReportStore ¶
func NewMockReportStore(ctrl *gomock.Controller) *MockReportStore
NewMockReportStore creates a new mock instance
func (*MockReportStore) Create ¶
func (m *MockReportStore) Create(arg0 interface{}) error
Create mocks base method
func (*MockReportStore) EXPECT ¶
func (m *MockReportStore) EXPECT() *MockReportStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReportStore) FindNotCompletedByIndexVersion ¶
func (m *MockReportStore) FindNotCompletedByIndexVersion(arg0 int64, arg1 ...model.ReportKind) (*model.Report, error)
FindNotCompletedByIndexVersion mocks base method
func (*MockReportStore) Save ¶
func (m *MockReportStore) Save(arg0 interface{}) error
Save mocks base method
type MockReportStoreMockRecorder ¶
type MockReportStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockReportStoreMockRecorder is the mock recorder for MockReportStore
func (*MockReportStoreMockRecorder) Create ¶
func (mr *MockReportStoreMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockReportStoreMockRecorder) FindNotCompletedByIndexVersion ¶
func (mr *MockReportStoreMockRecorder) FindNotCompletedByIndexVersion(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FindNotCompletedByIndexVersion indicates an expected call of FindNotCompletedByIndexVersion
func (*MockReportStoreMockRecorder) Save ¶
func (mr *MockReportStoreMockRecorder) Save(arg0 interface{}) *gomock.Call
Save indicates an expected call of Save