Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for NoncurrentVersionsExpirationLimit (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/bucket/lifecycle/lifecycle.go

    			fmt.Sprintf(`transition-date="%s", rule-id="%s"`, event.Due.Format(http.TimeFormat), event.RuleID),
    		}
    	}
    }
    
    // NoncurrentVersionsExpirationLimit returns the number of noncurrent versions
    // to be retained from the first applicable rule per S3 behavior.
    func (lc Lifecycle) NoncurrentVersionsExpirationLimit(obj ObjectOpts) Event {
    	for _, rule := range lc.FilterRules(obj) {
    		if rule.NoncurrentVersionExpiration.NewerNoncurrentVersions == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    				NewerNoncurrentVersions: i,
    				NoncurrentDays:          ExpirationDays(i),
    			},
    		})
    	}
    	lc := Lifecycle{
    		Rules: rules,
    	}
    	if event := lc.NoncurrentVersionsExpirationLimit(ObjectOpts{Name: "obj"}); event.RuleID != "1" || event.NoncurrentDays != 1 || event.NewerNoncurrentVersions != 1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
Back to Top