MCPcopy
hub / github.com/hashicorp/hcl / Object

Method Object

ext/dynblock/iteration.go:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (i *iteration) Object() cty.Value {
28 return cty.ObjectVal(map[string]cty.Value{
29 "key": i.Key,
30 "value": i.Value,
31 })
32}
33
34func (i *iteration) EvalContext(base *hcl.EvalContext) *hcl.EvalContext {
35 new := base.NewChild()

Callers 12

EvalContextMethod · 0.95
TestApplyPathFunction · 0.80
TestIndexFunction · 0.80
type_expr.goFile · 0.80
TestGetTypeFunction · 0.80
TestGetTypeDefaultsFunction · 0.80
TestTypeStringFunction · 0.80
TestDefaults_ApplyFunction · 0.80
TestExpandUnknownBodiesFunction · 0.80
impliedTypeMethod · 0.80
TestDecodeFunction · 0.80

Calls

no outgoing calls

Tested by 9

TestApplyPathFunction · 0.64
TestIndexFunction · 0.64
TestGetTypeFunction · 0.64
TestGetTypeDefaultsFunction · 0.64
TestTypeStringFunction · 0.64
TestDefaults_ApplyFunction · 0.64
TestExpandUnknownBodiesFunction · 0.64
TestDecodeFunction · 0.64