WithWaitContext sets the context for waiting on resources. If unset, context.Background() will be used.
(ctx context.Context)
| 28 | // WithWaitContext sets the context for waiting on resources. |
| 29 | // If unset, context.Background() will be used. |
| 30 | func 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()`). |
no outgoing calls
searching dependent graphs…