Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 4,994 for Hour (0.07 sec)

  1. docs/sts/web-identity.md

    By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, the optional DurationSeconds parameter can be used to specify the validity duration of the generated credentials. This value varies from 900 seconds (15 minutes) up to the maximum session duration of 365 days.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. src/net/dnsclient_unix_test.go

    		f.Close()
    		return err
    	}
    	f.Close()
    	return nil
    }
    
    func (conf *resolvConfTest) writeAndUpdate(lines []string) error {
    	return conf.writeAndUpdateWithLastCheckedTime(lines, time.Now().Add(time.Hour))
    }
    
    func (conf *resolvConfTest) writeAndUpdateWithLastCheckedTime(lines []string, lastChecked time.Time) error {
    	if err := conf.write(lines); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go

    	// is performed after key ID changes, and the number of restarts
    	// is limited, this cache size may be as small as the number of API
    	// servers in use (once old entries expire out from the TTL).
    	cacheTTL = 24 * time.Hour
    	// key ID related error codes for metrics
    	errKeyIDOKCode      ErrCodeKeyID = "ok"
    	errKeyIDEmptyCode   ErrCodeKeyID = "empty"
    	errKeyIDTooLongCode ErrCodeKeyID = "too_long"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 00:23:50 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/storage_test.go

    	}
    
    	condition1 := "condition1"
    	condition2 := "condition2"
    	pod1 := &api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "test", Name: "foo", CreationTimestamp: metav1.NewTime(time.Now().Add(-370 * 24 * time.Hour))},
    		Spec: api.PodSpec{
    			Containers: []api.Container{
    				{Name: "ctr1"},
    				{Name: "ctr2", Ports: []api.ContainerPort{{ContainerPort: 9376}}},
    			},
    			NodeName: "test-node",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1beta1_test.go

    		t.Fatal(err)
    	}
    	defer s.Close()
    
    	// Create an authenticator that caches successful responses "forever" (100 days).
    	wh, err := newV1beta1TokenAuthenticator(s.URL, clientCert, clientKey, caCert, 2400*time.Hour, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	testcases := []struct {
    		description string
    
    		token string
    		allow bool
    		code  int
    
    		expectError bool
    		expectOk    bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer s.Close()
    
    	// Create an authorizer that caches successful responses "forever" (100 days).
    	wh, err := newV1beta1Authorizer(s.URL, clientCert, clientKey, caCert, 2400*time.Hour)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	aliceAttr := authorizer.AttributesRecord{User: &user.DefaultInfo{Name: "alice"}}
    	bobAttr := authorizer.AttributesRecord{User: &user.DefaultInfo{Name: "bob"}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1_test.go

    		t.Fatal(err)
    	}
    	defer s.Close()
    
    	// Create an authenticator that caches successful responses "forever" (100 days).
    	wh, err := newV1TokenAuthenticator(s.URL, clientCert, clientKey, caCert, 2400*time.Hour, nil, noopAuthenticatorMetrics())
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	testcases := []struct {
    		description string
    
    		token string
    		allow bool
    		code  int
    
    		expectError bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  8. pkg/model/proxy.go

    	CertBaseDir string `json:"BASE,omitempty"`
    
    	// IdleTimeout specifies the idle timeout for the proxy, in duration format (10s).
    	// If not set, default timeout is 1 hour.
    	IdleTimeout string `json:"IDLE_TIMEOUT,omitempty"`
    
    	// HTTP10 indicates the application behind the sidecar is making outbound http requests with HTTP/1.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_test.go

    					Name: "fakeNode",
    				},
    				Spec: api.NodeSpec{},
    			})
    
    			client := fakeclient.NewSimpleClientset(objs...)
    
    			factory := informers.NewSharedInformerFactory(client, time.Hour /* disable resync */)
    			csiDriverInformer := factory.Storage().V1().CSIDrivers()
    			volumeAttachmentInformer := factory.Storage().V1().VolumeAttachments()
    			if driverInfo != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    			return State{}, errGen
    		}
    		return State{
    			Transformer:         transformer,
    			EncryptedObject:     *encObject,
    			UID:                 "panda",
    			ExpirationTimestamp: clock.Now().Add(time.Hour),
    			CacheKey:            cacheKey,
    		}, nil
    	}
    }
    
    // TestEnvelopeTransformerStaleness validates that staleness checks on read honor the data returned from the StateFunc.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
Back to top