NotificationPolicyBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
ActiveTimeIntervals🔗
func (builder *NotificationPolicyBuilder) ActiveTimeIntervals(activeTimeIntervals []string) *NotificationPolicyBuilder
Continue🔗
GroupBy🔗
GroupInterval🔗
func (builder *NotificationPolicyBuilder) GroupInterval(groupInterval string) *NotificationPolicyBuilder
GroupWait🔗
Match🔗
Deprecated. Remove before v1.0 release.
MatchRe🔗
func (builder *NotificationPolicyBuilder) MatchRe(matchRe alerting.MatchRegexps) *NotificationPolicyBuilder
Matchers🔗
Matchers is a slice of Matchers that is sortable, implements Stringer, and
provides a Matches method to match a LabelSet against all Matchers in the
slice. Note that some users of Matchers might require it to be sorted.
func (builder *NotificationPolicyBuilder) Matchers(matchers alerting.Matchers) *NotificationPolicyBuilder
MuteTimeIntervals🔗
func (builder *NotificationPolicyBuilder) MuteTimeIntervals(muteTimeIntervals []string) *NotificationPolicyBuilder
ObjectMatchers🔗
func (builder *NotificationPolicyBuilder) ObjectMatchers(objectMatchers alerting.ObjectMatchers) *NotificationPolicyBuilder
Provenance🔗
func (builder *NotificationPolicyBuilder) Provenance(provenance alerting.Provenance) *NotificationPolicyBuilder
Receiver🔗
RepeatInterval🔗
func (builder *NotificationPolicyBuilder) RepeatInterval(repeatInterval string) *NotificationPolicyBuilder
Routes🔗
func (builder *NotificationPolicyBuilder) Routes(routes []cog.Builder[alerting.NotificationPolicy]) *NotificationPolicyBuilder