MCPcopy Index your code
hub / github.com/helm/helm / WriteJSON

Method WriteJSON

pkg/cmd/status.go:135–137  ·  view source on GitHub ↗
(out io.Writer)

Source from the content-addressed store, hash-verified

133}
134
135func (s statusPrinter) WriteJSON(out io.Writer) error {
136 return output.EncodeJSON(out, s.getV1Release())
137}
138
139func (s statusPrinter) WriteYAML(out io.Writer) error {
140 return output.EncodeYAML(out, s.getV1Release())

Callers

nothing calls this directly

Calls 2

getV1ReleaseMethod · 0.95
EncodeJSONFunction · 0.92

Tested by

no test coverage detected