Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for configuredPod (0.16 sec)

  1. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    		},
    	}
    }
    
    func configuredLegacyTokenCleanUpPeriod(start string) time.Duration {
    	current := time.Now().UTC()
    	startTime, _ := time.Parse(dateFormat, start)
    	return current.Sub(startTime)
    }
    
    func configuredPod(withSecretMount bool) *v1.Pod {
    	if !withSecretMount {
    		return &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "pod-1",
    				Namespace: "default",
    			},
    		}
    	}
    	return &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top