Documentation ¶
Index ¶
- type TelemClient
- type TelemetryService
- func (_m *TelemetryService) Close() error
- func (_m *TelemetryService) HealthReport() map[string]error
- func (_m *TelemetryService) Name() string
- func (_m *TelemetryService) Ready() error
- func (_m *TelemetryService) Send(ctx context.Context, telemetry []byte, contractID string, ...)
- func (_m *TelemetryService) Start(_a0 context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelemClient ¶
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 ¶
func (_m *TelemClient) Telem(ctx context.Context, in *telem.TelemRequest) (*telem.TelemResponse, error)
Telem provides a mock function with given fields: ctx, in
func (*TelemClient) TelemBatch ¶
func (_m *TelemClient) TelemBatch(ctx context.Context, in *telem.TelemBatchRequest) (*telem.TelemResponse, error)
TelemBatch provides a mock function with given fields: ctx, in
type TelemetryService ¶ added in v2.7.0
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