MCPcopy
hub / github.com/helm/helm / SetRegistryClient

Method SetRegistryClient

pkg/action/upgrade.go:159–161  ·  view source on GitHub ↗

SetRegistryClient sets the registry client to use when fetching charts.

(client *registry.Client)

Source from the content-addressed store, hash-verified

157
158// SetRegistryClient sets the registry client to use when fetching charts.
159func (u *Upgrade) SetRegistryClient(client *registry.Client) {
160 u.registryClient = client
161}
162
163// Run executes the upgrade on the given release.
164func (u *Upgrade) Run(name string, chart chart.Charter, vals map[string]any) (ri.Releaser, error) {

Callers 2

newUpgradeCmdFunction · 0.95

Calls

no outgoing calls

Tested by 1