mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-09 13:18:01 +00:00
The FakeWatcher allows sends on the result channel after it's closed, for example calling Stop() then Add() will panic. RaceFreeFakeWatcher checks whether the watcher is stopped before attempting to send. It also panics instead of blocking when the result channel is full. Kubernetes-commit: b84ad8828b6ffe0dd289f69e395968eabb9fbeaa
14 KiB
14 KiB