mock_store

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 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 MockAccountAggStore

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

MockAccountAggStore is a mock of AccountAggStore interface

func NewMockAccountAggStore

func NewMockAccountAggStore(ctrl *gomock.Controller) *MockAccountAggStore

NewMockAccountAggStore creates a new mock instance

func (*MockAccountAggStore) Create

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

Create mocks base method

func (*MockAccountAggStore) EXPECT

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

func (*MockAccountAggStore) FindBy

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

FindBy mocks base method

func (*MockAccountAggStore) FindByPublicKey

func (m *MockAccountAggStore) FindByPublicKey(arg0 string) (*model.AccountAgg, error)

FindByPublicKey mocks base method

func (*MockAccountAggStore) Save

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

Save mocks base method

func (*MockAccountAggStore) Update

func (m *MockAccountAggStore) Update(arg0 interface{}) error

Update mocks base method

type MockAccountAggStoreMockRecorder

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

MockAccountAggStoreMockRecorder is the mock recorder for MockAccountAggStore

func (*MockAccountAggStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockAccountAggStoreMockRecorder) FindBy

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

FindBy indicates an expected call of FindBy

func (*MockAccountAggStoreMockRecorder) FindByPublicKey

func (mr *MockAccountAggStoreMockRecorder) FindByPublicKey(arg0 interface{}) *gomock.Call

FindByPublicKey indicates an expected call of FindByPublicKey

func (*MockAccountAggStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockAccountAggStoreMockRecorder) Update

func (mr *MockAccountAggStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockBlockSeqStore

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

MockBlockSeqStore is a mock of BlockSeqStore interface

func NewMockBlockSeqStore

func NewMockBlockSeqStore(ctrl *gomock.Controller) *MockBlockSeqStore

NewMockBlockSeqStore creates a new mock instance

func (*MockBlockSeqStore) Create

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

Create mocks base method

func (*MockBlockSeqStore) DeleteOlderThan

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

DeleteOlderThan mocks base method

func (*MockBlockSeqStore) EXPECT

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

func (*MockBlockSeqStore) FindBy

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

FindBy mocks base method

func (*MockBlockSeqStore) FindByHeight

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

FindByHeight mocks base method

func (*MockBlockSeqStore) FindMostRecent

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

FindMostRecent mocks base method

func (*MockBlockSeqStore) GetAvgRecentTimes

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

GetAvgRecentTimes mocks base method

func (*MockBlockSeqStore) Save

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

Save mocks base method

func (*MockBlockSeqStore) Summarize

Summarize mocks base method

func (*MockBlockSeqStore) Update

func (m *MockBlockSeqStore) Update(arg0 interface{}) error

Update mocks base method

type MockBlockSeqStoreMockRecorder

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

MockBlockSeqStoreMockRecorder is the mock recorder for MockBlockSeqStore

func (*MockBlockSeqStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockBlockSeqStoreMockRecorder) DeleteOlderThan

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

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockBlockSeqStoreMockRecorder) FindBy

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

FindBy indicates an expected call of FindBy

func (*MockBlockSeqStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockBlockSeqStoreMockRecorder) FindMostRecent

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

FindMostRecent indicates an expected call of FindMostRecent

func (*MockBlockSeqStoreMockRecorder) GetAvgRecentTimes

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

GetAvgRecentTimes indicates an expected call of GetAvgRecentTimes

func (*MockBlockSeqStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockBlockSeqStoreMockRecorder) Summarize

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

Summarize indicates an expected call of Summarize

func (*MockBlockSeqStoreMockRecorder) Update

