MCPcopy
hub / github.com/helm/helm / ParseIntoString

Function ParseIntoString

pkg/strvals/parser.go:101–105  ·  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]any)

Source from the content-addressed store, hash-verified

99//
100// This method always returns a string as the value.
101func ParseIntoString(s string, dest map[string]any) error {
102 scanner := bytes.NewBufferString(s)
103 t := newParser(scanner, dest, true)
104 return t.parse()
105}
106
107// ParseJSON parses a string with format key1=val1, key2=val2, ...
108// where values are json strings (null, or scalars, or arrays, or objects).

Callers 2

MergeValuesMethod · 0.92
TestParseIntoStringFunction · 0.85

Calls 2

newParserFunction · 0.85
parseMethod · 0.45

Tested by 1

TestParseIntoStringFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…