mocks

package
v0.42.17 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockDataNode added in v0.41.0

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

MockDataNode is a mock of DataNode interface.

func NewMockDataNode added in v0.41.0

func NewMockDataNode(ctrl *gomock.Controller) *MockDataNode

NewMockDataNode creates a new mock instance.

func (*MockDataNode) AssetByID added in v0.41.0

func (m *MockDataNode) AssetByID(arg0 *v1.AssetByIDRequest) (*v1.AssetByIDResponse, error)

AssetByID mocks base method.

func (*MockDataNode) EXPECT added in v0.41.0

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

func (*MockDataNode) GetAddress added in v0.41.0

func (m *MockDataNode) GetAddress() (url.URL, error)

GetAddress mocks base method.

func (*MockDataNode) GetVegaTime added in v0.41.0

func (m *MockDataNode) GetVegaTime() (time.Time, error)

GetVegaTime mocks base method.

func (*MockDataNode) LastBlockHeight added in v0.41.0

func (m *MockDataNode) LastBlockHeight() (uint64, error)

LastBlockHeight mocks base method.

func (*MockDataNode) MarketDataByID added in v0.41.0

func (m *MockDataNode) MarketDataByID(arg0 *v1.MarketDataByIDRequest) (*v1.MarketDataByIDResponse, error)

MarketDataByID mocks base method.

func (*MockDataNode) Markets added in v0.41.0

func (m *MockDataNode) Markets(arg0 *v1.MarketsRequest) (*v1.MarketsResponse, error)

Markets mocks base method.

func (*MockDataNode) ObserveEventBus added in v0.41.0

func (m *MockDataNode) ObserveEventBus() (v10.CoreService_ObserveEventBusClient, error)

ObserveEventBus mocks base method.

func (*MockDataNode) PartyAccounts added in v0.41.0

func (m *MockDataNode) PartyAccounts(arg0 *v1.PartyAccountsRequest) (*v1.PartyAccountsResponse, error)

PartyAccounts mocks base method.

func (*MockDataNode) PositionsByParty added in v0.41.0

PositionsByParty mocks base method.

func (*MockDataNode) PositionsSubscribe added in v0.41.0

PositionsSubscribe mocks base method.

func (*MockDataNode) SubmitTransaction added in v0.41.0

SubmitTransaction mocks base method.

type MockDataNodeMockRecorder added in v0.41.0

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

MockDataNodeMockRecorder is the mock recorder for MockDataNode.

func (*MockDataNodeMockRecorder) AssetByID added in v0.41.0

func (mr *MockDataNodeMockRecorder) AssetByID(arg0 interface{}) *gomock.Call

AssetByID indicates an expected call of AssetByID.

func (*MockDataNodeMockRecorder) GetAddress added in v0.41.0

func (mr *MockDataNodeMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockDataNodeMockRecorder) GetVegaTime added in v0.41.0

func (mr *MockDataNodeMockRecorder) GetVegaTime() *gomock.Call

GetVegaTime indicates an expected call of GetVegaTime.

func (*MockDataNodeMockRecorder) LastBlockHeight added in v0.41.0

func (mr *MockDataNodeMockRecorder) LastBlockHeight() *gomock.Call

LastBlockHeight indicates an expected call of LastBlockHeight.

func (*MockDataNodeMockRecorder) MarketDataByID added in v0.41.0

func (mr *MockDataNodeMockRecorder) MarketDataByID(arg0 interface{}) *gomock.Call

MarketDataByID indicates an expected call of MarketDataByID.

func (*MockDataNodeMockRecorder) Markets added in v0.41.0

func (mr *MockDataNodeMockRecorder) Markets(arg0 interface{}) *gomock.Call

Markets indicates an expected call of Markets.

func (*MockDataNodeMockRecorder) ObserveEventBus added in v0.41.0

func (mr *MockDataNodeMockRecorder) ObserveEventBus() *gomock.Call

ObserveEventBus indicates an expected call of ObserveEventBus.

func (*MockDataNodeMockRecorder) PartyAccounts added in v0.41.0

func (mr *MockDataNodeMockRecorder) PartyAccounts(arg0 interface{}) *gomock.Call

PartyAccounts indicates an expected call of PartyAccounts.

func (*MockDataNodeMockRecorder) PositionsByParty added in v0.41.0

func (mr *MockDataNodeMockRecorder) PositionsByParty(arg0 interface{}) *gomock.Call

PositionsByParty indicates an expected call of PositionsByParty.

func (*MockDataNodeMockRecorder) PositionsSubscribe added in v0.41.0

func (mr *MockDataNodeMockRecorder) PositionsSubscribe(arg0 interface{}) *gomock.Call

PositionsSubscribe indicates an expected call of PositionsSubscribe.

func (*MockDataNodeMockRecorder) SubmitTransaction added in v0.41.0

func (mr *MockDataNodeMockRecorder) SubmitTransaction(arg0 interface{}) *gomock.Call

SubmitTransaction indicates an expected call of SubmitTransaction.

type MockPricingEngine

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

MockPricingEngine is a mock of PricingEngine interface.

func NewMockPricingEngine

func NewMockPricingEngine(ctrl *gomock.Controller) *MockPricingEngine

NewMockPricingEngine creates a new mock instance.

func (*MockPricingEngine) EXPECT

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

func (*MockPricingEngine) GetPrice

GetPrice mocks base method.

type MockPricingEngineMockRecorder

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

MockPricingEngineMockRecorder is the mock recorder for MockPricingEngine.

func (*MockPricingEngineMockRecorder) GetPrice

func (mr *MockPricingEngineMockRecorder) GetPrice(arg0 interface{}) *gomock.Call

GetPrice indicates an expected call of GetPrice.

Jump to

Keyboard shortcuts

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