Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,584 for Hour (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/serviceaccount/config/v1alpha1/defaults.go

    // as defaulting in the scheme is done as part of the conversion, and there would
    // be no easy way to opt-out. Instead, if you want to use this defaulting method
    // run it in your wrapper struct of this type in its `SetDefaults_` method.
    func RecommendedDefaultSAControllerConfiguration(obj *kubectrlmgrconfigv1alpha1.SAControllerConfiguration) {
    	if obj.ConcurrentSATokenSyncs == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 24 23:20:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/controller/certificates/cleaner/cleaner.go

    	// automatically clean it up.
    	pollingInterval = 1 * time.Hour
    	// The time periods after which these different CSR statuses should be
    	// cleaned up.
    	approvedExpiration = 1 * time.Hour
    	deniedExpiration   = 1 * time.Hour
    	pendingExpiration  = 24 * time.Hour
    )
    
    // CSRCleanerController is a controller that garbage collects old certificate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. internal/logger/logonce.go

    	}
    	l.Unlock()
    
    	if shouldLog {
    		logIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    // Cleanup the map every one hour so that the log message is printed again for the user to notice.
    func (l *logOnceType) cleanupRoutine() {
    	for {
    		time.Sleep(time.Hour)
    
    		l.Lock()
    		l.IDMap = make(map[string]onceErr)
    		l.Unlock()
    	}
    }
    
    // Returns logOnceType
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top