const cacheWatcherWaitingForBookmark …
const cacheWatcherBookmarkReceived …
const cacheWatcherBookmarkSent …
type cacheWatcher …
func newCacheWatcher(
chanSize int,
filter filterWithAttrsFunc,
forget func(bool),
versioner storage.Versioner,
deadline time.Time,
allowWatchBookmarks bool,
groupResource schema.GroupResource,
identifier string,
) *cacheWatcher { … }
func (c *cacheWatcher) ResultChan() <-chan watch.Event { … }
func (c *cacheWatcher) Stop() { … }
func (c *cacheWatcher) stopLocked() { … }
func (c *cacheWatcher) nonblockingAdd(event *watchCacheEvent) bool { … }
func (c *cacheWatcher) add(event *watchCacheEvent, timer *time.Timer) bool { … }
func (c *cacheWatcher) nextBookmarkTime(now time.Time, bookmarkFrequency time.Duration) (time.Time, bool) { … }
func (c *cacheWatcher) wasBookmarkAfterRvReceived() bool { … }
func (c *cacheWatcher) wasBookmarkAfterRvReceivedLocked() bool { … }
func (c *cacheWatcher) markBookmarkAfterRvAsReceived(event *watchCacheEvent) { … }
func (c *cacheWatcher) wasBookmarkAfterRvSentLocked() bool { … }
func (c *cacheWatcher) wasBookmarkAfterRvSent() bool { … }
func (c *cacheWatcher) markBookmarkAfterRvSent(event *watchCacheEvent) { … }
func (c *cacheWatcher) setBookmarkAfterResourceVersion(bookmarkAfterResourceVersion uint64) { … }
func (c *cacheWatcher) setDrainInputBufferLocked(drain bool) { … }
func (c *cacheWatcher) isDoneChannelClosedLocked() bool { … }
func getMutableObject(object runtime.Object) runtime.Object { … }
func updateResourceVersion(object runtime.Object, versioner storage.Versioner, resourceVersion uint64) { … }
func (c *cacheWatcher) convertToWatchEvent(event *watchCacheEvent) *watch.Event { … }
func (c *cacheWatcher) sendWatchCacheEvent(event *watchCacheEvent) { … }
func (c *cacheWatcher) processInterval(ctx context.Context, cacheInterval *watchCacheInterval, resourceVersion uint64) { … }
func (c *cacheWatcher) process(ctx context.Context, resourceVersion uint64) { … }