Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,234 for Hour (0.06 sec)

  1. pkg/kubelet/util/queue/work_queue_test.go

    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    }
    
    func TestNewBasicWorkQueue(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/options_test.go

    				Address:         "0.0.0.0", // Note: This field should have no effect in CM now, and "0.0.0.0" is the default value.
    				MinResyncPeriod: metav1.Duration{Duration: 8 * time.Hour},
    				ClientConnection: componentbaseconfig.ClientConnectionConfiguration{
    					Kubeconfig:  "/kubeconfig",
    					ContentType: "application/json",
    					QPS:         50.0,
    					Burst:       100,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    				RevokedCertificates: []pkix.RevokedCertificate{
    					{
    						SerialNumber:   big.NewInt(2),
    						RevocationTime: time.Time{}.Add(time.Hour),
    					},
    				},
    				Number:     big.NewInt(5),
    				ThisUpdate: time.Time{}.Add(time.Hour * 24),
    				NextUpdate: time.Time{}.Add(time.Hour * 48),
    			},
    			expectedError: "x509: requested SignatureAlgorithm does not match private key type",
    		},
    		{
    			name: "valid",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. cmd/object-lambda-handlers.go

    		host = globalMinioEndpointURL.Host
    		secure = globalMinioEndpointURL.Scheme == "https"
    	}
    
    	duration := time.Until(cred.Expiration)
    	if duration > time.Hour || duration < time.Hour {
    		// Always limit to 1 hour.
    		duration = time.Hour
    	}
    
    	clnt, err := miniogo.New(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:    secure,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. security/pkg/pki/util/keycertbundle_test.go

    			caCertFile:    rootCertFile,
    			caKeyFile:     rootKeyFile,
    			certChainFile: nil,
    			rootCertFile:  rootCertFile,
    			certOptions: &CertOptions{
    				Host:       "test_ca.com",
    				TTL:        time.Hour,
    				Org:        "MyOrg",
    				IsCA:       true,
    				RSAKeySize: 2048,
    			},
    			expectedErr: "failed to extract id the SAN extension does not exist",
    		},
    		"RSA Success": {
    			caCertFile:    certChainFile1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/certlist_test.go

    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					CertificateValidityPeriod: &metav1.Duration{
    						Duration: time.Hour * 1,
    					},
    				},
    			},
    			expectedConfig: &pkiutil.CertConfig{
    				Config: certutil.Config{
    					NotBefore: now.Add(-backdate),
    				},
    				NotAfter: now.Add(time.Hour * 1)},
    		},
    		{
    			name: "CA cert validity is set",
    			cert: &KubeadmCert{
    				CAName:       "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. cmd/metrics-v3-bucket-replication.go

    var (
    	bucketReplLastHrFailedBytesMD = NewGaugeMD(bucketReplLastHrFailedBytes,
    		"Total number of bytes failed at least once to replicate in the last hour on a bucket",
    		bucketL)
    	bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount,
    		"Total number of objects which failed replication in the last hour on a bucket",
    		bucketL)
    	bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. internal/config/identity/tls/config.go

    	// debugging or testing purposes.
    	InsecureSkipVerify bool `json:"skip_verify"`
    }
    
    const (
    	defaultExpiry time.Duration = 1 * time.Hour
    	minExpiry     time.Duration = 15 * time.Minute
    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    			},
    			lease:                createNodeLease("node0", metav1.NewMicroTime(fakeNow.Time)),
    			timeToPass:           time.Hour,
    			newLease:             createNodeLease("node0", metav1.NewMicroTime(fakeNow.Time.Add(time.Hour))), // Lease is renewed after 1 hour.
    			expectedRequestCount: 2,                                                                          // List+List
    			expectedNodes: []*v1.Node{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  10. src/time/sleep_test.go

    			for i := range timers {
    				timers[i] = AfterFunc(Hour, nil)
    			}
    
    			for i := range timers {
    				timers[i].Stop()
    			}
    		}
    	})
    }
    
    func BenchmarkReset(b *testing.B) {
    	b.Run("impl=chan", func(b *testing.B) {
    		benchmark(b, func(pb *testing.PB) {
    			t := NewTimer(Hour)
    			for pb.Next() {
    				t.Reset(Hour)
    			}
    			t.Stop()
    		})
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top