type watchCacheInterval …
type attrFunc …
type indexerFunc …
type indexValidator …
func newCacheInterval(startIndex, endIndex int, indexer indexerFunc, indexValidator indexValidator, resourceVersion uint64, locker sync.Locker) *watchCacheInterval { … }
type sortableWatchCacheEvents …
func (s sortableWatchCacheEvents) Len() int { … }
func (s sortableWatchCacheEvents) Less(i, j int) bool { … }
func (s sortableWatchCacheEvents) Swap(i, j int) { … }
func newCacheIntervalFromStore(resourceVersion uint64, store storeIndexer, getAttrsFunc attrFunc, key string, matchesSingle bool) (*watchCacheInterval, error) { … }
func (wci *watchCacheInterval) Next() (*watchCacheEvent, error) { … }
func (wci *watchCacheInterval) fillBuffer() { … }
const bufferSize …
type watchCacheIntervalBuffer …
func (wcib *watchCacheIntervalBuffer) next() (*watchCacheEvent, bool) { … }
func (wcib *watchCacheIntervalBuffer) isFull() bool { … }
func (wcib *watchCacheIntervalBuffer) isEmpty() bool { … }