mock_store

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountActivitySeq

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

MockAccountActivitySeq is a mock of AccountActivitySeq interface

func NewMockAccountActivitySeq

func NewMockAccountActivitySeq(ctrl *gomock.Controller) *MockAccountActivitySeq

NewMockAccountActivitySeq creates a new mock instance

func (*MockAccountActivitySeq) BulkUpsert

func (m *MockAccountActivitySeq) BulkUpsert(arg0 []model.AccountActivitySeq) error

BulkUpsert mocks base method

func (*MockAccountActivitySeq) DeleteForHeight

func (m *MockAccountActivitySeq) DeleteForHeight(arg0 int64) (*int64, error)

DeleteForHeight mocks base method

func (*MockAccountActivitySeq) DeleteOlderThan

func (m *MockAccountActivitySeq) DeleteOlderThan(arg0 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockAccountActivitySeq) EXPECT

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

func (*MockAccountActivitySeq) FindByHeight

func (m *MockAccountActivitySeq) FindByHeight(arg0 int64) ([]model.AccountActivitySeq, error)

FindByHeight mocks base method

func (*MockAccountActivitySeq) FindByHeightAndAddress

func (m *MockAccountActivitySeq) FindByHeightAndAddress(arg0 int64, arg1 string) ([]model.AccountActivitySeq, error)

FindByHeightAndAddress mocks base method

func (*MockAccountActivitySeq) FindLastByAddress

func (m *MockAccountActivitySeq) FindLastByAddress(arg0 string, arg1 int64) ([]model.AccountActivitySeq, error)

FindLastByAddress mocks base method

func (*MockAccountActivitySeq) FindLastByAddressAndKind

func (m *MockAccountActivitySeq) FindLastByAddressAndKind(arg0 string, arg1 []string, arg2 int64) ([]model.AccountActivitySeq, error)

FindLastByAddressAndKind mocks base method

func (*MockAccountActivitySeq) FindMostRecent

func (m *MockAccountActivitySeq) FindMostRecent() (*model.AccountActivitySeq, error)

FindMostRecent mocks base method

type MockAccountActivitySeqMockRecorder

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

MockAccountActivitySeqMockRecorder is the mock recorder for MockAccountActivitySeq

func (*MockAccountActivitySeqMockRecorder) BulkUpsert

func (mr *MockAccountActivitySeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockAccountActivitySeqMockRecorder) DeleteForHeight

func (mr *MockAccountActivitySeqMockRecorder) DeleteForHeight(arg0 interface{}) *gomock.Call

DeleteForHeight indicates an expected call of DeleteForHeight

func (*MockAccountActivitySeqMockRecorder) DeleteOlderThan

func (mr *MockAccountActivitySeqMockRecorder) DeleteOlderThan(arg0 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockAccountActivitySeqMockRecorder) FindByHeight

