kubernetes/test/integration/examples
Patrick Ohly b92273a760 apiserver + controllers: enhance context support
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.

The context could get passed to the constructor. A cleaner solution is to
enhance context support for the apiserver and then pass the context into the
controller's run method. This ripples up the call stack to all places which
start an apiserver.
2024-04-29 20:59:21 +02:00
..
apiserver_test.go apiserver + controllers: enhance context support 2024-04-29 20:59:21 +02:00
main_test.go
webhook_test.go pkg/controlplane: split up config into generic controlplane and kube-related part 2024-04-26 14:14:06 +02:00