MCPcopy Create free account
hub / github.com/devspace-sh/devspace / ParseIntoString

Function ParseIntoString

pkg/util/strvals/strvals.go:109–113  ·  view source on GitHub ↗

ParseIntoString parses a strvals line and merges the result into dest. This method always returns a string as the value.

(s string, dest map[string]interface{})

Source from the content-addressed store, hash-verified

107//
108// This method always returns a string as the value.
109func ParseIntoString(s string, dest map[string]interface{}) error {
110 scanner := bytes.NewBufferString(s)
111 t := newParser(scanner, dest, true)
112 return t.parse()
113}
114
115// ParseIntoFile parses a filevals line and merges the result into dest.
116//

Callers 3

applyPipelineSetValueFunction · 0.92
applySetValuesFunction · 0.92
TestSetStringFlagFunction · 0.85

Calls 2

newParserFunction · 0.85
parseMethod · 0.80

Tested by 1

TestSetStringFlagFunction · 0.68