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

Method SetRegistryClient

pkg/action/pull.go:68–70  ·  view source on GitHub ↗

SetRegistryClient sets the registry client on the pull configuration object.

(client *registry.Client)

Source from the content-addressed store, hash-verified

66
67// SetRegistryClient sets the registry client on the pull configuration object.
68func (p *Pull) SetRegistryClient(client *registry.Client) {
69 p.cfg.RegistryClient = client
70}
71
72// Run executes 'helm pull' against the given release.
73func (p *Pull) Run(chartRef string) (string, error) {

Callers 3

newPullCmdFunction · 0.95
addRegistryClientFunction · 0.45

Calls

no outgoing calls

Tested by 1