func (mr *MockBlockSeqStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockBlockSummaryStore

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

MockBlockSummaryStore is a mock of BlockSummaryStore interface

func NewMockBlockSummaryStore

func NewMockBlockSummaryStore(ctrl *gomock.Controller) *MockBlockSummaryStore

NewMockBlockSummaryStore creates a new mock instance

func (*MockBlockSummaryStore) Create

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

Create mocks base method

func (*MockBlockSummaryStore) DeleteOlderThan

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

DeleteOlderThan mocks base method

func (*MockBlockSummaryStore) EXPECT

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

func (*MockBlockSummaryStore) Find

Find mocks base method

func (*MockBlockSummaryStore) FindActivityPeriods

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

FindActivityPeriods mocks base method

func (*MockBlockSummaryStore) FindMostRecentByInterval

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

FindMostRecentByInterval mocks base method

func (*MockBlockSummaryStore) FindSummary

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

FindSummary mocks base method

func (*MockBlockSummaryStore) Save

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

Save mocks base method

func (*MockBlockSummaryStore) Update

func (m *MockBlockSummaryStore) Update(arg0 interface{}) error

Update mocks base method

type MockBlockSummaryStoreMockRecorder

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

MockBlockSummaryStoreMockRecorder is the mock recorder for MockBlockSummaryStore

func (*MockBlockSummaryStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockBlockSummaryStoreMockRecorder) DeleteOlderThan

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

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockBlockSummaryStoreMockRecorder) Find

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

Find indicates an expected call of Find

func (*MockBlockSummaryStoreMockRecorder) FindActivityPeriods

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

FindActivityPeriods indicates an expected call of FindActivityPeriods

func (*MockBlockSummaryStoreMockRecorder) FindMostRecentByInterval

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

FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval

func (*MockBlockSummaryStoreMockRecorder) FindSummary

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

FindSummary indicates an expected call of FindSummary

func (*MockBlockSummaryStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockBlockSummaryStoreMockRecorder) Update

