mocks

package
v2.7.1-clf-20231106 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelemClient

type TelemClient struct {
	mock.Mock
}

TelemClient is an autogenerated mock type for the TelemClient type

func NewTelemClient

func NewTelemClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TelemClient

NewTelemClient creates a new instance of TelemClient. 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 (*TelemClient) Telem

Telem provides a mock function with given fields: ctx, in

func (*TelemClient) TelemBatch

TelemBatch provides a mock function with given fields: ctx, in

type TelemetryService added in v2.7.0

type TelemetryService struct {
	mock.Mock
}

TelemetryService is an autogenerated mock type for the TelemetryService type

func NewTelemetryService added in v2.7.0

func NewTelemetryService(t interface {
	mock.TestingT
	Cleanup(func())
}) *TelemetryService

NewTelemetryService creates a new instance of TelemetryService. 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 (*TelemetryService) Close added in v2.7.0

func (_m *TelemetryService) Close() error

Close provides a mock function with given fields:

func (*TelemetryService) HealthReport added in v2.7.0

func (_m *TelemetryService) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*TelemetryService) Name added in v2.7.0

func (_m *TelemetryService) Name() string

Name provides a mock function with given fields:

func (*TelemetryService) Ready added in v2.7.0

func (_m *TelemetryService) Ready() error

Ready provides a mock function with given fields:

func (*TelemetryService) Send added in v2.7.0

func (_m *TelemetryService) Send(ctx context.Context, telemetry []byte, contractID string, telemType synchronization.TelemetryType)

Send provides a mock function with given fields: ctx, telemetry, contractID, telemType

func (*TelemetryService) Start added in v2.7.0

func (_m *TelemetryService) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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