Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDataNode
- func (m *MockDataNode) AssetByID(arg0 *v1.AssetByIDRequest) (*v1.AssetByIDResponse, error)
- func (m *MockDataNode) EXPECT() *MockDataNodeMockRecorder
- func (m *MockDataNode) GetAddress() (url.URL, error)
- func (m *MockDataNode) GetVegaTime() (time.Time, error)
- func (m *MockDataNode) LastBlockHeight() (uint64, error)
- func (m *MockDataNode) MarketDataByID(arg0 *v1.MarketDataByIDRequest) (*v1.MarketDataByIDResponse, error)
- func (m *MockDataNode) Markets(arg0 *v1.MarketsRequest) (*v1.MarketsResponse, error)
- func (m *MockDataNode) ObserveEventBus() (v10.CoreService_ObserveEventBusClient, error)
- func (m *MockDataNode) PartyAccounts(arg0 *v1.PartyAccountsRequest) (*v1.PartyAccountsResponse, error)
- func (m *MockDataNode) PositionsByParty(arg0 *v1.PositionsByPartyRequest) (*v1.PositionsByPartyResponse, error)
- func (m *MockDataNode) PositionsSubscribe(arg0 *v1.PositionsSubscribeRequest) (v1.TradingDataService_PositionsSubscribeClient, error)
- func (m *MockDataNode) SubmitTransaction(arg0 *v10.SubmitTransactionRequest) (*v10.SubmitTransactionResponse, error)
- type MockDataNodeMockRecorder
- func (mr *MockDataNodeMockRecorder) AssetByID(arg0 interface{}) *gomock.Call
- func (mr *MockDataNodeMockRecorder) GetAddress() *gomock.Call
- func (mr *MockDataNodeMockRecorder) GetVegaTime() *gomock.Call
- func (mr *MockDataNodeMockRecorder) LastBlockHeight() *gomock.Call
- func (mr *MockDataNodeMockRecorder) MarketDataByID(arg0 interface{}) *gomock.Call
- func (mr *MockDataNodeMockRecorder) Markets(arg0 interface{}) *gomock.Call
- func (mr *MockDataNodeMockRecorder) ObserveEventBus() *gomock.Call
- func (mr *MockDataNodeMockRecorder) PartyAccounts(arg0 interface{}) *gomock.Call
- func (mr *MockDataNodeMockRecorder) PositionsByParty(arg0 interface{}) *gomock.Call
- func (mr *MockDataNodeMockRecorder) PositionsSubscribe(arg0 interface{}) *gomock.Call
- func (mr *MockDataNodeMockRecorder) 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 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
func (m *MockDataNode) EXPECT() *MockDataNodeMockRecorder
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
func (m *MockDataNode) PositionsByParty(arg0 *v1.PositionsByPartyRequest) (*v1.PositionsByPartyResponse, error)
PositionsByParty mocks base method.
func (*MockDataNode) PositionsSubscribe ¶ added in v0.41.0
func (m *MockDataNode) PositionsSubscribe(arg0 *v1.PositionsSubscribeRequest) (v1.TradingDataService_PositionsSubscribeClient, error)
PositionsSubscribe mocks base method.
func (*MockDataNode) SubmitTransaction ¶ added in v0.41.0
func (m *MockDataNode) SubmitTransaction(arg0 *v10.SubmitTransactionRequest) (*v10.SubmitTransactionResponse, error)
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 ¶
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.