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) GetTransactionKinds() []model.TransactionKind
- func (m *MockConfigParser) IsAnyVersionSequential(arg0 []int64) bool
- func (m *MockConfigParser) IsLastInEra() bool
- func (m *MockConfigParser) IsLastInSession() 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) GetTransactionKinds() *gomock.Call
- func (mr *MockConfigParserMockRecorder) IsAnyVersionSequential(arg0 interface{}) *gomock.Call
- func (mr *MockConfigParserMockRecorder) IsLastInEra() *gomock.Call
- func (mr *MockConfigParserMockRecorder) IsLastInSession() *gomock.Call
- type MockFetcherClient
- type MockFetcherClientMockRecorder
- type MockRewardsCalculator
- type MockRewardsCalculatorMockRecorder
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
func (m *MockConfigParser) EXPECT() *MockConfigParserMockRecorder
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) GetTransactionKinds ¶ added in v0.7.1
func (m *MockConfigParser) GetTransactionKinds() []model.TransactionKind
GetTransactionKinds mocks base method
func (*MockConfigParser) IsAnyVersionSequential ¶ added in v0.2.0
func (m *MockConfigParser) IsAnyVersionSequential(arg0 []int64) bool
IsAnyVersionSequential mocks base method
func (*MockConfigParser) IsLastInEra ¶ added in v0.5.0
func (m *MockConfigParser) IsLastInEra() bool
IsLastInEra mocks base method
func (*MockConfigParser) IsLastInSession ¶ added in v0.5.0
func (m *MockConfigParser) IsLastInSession() bool
IsLastInSession 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) GetTransactionKinds ¶ added in v0.7.1
func (mr *MockConfigParserMockRecorder) GetTransactionKinds() *gomock.Call
GetTransactionKinds indicates an expected call of GetTransactionKinds
func (*MockConfigParserMockRecorder) IsAnyVersionSequential ¶ added in v0.2.0
func (mr *MockConfigParserMockRecorder) IsAnyVersionSequential(arg0 interface{}) *gomock.Call
IsAnyVersionSequential indicates an expected call of IsAnyVersionSequential
func (*MockConfigParserMockRecorder) IsLastInEra ¶ added in v0.5.0
func (mr *MockConfigParserMockRecorder) IsLastInEra() *gomock.Call
IsLastInEra indicates an expected call of IsLastInEra
func (*MockConfigParserMockRecorder) IsLastInSession ¶ added in v0.5.0
func (mr *MockConfigParserMockRecorder) IsLastInSession() *gomock.Call
IsLastInSession indicates an expected call of IsLastInSession
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 ¶
func (m *MockFetcherClient) EXPECT() *MockFetcherClientMockRecorder
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 MockRewardsCalculator ¶ added in v0.6.0
type MockRewardsCalculator struct {
// contains filtered or unexported fields
}
MockRewardsCalculator is a mock of RewardsCalculator interface
func NewMockRewardsCalculator ¶ added in v0.6.0
func NewMockRewardsCalculator(ctrl *gomock.Controller) *MockRewardsCalculator
NewMockRewardsCalculator creates a new mock instance
func (*MockRewardsCalculator) EXPECT ¶ added in v0.6.0
func (m *MockRewardsCalculator) EXPECT() *MockRewardsCalculatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRewardsCalculatorMockRecorder ¶ added in v0.6.0
type MockRewardsCalculatorMockRecorder struct {
// contains filtered or unexported fields
}
MockRewardsCalculatorMockRecorder is the mock recorder for MockRewardsCalculator