func checkObject(t *testing.T, store manager.Store, ns, name string, shouldExist bool) { … } func noObjectTTL() (time.Duration, bool) { … } func getConfigMap(fakeClient clientset.Interface) manager.GetObjectFunc { … } type envConfigMaps … type configMapsToAttach … func podWithConfigMaps(ns, podName string, toAttach configMapsToAttach) *v1.Pod { … } func TestCacheBasedConfigMapManager(t *testing.T) { … }