Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentTemplateValues ¶ added in v1.0.0
type IncidentNotifier ¶
type IncidentNotifier struct {
// contains filtered or unexported fields
}
func NewIncidentNotifier ¶
func NewIncidentNotifier(db *db.DB) *IncidentNotifier
func (*IncidentNotifier) Enqueue ¶
func (n *IncidentNotifier) Enqueue(project *db.Project, app *model.Application, incident *model.ApplicationIncident, now timeseries.Time)
type IncidentTemplateValues ¶ added in v1.0.0
type IncidentTemplateValues struct { Status string `json:"status"` Application model.ApplicationId `json:"application"` Reports []db.IncidentNotificationDetailsReport `json:"reports"` URL string `json:"url"` }
type NotificationClient ¶
type Opsgenie ¶
type Opsgenie struct {
// contains filtered or unexported fields
}
func NewOpsgenie ¶
func (*Opsgenie) SendIncident ¶
type Pagerduty ¶
type Pagerduty struct {
// contains filtered or unexported fields
}
func NewPagerduty ¶
func (*Pagerduty) SendIncident ¶
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func (*Slack) SendDeployment ¶
func (*Slack) SendIncident ¶
type Teams ¶
type Teams struct {
// contains filtered or unexported fields
}
func (*Teams) SendDeployment ¶
func (*Teams) SendIncident ¶
type Webhook ¶ added in v1.0.0
type Webhook struct {
// contains filtered or unexported fields
}
func NewWebhook ¶ added in v1.0.0
func NewWebhook(cfg *db.IntegrationWebhook) *Webhook
func (*Webhook) SendDeployment ¶ added in v1.0.0
func (*Webhook) SendIncident ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.