Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBroker
- type MockBrokerMockRecorder
- type MockOracleEngine
- func (m *MockOracleEngine) EXPECT() *MockOracleEngineMockRecorder
- func (m *MockOracleEngine) ListensToSigners(arg0 common.Data) bool
- func (m *MockOracleEngine) Subscribe(arg0 context.Context, arg1 spec.Spec, arg2 spec.OnMatchedData) (spec.SubscriptionID, spec.Unsubscriber, error)
- func (m *MockOracleEngine) Unsubscribe(arg0 context.Context, arg1 spec.SubscriptionID)
- type MockOracleEngineMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBroker ¶ added in v0.73.0
type MockBroker struct {
// contains filtered or unexported fields
}
MockBroker is a mock of Broker interface.
func NewMockBroker ¶ added in v0.73.0
func NewMockBroker(ctrl *gomock.Controller) *MockBroker
NewMockBroker creates a new mock instance.
func (*MockBroker) EXPECT ¶ added in v0.73.0
func (m *MockBroker) EXPECT() *MockBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBroker) Send ¶ added in v0.73.0
func (m *MockBroker) Send(arg0 events.Event)
Send mocks base method.
func (*MockBroker) SendBatch ¶ added in v0.73.0
func (m *MockBroker) SendBatch(arg0 []events.Event)
SendBatch mocks base method.
type MockBrokerMockRecorder ¶ added in v0.73.0
type MockBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockBrokerMockRecorder is the mock recorder for MockBroker.
func (*MockBrokerMockRecorder) Send ¶ added in v0.73.0
func (mr *MockBrokerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockBrokerMockRecorder) SendBatch ¶ added in v0.73.0
func (mr *MockBrokerMockRecorder) SendBatch(arg0 interface{}) *gomock.Call
SendBatch indicates an expected call of SendBatch.
type MockOracleEngine ¶
type MockOracleEngine struct {
// contains filtered or unexported fields
}
MockOracleEngine is a mock of OracleEngine interface.
func NewMockOracleEngine ¶
func NewMockOracleEngine(ctrl *gomock.Controller) *MockOracleEngine
NewMockOracleEngine creates a new mock instance.
func (*MockOracleEngine) EXPECT ¶
func (m *MockOracleEngine) EXPECT() *MockOracleEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOracleEngine) ListensToSigners ¶ added in v0.61.0
func (m *MockOracleEngine) ListensToSigners(arg0 common.Data) bool
ListensToSigners mocks base method.
func (*MockOracleEngine) Subscribe ¶
func (m *MockOracleEngine) Subscribe(arg0 context.Context, arg1 spec.Spec, arg2 spec.OnMatchedData) (spec.SubscriptionID, spec.Unsubscriber, error)
Subscribe mocks base method.
func (*MockOracleEngine) Unsubscribe ¶
func (m *MockOracleEngine) Unsubscribe(arg0 context.Context, arg1 spec.SubscriptionID)
Unsubscribe mocks base method.
type MockOracleEngineMockRecorder ¶
type MockOracleEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleEngineMockRecorder is the mock recorder for MockOracleEngine.
func (*MockOracleEngineMockRecorder) ListensToSigners ¶ added in v0.61.0
func (mr *MockOracleEngineMockRecorder) ListensToSigners(arg0 interface{}) *gomock.Call
ListensToSigners indicates an expected call of ListensToSigners.
func (*MockOracleEngineMockRecorder) Subscribe ¶
func (mr *MockOracleEngineMockRecorder) Subscribe(arg0, arg1, arg2 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockOracleEngineMockRecorder) Unsubscribe ¶
func (mr *MockOracleEngineMockRecorder) Unsubscribe(arg0, arg1 interface{}) *gomock.Call
Unsubscribe indicates an expected call of Unsubscribe.