services

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: AGPL-3.0 Imports: 2 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

This section is empty.

Types

type Supervisor

type Supervisor interface {
	// Start installs and starts a service.
	Start(ctx context.Context, config *servicelib.Config) error

	// Start stops and uninstalls a service.
	Stop(ctx context.Context, name string) error

	// Status returns nil if service is installed and running.
	// It returns error otherwise or if service status can't be determined.
	Status(ctx context.Context, name string) error
}

Supervisor is an interface for supervisor.Supervisor for mock generation.

Directories

Path Synopsis
Package consul provides facilities for working with Consul.
Package consul provides facilities for working with Consul.
Package grafana provides facilities for working with Grafana.
Package grafana provides facilities for working with Grafana.
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 and qan-agent on PMM Server node.
Package qan contains business logic of working with QAN and qan-agent on PMM Server node.
Package rds contains business logic of working with AWS RDS.
Package rds contains business logic of working with AWS RDS.
Package supervisor provides facilities for working with system process supervisors.
Package supervisor provides facilities for working with system process supervisors.
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