Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockNode
- func (m *MockNode) AssetByID(arg0 string) (*api.AssetByIDResponse, error)
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) GetAddress() (url.URL, error)
- func (m *MockNode) GetVegaTime() (time.Time, error)
- func (m *MockNode) LastBlockHeight(arg0 *api.LastBlockHeightRequest) (*api.LastBlockHeightResponse, 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) Markets(arg0 *api.MarketsRequest) (*api.MarketsResponse, error)
- func (m *MockNode) ObserveEventBus() (api.TradingDataService_ObserveEventBusClient, error)
- func (m *MockNode) PartyAccounts(arg0 *api.PartyAccountsRequest) (*api.PartyAccountsResponse, error)
- func (m *MockNode) PositionsByParty(arg0 *api.PositionsByPartyRequest) (*api.PositionsByPartyResponse, error)
- func (m *MockNode) PositionsSubscribe(arg0 *api.PositionsSubscribeRequest) (api.TradingDataService_PositionsSubscribeClient, error)
- func (m *MockNode) SubmitTransactionV2(arg0 *api.SubmitTransactionV2Request) (*api.SubmitTransactionV2Response, error)
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) AssetByID(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GetAddress() *gomock.Call
- func (mr *MockNodeMockRecorder) GetVegaTime() *gomock.Call
- func (mr *MockNodeMockRecorder) LastBlockHeight(arg0 interface{}) *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) Markets(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) ObserveEventBus() *gomock.Call
- func (mr *MockNodeMockRecorder) PartyAccounts(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PositionsByParty(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PositionsSubscribe(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) SubmitTransactionV2(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) 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 ¶
GetAddress mocks base method.
func (*MockNode) GetVegaTime ¶
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
func (m *MockNode) ObserveEventBus() (api.TradingDataService_ObserveEventBusClient, error)
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
func (m *MockNode) PositionsSubscribe(arg0 *api.PositionsSubscribeRequest) (api.TradingDataService_PositionsSubscribeClient, error)
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 ¶
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.