mocks

package
v2.5.2-clf-20230912 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 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 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

Jump to

Keyboard shortcuts

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