rpc

package
v0.0.0-...-81c02da Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

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

Telemetry struct helps to register service

func GetTele

func GetTele() *Telemetry

GetTele intializes all the required connection functions for the telemetry execution

func (*Telemetry) GetMetricDefinition

func (a *Telemetry) GetMetricDefinition(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetMetricDefinition is an rpc handler which is invoked during GET on MetricDefinition

func (*Telemetry) GetMetricDefinitionCollection

func (a *Telemetry) GetMetricDefinitionCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetMetricDefinitionCollection an rpc handler which is invoked during GET on MetricDefinition Collection

func (*Telemetry) GetMetricReport

GetMetricReport is an rpc handler which is invoked during GET on MetricReport

func (*Telemetry) GetMetricReportCollection

func (a *Telemetry) GetMetricReportCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetMetricReportCollection is an rpc handler which is invoked during GET on MetricReport Collection

func (*Telemetry) GetMetricReportDefinition

func (a *Telemetry) GetMetricReportDefinition(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetMetricReportDefinition is an rpc handler which is invoked during GET on MetricReportDefinition

func (*Telemetry) GetMetricReportDefinitionCollection

func (a *Telemetry) GetMetricReportDefinitionCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetMetricReportDefinitionCollection is an rpc handler which is invoked during GET on MetricReportDefinition Collection

func (*Telemetry) GetTelemetryService

func (a *Telemetry) GetTelemetryService(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetTelemetryService is an rpc handler, it gets invoked during GET on TelemetryService API (/redfis/v1/TelemetryService/)

func (*Telemetry) GetTrigger

GetTrigger is an rpc handler which is invoked during GET on Triggers

func (*Telemetry) GetTriggerCollection

func (a *Telemetry) GetTriggerCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

GetTriggerCollection is an rpc handler which is invoked during GET on TriggerCollection

func (*Telemetry) UpdateTrigger

UpdateTrigger is an rpc handler which is invoked during update on Trigger

Jump to

Keyboard shortcuts

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