services

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 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

View Source
var ErrAlertingDisabled = errors.New("Alerting is disabled")

ErrAlertingDisabled means Integrated Alerting is disabled and IA APIs can't be executed.

View Source
var ErrSTTDisabled = errors.New("STT is disabled")

ErrSTTDisabled means that STT checks are disabled and can't be executed.

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 provides jobs functionality.
Package agents provides jobs functionality.
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 alertmanager contains business logic of working with Alertmanager.
Package alertmanager contains business logic of working with Alertmanager.
Package checks provides security checks functionality.
Package checks provides security checks functionality.
Package dbaas contains logic related to communication with dbaas-controller.
Package dbaas contains logic related to communication with dbaas-controller.
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 management contains management business logic and APIs.
Package management contains management business logic and APIs.
backup
Package backup provides backup functionality.
Package backup provides backup functionality.
dbaas
Package dbaas contains all APIs related to DBaaS.
Package dbaas contains all APIs related to DBaaS.
grpc
Package grpc provides gRPC servers.
Package grpc provides gRPC servers.
ia
Package ia contains Integrated Alerting APIs implementations.
Package ia contains Integrated Alerting APIs implementations.
Package minio provides implementation for Minio operations.
Package minio provides implementation for Minio operations.
Package platform provides authentication/authorization functionality.
Package platform provides authentication/authorization functionality.
Package qan contains business logic of working with QAN.
Package qan contains business logic of working with QAN.
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 telemetry functionality.
Package telemetry provides telemetry functionality.
Package victoriametrics provides facilities for working with VictoriaMetrics.
Package victoriametrics provides facilities for working with VictoriaMetrics.
Package vmalert provides facilities for working with VMAlert.
Package vmalert provides facilities for working with VMAlert.

Jump to

Keyboard shortcuts

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