Documentation ¶
Overview ¶
Package alertmanager contains business logic of working with Alertmanager.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is responsible for interactions with Alertmanager.
func (*Service) SendAlerts ¶
func (svc *Service) SendAlerts(ctx context.Context, alerts ammodels.PostableAlerts)
SendAlerts sends given alerts. It is the caller's responsibility to call this method every now and then.
Click to show internal directories.
Click to hide internal directories.