Documentation
¶
Overview ¶
Package eval translates runtime core.Context data into HCL EvalContext structures and dynamically evaluates HCL AST expressions back into Go primitives.
Index ¶
- func Any(expr hcl.Expression, ctx *core.Context) (any, error)
- func BaseContext() *hcl.EvalContext
- func Bool(expr hcl.Expression, ctx *core.Context, defaultVal bool) (bool, error)
- func Int(expr hcl.Expression, ctx *core.Context, defaultVal int) (int, error)
- func Map(expr hcl.Expression, ctx *core.Context) (map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseContext ¶
func BaseContext() *hcl.EvalContext
BaseContext returns the singleton root EvalContext containing all standard functions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.