MCPcopy
hub / github.com/helm/helm / WriteTable

Method WriteTable

pkg/cmd/get_values.go:83–90  ·  view source on GitHub ↗
(out io.Writer)

Source from the content-addressed store, hash-verified

81}
82
83func (v valuesWriter) WriteTable(out io.Writer) error {
84 if v.allValues {
85 fmt.Fprintln(out, "COMPUTED VALUES:")
86 } else {
87 fmt.Fprintln(out, "USER-SUPPLIED VALUES:")
88 }
89 return output.EncodeYAML(out, v.vals)
90}
91
92func (v valuesWriter) WriteJSON(out io.Writer) error {
93 return output.EncodeJSON(out, v.vals)

Callers

nothing calls this directly

Calls 1

EncodeYAMLFunction · 0.92

Tested by

no test coverage detected