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

Function MakeScalar

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

Source from the content-addressed store, hash-verified

404}
405
406func MakeScalar(v string) *yaml.Node {
407 return &yaml.Node{
408 Kind: yaml.ScalarNode,
409 Value: v,
410 }
411}
412
413func MakeSequence(ss []string) *yaml.Node {
414 scalarNodes := make([]*yaml.Node, 0)

Callers 15

FnJoinFunction · 0.92
FnInsertFileFunction · 0.92
mapPlaceholdersFunction · 0.92
processMapsFunction · 0.92
replaceTemplateConstantsFunction · 0.92
ProcessOverridesMethod · 0.92
ProcessConditionsMethod · 0.92
OutputSubMethod · 0.92
ResolveSubMethod · 0.92
TestMergeNodesFunction · 0.92

Calls

no outgoing calls

Tested by 4

TestMergeNodesFunction · 0.74