MCPcopy
hub / github.com/helm/helm / WithWaitContext

Function WithWaitContext

pkg/kube/options.go:30–34  ·  view source on GitHub ↗

WithWaitContext sets the context for waiting on resources. If unset, context.Background() will be used.

(ctx context.Context)

Source from the content-addressed store, hash-verified

28// WithWaitContext sets the context for waiting on resources.
29// If unset, context.Background() will be used.
30func WithWaitContext(ctx context.Context) WaitOption {
31 return func(wo *waitOptions) {
32 wo.ctx = ctx
33 }
34}
35
36// WithWatchUntilReadyMethodContext sets the context specifically for the WatchUntilReady method.
37// If unset, the context set by `WithWaitContext` will be used (falling back to `context.Background()`).

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…