package
0.5.1
Repository: https://github.com/solidnerd/alertmanager.git
Documentation: pkg.go.dev

# Packages

Package silencepb is a generated protocol buffer package.

# Functions

New returns a new Silences object with the given configuration.
QIDs configures a query to select the given silence IDs.
QMatches returns silences that match the given label set.
QState filters queried silences by the given states.
QTimeRange configures a query to search for silences that are active in the given time range.

# Constants

The only possible states of a silence w.r.t a timestamp.
The only possible states of a silence w.r.t a timestamp.
The only possible states of a silence w.r.t a timestamp.

# Variables

ErrNotFound is returned if a silence was not found.

# Structs

Options exposes configuration options for creating a new Silences object.
Silences holds a silence state that can be modified, queried, and snapshot.

# Type aliases

QueryParam expresses parameters along which silences are queried.
SilenceState describes the state of a silence based on its time range.