Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExpectedExpiryTime (0.19 sec)

  1. cmd/bucket-lifecycle.go

    	for k, v := range objInfo.UserDefined {
    		meta[k] = v
    	}
    	if len(objInfo.UserTags) != 0 {
    		meta[xhttp.AmzObjectTagging] = objInfo.UserTags
    	}
    	// Set restore object status
    	restoreExpiry := lifecycle.ExpectedExpiryTime(time.Now().UTC(), rreq.Days)
    	meta[xhttp.AmzRestore] = completedRestoreObj(restoreExpiry).String()
    	return ObjectOptions{
    		Versioned:        globalBucketVersioningSys.PrefixEnabled(bucket, object),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    			// subsequent lifecycle policy applications
    			objectInfos = append(objectInfos, obj)
    			continue
    		}
    
    		// NoncurrentDays not passed yet.
    		if time.Now().UTC().Before(lifecycle.ExpectedExpiryTime(obj.SuccessorModTime, event.NoncurrentDays)) {
    			// add this version back to remaining versions for
    			// subsequent lifecycle policy applications
    			objectInfos = append(objectInfos, obj)
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top