MCPcopy
hub / github.com/helm/helm / WriteJSON

Method WriteJSON

pkg/cli/output/output.go:98–98  ·  view source on GitHub ↗

WriteJSON will write JSON formatted output into the given io.Writer, returning an error if any occur

(out io.Writer)

Source from the content-addressed store, hash-verified

96 // WriteJSON will write JSON formatted output into the given io.Writer,
97 // returning an error if any occur
98 WriteJSON(out io.Writer) error
99 // WriteYAML will write YAML formatted output into the given io.Writer,
100 // returning an error if any occur
101 WriteYAML(out io.Writer) error

Callers 2

WriteMethod · 0.65

Implementers 7

hubSearchWriterpkg/cmd/search_hub.go
statusPrinterpkg/cmd/status.go
repoListWriterpkg/cmd/repo_list.go
metadataWriterpkg/cmd/get_metadata.go
repoSearchWriterpkg/cmd/search_repo.go
valuesWriterpkg/cmd/get_values.go
releaseListWriterpkg/cmd/list.go

Calls

no outgoing calls

Tested by 1