func listSecret(fakeClient clientset.Interface) listObjectFunc { … } func watchSecret(fakeClient clientset.Interface) watchObjectFunc { … } func isSecretImmutable(object runtime.Object) bool { … } func newSecretCache(fakeClient clientset.Interface, fakeClock clock.Clock, maxIdleTime time.Duration) *objectCache { … } func TestSecretCache(t *testing.T) { … } func TestSecretCacheMultipleRegistrations(t *testing.T) { … } func TestImmutableSecretStopsTheReflector(t *testing.T) { … } func TestMaxIdleTimeStopsTheReflector(t *testing.T) { … } func TestReflectorNotStoppedOnSlowInitialization(t *testing.T) { … } func TestRefMapHandlesReferencesCorrectly(t *testing.T) { … }