MCPcopy
hub / github.com/helm/helm / createTestingMetadataForOCI

Function createTestingMetadataForOCI

pkg/cmd/dependency_update_test.go:290–301  ·  view source on GitHub ↗
(name, registryURL string)

Source from the content-addressed store, hash-verified

288}
289
290func createTestingMetadataForOCI(name, registryURL string) *chart.Chart {
291 return &chart.Chart{
292 Metadata: &chart.Metadata{
293 APIVersion: chart.APIVersionV2,
294 Name: name,
295 Version: "1.2.3",
296 Dependencies: []*chart.Dependency{
297 {Name: "oci-dependent-chart", Version: "0.1.0", Repository: fmt.Sprintf("oci://%s/u/ocitestuser", registryURL)},
298 },
299 },
300 }
301}
302
303// createTestingChart creates a basic chart that depends on reqtest-0.1.0
304//

Callers 2

TestDependencyUpdateCmdFunction · 0.85
TestDependencyBuildCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…