mocks

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 7 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 MockNode

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

MockNode is a mock of Node interface.

func NewMockNode

func NewMockNode(ctrl *gomock.Controller) *MockNode

NewMockNode creates a new mock instance.

func (*MockNode) AssetByID added in v0.40.0

func (m *MockNode) AssetByID(arg0 string) (*api.AssetByIDResponse, error)

AssetByID mocks base method.

func (*MockNode) EXPECT

func (m *MockNode) EXPECT() *MockNodeMockRecorder

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

func (*MockNode) GetAddress

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

GetAddress mocks base method.

func (*MockNode) GetVegaTime

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

GetVegaTime mocks base method.

func (*MockNode) LastBlockHeight added in v0.40.0

func (m *MockNode) LastBlockHeight(arg0 *api.LastBlockHeightRequest) (*api.LastBlockHeightResponse, error)

LastBlockHeight mocks base method.

func (*MockNode) LiquidityProvisions

func (m *MockNode) LiquidityProvisions(arg0 *api.LiquidityProvisionsRequest) (*api.LiquidityProvisionsResponse, error)

LiquidityProvisions mocks base method.

func (*MockNode) MarketByID

func (m *MockNode) MarketByID(arg0 *api.MarketByIDRequest) (*api.MarketByIDResponse, error)

MarketByID mocks base method.

func (*MockNode) MarketDataByID

func (m *MockNode) MarketDataByID(arg0 *api.MarketDataByIDRequest) (*api.MarketDataByIDResponse, error)

MarketDataByID mocks base method.

func (*MockNode) Markets added in v0.40.0

func (m *MockNode) Markets(arg0 *api.MarketsRequest) (*api.MarketsResponse, error)

Markets mocks base method.

func (*MockNode) ObserveEventBus added in v0.40.0

ObserveEventBus mocks base method.

func (*MockNode) PartyAccounts

func (m *MockNode) PartyAccounts(arg0 *api.PartyAccountsRequest) (*api.PartyAccountsResponse, error)

PartyAccounts mocks base method.

func (*MockNode) PositionsByParty

func (m *MockNode) PositionsByParty(arg0 *api.PositionsByPartyRequest) (*api.PositionsByPartyResponse, error)

PositionsByParty mocks base method.

func (*MockNode) PositionsSubscribe added in v0.40.0

PositionsSubscribe mocks base method.

func (*MockNode) SubmitTransactionV2 added in v0.40.0

func (m *MockNode) SubmitTransactionV2(arg0 *api.SubmitTransactionV2Request) (*api.SubmitTransactionV2Response, error)

SubmitTransactionV2 mocks base method.

type MockNodeMockRecorder

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

MockNodeMockRecorder is the mock recorder for MockNode.

func (*MockNodeMockRecorder) AssetByID added in v0.40.0

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

AssetByID indicates an expected call of AssetByID.

func (*MockNodeMockRecorder) GetAddress

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

GetAddress indicates an expected call of GetAddress.

func (*MockNodeMockRecorder) GetVegaTime

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

GetVegaTime indicates an expected call of GetVegaTime.

func (*MockNodeMockRecorder) LastBlockHeight added in v0.40.0

func (mr *MockNodeMockRecorder) LastBlockHeight(arg0 interface{}) *gomock.Call

LastBlockHeight indicates an expected call of LastBlockHeight.

func (*MockNodeMockRecorder) LiquidityProvisions

func (mr *MockNodeMockRecorder) LiquidityProvisions(arg0 interface{}) *gomock.Call

LiquidityProvisions indicates an expected call of LiquidityProvisions.

func (*MockNodeMockRecorder) MarketByID

func (mr *MockNodeMockRecorder) MarketByID(arg0 interface{}) *gomock.Call

MarketByID indicates an expected call of MarketByID.

func (*MockNodeMockRecorder) MarketDataByID

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

MarketDataByID indicates an expected call of MarketDataByID.

func (*MockNodeMockRecorder) Markets added in v0.40.0

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

Markets indicates an expected call of Markets.

func (*MockNodeMockRecorder) ObserveEventBus added in v0.40.0

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

ObserveEventBus indicates an expected call of ObserveEventBus.

func (*MockNodeMockRecorder) PartyAccounts

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

PartyAccounts indicates an expected call of PartyAccounts.

func (*MockNodeMockRecorder) PositionsByParty

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

PositionsByParty indicates an expected call of PositionsByParty.

func (*MockNodeMockRecorder) PositionsSubscribe added in v0.40.0

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

PositionsSubscribe indicates an expected call of PositionsSubscribe.

func (*MockNodeMockRecorder) SubmitTransactionV2 added in v0.40.0

func (mr *MockNodeMockRecorder) SubmitTransactionV2(arg0 interface{}) *gomock.Call

SubmitTransactionV2 indicates an expected call of SubmitTransactionV2.

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