Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,785 for Hour (0.05 sec)

  1. pkg/kubelet/token/token_manager_test.go

    					t.Fatalf("expected token to be refreshed: call count was %d", s.tg.count)
    				}
    			},
    		},
    		{
    			name: "rotate 24 hour token that expires in 40 hours",
    			exp:  40 * time.Hour,
    			f: func(t *testing.T, s *suite) {
    				s.clock.SetTime(s.clock.Now().Add(25 * time.Hour))
    				if _, err := s.mgr.GetServiceAccountToken("a", "b", getTokenRequest()); err != nil {
    					t.Fatalf("unexpected error: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    ){this.highlightedUnit=null,this.updateFromElementVal()},clear:function(){this.hour="",this.minute="",this.second="",this.meridian="",this.$element.val("")},decrementHour:function(){if(this.showMeridian)if(1===this.hour)this.hour=12;else{if(12===this.hour)return this.hour--,this.toggleMeridian();if(0===this.hour)return this.hour=11,this.toggleMeridian();this.hour--}else this.hour<=0?this.hour=this.maxHours-1:this.hour--},decrementMinute:function(a){var b;b=a?this.minute-a:this.minute-this.minute...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 18.2K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/utils_test.go

    		}
    	}
    	{
    		// Case 6: now is way way ahead of last start time, and there is no deadline.
    		cj.ObjectMeta.CreationTimestamp = metav1.Time{Time: T1.Add(-2 * time.Hour)}
    		cj.Status.LastScheduleTime = &metav1.Time{Time: T1.Add(-1 * time.Hour)}
    		now := T2.Add(10 * 24 * time.Hour)
    		schedule, _ := nextScheduleTime(logger, &cj, now, ParseSchedule(cj.Spec.Schedule), recorder)
    		if schedule == nil {
    			t.Errorf("expected more than 0 missed times")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. pkg/registry/certificates/certificates/storage/metrics_test.go

    				Status: certificates.CertificateSigningRequestStatus{
    					Certificate: createCert(t, time.Hour, caPrivateKey, caCert),
    				},
    			},
    			old: &certificates.CertificateSigningRequest{
    				Spec: certificates.CertificateSigningRequestSpec{
    					SignerName:        "kubernetes.io/educate-dolphins",
    					ExpirationSeconds: csr.DurationToExpirationSeconds(time.Hour),
    				},
    			},
    			options:       &metav1.UpdateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. security/pkg/pki/ca/ca_test.go

    			},
    			maxTTL:        2 * time.Hour,
    			requestedTTL:  3 * time.Hour,
    			expectedError: "requested TTL 3h0m0s is greater than the max allowed TTL 2h0m0s",
    		},
    		"CSR uses EC TTL error": {
    			forCA: false,
    			certOpts: util.CertOptions{
    				Org:      "istio.io",
    				ECSigAlg: util.EcdsaSigAlg,
    			},
    			maxTTL:        2 * time.Hour,
    			requestedTTL:  3 * time.Hour,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. pkg/controller/certificates/signer/signer_test.go

    			certTTL:           time.Hour,
    			expirationSeconds: csr.DurationToExpirationSeconds(30 * time.Minute),
    			want:              30 * time.Minute,
    		},
    		{
    			name:              "cannot request longer duration than TTL",
    			certTTL:           time.Hour,
    			expirationSeconds: csr.DurationToExpirationSeconds(3 * time.Hour),
    			want:              time.Hour,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 15K bytes
    - Viewed (0)
  7. src/net/conf_test.go

    		t.Fatal("failed to change resolv config")
    	}
    
    	setSystemNSS(nssStr(t, "hosts: files myhostname dns"), time.Hour)
    	cnf := &conf{}
    	order, _ := cnf.addrLookupOrder(nil, "192.0.2.1")
    	if order != hostLookupCgo {
    		t.Errorf("addrLookupOrder returned: %v, want cgo", order)
    	}
    
    	setSystemNSS(nssStr(t, "hosts: files mdns4 dns"), time.Hour)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:46:36 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/certificates_test.go

    	allConfig := csrsigningconfig.CSRSigningControllerConfiguration{
    		ClusterSigningCertFile: "/cluster-signing-cert",
    		ClusterSigningKeyFile:  "/cluster-signing-key",
    		ClusterSigningDuration: metav1.Duration{Duration: 10 * time.Hour},
    		KubeletServingSignerConfiguration: csrsigningconfig.CSRSigningConfiguration{
    			CertFile: "/cluster-signing-kubelet-serving/cert-file",
    			KeyFile:  "/cluster-signing-kubelet-serving/key-file",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 09 12:14:55 UTC 2020
    - 12.1K bytes
    - Viewed (0)
  9. src/time/example_test.go

    	afterTenHours := start.Add(time.Hour * 10)
    	afterTenDays := start.Add(time.Hour * 24 * 10)
    
    	fmt.Printf("start = %v\n", start)
    	fmt.Printf("start.Add(time.Second * 10) = %v\n", afterTenSeconds)
    	fmt.Printf("start.Add(time.Minute * 10) = %v\n", afterTenMinutes)
    	fmt.Printf("start.Add(time.Hour * 10) = %v\n", afterTenHours)
    	fmt.Printf("start.Add(time.Hour * 24 * 10) = %v\n", afterTenDays)
    
    	// Output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. src/time/tick_test.go

    			}
    		})
    	}
    
    	run(t, "After", func() { After(Hour) })
    	run(t, "Tick", func() { Tick(Hour) })
    	run(t, "NewTimer", func() { NewTimer(Hour) })
    	run(t, "NewTicker", func() { NewTicker(Hour) })
    	run(t, "NewTimerStop", func() { NewTimer(Hour).Stop() })
    	run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() })
    }
    
    func TestChan(t *testing.T) {
    	for _, name := range []string{"0", "1", "2"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top