sample-controller/pkg/generated
Patrick Ohly 17c7f29b31 client-go: support waiting for SharedInformerFactory shutdown
SharedInformerFactory starts goroutines in Start and those can be stopped by
closing the stop channel. However, there was no API that waits for the
goroutines.

This is a problem for unit testing. A test has to return while the informers
are still running, which may get flagged by tools like
https://github.com/uber-go/goleak or by klog/ktesting when those informers
lead to log output.

While at it, more documentation gets added to address
https://github.com/kubernetes/kubernetes/issues/65036.

Kubernetes-commit: e89d1d47e8365cad31600b17dab662d3c8a359dd
2022-09-01 13:46:08 +02:00
..
clientset/versioned Generate and format files 2022-07-19 20:54:13 -04:00
informers/externalversions client-go: support waiting for SharedInformerFactory shutdown 2022-09-01 13:46:08 +02:00
listers/samplecontroller/v1alpha1 Re-generate all listers 2020-03-22 12:43:02 -04:00