kubernetes/pkg/kubelet/util/manager/cache_based_manager_test.go

func checkObject(t *testing.T, store *objectStore, ns, name string, shouldExist bool) {}

func noObjectTTL() (time.Duration, bool) {}

func getSecret(fakeClient clientset.Interface) GetObjectFunc {}

func newSecretStore(fakeClient clientset.Interface, clock clock.Clock, getTTL GetObjectTTLFunc, ttl time.Duration) *objectStore {}

func getSecretNames(pod *v1.Pod) sets.Set[string] {}

func newCacheBasedSecretManager(store Store) Manager {}

func TestSecretStore(t *testing.T) {}

func TestSecretStoreDeletingSecret(t *testing.T) {}

func TestSecretStoreGetAlwaysRefresh(t *testing.T) {}

func TestSecretStoreGetNeverRefresh(t *testing.T) {}

func TestCustomTTL(t *testing.T) {}

func TestParseNodeAnnotation(t *testing.T) {}

type envSecrets

type secretsToAttach

func podWithSecrets(ns, podName string, toAttach secretsToAttach) *v1.Pod {}

func podWithSecretsAndUID(ns, podName, podUID string, toAttach secretsToAttach) *v1.Pod {}

func TestCacheInvalidation(t *testing.T) {}

func TestResourceContentExpired(t *testing.T) {}

func TestRegisterIdempotence(t *testing.T) {}

func TestCacheRefcounts(t *testing.T) {}

func TestCacheBasedSecretManager(t *testing.T) {}