MCPcopy
hub / github.com/helm/helm / Build

Method Build

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

Build creates a resource list from a Reader. Reader must contain a YAML stream (one or more YAML documents separated by "\n---\n") Validates against OpenAPI schema if validate is true.

(reader io.Reader, validate bool)

Source from the content-addressed store, hash-verified

53 //
54 // Validates against OpenAPI schema if validate is true.
55 Build(reader io.Reader, validate bool) (ResourceList, error)
56 // IsReachable checks whether the client is able to connect to the cluster.
57 IsReachable() error
58

Callers 15

deleteReleaseMethod · 0.65
RunMethod · 0.65
installCRDsMethod · 0.65
RunWithContextMethod · 0.65
deleteHookByPolicyMethod · 0.65
performUpgradeMethod · 0.65
validateManifestFunction · 0.65
performRollbackMethod · 0.65
TestCreateFunction · 0.65
TestUpdateFunction · 0.65
TestBuildFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 15

TestCreateFunction · 0.52
TestUpdateFunction · 0.52
TestBuildFunction · 0.52
TestPerformFunction · 0.52
TestWaitFunction · 0.52
TestWaitJobFunction · 0.52
TestWaitDeleteFunction · 0.52
TestRealFunction · 0.52