Documentation
¶
Index ¶
- type LogPollerWrapper
- func (_m *LogPollerWrapper) Close() error
- func (_m *LogPollerWrapper) HealthReport() map[string]error
- func (_m *LogPollerWrapper) LatestEvents() ([]types.OracleRequest, []types.OracleResponse, error)
- func (_m *LogPollerWrapper) Name() string
- func (_m *LogPollerWrapper) Ready() error
- func (_m *LogPollerWrapper) Start(_a0 context.Context) error
- func (_m *LogPollerWrapper) SubscribeToUpdates(name string, subscriber types.RouteUpdateSubscriber)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogPollerWrapper ¶
LogPollerWrapper is an autogenerated mock type for the LogPollerWrapper type
func NewLogPollerWrapper ¶
func NewLogPollerWrapper(t mockConstructorTestingTNewLogPollerWrapper) *LogPollerWrapper
NewLogPollerWrapper creates a new instance of LogPollerWrapper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LogPollerWrapper) Close ¶
func (_m *LogPollerWrapper) Close() error
Close provides a mock function with given fields:
func (*LogPollerWrapper) HealthReport ¶
func (_m *LogPollerWrapper) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*LogPollerWrapper) LatestEvents ¶
func (_m *LogPollerWrapper) LatestEvents() ([]types.OracleRequest, []types.OracleResponse, error)
LatestEvents provides a mock function with given fields:
func (*LogPollerWrapper) Name ¶
func (_m *LogPollerWrapper) Name() string
Name provides a mock function with given fields:
func (*LogPollerWrapper) Ready ¶
func (_m *LogPollerWrapper) Ready() error
Ready provides a mock function with given fields:
func (*LogPollerWrapper) Start ¶
func (_m *LogPollerWrapper) Start(_a0 context.Context) error
Start provides a mock function with given fields: _a0
func (*LogPollerWrapper) SubscribeToUpdates ¶
func (_m *LogPollerWrapper) SubscribeToUpdates(name string, subscriber types.RouteUpdateSubscriber)
SubscribeToUpdates provides a mock function with given fields: name, subscriber