MCPcopy Create free account
hub / github.com/aws-cloudformation/rain / MakeRef

Function MakeRef

internal/node/node.go:392–397  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

390)
391
392func MakeRef(v string) *yaml.Node {
393 n := MakeMapping()
394 n.Content = append(n.Content, MakeScalar(Ref))
395 n.Content = append(n.Content, MakeScalar(v))
396 return n
397}
398
399func MakeGetAtt(v1 string, v2 string) *yaml.Node {
400 n := MakeMapping()

Callers 1

ResolveSubMethod · 0.92

Calls 2

MakeMappingFunction · 0.85
MakeScalarFunction · 0.85

Tested by

no test coverage detected