alertmanager/silence
George Robinson 404a4afa11 Support Noop limits for silences
This commit changes how limits work for silences. Instead of checking
if a limit is non-nil, it instead adds support for a set of no-op
limits called NoopLimits.

It changes the limits in Options and Silences from Limits to *Limits
because Go cannot do comparisons on structs containing function
values, so we must use a nil check to see if limits are set in the
options or not.

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-06-25 15:14:47 +01:00
..
silencepb Update github.com/gogo/protobuf to v1.3.2 (#2478) 2021-02-09 16:49:07 +01:00
silence.go Support Noop limits for silences 2024-06-25 15:14:47 +01:00
silence_bench_test.go Remove Id return from silences.Set(*pb.Silence) 2024-06-20 15:47:49 +01:00
silence_test.go Support Noop limits for silences 2024-06-25 15:14:47 +01:00