client-go/tools/watch
Patrick Ohly 57bc261e52 client-go watch: NewIndexerInformerWatcherWithContext -> WithLogger
The ability to automatically stop on context cancellation was new functionality
that adds complexity and wasn't really used in Kubernetes. If someone wants
this, they can add it outside of the function.

A *WithLogger variant avoids the complexity and is consistent with
NewStreamWatcherWithLogger over in apimachinery.

Kubernetes-commit: 1a8d8c9b4a33daf9330434e1ad544ef3571722a3
2025-01-31 10:18:04 +01:00
..
informerwatcher_test.go client-go watch: NewIndexerInformerWatcherWithContext -> WithLogger 2025-01-31 10:18:04 +01:00
informerwatcher.go client-go watch: NewIndexerInformerWatcherWithContext -> WithLogger 2025-01-31 10:18:04 +01:00
retrywatcher_test.go client-go + apimachinery watch: context support 2024-12-20 13:55:47 +01:00
retrywatcher.go client-go + apimachinery watch: context support 2024-12-20 13:55:47 +01:00
until_test.go wait: Update tests to reference the constant error 2023-03-10 11:02:59 -06:00
until.go client-go watch: NewIndexerInformerWatcherWithContext -> WithLogger 2025-01-31 10:18:04 +01:00