MCPcopy Create free account
hub / github.com/helm/helm / BuildTable

Method BuildTable

pkg/kube/interface.go:77–77  ·  view source on GitHub ↗

BuildTable creates a resource list from a Reader. This differs from Interface.Build() in that a table kind is returned. A table is useful if you want to use a printer to display the information. Reader must contain a YAML stream (one or more YAML documents separated by "\n---\n") Validates against

(reader io.Reader, validate bool)

Source from the content-addressed store, hash-verified

75 // Validates against OpenAPI schema if validate is true.
76 // TODO Helm 4: Integrate into Build with an argument
77 BuildTable(reader io.Reader, validate bool) (ResourceList, error)
78}
79
80// Waiter defines methods related to waiting for resource states.

Callers 3

RunMethod · 0.65
TestBuildTableFunction · 0.65
BuildTableMethod · 0.65

Implementers 2

Clientpkg/kube/client.go
PrintingKubeClientpkg/kube/fake/printer.go

Calls

no outgoing calls

Tested by 1

TestBuildTableFunction · 0.52