alertmanager/nflog
gotjosh 8da517524a
Enable support for custom callbacks as part of maintenance (#2689)
* Enable support for custom callbacks as part of maintenance

This enables support for custom Maintenance callbacks as part of the periodic maintenance of silences and notification logs.
Effectively a no-op for the Alertmanager but allows downstream implementation to inject custom logic as part of it.

Signed-off-by: gotjosh <josue.abreu@gmail.com>

* Add tests

Signed-off-by: gotjosh <josue.abreu@gmail.com>

* Fix tests and remove whitespace

Signed-off-by: gotjosh <josue.abreu@gmail.com>

* Address review comments

Signed-off-by: gotjosh <josue.abreu@gmail.com>

* run go fmt

Signed-off-by: gotjosh <josue.abreu@gmail.com>

* Fix import ordering

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2021-09-06 16:19:39 +05:30
..
nflogpb Update github.com/gogo/protobuf to v1.3.2 (#2478) 2021-02-09 16:49:07 +01:00
nflog_test.go Enable support for custom callbacks as part of maintenance (#2689) 2021-09-06 16:19:39 +05:30
nflog.go Enable support for custom callbacks as part of maintenance (#2689) 2021-09-06 16:19:39 +05:30