![]() 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_test.go | ||
controller.go | ||
doc.go | ||
import_known_versions_test.go | ||
import_known_versions.go | ||
instance_test.go | ||
instance.go | ||
OWNERS | ||
services.go |