mocks

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 8 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 MockBook

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

MockBook is a mock of Book interface.

func NewMockBook

func NewMockBook(ctrl *gomock.Controller) *MockBook

NewMockBook creates a new mock instance.

func (*MockBook) EXPECT

func (m *MockBook) EXPECT() *MockBookMockRecorder

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

func (*MockBook) GetVolumeAtPrice

func (m *MockBook) GetVolumeAtPrice(arg0 *num.Uint, arg1 vega.Side) uint64

GetVolumeAtPrice mocks base method.

type MockBookMockRecorder

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

MockBookMockRecorder is the mock recorder for MockBook.

func (*MockBookMockRecorder) GetVolumeAtPrice

func (mr *MockBookMockRecorder) GetVolumeAtPrice(arg0, arg1 interface{}) *gomock.Call

GetVolumeAtPrice indicates an expected call of GetVolumeAtPrice.

type MockIDGen

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

MockIDGen is a mock of IDGen interface.

func NewMockIDGen

func NewMockIDGen(ctrl *gomock.Controller) *MockIDGen

NewMockIDGen creates a new mock instance.

func (*MockIDGen) EXPECT

func (m *MockIDGen) EXPECT() *MockIDGenMockRecorder

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

func (*MockIDGen) NextID

func (m *MockIDGen) NextID() string

NextID mocks base method.

type MockIDGenMockRecorder

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

MockIDGenMockRecorder is the mock recorder for MockIDGen.

func (*MockIDGenMockRecorder) NextID

func (mr *MockIDGenMockRecorder) NextID() *gomock.Call

NextID indicates an expected call of NextID.

type MockMarketLiquidity

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

MockMarketLiquidity is a mock of MarketLiquidity interface.

func NewMockMarketLiquidity

func NewMockMarketLiquidity(ctrl *gomock.Controller) *MockMarketLiquidity

NewMockMarketLiquidity creates a new mock instance.

func (*MockMarketLiquidity) EXPECT

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

func (*MockMarketLiquidity) ValidOrdersPriceRange

func (m *MockMarketLiquidity) ValidOrdersPriceRange() (*num.Uint, *num.Uint, error)

ValidOrdersPriceRange mocks base method.

type MockMarketLiquidityMockRecorder

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

MockMarketLiquidityMockRecorder is the mock recorder for MockMarketLiquidity.

func (*MockMarketLiquidityMockRecorder) ValidOrdersPriceRange

func (mr *MockMarketLiquidityMockRecorder) ValidOrdersPriceRange() *gomock.Call

ValidOrdersPriceRange indicates an expected call of ValidOrdersPriceRange.

type MockPositions

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

MockPositions is a mock of Positions interface.

func NewMockPositions

func NewMockPositions(ctrl *gomock.Controller) *MockPositions

NewMockPositions creates a new mock instance.

func (*MockPositions) EXPECT

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

func (*MockPositions) RegisterOrder

func (m *MockPositions) RegisterOrder(arg0 context.Context, arg1 *types.Order) *positions.MarketPosition

RegisterOrder mocks base method.

func (*MockPositions) Update

func (m *MockPositions) Update(arg0 context.Context, arg1 *types.Trade, arg2, arg3 *types.Order) []events.MarketPosition

Update mocks base method.

type MockPositionsMockRecorder

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

MockPositionsMockRecorder is the mock recorder for MockPositions.

func (*MockPositionsMockRecorder) RegisterOrder

func (mr *MockPositionsMockRecorder) RegisterOrder(arg0, arg1 interface{}) *gomock.Call

RegisterOrder indicates an expected call of RegisterOrder.

func (*MockPositionsMockRecorder) Update

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

Update indicates an expected call of Update.

type MockPriceMonitor added in v0.74.7

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

MockPriceMonitor is a mock of PriceMonitor interface.

func NewMockPriceMonitor added in v0.74.7

func NewMockPriceMonitor(ctrl *gomock.Controller) *MockPriceMonitor

NewMockPriceMonitor creates a new mock instance.

func (*MockPriceMonitor) EXPECT added in v0.74.7

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

func (*MockPriceMonitor) GetValidPriceRange added in v0.74.7

func (m *MockPriceMonitor) GetValidPriceRange() (num.WrappedDecimal, num.WrappedDecimal)

GetValidPriceRange mocks base method.

type MockPriceMonitorMockRecorder added in v0.74.7

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

MockPriceMonitorMockRecorder is the mock recorder for MockPriceMonitor.

func (*MockPriceMonitorMockRecorder) GetValidPriceRange added in v0.74.7

func (mr *MockPriceMonitorMockRecorder) GetValidPriceRange() *gomock.Call

GetValidPriceRange indicates an expected call of GetValidPriceRange.

Jump to

Keyboard shortcuts

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