mocks

package
v0.0.0-...-3674750 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogPollerWrapper

type LogPollerWrapper struct {
	mock.Mock
}

LogPollerWrapper is an autogenerated mock type for the LogPollerWrapper type

func NewLogPollerWrapper

func NewLogPollerWrapper(t interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL