Versions in this module Expand all Collapse all v2 v2.13.1 Oct 8, 2023 Changes in this version + func AlertTemplateData(labels map[string]string, externalLabels map[string]string, value float64) interface + type Expander struct + func NewTemplateExpander(ctx context.Context, text string, name string, data interface{}, ...) *Expander + func (te Expander) Expand() (result string, resultErr error) + func (te Expander) ExpandHTML(templateFiles []string) (result string, resultErr error) + func (te Expander) Funcs(fm text_template.FuncMap) + func (te Expander) ParseTest() error + type QueryFunc func(context.Context, string, time.Time) (promql.Vector, error) Other modules containing this package github.com/zpascal/prometheus