MCPcopy
hub / github.com/helm/helm / Name

Method Name

pkg/chart/v2/chart.go:82–87  ·  view source on GitHub ↗

Name returns the name of the chart.

()

Source from the content-addressed store, hash-verified

80
81// Name returns the name of the chart.
82func (ch *Chart) Name() string {
83 if ch.Metadata == nil {
84 return ""
85 }
86 return ch.Metadata.Name
87}
88
89// AddDependency determines if the chart is a subchart.
90func (ch *Chart) AddDependency(charts ...*Chart) {

Callers 7

TestMetadataFunction · 0.95
ChartPathMethod · 0.95
ChartFullPathMethod · 0.95
TestDeprecatedAPIFailsFunction · 0.95
TestSaveFunction · 0.95
TestSaveDirFunction · 0.95

Calls

no outgoing calls

Tested by 5

TestMetadataFunction · 0.76
TestDeprecatedAPIFailsFunction · 0.76
TestSaveFunction · 0.76
TestSaveDirFunction · 0.76