func (mr *MockBlockSummaryStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockDatabaseStore

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

MockDatabaseStore is a mock of DatabaseStore interface

func NewMockDatabaseStore

func NewMockDatabaseStore(ctrl *gomock.Controller) *MockDatabaseStore

NewMockDatabaseStore creates a new mock instance

func (*MockDatabaseStore) EXPECT

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

func (*MockDatabaseStore) GetTotalSize

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

GetTotalSize mocks base method

type MockDatabaseStoreMockRecorder

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

MockDatabaseStoreMockRecorder is the mock recorder for MockDatabaseStore

func (*MockDatabaseStoreMockRecorder) GetTotalSize

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

GetTotalSize indicates an expected call of GetTotalSize

type MockDebondingDelegationSeqStore

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

MockDebondingDelegationSeqStore is a mock of DebondingDelegationSeqStore interface

func NewMockDebondingDelegationSeqStore

func NewMockDebondingDelegationSeqStore(ctrl *gomock.Controller) *MockDebondingDelegationSeqStore

NewMockDebondingDelegationSeqStore creates a new mock instance

func (*MockDebondingDelegationSeqStore) Create

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

Create mocks base method

func (*MockDebondingDelegationSeqStore) EXPECT

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

func (*MockDebondingDelegationSeqStore) FindByHeight

FindByHeight mocks base method

func (*MockDebondingDelegationSeqStore) FindRecentByDelegatorUID

func (m *MockDebondingDelegationSeqStore) FindRecentByDelegatorUID(arg0 string, arg1 int64) ([]model.DebondingDelegationSeq, error)

FindRecentByDelegatorUID mocks base method

func (*MockDebondingDelegationSeqStore) FindRecentByValidatorUID

func (m *MockDebondingDelegationSeqStore) FindRecentByValidatorUID(arg0 string, arg1 int64) ([]model.DebondingDelegationSeq, error)

FindRecentByValidatorUID mocks base method

func (*MockDebondingDelegationSeqStore) Save

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

Save mocks base method

func (*MockDebondingDelegationSeqStore) Update

func (m *MockDebondingDelegationSeqStore) Update(arg0 interface{}) error

Update mocks base method

type MockDebondingDelegationSeqStoreMockRecorder

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

MockDebondingDelegationSeqStoreMockRecorder is the mock recorder for MockDebondingDelegationSeqStore

func (*MockDebondingDelegationSeqStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockDebondingDelegationSeqStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockDebondingDelegationSeqStoreMockRecorder) FindRecentByDelegatorUID

func (mr *MockDebondingDelegationSeqStoreMockRecorder) FindRecentByDelegatorUID(arg0, arg1 interface{}) *gomock.Call

FindRecentByDelegatorUID indicates an expected call of FindRecentByDelegatorUID

func (*MockDebondingDelegationSeqStoreMockRecorder) FindRecentByValidatorUID

func (mr *MockDebondingDelegationSeqStoreMockRecorder) FindRecentByValidatorUID(arg0, arg1 interface{}) *gomock.Call

FindRecentByValidatorUID indicates an expected call of FindRecentByValidatorUID

func (*MockDebondingDelegationSeqStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockDebondingDelegationSeqStoreMockRecorder) Update

func (mr *MockDebondingDelegationSeqStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockDelegationSeqStore

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

MockDelegationSeqStore is a mock of DelegationSeqStore interface

func NewMockDelegationSeqStore

func NewMockDelegationSeqStore(ctrl *gomock.Controller) *MockDelegationSeqStore

NewMockDelegationSeqStore creates a new mock instance

func (*MockDelegationSeqStore) Create

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

Create mocks base method

func (*MockDelegationSeqStore) EXPECT

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

func (*MockDelegationSeqStore) FindByHeight

func (m *MockDelegationSeqStore) FindByHeight(arg0 int64) ([]model.DelegationSeq, error)

FindByHeight mocks base method

func (*MockDelegationSeqStore) FindCurrentByDelegatorUID

func (m *MockDelegationSeqStore) FindCurrentByDelegatorUID(arg0 string) ([]model.DelegationSeq, error)

FindCurrentByDelegatorUID mocks base method

func (*MockDelegationSeqStore) FindLastByValidatorUID

func (m *MockDelegationSeqStore) FindLastByValidatorUID(arg0 string) ([]model.DelegationSeq, error)

FindLastByValidatorUID mocks base method

func (*MockDelegationSeqStore) Save

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

Save mocks base method

func (*MockDelegationSeqStore) Update

func (m *MockDelegationSeqStore) Update(arg0 interface{}) error

Update mocks base method

type MockDelegationSeqStoreMockRecorder

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

MockDelegationSeqStoreMockRecorder is the mock recorder for MockDelegationSeqStore

func (*MockDelegationSeqStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockDelegationSeqStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockDelegationSeqStoreMockRecorder) FindCurrentByDelegatorUID

func (mr *MockDelegationSeqStoreMockRecorder) FindCurrentByDelegatorUID(arg0 interface{}) *gomock.Call

FindCurrentByDelegatorUID indicates an expected call of FindCurrentByDelegatorUID

func (*MockDelegationSeqStoreMockRecorder) FindLastByValidatorUID

func (mr *MockDelegationSeqStoreMockRecorder) FindLastByValidatorUID(arg0 interface{}) *gomock.Call

FindLastByValidatorUID indicates an expected call of FindLastByValidatorUID

func (*MockDelegationSeqStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockDelegationSeqStoreMockRecorder) Update

func (mr *MockDelegationSeqStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockReportsStore

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

MockReportsStore is a mock of ReportsStore interface

func NewMockReportsStore

func NewMockReportsStore(ctrl *gomock.Controller) *MockReportsStore

NewMockReportsStore creates a new mock instance

func (*MockReportsStore) Create

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

Create mocks base method

func (*MockReportsStore) DeleteByKinds

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

DeleteByKinds mocks base method

func (*MockReportsStore) EXPECT

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

func (*MockReportsStore) FindNotCompletedByIndexVersion

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

FindNotCompletedByIndexVersion mocks base method

func (*MockReportsStore) FindNotCompletedByKind

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

FindNotCompletedByKind mocks base method

func (*MockReportsStore) Last

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

Last mocks base method

func (*MockReportsStore) Save

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

Save mocks base method

func (*MockReportsStore) Update

func (m *MockReportsStore) Update(arg0 interface{}) error

Update mocks base method

type MockReportsStoreMockRecorder

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

MockReportsStoreMockRecorder is the mock recorder for MockReportsStore

func (*MockReportsStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockReportsStoreMockRecorder) DeleteByKinds

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

DeleteByKinds indicates an expected call of DeleteByKinds

func (*MockReportsStoreMockRecorder) FindNotCompletedByIndexVersion

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

FindNotCompletedByIndexVersion indicates an expected call of FindNotCompletedByIndexVersion

func (*MockReportsStoreMockRecorder) FindNotCompletedByKind

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

FindNotCompletedByKind indicates an expected call of FindNotCompletedByKind

func (*MockReportsStoreMockRecorder) Last

Last indicates an expected call of Last

func (*MockReportsStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockReportsStoreMockRecorder) Update

func (mr *MockReportsStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockStakingSeqStore

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

MockStakingSeqStore is a mock of StakingSeqStore interface

func NewMockStakingSeqStore

func NewMockStakingSeqStore(ctrl *gomock.Controller) *MockStakingSeqStore

NewMockStakingSeqStore creates a new mock instance

func (*MockStakingSeqStore) Create

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

Create mocks base method

func (*MockStakingSeqStore) EXPECT

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

func (*MockStakingSeqStore) FindBy

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

FindBy mocks base method

func (*MockStakingSeqStore) FindByHeight

func (m *MockStakingSeqStore) FindByHeight(arg0 int64) (*model.StakingSeq, error)

FindByHeight mocks base method

func (*MockStakingSeqStore) Recent

func (m *MockStakingSeqStore) Recent() (*model.StakingSeq, error)

Recent mocks base method

func (*MockStakingSeqStore) Save

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

Save mocks base method

func (*MockStakingSeqStore) Update

func (m *MockStakingSeqStore) Update(arg0 interface{}) error

Update mocks base method

type MockStakingSeqStoreMockRecorder

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

MockStakingSeqStoreMockRecorder is the mock recorder for MockStakingSeqStore

func (*MockStakingSeqStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockStakingSeqStoreMockRecorder) FindBy

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

FindBy indicates an expected call of FindBy

func (*MockStakingSeqStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockStakingSeqStoreMockRecorder) Recent

Recent indicates an expected call of Recent

func (*MockStakingSeqStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockStakingSeqStoreMockRecorder) Update

func (mr *MockStakingSeqStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockSyncablesStore

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

MockSyncablesStore is a mock of SyncablesStore interface

func NewMockSyncablesStore

func NewMockSyncablesStore(ctrl *gomock.Controller) *MockSyncablesStore

NewMockSyncablesStore creates a new mock instance

func (*MockSyncablesStore) Create

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

Create mocks base method

func (*MockSyncablesStore) CreateOrUpdate

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

CreateOrUpdate mocks base method

func (*MockSyncablesStore) EXPECT

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

func (*MockSyncablesStore) FindByHeight

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

FindByHeight mocks base method

func (*MockSyncablesStore) FindFirstByDifferentIndexVersion

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

FindFirstByDifferentIndexVersion mocks base method

func (*MockSyncablesStore) FindMostRecent

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

FindMostRecent mocks base method

func (*MockSyncablesStore) FindMostRecentByDifferentIndexVersion

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

FindMostRecentByDifferentIndexVersion mocks base method

func (*MockSyncablesStore) FindSmallestIndexVersion

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

FindSmallestIndexVersion mocks base method

func (*MockSyncablesStore) ResetProcessedAtForRange

func (m *MockSyncablesStore) ResetProcessedAtForRange(arg0, arg1 int64) error

ResetProcessedAtForRange mocks base method

func (*MockSyncablesStore) Save

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

Save mocks base method

func (*MockSyncablesStore) Update

func (m *MockSyncablesStore) Update(arg0 interface{}) error

Update mocks base method

type MockSyncablesStoreMockRecorder

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

MockSyncablesStoreMockRecorder is the mock recorder for MockSyncablesStore

func (*MockSyncablesStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockSyncablesStoreMockRecorder) CreateOrUpdate

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

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockSyncablesStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockSyncablesStoreMockRecorder) FindFirstByDifferentIndexVersion

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

FindFirstByDifferentIndexVersion indicates an expected call of FindFirstByDifferentIndexVersion

func (*MockSyncablesStoreMockRecorder) FindMostRecent

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

FindMostRecent indicates an expected call of FindMostRecent

func (*MockSyncablesStoreMockRecorder) FindMostRecentByDifferentIndexVersion

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

FindMostRecentByDifferentIndexVersion indicates an expected call of FindMostRecentByDifferentIndexVersion

func (*MockSyncablesStoreMockRecorder) FindSmallestIndexVersion

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

FindSmallestIndexVersion indicates an expected call of FindSmallestIndexVersion

func (*MockSyncablesStoreMockRecorder) ResetProcessedAtForRange

func (mr *MockSyncablesStoreMockRecorder) ResetProcessedAtForRange(arg0, arg1 interface{}) *gomock.Call

ResetProcessedAtForRange indicates an expected call of ResetProcessedAtForRange

func (*MockSyncablesStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockSyncablesStoreMockRecorder) Update

func (mr *MockSyncablesStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockSystemEventsStore

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

MockSystemEventsStore is a mock of SystemEventsStore interface

func NewMockSystemEventsStore

func NewMockSystemEventsStore(ctrl *gomock.Controller) *MockSystemEventsStore

NewMockSystemEventsStore creates a new mock instance

func (*MockSystemEventsStore) Create

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

Create mocks base method

func (*MockSystemEventsStore) CreateOrUpdate

func (m *MockSystemEventsStore) CreateOrUpdate(arg0 *model.SystemEvent) error

CreateOrUpdate mocks base method

func (*MockSystemEventsStore) DeleteOlderThan

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

DeleteOlderThan mocks base method

func (*MockSystemEventsStore) EXPECT

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

func (*MockSystemEventsStore) FindByActor

FindByActor mocks base method

func (*MockSystemEventsStore) FindByHeight

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

FindByHeight mocks base method

func (*MockSystemEventsStore) FindMostRecent

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

FindMostRecent mocks base method

func (*MockSystemEventsStore) FindUnique

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

FindUnique mocks base method

func (*MockSystemEventsStore) Save

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

Save mocks base method

func (*MockSystemEventsStore) Update

func (m *MockSystemEventsStore) Update(arg0 interface{}) error

Update mocks base method

type MockSystemEventsStoreMockRecorder

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

MockSystemEventsStoreMockRecorder is the mock recorder for MockSystemEventsStore

func (*MockSystemEventsStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockSystemEventsStoreMockRecorder) CreateOrUpdate

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

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockSystemEventsStoreMockRecorder) DeleteOlderThan

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

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockSystemEventsStoreMockRecorder) FindByActor

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

FindByActor indicates an expected call of FindByActor

func (*MockSystemEventsStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockSystemEventsStoreMockRecorder) FindMostRecent

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

FindMostRecent indicates an expected call of FindMostRecent

func (*MockSystemEventsStoreMockRecorder) FindUnique

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

FindUnique indicates an expected call of FindUnique

func (*MockSystemEventsStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockSystemEventsStoreMockRecorder) Update

func (mr *MockSystemEventsStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTransactionSeqStore

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

MockTransactionSeqStore is a mock of TransactionSeqStore interface

func NewMockTransactionSeqStore

func NewMockTransactionSeqStore(ctrl *gomock.Controller) *MockTransactionSeqStore

NewMockTransactionSeqStore creates a new mock instance

func (*MockTransactionSeqStore) Create

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

Create mocks base method

func (*MockTransactionSeqStore) EXPECT

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

func (*MockTransactionSeqStore) FindByHeight

func (m *MockTransactionSeqStore) FindByHeight(arg0 int64) ([]model.TransactionSeq, error)

FindByHeight mocks base method

func (*MockTransactionSeqStore) Save

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

Save mocks base method

func (*MockTransactionSeqStore) Update

func (m *MockTransactionSeqStore) Update(arg0 interface{}) error

Update mocks base method

type MockTransactionSeqStoreMockRecorder

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

MockTransactionSeqStoreMockRecorder is the mock recorder for MockTransactionSeqStore

func (*MockTransactionSeqStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockTransactionSeqStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockTransactionSeqStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockTransactionSeqStoreMockRecorder) Update

func (mr *MockTransactionSeqStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockValidatorAggStore

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

MockValidatorAggStore is a mock of ValidatorAggStore interface

func NewMockValidatorAggStore

func NewMockValidatorAggStore(ctrl *gomock.Controller) *MockValidatorAggStore

NewMockValidatorAggStore creates a new mock instance

func (*MockValidatorAggStore) Create

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

Create mocks base method

func (*MockValidatorAggStore) CreateOrUpdate

func (m *MockValidatorAggStore) CreateOrUpdate(arg0 *model.ValidatorAgg) error

CreateOrUpdate mocks base method

func (*MockValidatorAggStore) EXPECT

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

func (*MockValidatorAggStore) FindBy

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

FindBy mocks base method

func (*MockValidatorAggStore) FindByAddress

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

FindByAddress mocks base method

func (*MockValidatorAggStore) FindByEntityUID

func (m *MockValidatorAggStore) FindByEntityUID(arg0 string) (*model.ValidatorAgg, error)

FindByEntityUID mocks base method

func (*MockValidatorAggStore) GetAllForHeightGreaterThan

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

GetAllForHeightGreaterThan mocks base method

func (*MockValidatorAggStore) Save

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

Save mocks base method

func (*MockValidatorAggStore) Update

func (m *MockValidatorAggStore) Update(arg0 interface{}) error

Update mocks base method

type MockValidatorAggStoreMockRecorder

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

MockValidatorAggStoreMockRecorder is the mock recorder for MockValidatorAggStore

func (*MockValidatorAggStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockValidatorAggStoreMockRecorder) CreateOrUpdate

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

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockValidatorAggStoreMockRecorder) FindBy

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

FindBy indicates an expected call of FindBy

func (*MockValidatorAggStoreMockRecorder) FindByAddress

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

FindByAddress indicates an expected call of FindByAddress

func (*MockValidatorAggStoreMockRecorder) FindByEntityUID

func (mr *MockValidatorAggStoreMockRecorder) FindByEntityUID(arg0 interface{}) *gomock.Call

FindByEntityUID indicates an expected call of FindByEntityUID

func (*MockValidatorAggStoreMockRecorder) GetAllForHeightGreaterThan

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

GetAllForHeightGreaterThan indicates an expected call of GetAllForHeightGreaterThan

func (*MockValidatorAggStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockValidatorAggStoreMockRecorder) Update

func (mr *MockValidatorAggStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockValidatorSeqStore

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

MockValidatorSeqStore is a mock of ValidatorSeqStore interface

func NewMockValidatorSeqStore

func NewMockValidatorSeqStore(ctrl *gomock.Controller) *MockValidatorSeqStore

NewMockValidatorSeqStore creates a new mock instance

func (*MockValidatorSeqStore) Create

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

Create mocks base method

func (*MockValidatorSeqStore) DeleteOlderThan

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

DeleteOlderThan mocks base method

func (*MockValidatorSeqStore) EXPECT

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

func (*MockValidatorSeqStore) FindByHeight

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

FindByHeight mocks base method

func (*MockValidatorSeqStore) FindByHeightAndEntityUID

func (m *MockValidatorSeqStore) FindByHeightAndEntityUID(arg0 int64, arg1 string) (*model.ValidatorSeq, error)

FindByHeightAndEntityUID mocks base method

func (*MockValidatorSeqStore) FindLastByAddress

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

FindLastByAddress mocks base method

func (*MockValidatorSeqStore) FindMostRecent

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

FindMostRecent mocks base method

func (*MockValidatorSeqStore) Save

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

Save mocks base method

func (*MockValidatorSeqStore) Summarize

Summarize mocks base method

func (*MockValidatorSeqStore) Update

func (m *MockValidatorSeqStore) Update(arg0 interface{}) error

Update mocks base method

type MockValidatorSeqStoreMockRecorder

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

MockValidatorSeqStoreMockRecorder is the mock recorder for MockValidatorSeqStore

func (*MockValidatorSeqStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockValidatorSeqStoreMockRecorder) DeleteOlderThan

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

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockValidatorSeqStoreMockRecorder) FindByHeight

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

FindByHeight indicates an expected call of FindByHeight

func (*MockValidatorSeqStoreMockRecorder) FindByHeightAndEntityUID

func (mr *MockValidatorSeqStoreMockRecorder) FindByHeightAndEntityUID(arg0, arg1 interface{}) *gomock.Call

FindByHeightAndEntityUID indicates an expected call of FindByHeightAndEntityUID

func (*MockValidatorSeqStoreMockRecorder) FindLastByAddress

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

FindLastByAddress indicates an expected call of FindLastByAddress

func (*MockValidatorSeqStoreMockRecorder) FindMostRecent

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

FindMostRecent indicates an expected call of FindMostRecent

func (*MockValidatorSeqStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockValidatorSeqStoreMockRecorder) Summarize

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

Summarize indicates an expected call of Summarize

func (*MockValidatorSeqStoreMockRecorder) Update

func (mr *MockValidatorSeqStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockValidatorSummaryStore

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

MockValidatorSummaryStore is a mock of ValidatorSummaryStore interface

func NewMockValidatorSummaryStore

func NewMockValidatorSummaryStore(ctrl *gomock.Controller) *MockValidatorSummaryStore

NewMockValidatorSummaryStore creates a new mock instance

func (*MockValidatorSummaryStore) Create

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

Create mocks base method

func (*MockValidatorSummaryStore) DeleteOlderThan

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

DeleteOlderThan mocks base method

func (*MockValidatorSummaryStore) EXPECT

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

func (*MockValidatorSummaryStore) Find

Find mocks base method

func (*MockValidatorSummaryStore) FindActivityPeriods

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

FindActivityPeriods mocks base method

func (*MockValidatorSummaryStore) FindMostRecent

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

FindMostRecent mocks base method

func (*MockValidatorSummaryStore) FindMostRecentByInterval

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

FindMostRecentByInterval mocks base method

func (*MockValidatorSummaryStore) FindSummary

FindSummary mocks base method

func (*MockValidatorSummaryStore) FindSummaryByAddress

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

FindSummaryByAddress mocks base method

func (*MockValidatorSummaryStore) Save

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

Save mocks base method

func (*MockValidatorSummaryStore) Update

func (m *MockValidatorSummaryStore) Update(arg0 interface{}) error

Update mocks base method

type MockValidatorSummaryStoreMockRecorder

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

MockValidatorSummaryStoreMockRecorder is the mock recorder for MockValidatorSummaryStore

func (*MockValidatorSummaryStoreMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockValidatorSummaryStoreMockRecorder) DeleteOlderThan

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

DeleteOlderThan indicates an expected call of DeleteOlderThan

func (*MockValidatorSummaryStoreMockRecorder) Find

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

Find indicates an expected call of Find

func (*MockValidatorSummaryStoreMockRecorder) FindActivityPeriods

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

FindActivityPeriods indicates an expected call of FindActivityPeriods

func (*MockValidatorSummaryStoreMockRecorder) FindMostRecent

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

FindMostRecent indicates an expected call of FindMostRecent

func (*MockValidatorSummaryStoreMockRecorder) FindMostRecentByInterval

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

FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval

func (*MockValidatorSummaryStoreMockRecorder) FindSummary

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

FindSummary indicates an expected call of FindSummary

func (*MockValidatorSummaryStoreMockRecorder) FindSummaryByAddress

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

FindSummaryByAddress indicates an expected call of FindSummaryByAddress

func (*MockValidatorSummaryStoreMockRecorder) Save

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

Save indicates an expected call of Save

func (*MockValidatorSummaryStoreMockRecorder) Update

func (mr *MockValidatorSummaryStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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