Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockNode
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) GetAddress() (url.URL, error)
- func (m *MockNode) GetVegaTime() (time.Time, error)
- func (m *MockNode) LiquidityProvisions(arg0 *api.LiquidityProvisionsRequest) (*api.LiquidityProvisionsResponse, error)
- func (m *MockNode) MarketByID(arg0 *api.MarketByIDRequest) (*api.MarketByIDResponse, error)
- func (m *MockNode) MarketDataByID(arg0 *api.MarketDataByIDRequest) (*api.MarketDataByIDResponse, error)
- func (m *MockNode) PartyAccounts(arg0 *api.PartyAccountsRequest) (*api.PartyAccountsResponse, error)
- func (m *MockNode) PositionsByParty(arg0 *api.PositionsByPartyRequest) (*api.PositionsByPartyResponse, error)
- func (m *MockNode) SubmitTransaction(arg0 *api.SubmitTransactionRequest) (*api.SubmitTransactionResponse, error)
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) GetAddress() *gomock.Call
- func (mr *MockNodeMockRecorder) GetVegaTime() *gomock.Call
- func (mr *MockNodeMockRecorder) LiquidityProvisions(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) MarketByID(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) MarketDataByID(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PartyAccounts(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PositionsByParty(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) SubmitTransaction(arg0 interface{}) *gomock.Call
- type MockPricingEngine
- type MockPricingEngineMockRecorder
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 ¶
GetAddress mocks base method.
func (*MockNode) GetVegaTime ¶
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 ¶
func (m *MockPricingEngine) EXPECT() *MockPricingEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPricingEngine) GetPrice ¶
func (m *MockPricingEngine) GetPrice(arg0 config.PriceConfig) (service.PriceResponse, error)
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.