context

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

func NewContext

func NewContext(ctx *hcl.EvalContext, parent *Context) *Context

func (*Context) Get

func (c *Context) Get(parts ...string) cty.Value

func (*Context) GetByDot

func (c *Context) GetByDot(path string) cty.Value

func (*Context) Inner

func (c *Context) Inner() *hcl.EvalContext

func (*Context) NewChild

func (c *Context) NewChild() *Context

func (*Context) Parent

func (c *Context) Parent() *Context

func (*Context) Root

func (c *Context) Root() *Context

func (*Context) Set

func (c *Context) Set(val cty.Value, parts ...string)

func (*Context) SetByDot

func (c *Context) SetByDot(val cty.Value, path string)

Jump to

Keyboard shortcuts

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