MCPcopy
hub / github.com/helm/helm / createTestingChart

Function createTestingChart

pkg/cmd/dependency_update_test.go:306–312  ·  view source on GitHub ↗

createTestingChart creates a basic chart that depends on reqtest-0.1.0 The baseURL can be used to point to a particular repository server.

(t *testing.T, dest, name, baseURL string)

Source from the content-addressed store, hash-verified

304//
305// The baseURL can be used to point to a particular repository server.
306func createTestingChart(t *testing.T, dest, name, baseURL string) {
307 t.Helper()
308 cfile := createTestingMetadata(name, baseURL)
309 if err := chartutil.SaveDir(cfile, dest); err != nil {
310 t.Fatal(err)
311 }
312}

Calls 3

createTestingMetadataFunction · 0.85
HelperMethod · 0.80
FatalMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…