Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderHTMLRuleAlert ¶
func RenderHTMLRuleAlert(ctx *config.ActionContext, alert alertsender.Alert) (string, error)
RenderHTMLRuleAlert produces HTML template for rule alerts. This function generates inlined CSS to maximize the compatibility between email clients when the alert is transported via email sender or other senders that may render HTML content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.