kubernetes/staging/src/k8s.io/client-go/tools/cache/expiration_cache_fakes.go

type fakeThreadSafeMap

func (c *fakeThreadSafeMap) Delete(key string) {}

type FakeExpirationPolicy

// IsExpired used to check if object is expired.
func (p *FakeExpirationPolicy) IsExpired(obj *TimestampedEntry) bool {}

// NewFakeExpirationStore creates a new instance for the ExpirationCache.
func NewFakeExpirationStore(keyFunc KeyFunc, deletedKeys chan<- string, expirationPolicy ExpirationPolicy, cacheClock clock.Clock) Store {}