MCPcopy
hub / github.com/helm/helm / AddDependency

Method AddDependency

internal/chart/v3/chart.go:87–92  ·  view source on GitHub ↗

AddDependency determines if the chart is a subchart.

(charts ...*Chart)

Source from the content-addressed store, hash-verified

85
86// AddDependency determines if the chart is a subchart.
87func (ch *Chart) AddDependency(charts ...*Chart) {
88 for i, x := range charts {
89 charts[i].parent = ch
90 ch.dependencies = append(ch.dependencies, x)
91 }
92}
93
94// Root finds the root chart.
95func (ch *Chart) Root() *Chart {

Callers 3

SetDependenciesMethod · 0.95
LoadFilesFunction · 0.45
getAliasDependencyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected