Documentation
¶
Index ¶
- type Telemetry
- func (a *Telemetry) GetMetricDefinition(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetMetricDefinitionCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetMetricReport(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetMetricReportCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetMetricReportDefinition(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetMetricReportDefinitionCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetTelemetryService(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetTrigger(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) GetTriggerCollection(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
- func (a *Telemetry) UpdateTrigger(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
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 ¶
func (a *Telemetry) GetMetricReport(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
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 ¶
func (a *Telemetry) GetTrigger(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
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 ¶
func (a *Telemetry) UpdateTrigger(ctx context.Context, req *teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)
UpdateTrigger is an rpc handler which is invoked during update on Trigger