mocks

package
v0.72.5-preview.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDepositStore

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

MockDepositStore is a mock of DepositStore interface.

func NewMockDepositStore

func NewMockDepositStore(ctrl *gomock.Controller) *MockDepositStore

NewMockDepositStore creates a new mock instance.

func (*MockDepositStore) EXPECT

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

func (*MockDepositStore) Upsert

func (m *MockDepositStore) Upsert(arg0 context.Context, arg1 *entities.Deposit) error

Upsert mocks base method.

type MockDepositStoreMockRecorder

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

MockDepositStoreMockRecorder is the mock recorder for MockDepositStore.

func (*MockDepositStoreMockRecorder) Upsert

func (mr *MockDepositStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockKeyRotationStore

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

MockKeyRotationStore is a mock of KeyRotationStore interface.

func NewMockKeyRotationStore

func NewMockKeyRotationStore(ctrl *gomock.Controller) *MockKeyRotationStore

NewMockKeyRotationStore creates a new mock instance.

func (*MockKeyRotationStore) EXPECT

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

func (*MockKeyRotationStore) Upsert

Upsert mocks base method.

type MockKeyRotationStoreMockRecorder

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

MockKeyRotationStoreMockRecorder is the mock recorder for MockKeyRotationStore.

func (*MockKeyRotationStoreMockRecorder) Upsert

func (mr *MockKeyRotationStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockLiquidityProvisionStore

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

MockLiquidityProvisionStore is a mock of LiquidityProvisionStore interface.

func NewMockLiquidityProvisionStore

func NewMockLiquidityProvisionStore(ctrl *gomock.Controller) *MockLiquidityProvisionStore

NewMockLiquidityProvisionStore creates a new mock instance.

func (*MockLiquidityProvisionStore) EXPECT

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

func (*MockLiquidityProvisionStore) Flush

Flush mocks base method.

func (*MockLiquidityProvisionStore) Upsert

Upsert mocks base method.

type MockLiquidityProvisionStoreMockRecorder

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

MockLiquidityProvisionStoreMockRecorder is the mock recorder for MockLiquidityProvisionStore.

func (*MockLiquidityProvisionStoreMockRecorder) Flush

func (mr *MockLiquidityProvisionStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush.

func (*MockLiquidityProvisionStoreMockRecorder) Upsert

func (mr *MockLiquidityProvisionStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockMarginLevelsStore

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

MockMarginLevelsStore is a mock of MarginLevelsStore interface.

func NewMockMarginLevelsStore

func NewMockMarginLevelsStore(ctrl *gomock.Controller) *MockMarginLevelsStore

NewMockMarginLevelsStore creates a new mock instance.

func (*MockMarginLevelsStore) Add

Add mocks base method.

func (*MockMarginLevelsStore) EXPECT

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

func (*MockMarginLevelsStore) Flush

func (m *MockMarginLevelsStore) Flush(arg0 context.Context) error

Flush mocks base method.

type MockMarginLevelsStoreMockRecorder

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

MockMarginLevelsStoreMockRecorder is the mock recorder for MockMarginLevelsStore.

func (*MockMarginLevelsStoreMockRecorder) Add

func (mr *MockMarginLevelsStoreMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockMarginLevelsStoreMockRecorder) Flush

func (mr *MockMarginLevelsStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush.

type MockMarketDataStore

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

MockMarketDataStore is a mock of MarketDataStore interface.

func NewMockMarketDataStore

func NewMockMarketDataStore(ctrl *gomock.Controller) *MockMarketDataStore

NewMockMarketDataStore creates a new mock instance.

func (*MockMarketDataStore) Add

Add mocks base method.

func (*MockMarketDataStore) EXPECT

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

func (*MockMarketDataStore) Flush

func (m *MockMarketDataStore) Flush(arg0 context.Context) error

Flush mocks base method.

type MockMarketDataStoreMockRecorder

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

MockMarketDataStoreMockRecorder is the mock recorder for MockMarketDataStore.

func (*MockMarketDataStoreMockRecorder) Add

func (mr *MockMarketDataStoreMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockMarketDataStoreMockRecorder) Flush

func (mr *MockMarketDataStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush.

type MockMarketSvc added in v0.69.0

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

MockMarketSvc is a mock of MarketSvc interface.

func NewMockMarketSvc added in v0.69.0

func NewMockMarketSvc(ctrl *gomock.Controller) *MockMarketSvc

NewMockMarketSvc creates a new mock instance.

func (*MockMarketSvc) EXPECT added in v0.69.0

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

func (*MockMarketSvc) GetMarketScalingFactor added in v0.69.0

func (m *MockMarketSvc) GetMarketScalingFactor(arg0 context.Context, arg1 string) (decimal.Decimal, bool)

GetMarketScalingFactor mocks base method.

type MockMarketSvcMockRecorder added in v0.69.0

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

MockMarketSvcMockRecorder is the mock recorder for MockMarketSvc.

func (*MockMarketSvcMockRecorder) GetMarketScalingFactor added in v0.69.0

func (mr *MockMarketSvcMockRecorder) GetMarketScalingFactor(arg0, arg1 interface{}) *gomock.Call

GetMarketScalingFactor indicates an expected call of GetMarketScalingFactor.

type MockMarketsStore

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

MockMarketsStore is a mock of MarketsStore interface.

func NewMockMarketsStore

func NewMockMarketsStore(ctrl *gomock.Controller) *MockMarketsStore

NewMockMarketsStore creates a new mock instance.

func (*MockMarketsStore) EXPECT

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

func (*MockMarketsStore) Upsert

func (m *MockMarketsStore) Upsert(arg0 context.Context, arg1 *entities.Market) error

Upsert mocks base method.

type MockMarketsStoreMockRecorder

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

MockMarketsStoreMockRecorder is the mock recorder for MockMarketsStore.

func (*MockMarketsStoreMockRecorder) Upsert

func (mr *MockMarketsStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockNodeStore

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

MockNodeStore is a mock of NodeStore interface.

func NewMockNodeStore

func NewMockNodeStore(ctrl *gomock.Controller) *MockNodeStore

NewMockNodeStore creates a new mock instance.

func (*MockNodeStore) AddNodeAnnouncedEvent added in v0.55.0

func (m *MockNodeStore) AddNodeAnnouncedEvent(arg0 context.Context, arg1 string, arg2 time.Time, arg3 *entities.ValidatorUpdateAux) error

AddNodeAnnouncedEvent mocks base method.

func (*MockNodeStore) EXPECT

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

func (*MockNodeStore) UpdateEthereumAddress

func (m *MockNodeStore) UpdateEthereumAddress(arg0 context.Context, arg1 entities.EthereumKeyRotation) error

UpdateEthereumAddress mocks base method.

func (*MockNodeStore) UpdatePublicKey

func (m *MockNodeStore) UpdatePublicKey(arg0 context.Context, arg1 *entities.KeyRotation) error

UpdatePublicKey mocks base method.

func (*MockNodeStore) UpsertNode

func (m *MockNodeStore) UpsertNode(arg0 context.Context, arg1 *entities.Node) error

UpsertNode mocks base method.

func (*MockNodeStore) UpsertRanking

func (m *MockNodeStore) UpsertRanking(arg0 context.Context, arg1 *entities.RankingScore, arg2 *entities.RankingScoreAux) error

UpsertRanking mocks base method.

func (*MockNodeStore) UpsertScore

func (m *MockNodeStore) UpsertScore(arg0 context.Context, arg1 *entities.RewardScore, arg2 *entities.RewardScoreAux) error

UpsertScore mocks base method.

type MockNodeStoreMockRecorder

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

MockNodeStoreMockRecorder is the mock recorder for MockNodeStore.

func (*MockNodeStoreMockRecorder) AddNodeAnnouncedEvent added in v0.55.0

func (mr *MockNodeStoreMockRecorder) AddNodeAnnouncedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddNodeAnnouncedEvent indicates an expected call of AddNodeAnnouncedEvent.

func (*MockNodeStoreMockRecorder) UpdateEthereumAddress

func (mr *MockNodeStoreMockRecorder) UpdateEthereumAddress(arg0, arg1 interface{}) *gomock.Call

UpdateEthereumAddress indicates an expected call of UpdateEthereumAddress.

func (*MockNodeStoreMockRecorder) UpdatePublicKey

func (mr *MockNodeStoreMockRecorder) UpdatePublicKey(arg0, arg1 interface{}) *gomock.Call

UpdatePublicKey indicates an expected call of UpdatePublicKey.

func (*MockNodeStoreMockRecorder) UpsertNode

func (mr *MockNodeStoreMockRecorder) UpsertNode(arg0, arg1 interface{}) *gomock.Call

UpsertNode indicates an expected call of UpsertNode.

func (*MockNodeStoreMockRecorder) UpsertRanking

func (mr *MockNodeStoreMockRecorder) UpsertRanking(arg0, arg1, arg2 interface{}) *gomock.Call

UpsertRanking indicates an expected call of UpsertRanking.

func (*MockNodeStoreMockRecorder) UpsertScore

func (mr *MockNodeStoreMockRecorder) UpsertScore(arg0, arg1, arg2 interface{}) *gomock.Call

UpsertScore indicates an expected call of UpsertScore.

type MockNotaryStore

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

MockNotaryStore is a mock of NotaryStore interface.

func NewMockNotaryStore

func NewMockNotaryStore(ctrl *gomock.Controller) *MockNotaryStore

NewMockNotaryStore creates a new mock instance.

func (*MockNotaryStore) Add

Add mocks base method.

func (*MockNotaryStore) EXPECT

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

type MockNotaryStoreMockRecorder

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

MockNotaryStoreMockRecorder is the mock recorder for MockNotaryStore.

func (*MockNotaryStoreMockRecorder) Add

func (mr *MockNotaryStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

type MockOracleDataStore

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

MockOracleDataStore is a mock of OracleDataStore interface.

func NewMockOracleDataStore

func NewMockOracleDataStore(ctrl *gomock.Controller) *MockOracleDataStore

NewMockOracleDataStore creates a new mock instance.

func (*MockOracleDataStore) Add

Add mocks base method.

func (*MockOracleDataStore) EXPECT

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

type MockOracleDataStoreMockRecorder

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

MockOracleDataStoreMockRecorder is the mock recorder for MockOracleDataStore.

func (*MockOracleDataStoreMockRecorder) Add

func (mr *MockOracleDataStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

type MockOracleSpecStore

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

MockOracleSpecStore is a mock of OracleSpecStore interface.

func NewMockOracleSpecStore

func NewMockOracleSpecStore(ctrl *gomock.Controller) *MockOracleSpecStore

NewMockOracleSpecStore creates a new mock instance.

func (*MockOracleSpecStore) EXPECT

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

func (*MockOracleSpecStore) Upsert

Upsert mocks base method.

type MockOracleSpecStoreMockRecorder

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

MockOracleSpecStoreMockRecorder is the mock recorder for MockOracleSpecStore.

func (*MockOracleSpecStoreMockRecorder) Upsert

func (mr *MockOracleSpecStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockPositionStore

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

MockPositionStore is a mock of PositionStore interface.

func NewMockPositionStore

func NewMockPositionStore(ctrl *gomock.Controller) *MockPositionStore

NewMockPositionStore creates a new mock instance.

func (*MockPositionStore) Add

Add mocks base method.

func (*MockPositionStore) EXPECT

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

func (*MockPositionStore) Flush

func (m *MockPositionStore) Flush(arg0 context.Context) error

Flush mocks base method.

func (*MockPositionStore) GetByMarket

func (m *MockPositionStore) GetByMarket(arg0 context.Context, arg1 string) ([]entities.Position, error)

GetByMarket mocks base method.

func (*MockPositionStore) GetByMarketAndParties added in v0.68.0

func (m *MockPositionStore) GetByMarketAndParties(arg0 context.Context, arg1 string, arg2 []string) ([]entities.Position, error)

GetByMarketAndParties mocks base method.

func (*MockPositionStore) GetByMarketAndParty

func (m *MockPositionStore) GetByMarketAndParty(arg0 context.Context, arg1, arg2 string) (entities.Position, error)

GetByMarketAndParty mocks base method.

type MockPositionStoreMockRecorder

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

MockPositionStoreMockRecorder is the mock recorder for MockPositionStore.

func (*MockPositionStoreMockRecorder) Add

func (mr *MockPositionStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockPositionStoreMockRecorder) Flush

func (mr *MockPositionStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush.

func (*MockPositionStoreMockRecorder) GetByMarket

func (mr *MockPositionStoreMockRecorder) GetByMarket(arg0, arg1 interface{}) *gomock.Call

GetByMarket indicates an expected call of GetByMarket.

func (*MockPositionStoreMockRecorder) GetByMarketAndParties added in v0.68.0

func (mr *MockPositionStoreMockRecorder) GetByMarketAndParties(arg0, arg1, arg2 interface{}) *gomock.Call

GetByMarketAndParties indicates an expected call of GetByMarketAndParties.

func (*MockPositionStoreMockRecorder) GetByMarketAndParty

func (mr *MockPositionStoreMockRecorder) GetByMarketAndParty(arg0, arg1, arg2 interface{}) *gomock.Call

GetByMarketAndParty indicates an expected call of GetByMarketAndParty.

type MockRiskFactorStore

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

MockRiskFactorStore is a mock of RiskFactorStore interface.

func NewMockRiskFactorStore

func NewMockRiskFactorStore(ctrl *gomock.Controller) *MockRiskFactorStore

NewMockRiskFactorStore creates a new mock instance.

func (*MockRiskFactorStore) EXPECT

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

func (*MockRiskFactorStore) Upsert

Upsert mocks base method.

type MockRiskFactorStoreMockRecorder

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

MockRiskFactorStoreMockRecorder is the mock recorder for MockRiskFactorStore.

func (*MockRiskFactorStoreMockRecorder) Upsert

func (mr *MockRiskFactorStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockStakeLinkingStore

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

MockStakeLinkingStore is a mock of StakeLinkingStore interface.

func NewMockStakeLinkingStore

func NewMockStakeLinkingStore(ctrl *gomock.Controller) *MockStakeLinkingStore

NewMockStakeLinkingStore creates a new mock instance.

func (*MockStakeLinkingStore) EXPECT

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

func (*MockStakeLinkingStore) Upsert

Upsert mocks base method.

type MockStakeLinkingStoreMockRecorder

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

MockStakeLinkingStoreMockRecorder is the mock recorder for MockStakeLinkingStore.

func (*MockStakeLinkingStoreMockRecorder) Upsert

func (mr *MockStakeLinkingStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockTransferStore

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

MockTransferStore is a mock of TransferStore interface.

func NewMockTransferStore

func NewMockTransferStore(ctrl *gomock.Controller) *MockTransferStore

NewMockTransferStore creates a new mock instance.

func (*MockTransferStore) EXPECT

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

func (*MockTransferStore) Upsert

func (m *MockTransferStore) Upsert(arg0 context.Context, arg1 *entities.Transfer) error

Upsert mocks base method.

type MockTransferStoreMockRecorder

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

MockTransferStoreMockRecorder is the mock recorder for MockTransferStore.

func (*MockTransferStoreMockRecorder) Upsert

func (mr *MockTransferStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockWithdrawalStore

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

MockWithdrawalStore is a mock of WithdrawalStore interface.

func NewMockWithdrawalStore

func NewMockWithdrawalStore(ctrl *gomock.Controller) *MockWithdrawalStore

NewMockWithdrawalStore creates a new mock instance.

func (*MockWithdrawalStore) EXPECT

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

func (*MockWithdrawalStore) Upsert

Upsert mocks base method.

type MockWithdrawalStoreMockRecorder

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

MockWithdrawalStoreMockRecorder is the mock recorder for MockWithdrawalStore.

func (*MockWithdrawalStoreMockRecorder) Upsert

func (mr *MockWithdrawalStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

Jump to

Keyboard shortcuts

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