telemetry

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package telemetry is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schedule

func Schedule() (string, bool, error)

Schedule returns the schedule for sending telemetry requests.

Types

type MockClientService

type MockClientService struct {
	// contains filtered or unexported fields
}

MockClientService is a mock of ClientService interface.

func NewMockClientService

func NewMockClientService(ctrl *gomock.Controller) *MockClientService

NewMockClientService creates a new mock instance.

func (*MockClientService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClientService) ReporterAPIGenericReport

ReporterAPIGenericReport mocks base method.

func (*MockClientService) SetTransport

func (m *MockClientService) SetTransport(transport runtime.ClientTransport)

SetTransport mocks base method.

type MockClientServiceMockRecorder

type MockClientServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientServiceMockRecorder is the mock recorder for MockClientService.

func (*MockClientServiceMockRecorder) ReporterAPIGenericReport

func (mr *MockClientServiceMockRecorder) ReporterAPIGenericReport(params interface{}, opts ...interface{}) *gomock.Call

ReporterAPIGenericReport indicates an expected call of ReporterAPIGenericReport.

func (*MockClientServiceMockRecorder) SetTransport

func (mr *MockClientServiceMockRecorder) SetTransport(transport interface{}) *gomock.Call

SetTransport indicates an expected call of SetTransport.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service defines the properties of the telemetry service.

func NewTelemetryService

func NewTelemetryService() (*Service, error)

NewTelemetryService creates a new Service.

func (Service) SendReport

func (s Service) SendReport(ctx context.Context, cr *apiv1.PerconaServerMySQL, serverVersion *platform.ServerVersion) error

SendReport sends the report with the custom metric data to the telemetry service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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