func init() { … }
type testObject …
func (o testObject) GetObjectKind() schema.ObjectKind { … }
func (o testObject) DeepCopyObject() runtime.Object { … }
func (o testObject) GetResourceVersion() string { … }
func withCounter(w cache.Watcher) (*uint32, cache.Watcher) { … }
func makeTestEvent(rv int) watch.Event { … }
func arrayToChannel(array []watch.Event) chan watch.Event { … }
func parseResourceVersionOrDie(resourceVersion string) uint64 { … }
func fromRV(resourceVersion string, array []watch.Event) []watch.Event { … }
func closeAfterN(n int, source chan watch.Event) chan watch.Event { … }
type unexpectedError …
var _ …
func TestNewRetryWatcher(t *testing.T) { … }
func TestRetryWatcher(t *testing.T) { … }
func TestRetryWatcherToFinishWithUnreadEvents(t *testing.T) { … }