- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 184 for expiresIn (0.17 sec)
-
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) -
cmd/signature-v4_test.go
}, // (1) Should error on an invalid access key. { queryParams: map[string]string{ "X-Amz-Algorithm": signV4Algorithm, "X-Amz-Date": now.Format(iso8601Format), "X-Amz-Expires": "60", "X-Amz-Signature": "badsignature", "X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
pkg/credentialprovider/plugin/plugin.go
return dockerConfig } var expiresAt time.Time // nil cache duration means use the default cache duration if response.CacheDuration == nil { if p.defaultCacheDuration == 0 { return dockerConfig } expiresAt = p.clock.Now().Add(p.defaultCacheDuration) } else { expiresAt = p.clock.Now().Add(response.CacheDuration.Duration) } cachedEntry := &cacheEntry{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 05:07:28 UTC 2024 - 17.1K bytes - Viewed (0) -
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) -
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) -
cmd/kubeadm/app/cmd/token.go
fmt.Fprintln(out, token) return nil } func formatBootstrapToken(obj *outputapiv1alpha3.BootstrapToken) string { ttl := "<forever>" expires := "<never>" if obj.Expires != nil { ttl = duration.ShortHumanDuration(time.Until(obj.Expires.Time)) expires = obj.Expires.Format(time.RFC3339) } ttl = fmt.Sprintf("%-9s", ttl) usages := strings.Join(obj.Usages, ",") if len(usages) == 0 { usages = "<none>"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/exec/Crawler.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 24.1K bytes - Viewed (0) -
src/net/http/cookie.go
secs = -1 } c.MaxAge = secs continue case "expires": c.RawExpires = val exptime, err := time.Parse(time.RFC1123, val) if err != nil { exptime, err = time.Parse("Mon, 02-Jan-2006 15:04:05 MST", val) if err != nil { c.Expires = time.Time{} break } } c.Expires = exptime.UTC() continue case "path": c.Path = val continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/util/async/bounded_frequency_runner_test.go
// rel=0ms runner.Run() waitForRun("first run", t, timer, obj) // Run again, before minInterval expires. timer.advance(500 * time.Millisecond) // rel=500ms runner.Run() waitForDefer("too soon after first", t, timer, obj, 500*time.Millisecond) // Run again, before minInterval expires. timer.advance(499 * time.Millisecond) // rel=999ms runner.Run()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 12.5K bytes - Viewed (0)