Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExpectedExpiryTime (0.17 sec)

  1. internal/bucket/lifecycle/delmarker-expiration.go

    // applicable, returns false otherwise.
    func (de DelMarkerExpiration) NextDue(obj ObjectOpts) (time.Time, bool) {
    	if !obj.IsLatest || !obj.DeleteMarker {
    		return time.Time{}, false
    	}
    
    	return ExpectedExpiryTime(obj.ModTime, de.Days), true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/transition.go

    		return t.Date.Time, true
    	}
    
    	// Days == 0 indicates immediate tiering, i.e object is eligible for tiering since its creation.
    	if t.Days == 0 {
    		return obj.ModTime, true
    	}
    	return ExpectedExpiryTime(obj.ModTime, int(t.Days)), true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/noncurrentversion.go

    	}
    	// Days == 0 indicates immediate tiering, i.e object is eligible for tiering since it became noncurrent.
    	if n.NoncurrentDays == 0 {
    		return obj.SuccessorModTime, true
    	}
    	return ExpectedExpiryTime(obj.SuccessorModTime, int(n.NoncurrentDays)), true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
Back to top