Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,000 for Hour (0.04 sec)

  1. pkg/registry/core/persistentvolume/strategy_test.go

    		map[string]string{"name": "metadata.name"},
    	)
    }
    
    func TestStatusUpdate(t *testing.T) {
    	now := metav1.Now()
    	origin := metav1.NewTime(now.Add(time.Hour))
    	later := metav1.NewTime(now.Add(time.Hour * 2))
    	NowFunc = func() metav1.Time { return now }
    	defer func() {
    		NowFunc = metav1.Now
    	}()
    	tests := []struct {
    		name        string
    		fg          bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/defaults.go

    		obj.DefaultMode = &perm
    	}
    }
    func SetDefaults_ServiceAccountTokenProjection(obj *v1.ServiceAccountTokenProjection) {
    	hour := int64(time.Hour.Seconds())
    	if obj.ExpirationSeconds == nil {
    		obj.ExpirationSeconds = &hour
    	}
    }
    func SetDefaults_PersistentVolume(obj *v1.PersistentVolume) {
    	if obj.Status.Phase == "" {
    		obj.Status.Phase = v1.VolumePending
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	if t.staleUploadsCleanupInterval == 0 {
    		return 6 * time.Hour // default 6 hours
    	}
    
    	return t.staleUploadsCleanupInterval
    }
    
    func (t *apiConfig) getStaleUploadsExpiry() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.staleUploadsExpiry == 0 {
    		return 24 * time.Hour // default 24 hours
    	}
    
    	return t.staleUploadsExpiry
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/list.md

    | `minio_cluster_replication_last_hour_failed_bytes`         | (_Site Replication Only_) Total number of bytes failed at least once to replicate in the last full hour. |
    | `minio_cluster_replication_last_hour_failed_count`         | (_Site Replication Only_) Total number of objects which failed replication in the last full hour.        |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  5. pkg/controller/podgc/gc_controller_test.go

    			creationTime := time.Unix(0, 0)
    			nodes := []*v1.Node{testutil.NewNode("node")}
    
    			pods := make([]*v1.Pod, 0, len(test.pods))
    			for _, pod := range test.pods {
    				creationTime = creationTime.Add(1 * time.Hour)
    				pods = append(pods, &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{Name: pod.name, Namespace: metav1.NamespaceDefault, CreationTimestamp: metav1.Time{Time: creationTime}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    createSearchLogCondition(pager, cb);
                    cb.aggregation().setRequestedAt_DateHistogram(SearchLogPager.LOG_TYPE_SEARCH_COUNT_HOUR, op -> {
                        op.calendarInterval(DateHistogramInterval.HOUR);
                        op.minDocCount(0);
                        op.order(BucketOrder.key(true));
                    }, null);
                });
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. internal/rest/client.go

    // https://www.awsarchitectureblog.com/2015/03/backoff.html
    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. cmd/globals.go

    	// tmp directory are deemed stale.
    	GlobalStaleUploadsExpiry = time.Hour * 24 // 24 hrs.
    
    	// GlobalStaleUploadsCleanupInterval - Cleanup interval when the stale uploads cleanup is initiated.
    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go

    				CurrentTime: time.Now().Add(time.Duration(-100 * time.Hour * 24 * 365)),
    				Roots:       getRootCertPool(t),
    			},
    			Certs: getCerts(t, clientCNCert),
    			User:  CommonNameUserConversion,
    
    			ExpectOK:  false,
    			ExpectErr: true,
    		},
    		"expired cert": {
    			Opts: x509.VerifyOptions{
    				CurrentTime: time.Now().Add(time.Duration(100 * time.Hour * 24 * 365)),
    				Roots:       getRootCertPool(t),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 23:23:03 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top