Help us shape the future of Go! Take the 2026 Go Developer Survey

handlers

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2017 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package handlers implements gRPC API of pmm-managed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertsServer

type AlertsServer struct {
	Prometheus *prometheus.Service
}

func (*AlertsServer) Get

func (*AlertsServer) List

type BaseServer

type BaseServer struct {
	PMMVersion string
}

func (*BaseServer) Version

type DemoServer

type DemoServer struct{}

func (*DemoServer) Error

type RDSServer added in v1.5.0

type RDSServer struct {
	RDS *rds.Service
}

func (*RDSServer) Add added in v1.5.0

func (*RDSServer) Discover added in v1.5.0

func (*RDSServer) List added in v1.5.0

func (*RDSServer) Remove added in v1.5.0

type ScrapeConfigsServer

type ScrapeConfigsServer struct {
	Prometheus *prometheus.Service
}

func (*ScrapeConfigsServer) Create

Create creates a new scrape config. Errors: InvalidArgument(3) if some argument is not valid, AlreadyExists(6) if scrape config with that job name is already present.

func (*ScrapeConfigsServer) Delete

Delete removes existing scrape config by job name. Errors: NotFound(5) if no such scrape config is present.

func (*ScrapeConfigsServer) Get

Get returns a scrape config by job name. Errors: NotFound(5) if no such scrape config is present.

func (*ScrapeConfigsServer) List

List returns all scrape configs.

Jump to

Keyboard shortcuts

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