context

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL