mock_indexer

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_indexer is a generated GoMock package.

Index

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL