Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertProvider ¶
type AlertProvider struct {
IntegrationKey string `yaml:"integration-key"`
}
AlertProvider is the configuration necessary for sending an alert using PagerDuty
func (*AlertProvider) IsValid ¶
func (provider *AlertProvider) IsValid() bool
IsValid returns whether the provider's configuration is valid
func (*AlertProvider) ToCustomAlertProvider ¶
func (provider *AlertProvider) ToCustomAlertProvider(service *core.Service, alert *core.Alert, _ *core.Result, resolved bool) *custom.AlertProvider
ToCustomAlertProvider converts the provider into a custom.AlertProvider
relevant: https://developer.pagerduty.com/docs/events-api-v2/trigger-events/
Click to show internal directories.
Click to hide internal directories.