Codebase Browser
kubernetes
func configuredConfigMap(label string) *v1.ConfigMap { … }
func configuredServiceAccountTokenSecret(lastUsedLabel, invalidSinceLabel, creationTimeString, serviceAccountName, serviceAccountUID, deletionTimeString string) *v1.Secret { … }
func configuredLegacyTokenCleanUpPeriod(start string) time.Duration { … }
func configuredPod(withSecretMount bool) *v1.Pod { … }
func patchContent(namespace, name, invalidSince string, uID types.UID) []byte { … }
func TestLegacyServiceAccountTokenCleanUp(t *testing.T) { … }