Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alert ¶
type Alert struct { client.Resource Name string `json:"name"` State string `json:"state"` SendResolved bool `json:"sendResolved"` Severity string `json:"severity"` Object string `json:"object"` ObjectID string `json:"objectId"` ServiceRule v1beta1.ServiceRuleSpec `json:"serviceRule"` RecipientID string `json:"recipientId"` }
type HandleFuncWithError ¶
type HandleFuncWithError func(http.ResponseWriter, *http.Request) error
type Notifier ¶
type Notifier struct { client.Resource NotifierType string `json:"notifierType"` SlackConfig v1beta1.SlackConfigSpec `json:"slackConfig"` EmailConfig v1beta1.EmailConfigSpec `json:"emailConfig"` PagerDutyConfig v1beta1.PagerDutyConfigSpec `json:"pagerdutyConfig"` }
type Recipient ¶
type Recipient struct { client.Resource RecipientType string `json:"recipientType"` SlackRecipient v1beta1.SlackRecipientSpec `json:"slackRecipient"` EmailRecipient v1beta1.EmailRecipientSpec `json:"emailRecipient"` PagerDutyRecipient v1beta1.PagerDutyRecipientSpec `json:"pagerdutyRecipient"` }
Click to show internal directories.
Click to hide internal directories.