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

handlers

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: AGPL-3.0 Imports: 16 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 AnnotationsServer added in v1.14.1

type AnnotationsServer struct {
	Addr string
}

func (*AnnotationsServer) Create added in v1.14.1

Create creates a new annotation.

type BaseServer

type BaseServer struct {
	PMMVersion string
}

func (*BaseServer) Version

type DemoServer

type DemoServer struct{}

func (*DemoServer) Error

type LogsServer added in v1.14.1

type LogsServer struct {
	Logs *logs.Logs
}

func (*LogsServer) All added in v1.14.1

All returns last lines of all log files.

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.

func (*ScrapeConfigsServer) Update added in v1.7.0

Update updates existing scrape config by job name. Errors: InvalidArgument(3) if some argument is not valid, NotFound(5) if no such scrape config is present, FailedPrecondition(9) if reachability check was requested and some scrape target can't be reached.

Jump to

Keyboard shortcuts

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