MCPcopy
hub / github.com/helm/helm / WithConfig

Function WithConfig

pkg/action/pull.go:51–55  ·  view source on GitHub ↗
(cfg *Configuration)

Source from the content-addressed store, hash-verified

49type PullOpt func(*Pull)
50
51func WithConfig(cfg *Configuration) PullOpt {
52 return func(p *Pull) {
53 p.cfg = cfg
54 }
55}
56
57// NewPull creates a new Pull with configuration options.
58func NewPull(opts ...PullOpt) *Pull {

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…