Versions in this module Expand all Collapse all v0 v0.3.1 Mar 18, 2026 v0.3.0 Feb 17, 2026 Changes in this version + type Engine struct + func NewEngine(logger *zap.Logger) *Engine + func (e *Engine) Interpolate(input string, event *eventing.MdaiEvent) string + func (e *Engine) InterpolateMapWithSources(in map[string]string, sources ...ValueSource) map[string]string + func (e *Engine) InterpolateWithSources(input string, sources ...ValueSource) string + func (e *Engine) InterpolateWithValues(input string, event *eventing.MdaiEvent, templateValues map[string]string) string + type TemplateSource struct + Values map[string]string + func (s TemplateSource) Lookup(field string) (string, bool) + func (s TemplateSource) Scope() string + type TriggerSource struct + Event *eventing.MdaiEvent + func (s *TriggerSource) Lookup(field string) (string, bool) + func (s *TriggerSource) Scope() string + type ValueSource interface + Lookup func(field string) (string, bool) + Scope func() string