renderer

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL