MCPcopy
hub / github.com/kubernetes/client-go / Parse

Method Parse

util/jsonpath/jsonpath.go:59–63  ·  view source on GitHub ↗

Parse parses the given template and returns an error.

(text string)

Source from the content-addressed store, hash-verified

57
58// Parse parses the given template and returns an error.
59func (j *JSONPath) Parse(text string) error {
60 var err error
61 j.parser, err = Parse(j.name, text)
62 return err
63}
64
65// Execute bounds data into template and writes the result.
66func (j *JSONPath) Execute(wr io.Writer, data interface{}) error {

Callers

nothing calls this directly

Calls 1

ParseFunction · 0.85

Tested by

no test coverage detected