Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,578 for Hour (0.04 sec)

  1. 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)
  2. pkg/test/framework/components/istio/ca.go

    	if err != nil {
    		return Cert{}, fmt.Errorf("creating citadel client: %v", err)
    	}
    	req := &pb.IstioCertificateRequest{
    		Csr:              string(csrPEM),
    		ValidityDuration: int64((time.Hour * 24 * 7).Seconds()),
    	}
    	rctx := metadata.NewOutgoingContext(context.Background(), metadata.Pairs("Authorization", "Bearer "+token, "ClusterID", constants.DefaultClusterName))
    	resp, err := client.CreateCertificate(rctx, req)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/sts/client-grants.md

    By default, the temporary security credentials created by AssumeRoleWithClientGrants last for one hour. However, use the optional DurationSeconds parameter to specify the duration of the credentials. This value varies from 900 seconds (15 minutes) up to the maximum session duration of 365 days.
    
    ## API Request Parameters
    
    ### Token
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. 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)
Back to top