Documentation ¶
Overview ¶
Package context contains functionality for constructing HCL eval contexts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvalContext ¶
type EvalContext struct {
*hcl.EvalContext
}
EvalContext wraps an HCL eval context and is used for decoding pipeline template HCL files
func New ¶
func New(variables map[string]cty.Value) *EvalContext
New creates a new instance of an EvalContext
func (*EvalContext) Context ¶
func (e *EvalContext) Context() *hcl.EvalContext
Context returns the HCL eval context
func (*EvalContext) NewActionContext ¶
func (e *EvalContext) NewActionContext(actionOutputs map[string]map[string]cty.Value) *EvalContext
NewActionContext creates a new action context as a child of this eval context
Click to show internal directories.
Click to hide internal directories.