Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,973 for Hour (0.06 sec)

  1. security/pkg/util/jwtutil_test.go

    		expectedExp time.Time
    		expectedErr error
    	}{
    		"jwt with expiration time": {
    			jwt:         thirdPartyJwt,
    			expectedExp: time.Date(2020, time.April, 5, 10, 13, 54, 0, time.FixedZone("PDT", -int((7*time.Hour).Seconds()))),
    			expectedErr: nil,
    		},
    		"jwt with no expiration time": {
    			jwt:         firstPartyJwt,
    			expectedExp: time.Time{},
    			expectedErr: nil,
    		},
    		"invalid jwt": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/kubeconfig_test.go

    			withClientCert:         true,
    			command:                "user",
    			additionalFlags:        []string{"--validity-period=12h"},
    			expectedValidityPeriod: 12 * time.Hour,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			buf := new(bytes.Buffer)
    
    			// Get subcommands working in the temporary directory
    			cmd := newCmdUserKubeConfig(buf)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			obj.RegistryBurst = 10
    			obj.RegistryPullQPS = 5
    			obj.ResolverConfig = kubetypes.ResolvConfDefault
    			obj.SerializeImagePulls = true
    			obj.StreamingConnectionIdleTimeout = metav1.Duration{Duration: 4 * time.Hour}
    			obj.SyncFrequency = metav1.Duration{Duration: 1 * time.Minute}
    			obj.ContentType = "application/vnd.kubernetes.protobuf"
    			obj.KubeAPIQPS = 50
    			obj.KubeAPIBurst = 100
    			obj.HairpinMode = v1beta1.PromiscuousBridge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. 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)
  5. pkg/log/uds_test.go

    	}
    
    	{
    		t.Log("test sending log with specified time")
    
    		// Clean up all the mssages, and log again. Check that buffer is cleaned up properly.
    		srv.messages = make([]string, 0)
    		yesterday := time.Now().Add(-time.Hour * 24).Truncate(time.Microsecond)
    		defaultScope.LogWithTime(InfoLevel, "test3", yesterday)
    		Sync()
    		// There should only be one message in the buffer
    		if got, want := len(srv.messages), 1; got != want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 01:05:12 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		{"ms", []string{"ms", "millisecond"}, float64(time.Millisecond)},
    		{"s", []string{"s", "sec", "second"}, float64(time.Second)},
    		{"hrs", []string{"hour", "hr"}, float64(time.Hour)},
    	},
    	DefaultUnit: Unit{"s", []string{}, float64(time.Second)},
    }, {
    	Units: []Unit{
    		{"n*GCU", []string{"nanogcu"}, 1e-9},
    		{"u*GCU", []string{"microgcu"}, 1e-6},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. istioctl/pkg/xds/client.go

    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/adsc"
    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultExpirationSeconds is how long-lived a token to request (an hour)
    	defaultExpirationSeconds = 60 * 60
    )
    
    // Audience to create tokens for
    var tokenAudiences = []string{"istio-ca"}
    
    // GetXdsResponse opens a gRPC connection to opts.xds and waits for a single response
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. cmd/jwt.go

    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 15 minutes.
    	defaultInterNodeJWTExpiry = 15 * time.Minute
    )
    
    var (
    	errInvalidAccessKeyID = errors.New("The access key ID you provided does not exist in our records")
    	errAccessKeyDisabled  = errors.New("The access key you provided is disabled")
    	errAuthentication     = errors.New("Authentication failed, check your access credentials")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. pkg/kube/client_factory.go

    			discoveryCacheDir := computeDiscoverCacheDir(filepath.Join(cacheDir, "discovery"), restConfig.Host)
    
    			return diskcached.NewCachedDiscoveryClientForConfig(restConfig, discoveryCacheDir, httpCacheDir, 6*time.Hour)
    		}
    		d, err := discovery.NewDiscoveryClientForConfig(restConfig)
    		if err != nil {
    			return nil, err
    		}
    		return memory.NewMemCacheClient(d), nil
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top