func (mr *MockAccountActivitySeqMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call

FindByHeight indicates an expected call of FindByHeight

func (*MockAccountActivitySeqMockRecorder) FindByHeightAndAddress

func (mr *MockAccountActivitySeqMockRecorder) FindByHeightAndAddress(arg0, arg1 interface{}) *gomock.Call

FindByHeightAndAddress indicates an expected call of FindByHeightAndAddress

func (*MockAccountActivitySeqMockRecorder) FindLastByAddress

func (mr *MockAccountActivitySeqMockRecorder) FindLastByAddress(arg0, arg1 interface{}) *gomock.Call

FindLastByAddress indicates an expected call of FindLastByAddress

func (*MockAccountActivitySeqMockRecorder) FindLastByAddressAndKind

func (mr *MockAccountActivitySeqMockRecorder) FindLastByAddressAndKind(arg0, arg1, arg2 interface{}) *gomock.Call

FindLastByAddressAndKind indicates an expected call of FindLastByAddressAndKind

func (*MockAccountActivitySeqMockRecorder) FindMostRecent

func (mr *MockAccountActivitySeqMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

type MockBlockSeq

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

MockBlockSeq is a mock of BlockSeq interface

func NewMockBlockSeq

func NewMockBlockSeq(ctrl *gomock.Controller) *MockBlockSeq

NewMockBlockSeq creates a new mock instance

func (*MockBlockSeq) Create

func (m *MockBlockSeq) Create(arg0 *model.BlockSeq) error

Create mocks base method

func (*MockBlockSeq) CreateIfNotExists

func (m *MockBlockSeq) CreateIfNotExists(arg0 *model.BlockSeq) error

CreateIfNotExists mocks base method

func (*MockBlockSeq) DeleteOlderThan

func (m *MockBlockSeq) DeleteOlderThan(arg0 time.Time, arg1 []store.ActivityPeriodRow) (*int64, error)

DeleteOlderThan mocks base method

func (*MockBlockSeq) EXPECT

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

func (*MockBlockSeq) FindBy

func (m *MockBlockSeq) FindBy(arg0 string, arg1 interface{}) (*model.BlockSeq, error)

FindBy mocks base method

func (*MockBlockSeq) FindByHeight

func (m *MockBlockSeq) FindByHeight(arg0 int64) (*model.BlockSeq, error)

FindByHeight mocks base method

func (*MockBlockSeq) FindByID

func (m *MockBlockSeq) FindByID(arg0 int64) (*model.BlockSeq, error)

FindByID mocks base method

func (*MockBlockSeq) FindMostRecent

func (m *MockBlockSeq) FindMostRecent() (*model.BlockSeq, error)

FindMostRecent mocks base method

func (*MockBlockSeq) GetAvgRecentTimes

func (m *MockBlockSeq) GetAvgRecentTimes(arg0 int64) store.GetAvgRecentTimesResult

GetAvgRecentTimes mocks base method

func (*MockBlockSeq) Save

func (m *MockBlockSeq) Save(arg0 *model.BlockSeq) error

Save mocks base method

func (*MockBlockSeq) Summarize

Summarize mocks base method

type MockBlockSeqMockRecorder

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

MockBlockSeqMockRecorder is the mock recorder for MockBlockSeq

func (*MockBlockSeqMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockBlockSeqMockRecorder) CreateIfNotExists

func (mr *MockBlockSeqMockRecorder) CreateIfNotExists(arg0 interface{}) *gomock.Call

CreateIfNotExists indicates an expected call of CreateIfNotExists

func (*MockBlockSeqMockRecorder) DeleteOlderThan

func (mr *MockBlockSeqMockRecorder) DeleteOlderThan(arg0, arg1 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockBlockSeqMockRecorder) FindBy

func (mr *MockBlockSeqMockRecorder) FindBy(arg0, arg1 interface{}) *gomock.Call

FindBy indicates an expected call of FindBy

func (*MockBlockSeqMockRecorder) FindByHeight

func (mr *MockBlockSeqMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call

FindByHeight indicates an expected call of FindByHeight

func (*MockBlockSeqMockRecorder) FindByID

func (mr *MockBlockSeqMockRecorder) FindByID(arg0 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockBlockSeqMockRecorder) FindMostRecent

func (mr *MockBlockSeqMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockBlockSeqMockRecorder) GetAvgRecentTimes

func (mr *MockBlockSeqMockRecorder) GetAvgRecentTimes(arg0 interface{}) *gomock.Call

GetAvgRecentTimes indicates an expected call of GetAvgRecentTimes

func (*MockBlockSeqMockRecorder) Save

func (mr *MockBlockSeqMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

func (*MockBlockSeqMockRecorder) Summarize

func (mr *MockBlockSeqMockRecorder) Summarize(arg0, arg1 interface{}) *gomock.Call

Summarize indicates an expected call of Summarize

type MockBlockSummary

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

MockBlockSummary is a mock of BlockSummary interface

func NewMockBlockSummary

func NewMockBlockSummary(ctrl *gomock.Controller) *MockBlockSummary

NewMockBlockSummary creates a new mock instance

func (*MockBlockSummary) DeleteOlderThan

func (m *MockBlockSummary) DeleteOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockBlockSummary) EXPECT

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

func (*MockBlockSummary) Find

Find mocks base method

func (*MockBlockSummary) FindActivityPeriods

func (m *MockBlockSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)

FindActivityPeriods mocks base method

func (*MockBlockSummary) FindMostRecent

func (m *MockBlockSummary) FindMostRecent() (*model.BlockSummary, error)

FindMostRecent mocks base method

func (*MockBlockSummary) FindMostRecentByInterval

func (m *MockBlockSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.BlockSummary, error)

FindMostRecentByInterval mocks base method

func (*MockBlockSummary) FindSummary

func (m *MockBlockSummary) FindSummary(arg0 types.SummaryInterval, arg1 string) ([]model.BlockSummary, error)

FindSummary mocks base method

type MockBlockSummaryMockRecorder

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

MockBlockSummaryMockRecorder is the mock recorder for MockBlockSummary

func (*MockBlockSummaryMockRecorder) DeleteOlderThan

func (mr *MockBlockSummaryMockRecorder) DeleteOlderThan(arg0, arg1 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockBlockSummaryMockRecorder) Find

func (mr *MockBlockSummaryMockRecorder) Find(arg0 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockBlockSummaryMockRecorder) FindActivityPeriods

func (mr *MockBlockSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call

FindActivityPeriods indicates an expected call of FindActivityPeriods

func (*MockBlockSummaryMockRecorder) FindMostRecent

func (mr *MockBlockSummaryMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockBlockSummaryMockRecorder) FindMostRecentByInterval

func (mr *MockBlockSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call

FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval

func (*MockBlockSummaryMockRecorder) FindSummary

func (mr *MockBlockSummaryMockRecorder) FindSummary(arg0, arg1 interface{}) *gomock.Call

FindSummary indicates an expected call of FindSummary

type MockDatabase

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

MockDatabase is a mock of Database interface

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance

func (*MockDatabase) EXPECT

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

func (*MockDatabase) GetTotalSize

func (m *MockDatabase) GetTotalSize() (*store.GetTotalSizeResult, error)

GetTotalSize mocks base method

type MockDatabaseMockRecorder

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase

func (*MockDatabaseMockRecorder) GetTotalSize

func (mr *MockDatabaseMockRecorder) GetTotalSize() *gomock.Call

GetTotalSize indicates an expected call of GetTotalSize

type MockReports

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

MockReports is a mock of Reports interface

func NewMockReports

func NewMockReports(ctrl *gomock.Controller) *MockReports

NewMockReports creates a new mock instance

func (*MockReports) Create

func (m *MockReports) Create(arg0 *model.Report) error

Create mocks base method

func (*MockReports) DeleteByKinds

func (m *MockReports) DeleteByKinds(arg0 []model.ReportKind) error

DeleteByKinds mocks base method

func (*MockReports) EXPECT

func (m *MockReports) EXPECT() *MockReportsMockRecorder

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

func (*MockReports) FindNotCompletedByIndexVersion

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

FindNotCompletedByIndexVersion mocks base method

func (*MockReports) FindNotCompletedByKind

func (m *MockReports) FindNotCompletedByKind(arg0 ...model.ReportKind) (*model.Report, error)

FindNotCompletedByKind mocks base method

func (*MockReports) Last

func (m *MockReports) Last() (*model.Report, error)

Last mocks base method

func (*MockReports) Save

func (m *MockReports) Save(arg0 *model.Report) error

Save mocks base method

type MockReportsMockRecorder

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

MockReportsMockRecorder is the mock recorder for MockReports

func (*MockReportsMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockReportsMockRecorder) DeleteByKinds

func (mr *MockReportsMockRecorder) DeleteByKinds(arg0 interface{}) *gomock.Call

DeleteByKinds indicates an expected call of DeleteByKinds

func (*MockReportsMockRecorder) FindNotCompletedByIndexVersion

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

FindNotCompletedByIndexVersion indicates an expected call of FindNotCompletedByIndexVersion

func (*MockReportsMockRecorder) FindNotCompletedByKind

func (mr *MockReportsMockRecorder) FindNotCompletedByKind(arg0 ...interface{}) *gomock.Call

FindNotCompletedByKind indicates an expected call of FindNotCompletedByKind

func (*MockReportsMockRecorder) Last

func (mr *MockReportsMockRecorder) Last() *gomock.Call

Last indicates an expected call of Last

func (*MockReportsMockRecorder) Save

func (mr *MockReportsMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockSyncables

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

MockSyncables is a mock of Syncables interface

func NewMockSyncables

func NewMockSyncables(ctrl *gomock.Controller) *MockSyncables

NewMockSyncables creates a new mock instance

func (*MockSyncables) CreateOrUpdate

func (m *MockSyncables) CreateOrUpdate(arg0 *model.Syncable) error

CreateOrUpdate mocks base method

func (*MockSyncables) EXPECT

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

func (*MockSyncables) FindByHeight

func (m *MockSyncables) FindByHeight(arg0 int64) (*model.Syncable, error)

FindByHeight mocks base method

func (*MockSyncables) FindFirstByDifferentIndexVersion

func (m *MockSyncables) FindFirstByDifferentIndexVersion(arg0 int64) (*model.Syncable, error)

FindFirstByDifferentIndexVersion mocks base method

func (*MockSyncables) FindLastInEpoch

func (m *MockSyncables) FindLastInEpoch(arg0 int64) (*model.Syncable, error)

FindLastInEpoch mocks base method

func (*MockSyncables) FindLastInEpochForHeight

func (m *MockSyncables) FindLastInEpochForHeight(arg0 int64) (*model.Syncable, error)

FindLastInEpochForHeight mocks base method

func (*MockSyncables) FindMostRecent

func (m *MockSyncables) FindMostRecent() (*model.Syncable, error)

FindMostRecent mocks base method

func (*MockSyncables) FindMostRecentByDifferentIndexVersion

func (m *MockSyncables) FindMostRecentByDifferentIndexVersion(arg0 int64) (*model.Syncable, error)

FindMostRecentByDifferentIndexVersion mocks base method

func (*MockSyncables) FindMostRecentProcessed added in v0.2.1

func (m *MockSyncables) FindMostRecentProcessed() (*model.Syncable, error)

FindMostRecentProcessed mocks base method

func (*MockSyncables) FindSmallestIndexVersion

func (m *MockSyncables) FindSmallestIndexVersion() (*int64, error)

FindSmallestIndexVersion mocks base method

func (*MockSyncables) Save

func (m *MockSyncables) Save(arg0 *model.Syncable) error

Save mocks base method

func (*MockSyncables) SetProcessedAtForRange

func (m *MockSyncables) SetProcessedAtForRange(arg0 types.ID, arg1, arg2 int64) error

SetProcessedAtForRange mocks base method

type MockSyncablesMockRecorder

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

MockSyncablesMockRecorder is the mock recorder for MockSyncables

func (*MockSyncablesMockRecorder) CreateOrUpdate

func (mr *MockSyncablesMockRecorder) CreateOrUpdate(arg0 interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockSyncablesMockRecorder) FindByHeight

func (mr *MockSyncablesMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call

FindByHeight indicates an expected call of FindByHeight

func (*MockSyncablesMockRecorder) FindFirstByDifferentIndexVersion

func (mr *MockSyncablesMockRecorder) FindFirstByDifferentIndexVersion(arg0 interface{}) *gomock.Call

FindFirstByDifferentIndexVersion indicates an expected call of FindFirstByDifferentIndexVersion

func (*MockSyncablesMockRecorder) FindLastInEpoch

func (mr *MockSyncablesMockRecorder) FindLastInEpoch(arg0 interface{}) *gomock.Call

FindLastInEpoch indicates an expected call of FindLastInEpoch

func (*MockSyncablesMockRecorder) FindLastInEpochForHeight

func (mr *MockSyncablesMockRecorder) FindLastInEpochForHeight(arg0 interface{}) *gomock.Call

FindLastInEpochForHeight indicates an expected call of FindLastInEpochForHeight

func (*MockSyncablesMockRecorder) FindMostRecent

func (mr *MockSyncablesMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockSyncablesMockRecorder) FindMostRecentByDifferentIndexVersion

func (mr *MockSyncablesMockRecorder) FindMostRecentByDifferentIndexVersion(arg0 interface{}) *gomock.Call

FindMostRecentByDifferentIndexVersion indicates an expected call of FindMostRecentByDifferentIndexVersion

func (*MockSyncablesMockRecorder) FindMostRecentProcessed added in v0.2.1

func (mr *MockSyncablesMockRecorder) FindMostRecentProcessed() *gomock.Call

FindMostRecentProcessed indicates an expected call of FindMostRecentProcessed

func (*MockSyncablesMockRecorder) FindSmallestIndexVersion

func (mr *MockSyncablesMockRecorder) FindSmallestIndexVersion() *gomock.Call

FindSmallestIndexVersion indicates an expected call of FindSmallestIndexVersion

func (*MockSyncablesMockRecorder) Save

func (mr *MockSyncablesMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

func (*MockSyncablesMockRecorder) SetProcessedAtForRange

func (mr *MockSyncablesMockRecorder) SetProcessedAtForRange(arg0, arg1, arg2 interface{}) *gomock.Call

SetProcessedAtForRange indicates an expected call of SetProcessedAtForRange

type MockSystemEvents

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

MockSystemEvents is a mock of SystemEvents interface

func NewMockSystemEvents

func NewMockSystemEvents(ctrl *gomock.Controller) *MockSystemEvents

NewMockSystemEvents creates a new mock instance

func (*MockSystemEvents) BulkUpsert

func (m *MockSystemEvents) BulkUpsert(arg0 []model.SystemEvent) error

BulkUpsert mocks base method

func (*MockSystemEvents) DeleteOlderThan

func (m *MockSystemEvents) DeleteOlderThan(arg0 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockSystemEvents) EXPECT

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

func (*MockSystemEvents) FindAll added in v0.2.0

FindAll mocks base method

func (*MockSystemEvents) FindByActor

FindByActor mocks base method

func (*MockSystemEvents) FindByHeight

func (m *MockSystemEvents) FindByHeight(arg0 int64) ([]model.SystemEvent, error)

FindByHeight mocks base method

func (*MockSystemEvents) FindMostRecent

func (m *MockSystemEvents) FindMostRecent() (*model.SystemEvent, error)

FindMostRecent mocks base method

func (*MockSystemEvents) FindUnique

func (m *MockSystemEvents) FindUnique(arg0 int64, arg1 string, arg2 model.SystemEventKind) (*model.SystemEvent, error)

FindUnique mocks base method

type MockSystemEventsMockRecorder

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

MockSystemEventsMockRecorder is the mock recorder for MockSystemEvents

func (*MockSystemEventsMockRecorder) BulkUpsert

func (mr *MockSystemEventsMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockSystemEventsMockRecorder) DeleteOlderThan

func (mr *MockSystemEventsMockRecorder) DeleteOlderThan(arg0 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockSystemEventsMockRecorder) FindAll added in v0.2.0

func (mr *MockSystemEventsMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockSystemEventsMockRecorder) FindByActor

func (mr *MockSystemEventsMockRecorder) FindByActor(arg0, arg1 interface{}) *gomock.Call

FindByActor indicates an expected call of FindByActor

func (*MockSystemEventsMockRecorder) FindByHeight

func (mr *MockSystemEventsMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call

FindByHeight indicates an expected call of FindByHeight

func (*MockSystemEventsMockRecorder) FindMostRecent

func (mr *MockSystemEventsMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockSystemEventsMockRecorder) FindUnique

func (mr *MockSystemEventsMockRecorder) FindUnique(arg0, arg1, arg2 interface{}) *gomock.Call

FindUnique indicates an expected call of FindUnique

type MockValidatorAgg

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

MockValidatorAgg is a mock of ValidatorAgg interface

func NewMockValidatorAgg

func NewMockValidatorAgg(ctrl *gomock.Controller) *MockValidatorAgg

NewMockValidatorAgg creates a new mock instance

func (*MockValidatorAgg) All

func (m *MockValidatorAgg) All() ([]model.ValidatorAgg, error)

All mocks base method

func (*MockValidatorAgg) BulkUpsert added in v0.3.0

func (m *MockValidatorAgg) BulkUpsert(arg0 []model.ValidatorAgg) error

BulkUpsert mocks base method

func (*MockValidatorAgg) EXPECT

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

func (*MockValidatorAgg) FindBy

func (m *MockValidatorAgg) FindBy(arg0 string, arg1 interface{}) (*model.ValidatorAgg, error)

FindBy mocks base method

func (*MockValidatorAgg) FindByAddress

func (m *MockValidatorAgg) FindByAddress(arg0 string) (*model.ValidatorAgg, error)

FindByAddress mocks base method

func (*MockValidatorAgg) FindByID

func (m *MockValidatorAgg) FindByID(arg0 int64) (*model.ValidatorAgg, error)

FindByID mocks base method

func (*MockValidatorAgg) GetAllForHeightGreaterThan

func (m *MockValidatorAgg) GetAllForHeightGreaterThan(arg0 int64) ([]model.ValidatorAgg, error)

GetAllForHeightGreaterThan mocks base method

func (*MockValidatorAgg) UpdateIdentity added in v0.2.0

func (m *MockValidatorAgg) UpdateIdentity(arg0 *model.ValidatorAgg) error

UpdateIdentity mocks base method

type MockValidatorAggMockRecorder

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

MockValidatorAggMockRecorder is the mock recorder for MockValidatorAgg

func (*MockValidatorAggMockRecorder) All

All indicates an expected call of All

func (*MockValidatorAggMockRecorder) BulkUpsert added in v0.3.0

func (mr *MockValidatorAggMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockValidatorAggMockRecorder) FindBy

func (mr *MockValidatorAggMockRecorder) FindBy(arg0, arg1 interface{}) *gomock.Call

FindBy indicates an expected call of FindBy

func (*MockValidatorAggMockRecorder) FindByAddress

func (mr *MockValidatorAggMockRecorder) FindByAddress(arg0 interface{}) *gomock.Call

FindByAddress indicates an expected call of FindByAddress

func (*MockValidatorAggMockRecorder) FindByID

func (mr *MockValidatorAggMockRecorder) FindByID(arg0 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockValidatorAggMockRecorder) GetAllForHeightGreaterThan

func (mr *MockValidatorAggMockRecorder) GetAllForHeightGreaterThan(arg0 interface{}) *gomock.Call

GetAllForHeightGreaterThan indicates an expected call of GetAllForHeightGreaterThan

func (*MockValidatorAggMockRecorder) UpdateIdentity added in v0.2.0

func (mr *MockValidatorAggMockRecorder) UpdateIdentity(arg0 interface{}) *gomock.Call

UpdateIdentity indicates an expected call of UpdateIdentity

type MockValidatorGroupAgg

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

MockValidatorGroupAgg is a mock of ValidatorGroupAgg interface

func NewMockValidatorGroupAgg

func NewMockValidatorGroupAgg(ctrl *gomock.Controller) *MockValidatorGroupAgg

NewMockValidatorGroupAgg creates a new mock instance

func (*MockValidatorGroupAgg) All

All mocks base method

func (*MockValidatorGroupAgg) BulkUpsert added in v0.3.1

func (m *MockValidatorGroupAgg) BulkUpsert(arg0 []model.ValidatorGroupAgg) error

BulkUpsert mocks base method

func (*MockValidatorGroupAgg) EXPECT

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

func (*MockValidatorGroupAgg) FindBy

func (m *MockValidatorGroupAgg) FindBy(arg0 string, arg1 interface{}) (*model.ValidatorGroupAgg, error)

FindBy mocks base method

func (*MockValidatorGroupAgg) FindByAddress

func (m *MockValidatorGroupAgg) FindByAddress(arg0 string) (*model.ValidatorGroupAgg, error)

FindByAddress mocks base method

func (*MockValidatorGroupAgg) FindByID

FindByID mocks base method

func (*MockValidatorGroupAgg) UpdateIdentity added in v0.2.0

func (m *MockValidatorGroupAgg) UpdateIdentity(arg0 *model.ValidatorGroupAgg) error

UpdateIdentity mocks base method

type MockValidatorGroupAggMockRecorder

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

MockValidatorGroupAggMockRecorder is the mock recorder for MockValidatorGroupAgg

func (*MockValidatorGroupAggMockRecorder) All

All indicates an expected call of All

func (*MockValidatorGroupAggMockRecorder) BulkUpsert added in v0.3.1

func (mr *MockValidatorGroupAggMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockValidatorGroupAggMockRecorder) FindBy

func (mr *MockValidatorGroupAggMockRecorder) FindBy(arg0, arg1 interface{}) *gomock.Call

FindBy indicates an expected call of FindBy

func (*MockValidatorGroupAggMockRecorder) FindByAddress

func (mr *MockValidatorGroupAggMockRecorder) FindByAddress(arg0 interface{}) *gomock.Call

FindByAddress indicates an expected call of FindByAddress

func (*MockValidatorGroupAggMockRecorder) FindByID

func (mr *MockValidatorGroupAggMockRecorder) FindByID(arg0 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockValidatorGroupAggMockRecorder) UpdateIdentity added in v0.2.0

func (mr *MockValidatorGroupAggMockRecorder) UpdateIdentity(arg0 interface{}) *gomock.Call

UpdateIdentity indicates an expected call of UpdateIdentity

type MockValidatorGroupSeq

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

MockValidatorGroupSeq is a mock of ValidatorGroupSeq interface

func NewMockValidatorGroupSeq

func NewMockValidatorGroupSeq(ctrl *gomock.Controller) *MockValidatorGroupSeq

NewMockValidatorGroupSeq creates a new mock instance

func (*MockValidatorGroupSeq) BulkUpsert

func (m *MockValidatorGroupSeq) BulkUpsert(arg0 []model.ValidatorGroupSeq) error

BulkUpsert mocks base method

func (*MockValidatorGroupSeq) DeleteOlderThan

func (m *MockValidatorGroupSeq) DeleteOlderThan(arg0 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockValidatorGroupSeq) EXPECT

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

func (*MockValidatorGroupSeq) FindByHeight

func (m *MockValidatorGroupSeq) FindByHeight(arg0 int64) ([]model.ValidatorGroupSeq, error)

FindByHeight mocks base method

func (*MockValidatorGroupSeq) FindByHeightAndAddress

func (m *MockValidatorGroupSeq) FindByHeightAndAddress(arg0 int64, arg1 string) (*model.ValidatorGroupSeq, error)

FindByHeightAndAddress mocks base method

func (*MockValidatorGroupSeq) FindLastByAddress

func (m *MockValidatorGroupSeq) FindLastByAddress(arg0 string, arg1 int64) ([]model.ValidatorGroupSeq, error)

FindLastByAddress mocks base method

func (*MockValidatorGroupSeq) FindMostRecent

func (m *MockValidatorGroupSeq) FindMostRecent() (*model.ValidatorGroupSeq, error)

FindMostRecent mocks base method

func (*MockValidatorGroupSeq) Summarize

Summarize mocks base method

type MockValidatorGroupSeqMockRecorder

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

MockValidatorGroupSeqMockRecorder is the mock recorder for MockValidatorGroupSeq

func (*MockValidatorGroupSeqMockRecorder) BulkUpsert

func (mr *MockValidatorGroupSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockValidatorGroupSeqMockRecorder) DeleteOlderThan

func (mr *MockValidatorGroupSeqMockRecorder) DeleteOlderThan(arg0 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockValidatorGroupSeqMockRecorder) FindByHeight

func (mr *MockValidatorGroupSeqMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call

FindByHeight indicates an expected call of FindByHeight

func (*MockValidatorGroupSeqMockRecorder) FindByHeightAndAddress

func (mr *MockValidatorGroupSeqMockRecorder) FindByHeightAndAddress(arg0, arg1 interface{}) *gomock.Call

FindByHeightAndAddress indicates an expected call of FindByHeightAndAddress

func (*MockValidatorGroupSeqMockRecorder) FindLastByAddress

func (mr *MockValidatorGroupSeqMockRecorder) FindLastByAddress(arg0, arg1 interface{}) *gomock.Call

FindLastByAddress indicates an expected call of FindLastByAddress

func (*MockValidatorGroupSeqMockRecorder) FindMostRecent

func (mr *MockValidatorGroupSeqMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockValidatorGroupSeqMockRecorder) Summarize

func (mr *MockValidatorGroupSeqMockRecorder) Summarize(arg0, arg1 interface{}) *gomock.Call

Summarize indicates an expected call of Summarize

type MockValidatorGroupSummary

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

MockValidatorGroupSummary is a mock of ValidatorGroupSummary interface

func NewMockValidatorGroupSummary

func NewMockValidatorGroupSummary(ctrl *gomock.Controller) *MockValidatorGroupSummary

NewMockValidatorGroupSummary creates a new mock instance

func (*MockValidatorGroupSummary) BulkUpsert

BulkUpsert mocks base method

func (*MockValidatorGroupSummary) DeleteOlderThan

func (m *MockValidatorGroupSummary) DeleteOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockValidatorGroupSummary) EXPECT

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

func (*MockValidatorGroupSummary) Find

Find mocks base method

func (*MockValidatorGroupSummary) FindActivityPeriods

func (m *MockValidatorGroupSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)

FindActivityPeriods mocks base method

func (*MockValidatorGroupSummary) FindMostRecent

FindMostRecent mocks base method

func (*MockValidatorGroupSummary) FindMostRecentByInterval

func (m *MockValidatorGroupSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.ValidatorGroupSummary, error)

FindMostRecentByInterval mocks base method

func (*MockValidatorGroupSummary) FindSummary

FindSummary mocks base method

func (*MockValidatorGroupSummary) FindSummaryByAddress

func (m *MockValidatorGroupSummary) FindSummaryByAddress(arg0 string, arg1 types.SummaryInterval, arg2 string) ([]model.ValidatorGroupSummary, error)

FindSummaryByAddress mocks base method

type MockValidatorGroupSummaryMockRecorder

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

MockValidatorGroupSummaryMockRecorder is the mock recorder for MockValidatorGroupSummary

func (*MockValidatorGroupSummaryMockRecorder) BulkUpsert

func (mr *MockValidatorGroupSummaryMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockValidatorGroupSummaryMockRecorder) DeleteOlderThan

func (mr *MockValidatorGroupSummaryMockRecorder) DeleteOlderThan(arg0, arg1 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockValidatorGroupSummaryMockRecorder) Find

func (mr *MockValidatorGroupSummaryMockRecorder) Find(arg0 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockValidatorGroupSummaryMockRecorder) FindActivityPeriods

func (mr *MockValidatorGroupSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call

FindActivityPeriods indicates an expected call of FindActivityPeriods

func (*MockValidatorGroupSummaryMockRecorder) FindMostRecent

func (mr *MockValidatorGroupSummaryMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockValidatorGroupSummaryMockRecorder) FindMostRecentByInterval

func (mr *MockValidatorGroupSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call

FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval

func (*MockValidatorGroupSummaryMockRecorder) FindSummary

func (mr *MockValidatorGroupSummaryMockRecorder) FindSummary(arg0, arg1 interface{}) *gomock.Call

FindSummary indicates an expected call of FindSummary

func (*MockValidatorGroupSummaryMockRecorder) FindSummaryByAddress

func (mr *MockValidatorGroupSummaryMockRecorder) FindSummaryByAddress(arg0, arg1, arg2 interface{}) *gomock.Call

FindSummaryByAddress indicates an expected call of FindSummaryByAddress

type MockValidatorSeq

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

MockValidatorSeq is a mock of ValidatorSeq interface

func NewMockValidatorSeq

func NewMockValidatorSeq(ctrl *gomock.Controller) *MockValidatorSeq

NewMockValidatorSeq creates a new mock instance

func (*MockValidatorSeq) BulkUpsert

func (m *MockValidatorSeq) BulkUpsert(arg0 []model.ValidatorSeq) error

BulkUpsert mocks base method

func (*MockValidatorSeq) DeleteOlderThan

func (m *MockValidatorSeq) DeleteOlderThan(arg0 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockValidatorSeq) EXPECT

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

func (*MockValidatorSeq) FindByHeight

func (m *MockValidatorSeq) FindByHeight(arg0 int64) ([]model.ValidatorSeq, error)

FindByHeight mocks base method

func (*MockValidatorSeq) FindByHeightAndAddress

func (m *MockValidatorSeq) FindByHeightAndAddress(arg0 int64, arg1 string) (*model.ValidatorSeq, error)

FindByHeightAndAddress mocks base method

func (*MockValidatorSeq) FindLastByAddress

func (m *MockValidatorSeq) FindLastByAddress(arg0 string, arg1 int64) ([]model.ValidatorSeq, error)

FindLastByAddress mocks base method

func (*MockValidatorSeq) FindMostRecent

func (m *MockValidatorSeq) FindMostRecent() (*model.ValidatorSeq, error)

FindMostRecent mocks base method

func (*MockValidatorSeq) Summarize

Summarize mocks base method

type MockValidatorSeqMockRecorder

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

MockValidatorSeqMockRecorder is the mock recorder for MockValidatorSeq

func (*MockValidatorSeqMockRecorder) BulkUpsert

func (mr *MockValidatorSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockValidatorSeqMockRecorder) DeleteOlderThan

func (mr *MockValidatorSeqMockRecorder) DeleteOlderThan(arg0 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockValidatorSeqMockRecorder) FindByHeight

func (mr *MockValidatorSeqMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call

FindByHeight indicates an expected call of FindByHeight

func (*MockValidatorSeqMockRecorder) FindByHeightAndAddress

func (mr *MockValidatorSeqMockRecorder) FindByHeightAndAddress(arg0, arg1 interface{}) *gomock.Call

FindByHeightAndAddress indicates an expected call of FindByHeightAndAddress

func (*MockValidatorSeqMockRecorder) FindLastByAddress

func (mr *MockValidatorSeqMockRecorder) FindLastByAddress(arg0, arg1 interface{}) *gomock.Call

FindLastByAddress indicates an expected call of FindLastByAddress

func (*MockValidatorSeqMockRecorder) FindMostRecent

func (mr *MockValidatorSeqMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockValidatorSeqMockRecorder) Summarize

func (mr *MockValidatorSeqMockRecorder) Summarize(arg0, arg1 interface{}) *gomock.Call

Summarize indicates an expected call of Summarize

type MockValidatorSummary

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

MockValidatorSummary is a mock of ValidatorSummary interface

func NewMockValidatorSummary

func NewMockValidatorSummary(ctrl *gomock.Controller) *MockValidatorSummary

NewMockValidatorSummary creates a new mock instance

func (*MockValidatorSummary) BulkUpsert

func (m *MockValidatorSummary) BulkUpsert(arg0 []model.ValidatorSummary) error

BulkUpsert mocks base method

func (*MockValidatorSummary) DeleteOlderThan

func (m *MockValidatorSummary) DeleteOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)

DeleteOlderThan mocks base method

func (*MockValidatorSummary) EXPECT

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

func (*MockValidatorSummary) Find

Find mocks base method

func (*MockValidatorSummary) FindActivityPeriods

func (m *MockValidatorSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)

FindActivityPeriods mocks base method

func (*MockValidatorSummary) FindMostRecent

func (m *MockValidatorSummary) FindMostRecent() (*model.ValidatorSummary, error)

FindMostRecent mocks base method

func (*MockValidatorSummary) FindMostRecentByInterval

func (m *MockValidatorSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.ValidatorSummary, error)

FindMostRecentByInterval mocks base method

func (*MockValidatorSummary) FindSummary

FindSummary mocks base method

func (*MockValidatorSummary) FindSummaryByAddress

func (m *MockValidatorSummary) FindSummaryByAddress(arg0 string, arg1 types.SummaryInterval, arg2 string) ([]model.ValidatorSummary, error)

FindSummaryByAddress mocks base method

type MockValidatorSummaryMockRecorder

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

MockValidatorSummaryMockRecorder is the mock recorder for MockValidatorSummary

func (*MockValidatorSummaryMockRecorder) BulkUpsert

func (mr *MockValidatorSummaryMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call

BulkUpsert indicates an expected call of BulkUpsert

func (*MockValidatorSummaryMockRecorder) DeleteOlderThan

func (mr *MockValidatorSummaryMockRecorder) DeleteOlderThan(arg0, arg1 interface{}) *gomock.Call

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockValidatorSummaryMockRecorder) Find

func (mr *MockValidatorSummaryMockRecorder) Find(arg0 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockValidatorSummaryMockRecorder) FindActivityPeriods

func (mr *MockValidatorSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call

FindActivityPeriods indicates an expected call of FindActivityPeriods

func (*MockValidatorSummaryMockRecorder) FindMostRecent

func (mr *MockValidatorSummaryMockRecorder) FindMostRecent() *gomock.Call

FindMostRecent indicates an expected call of FindMostRecent

func (*MockValidatorSummaryMockRecorder) FindMostRecentByInterval

func (mr *MockValidatorSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call

FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval

func (*MockValidatorSummaryMockRecorder) FindSummary

func (mr *MockValidatorSummaryMockRecorder) FindSummary(arg0, arg1 interface{}) *gomock.Call

FindSummary indicates an expected call of FindSummary

func (*MockValidatorSummaryMockRecorder) FindSummaryByAddress

func (mr *MockValidatorSummaryMockRecorder) FindSummaryByAddress(arg0, arg1, arg2 interface{}) *gomock.Call

FindSummaryByAddress indicates an expected call of FindSummaryByAddress

Jump to

Keyboard shortcuts

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