Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for EXPIRES (0.11 sec)

  1. cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go

    	// If for some strange reason both token.TTL and token.Expires would be set
    	// (they are mutually exclusive in validation so this shouldn't be the case),
    	// token.Expires has higher priority, as can be seen in the logic here.
    	if token.Expires != nil {
    		// Format the expiration date accordingly
    		// TODO: This maybe should be a helper function in bootstraputil?
    		expirationString := token.Expires.Time.UTC().Format(time.RFC3339)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

            where:
            attributes << [
                    'Max-Age=31536000; Expires=Sun, 24 Jun 2018 16:26:36 GMT;',
                    'Max-Age=31536000; Expires=Sun Jun 24 16:26:36 2018;',
                    'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT;',
                    'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT-08:00;',
            ]
        }
    
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

        def expiration = new WorkerDaemonExpiration(clientsManager, MemoryAmount.ofGigaBytes(OS_MEMORY_GB).bytes)
    
        def "expires least recently used idle worker daemon to free system memory when requested to release some memory"() {
            given:
            def client1 = reserveNewClient(twoGbOptions)
            def client2 = reserveNewClient(twoGbOptions)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. internal/config/cache/remote.go

    		w.Header().Set(xhttp.LastModified, oi.ModTime.UTC().Format(http.TimeFormat))
    	}
    
    	if oi.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + oi.ETag + "\""}
    	}
    
    	if oi.Expires != "" {
    		w.Header().Set(xhttp.Expires, oi.Expires)
    	}
    
    	if oi.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, oi.CacheControl)
    	}
    
    	statusCode()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/kube/rpc_creds.go

    	its.mu.RLock()
    	token := its.Token
    	needRecreate := time.Until(its.Expires) < its.sunsetPeriod
    	its.mu.RUnlock()
    
    	if needRecreate {
    		its.mu.Lock()
    		// This checks the same condition as above.  (The outer check is to bypass the mutex when it is too early to renew)
    		if time.Until(its.Expires) < its.sunsetPeriod {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. cmd/signature-v2_test.go

    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60s",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	}
    
    	// Save expires in native time.Duration.
    	preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s")
    	if e != nil {
    		return psv, ErrMalformedExpires
    	}
    
    	if preSignV4Values.Expires < 0 {
    		return psv, ErrNegativeExpires
    	}
    
    	// Check if Expiry time is less than 7 days (value in seconds).
    	if preSignV4Values.Expires.Seconds() > 604800 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/bootstraptoken/v1/zz_generated.deepcopy.go

    		*out = new(BootstrapTokenString)
    		**out = **in
    	}
    	if in.TTL != nil {
    		in, out := &in.TTL, &out.TTL
    		*out = new(metav1.Duration)
    		**out = **in
    	}
    	if in.Expires != nil {
    		in, out := &in.Expires, &out.Expires
    		*out = (*in).DeepCopy()
    	}
    	if in.Usages != nil {
    		in, out := &in.Usages, &out.Usages
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Groups != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  9. pkg/queue/util.go

    package queue
    
    import (
    	"fmt"
    	"time"
    )
    
    // WaitForClose blocks until the Instance has stopped processing tasks or the timeout expires.
    // If the timeout is zero, it will wait until the queue is done processing.
    // WaitForClose an error if the timeout expires.
    func WaitForClose(q Instance, timeout time.Duration) error {
    	closed := q.Closed()
    	if timeout == 0 {
    		<-closed
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 14 06:36:32 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_timeout_stdin.txt

    [short] skip 'runs a test that hangs until its WaitDelay expires'
    
    ! go test -v -timeout=1m .
    
    	# After the test process itself prints PASS and exits,
    	# the kernel closes its stdin pipe to to the orphaned subprocess.
    	# At that point, we expect the subprocess to print 'stdin closed'
    	# and periodically log to stderr until the WaitDelay expires.
    	#
    	# Once the WaitDelay expires, the copying goroutine for 'go test' stops and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:23:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top