services

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package services implements business logic of pmm-managed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAPIAgent

func ToAPIAgent(q *reform.Querier, agent *models.Agent) (inventorypb.Agent, error)

ToAPIAgent converts Agent database model to API model.

func ToAPINode

func ToAPINode(node *models.Node) (inventorypb.Node, error)

ToAPINode converts Node database model to API model.

func ToAPIService

func ToAPIService(service *models.Service) (inventorypb.Service, error)

ToAPIService converts Service database model to API model.

Types

This section is empty.

Directories

Path Synopsis
Package agents contains business logic of working with pmm-agent.
Package agents contains business logic of working with pmm-agent.
channel
Package channel contains protocol details of two-way communication channel between pmm-managed and pmm-agent.
Package channel contains protocol details of two-way communication channel between pmm-managed and pmm-agent.
Package grafana provides facilities for working with Grafana.
Package grafana provides facilities for working with Grafana.
Package inventory contains inventory business logic: Nodes, Services, Agents.
Package inventory contains inventory business logic: Nodes, Services, Agents.
Package prometheus contains business logic of working with Prometheus.
Package prometheus contains business logic of working with Prometheus.
Package qan contains business logic of working with QAN.
Package qan contains business logic of working with QAN.
Package rds contains business logic of working with AWS RDS.
Package rds contains business logic of working with AWS RDS.
Package server implements pmm-managed Server API.
Package server implements pmm-managed Server API.
Package supervisord provides facilities for working with Supervisord.
Package supervisord provides facilities for working with Supervisord.
Package telemetry provides Call Home functionality.
Package telemetry provides Call Home functionality.

Jump to

Keyboard shortcuts

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