mocks

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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) 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) 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) 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) SubmitTransaction

func (m *MockNode) SubmitTransaction(arg0 *api.SubmitTransactionRequest) (*api.SubmitTransactionResponse, error)

SubmitTransaction mocks base method.

type MockNodeMockRecorder

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

MockNodeMockRecorder is the mock recorder for MockNode.

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) 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) 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) SubmitTransaction

func (mr *MockNodeMockRecorder) 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