# Packages

Copyright 2017 The Kubernetes Authors.

# Functions

LabelEq produces a equal label selector expression.
LabelMatches produces a regexp-matching label selector expression.
LabelNeq produces a not-equal label selector expression.
LabelNotMatches produces a inverse regexp-matching label selector expression (the opposite of LabelMatches).
MatchSeries takes a series name, and optionally some label expressions, and returns a series selector.
NameMatches produces a label selector expression that checks that the series name matches the given expression.
NameNotMatches produces a label selector expression that checks that the series name doesn't matches the given expression.
NewClient creates a Client for the given HTTP client and base URL (the location of the Prometheus server).
NewClientForAPI creates a Client for the given generic Prometheus API client.
NewGenericAPIClient builds a new generic Prometheus API client for the given base URL and HTTP Client.

# Constants

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

# Structs

APIResponse represents the raw response returned by the API.
Error is an error returned by the API.
QueryResult is the result of a query.
Range represents a sliced time range with increments.
Series represents a description of a series: a name and a set of labels.

# Interfaces

Client is a Prometheus client for the Prometheus HTTP API.
APIClient is a raw client to the Prometheus Query API.

# Type aliases

ErrorType is the type of the API error.
ResponseStatus is the type of response from the API: succeeded or error.
Selector represents a series selector.