MCPcopy
hub / github.com/helm/helm / NewPull

Function NewPull

pkg/action/pull.go:58–65  ·  view source on GitHub ↗

NewPull creates a new Pull with configuration options.

(opts ...PullOpt)

Source from the content-addressed store, hash-verified

56
57// NewPull creates a new Pull with configuration options.
58func NewPull(opts ...PullOpt) *Pull {
59 p := &Pull{}
60 for _, fn := range opts {
61 fn(p)
62 }
63
64 return p
65}
66
67// SetRegistryClient sets the registry client on the pull configuration object.
68func (p *Pull) SetRegistryClient(client *registry.Client) {

Callers 4

newPullCmdFunction · 0.92
TestNewPullFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestNewPullFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…