Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBootstrapTokenToSecret (0.18 sec)

  1. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    		})
    	}
    }
    
    // This timestamp is used as the reference value when computing expiration dates based on TTLs in these unit tests
    var refTime = time.Date(1970, time.January, 1, 1, 1, 1, 0, time.UTC)
    
    func TestBootstrapTokenToSecret(t *testing.T) {
    	var tests = []struct {
    		bt     *BootstrapToken
    		secret *v1.Secret
    	}{
    		{
    			&BootstrapToken{ // all together
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
Back to top