mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
Passing in a context instead of a stop channel has several advantages: - ensures that client-go calls return as soon as the controller is asked to stop - contextual logging can be used By passing that context down to its own functions and checking it while waiting, the lease controller also doesn't get stuck in backoffEnsureLease anymore (https://github.com/kubernetes/kubernetes/issues/116196). |
||
|---|---|---|
| .. | ||
| controller | ||
| reconcilers | ||
| storageversionhashdata | ||
| client_util.go | ||
| controller.go | ||
| controller_test.go | ||
| doc.go | ||
| import_known_versions.go | ||
| import_known_versions_test.go | ||
| instance.go | ||
| instance_test.go | ||
| OWNERS | ||
| services.go | ||