Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for age (0.15 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    				break
    			}
    
    			if !rule.Expiration.IsDaysNull() {
    				// Specifying the Days tag will automatically perform ExpiredObjectDeleteMarker cleanup
    				// once delete markers are old enough to satisfy the age criteria.
    				// https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html
    				if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	// Verify signature.
    	if !compareSignatureV4(req.Form.Get(xhttp.AmzSignature), newSignature) {
    		return ErrSignatureDoesNotMatch
    	}
    
    	r.Header.Set("x-amz-signature-age", strconv.FormatInt(UTCNow().Sub(pSignValues.Date).Milliseconds(), 10))
    
    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			objectModTime:   time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			hasManyVersions: true,
    			expectedAction:  DeleteAllVersionsAction,
    		},
    		// TransitionAction applies since object doesn't meet the age criteria for DeleteAllVersions
    		{
    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)
Back to top