Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configuration ¶
Configuration returns the configuration of the AlertManager instance.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder generates full-fledged alerts.
func (*Builder) CreateAlert ¶
func (b *Builder) CreateAlert(lbls, anns map[string]string, start, end time.Time) *models.PostableAlert
CreateAlert returns a single alert.
Click to show internal directories.
Click to hide internal directories.