package
0.9.1
Repository: https://github.com/joomcode/client_golang.git
Documentation: pkg.go.dev

# Functions

NewAPI returns a new API for the client.

# Constants

Possible values for ErrorType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Possible values for HealthStatus.
No description provided by the author

# Structs

ActiveTarget models an active Prometheus scrape target.
AlertManager models a configured Alert Manager.
AlertManagersResult contains the result from querying the alertmanagers endpoint.
ConfigResult contains the result from querying the config endpoint.
DroppedTarget models a dropped Prometheus scrape target.
Error is an error returned by the API.
Range represents a sliced time range.
SnapshotResult contains the result from querying the snapshot endpoint.
TargetsResult contains the result from querying the targets endpoint.

# Interfaces

API provides bindings for Prometheus's v1 API.

# Type aliases

ErrorType models the different API error types.
FlagsResult contains the result from querying the flag endpoint.
HealthStatus models the health status of a scrape target.