alertmanager/api/v2
beorn7 f3d9c89bbc Create a `Muter` implementation for silences
This encapsulates the logic of querying and marking silenced
alerts. It removes the code duplication flagged earlier.

I removed the error returned by the setAlertStatus function as we were
only logging it, and that's already done anyway when the error is
received from the `silence.Query` call (now in the `Mutes` method).

Signed-off-by: beorn7 <beorn@soundcloud.com>
2019-02-26 16:42:59 +01:00
..
models api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00
restapi *: use stdlib context (#1768) 2019-02-26 12:18:57 +01:00
api.go Create a `Muter` implementation for silences 2019-02-26 16:42:59 +01:00
api_test.go api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00
openapi.yaml api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00