Documentation
¶
Overview ¶
Package eval evaluates the CEL expressions and Go templates carried by the types package. It is separate from types so that importing the type definitions does not link the gomplate template engine.
Index ¶
- func Cel(env map[string]any, expr types.CelExpression) (string, error)
- func ResourceSelector(env map[string]any, selector types.EnvVarResourceSelector) (*types.ResourceSelector, error)
- func Template(env map[string]any, tmpl types.GoTemplate) (string, error)
- func Value(env map[string]any, value types.ValueExpression) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceSelector ¶
func ResourceSelector(env map[string]any, selector types.EnvVarResourceSelector) (*types.ResourceSelector, error)
ResourceSelector hydrates an EnvVarResourceSelector into a ResourceSelector, evaluating every non-empty field against env.
Types ¶
This section is empty.