| package notifytypes |
| |
| // Type is the type of notifiers that can be built. |
| type Type string |
| |
| const ( |
| // HTMLEmail means send HTML formatted emails. |
| HTMLEmail Type = "html_email" |
| |
| // MarkdownIssueTracker means send Markdown formatted notifications to the |
| // issue tracker. |
| MarkdownIssueTracker Type = "markdown_issuetracker" |
| |
| // ChromeperfAlerting means send the regression data to chromeperf |
| // alerting system |
| ChromeperfAlerting Type = "chromeperf" |
| |
| // AnomalyGrouper means send the regression to grouping logic and take action as needed |
| AnomalyGrouper Type = "anomalygroup" |
| |
| // None means do not send any notification. |
| None Type = "none" |
| ) |
| |
| // AllNotifierTypes is the list of all valid NotifyTypes. |
| var AllNotifierTypes []Type = []Type{HTMLEmail, MarkdownIssueTracker, None} |
| |
| // NotificationDataProviderType denotes the type of notification data provider to use. |
| type NotificationDataProviderType string |
| |
| const ( |
| // DefaultNotificationProvider notification dataprovider. |
| DefaultNotificationProvider NotificationDataProviderType = "" |
| |
| // Android notification dataprovider. |
| AndroidNotificationProvider NotificationDataProviderType = "android" |
| ) |