Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceSearchURL ¶
func GetServiceSearchURL(serviceName voyager.ServiceName) (string, error)
func KeyToCloudWatchURL ¶
KeyToCloudWatchURL creates a URL for sending CloudWatch events to PagerDuty
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FindOrCreate ¶
func (c *Client) FindOrCreate(serviceName voyager.ServiceName, user auth.User, email string) (creator_v1.PagerDutyMetadata, error)
type ClientConfig ¶
type ClientConfig struct {
AuthToken string
}
func NewPagerDutyClientConfigFromEnv ¶
func NewPagerDutyClientConfigFromEnv() (ClientConfig, error)
type EscalationPolicy ¶
type EscalationPolicy string
type IntegrationName ¶
type IntegrationName string
const ( Generic IntegrationName = "generic" CloudWatch IntegrationName = "cloudwatch" // Deprecated: the "pingdom" integration is deprecated, but kept for backward compatibility with Micros Pingdom IntegrationName = "pingdom" )
type ServiceName ¶
type ServiceName string
Click to show internal directories.
Click to hide internal directories.