Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for expires (0.21 sec)

  1. cmd/test-utils_test.go

    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	},
    	ErrMalformedExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires should be a number",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNegativeExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires must be non-negative",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAuthHeaderEmpty: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  3. cmd/object-api-datatypes_gen.go

    			z.ContentEncoding, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ContentEncoding")
    				return
    			}
    		case "Expires":
    			z.Expires, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Expires")
    				return
    			}
    		case "CacheControl":
    			z.CacheControl, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    					Key:          objInfo.Name,
    					Bucket:       objInfo.Bucket,
    					ETag:         getDecryptedETag(formValues, objInfo, false),
    					ModTime:      objInfo.ModTime,
    					Expires:      objInfo.Expires.UTC().Format(http.TimeFormat),
    					CacheControl: objInfo.CacheControl,
    					Metadata:     cleanReservedKeys(objInfo.UserDefined),
    					Size:         asize,
    				})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	Started   time.Time            `yaml:"-" json:"started"`
    	Replicate *BatchJobReplicateV1 `yaml:"replicate" json:"replicate"`
    	KeyRotate *BatchJobKeyRotateV1 `yaml:"keyrotate" json:"keyrotate"`
    	Expire    *BatchJobExpire      `yaml:"expire" json:"expire"`
    	ctx       context.Context      `msg:"-"`
    }
    
    func notifyEndpoint(ctx context.Context, ri *batchJobInfo, endpoint, token string) error {
    	if endpoint == "" {
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      }
    
      /**
       * Returns a future that delegates to another but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified duration expires.
       *
       * <p>The delegate future is interrupted and cancelled if it times out.
       *
       * @param delegate The future to delegate to.
       * @param unit the time unit of the time parameter
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove - empty prefix, tags match, object is expired based on specified Days
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       * useful in testing, or to disable caching temporarily without a code change.
       *
       * <p>Expired entries may be counted in {@link Cache#size}, but will never be visible to read or
       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    			}
    		}
    		return objInfo, ObjectNotFound{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    
    	if opts.DeletePrefix {
    		if opts.Expiration.Expire {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. cmd/iam.go

    				took := time.Since(refreshStart).Seconds()
    				if took > maxDurationSecondsForLog {
    					// Log if we took a lot of time to load.
    					logger.Info("IAM refresh took %.2fs", took)
    				}
    			}
    
    			// Purge expired STS credentials.
    			purgeStart := time.Now()
    			if err := sys.store.PurgeExpiredSTS(ctx); err != nil {
    				iamLogIf(ctx, fmt.Errorf("Failure in periodic STS purge for IAM (took %.2fs): %v", time.Since(purgeStart).Seconds(), err))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top