Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDataNode
- func (m *MockDataNode) EXPECT() *MockDataNodeMockRecorder
- func (m *MockDataNode) MarketDataByID(arg0 *v1.MarketDataByIDRequest) (*v1.MarketDataByIDResponse, 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)
- type MockDataNodeMockRecorder
- func (mr *MockDataNodeMockRecorder) MarketDataByID(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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataNode ¶
type MockDataNode struct {
// contains filtered or unexported fields
}
MockDataNode is a mock of DataNode interface.
func NewMockDataNode ¶
func NewMockDataNode(ctrl *gomock.Controller) *MockDataNode
NewMockDataNode creates a new mock instance.
func (*MockDataNode) EXPECT ¶
func (m *MockDataNode) EXPECT() *MockDataNodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataNode) MarketDataByID ¶
func (m *MockDataNode) MarketDataByID(arg0 *v1.MarketDataByIDRequest) (*v1.MarketDataByIDResponse, error)
MarketDataByID mocks base method.
func (*MockDataNode) ObserveEventBus ¶
func (m *MockDataNode) ObserveEventBus() (v10.CoreService_ObserveEventBusClient, error)
ObserveEventBus mocks base method.
func (*MockDataNode) PartyAccounts ¶
func (m *MockDataNode) PartyAccounts(arg0 *v1.PartyAccountsRequest) (*v1.PartyAccountsResponse, error)
PartyAccounts mocks base method.
func (*MockDataNode) PositionsByParty ¶
func (m *MockDataNode) PositionsByParty(arg0 *v1.PositionsByPartyRequest) (*v1.PositionsByPartyResponse, error)
PositionsByParty mocks base method.
func (*MockDataNode) PositionsSubscribe ¶
func (m *MockDataNode) PositionsSubscribe(arg0 *v1.PositionsSubscribeRequest) (v1.TradingDataService_PositionsSubscribeClient, error)
PositionsSubscribe mocks base method.
type MockDataNodeMockRecorder ¶
type MockDataNodeMockRecorder struct {
// contains filtered or unexported fields
}
MockDataNodeMockRecorder is the mock recorder for MockDataNode.
func (*MockDataNodeMockRecorder) MarketDataByID ¶
func (mr *MockDataNodeMockRecorder) MarketDataByID(arg0 interface{}) *gomock.Call
MarketDataByID indicates an expected call of MarketDataByID.
func (*MockDataNodeMockRecorder) ObserveEventBus ¶
func (mr *MockDataNodeMockRecorder) ObserveEventBus() *gomock.Call
ObserveEventBus indicates an expected call of ObserveEventBus.
func (*MockDataNodeMockRecorder) PartyAccounts ¶
func (mr *MockDataNodeMockRecorder) PartyAccounts(arg0 interface{}) *gomock.Call
PartyAccounts indicates an expected call of PartyAccounts.
func (*MockDataNodeMockRecorder) PositionsByParty ¶
func (mr *MockDataNodeMockRecorder) PositionsByParty(arg0 interface{}) *gomock.Call
PositionsByParty indicates an expected call of PositionsByParty.
func (*MockDataNodeMockRecorder) PositionsSubscribe ¶
func (mr *MockDataNodeMockRecorder) PositionsSubscribe(arg0 interface{}) *gomock.Call
PositionsSubscribe indicates an expected call of PositionsSubscribe.