mock_indexer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 5 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 added in v0.2.0

type MockConfigParser struct {
	// contains filtered or unexported fields
}

MockConfigParser is a mock of ConfigParser interface

func NewMockConfigParser added in v0.2.0

func NewMockConfigParser(ctrl *gomock.Controller) *MockConfigParser

NewMockConfigParser creates a new mock instance

func (*MockConfigParser) EXPECT added in v0.2.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockConfigParser) GetAllAvailableTasks added in v0.2.0

func (m *MockConfigParser) GetAllAvailableTasks() []pipeline.TaskName

GetAllAvailableTasks mocks base method

func (*MockConfigParser) GetAllVersionedTasks added in v0.2.0

func (m *MockConfigParser) GetAllVersionedTasks() ([]pipeline.TaskName, error)

GetAllVersionedTasks mocks base method

func (*MockConfigParser) GetAllVersionedVersionIds added in v0.2.0

func (m *MockConfigParser) GetAllVersionedVersionIds() []int64

GetAllVersionedVersionIds mocks base method

func (*MockConfigParser) GetCurrentVersionId added in v0.2.0

func (m *MockConfigParser) GetCurrentVersionId() int64

GetCurrentVersionId mocks base method

func (*MockConfigParser) GetTasksByTargetIds added in v0.2.0

func (m *MockConfigParser) GetTasksByTargetIds(arg0 []int64) ([]pipeline.TaskName, error)

GetTasksByTargetIds mocks base method

func (*MockConfigParser) GetTasksByVersionIds added in v0.2.0

func (m *MockConfigParser) GetTasksByVersionIds(arg0 []int64) ([]pipeline.TaskName, error)

GetTasksByVersionIds mocks base method

func (*MockConfigParser) IsAnyVersionSequential added in v0.2.0

func (m *MockConfigParser) IsAnyVersionSequential(arg0 []int64) bool

IsAnyVersionSequential mocks base method

type MockConfigParserMockRecorder added in v0.2.0

type MockConfigParserMockRecorder struct {
	// contains filtered or unexported fields
}

MockConfigParserMockRecorder is the mock recorder for MockConfigParser

func (*MockConfigParserMockRecorder) GetAllAvailableTasks added in v0.2.0

func (mr *MockConfigParserMockRecorder) GetAllAvailableTasks() *gomock.Call

GetAllAvailableTasks indicates an expected call of GetAllAvailableTasks

func (*MockConfigParserMockRecorder) GetAllVersionedTasks added in v0.2.0

func (mr *MockConfigParserMockRecorder) GetAllVersionedTasks() *gomock.Call

GetAllVersionedTasks indicates an expected call of GetAllVersionedTasks

func (*MockConfigParserMockRecorder) GetAllVersionedVersionIds added in v0.2.0

func (mr *MockConfigParserMockRecorder) GetAllVersionedVersionIds() *gomock.Call

GetAllVersionedVersionIds indicates an expected call of GetAllVersionedVersionIds

func (*MockConfigParserMockRecorder) GetCurrentVersionId added in v0.2.0

func (mr *MockConfigParserMockRecorder) GetCurrentVersionId() *gomock.Call

GetCurrentVersionId indicates an expected call of GetCurrentVersionId

func (*MockConfigParserMockRecorder) GetTasksByTargetIds added in v0.2.0

func (mr *MockConfigParserMockRecorder) GetTasksByTargetIds(arg0 interface{}) *gomock.Call

GetTasksByTargetIds indicates an expected call of GetTasksByTargetIds

func (*MockConfigParserMockRecorder) GetTasksByVersionIds added in v0.2.0

func (mr *MockConfigParserMockRecorder) GetTasksByVersionIds(arg0 interface{}) *gomock.Call

GetTasksByVersionIds indicates an expected call of GetTasksByVersionIds

func (*MockConfigParserMockRecorder) IsAnyVersionSequential added in v0.2.0

func (mr *MockConfigParserMockRecorder) IsAnyVersionSequential(arg0 interface{}) *gomock.Call

IsAnyVersionSequential indicates an expected call of IsAnyVersionSequential

type MockFetcherClient

type MockFetcherClient struct {
	// contains filtered or unexported fields
}

MockFetcherClient is a mock of FetcherClient interface

func NewMockFetcherClient

func NewMockFetcherClient(ctrl *gomock.Controller) *MockFetcherClient

NewMockFetcherClient creates a new mock instance

func (*MockFetcherClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFetcherClient) GetAll

func (m *MockFetcherClient) GetAll(arg0 int64) (*heightpb.GetAllResponse, error)

GetAll mocks base method

type MockFetcherClientMockRecorder

type MockFetcherClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockFetcherClientMockRecorder is the mock recorder for MockFetcherClient

func (*MockFetcherClientMockRecorder) GetAll

func (mr *MockFetcherClientMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

type MockReportStore added in v0.2.0

type MockReportStore struct {
	// contains filtered or unexported fields
}

MockReportStore is a mock of ReportStore interface

func NewMockReportStore added in v0.2.0

func NewMockReportStore(ctrl *gomock.Controller) *MockReportStore

NewMockReportStore creates a new mock instance

func (*MockReportStore) Create added in v0.2.0

func (m *MockReportStore) Create(arg0 interface{}) error

Create mocks base method

func (*MockReportStore) EXPECT added in v0.2.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReportStore) FindNotCompletedByIndexVersion added in v0.2.0

func (m *MockReportStore) FindNotCompletedByIndexVersion(arg0 int64, arg1 ...model.ReportKind) (*model.Report, error)

FindNotCompletedByIndexVersion mocks base method

func (*MockReportStore) Save added in v0.2.0

func (m *MockReportStore) Save(arg0 interface{}) error

Save mocks base method

type MockReportStoreMockRecorder added in v0.2.0

type MockReportStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockReportStoreMockRecorder is the mock recorder for MockReportStore

func (*MockReportStoreMockRecorder) Create added in v0.2.0

func (mr *MockReportStoreMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockReportStoreMockRecorder) FindNotCompletedByIndexVersion added in v0.2.0

func (mr *MockReportStoreMockRecorder) FindNotCompletedByIndexVersion(arg0 interface{}, arg1 ...interface{}) *gomock.Call

FindNotCompletedByIndexVersion indicates an expected call of FindNotCompletedByIndexVersion

func (*MockReportStoreMockRecorder) Save added in v0.2.0

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