minio/pkg/bucket/lifecycle
Anis Elleuch af88772a78
lifecycle: NoncurrentVersionExpiration considers noncurrent version age (#10444)
From https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions

```
When specifying the number of days in the NoncurrentVersionTransition
and NoncurrentVersionExpiration actions in a Lifecycle configuration,
note the following:

It is the number of days from when the version of the object becomes
noncurrent (that is, when the object is overwritten or deleted), that
Amazon S3 will perform the action on the specified object or objects.

Amazon S3 calculates the time by adding the number of days specified in
the rule to the time when the new successor version of the object is
created and rounding the resulting time to the next day midnight UTC.
For example, in your bucket, suppose that you have a current version of
an object that was created at 1/1/2014 10:30 AM UTC. If the new version
of the object that replaces the current version is created at 1/15/2014
10:30 AM UTC, and you specify 3 days in a transition rule, the
transition date of the object is calculated as 1/19/2014 00:00 UTC.
```
2020-09-09 18:11:24 -07:00
..
action_string.go Add missing action stringer for DeleteVersionAction (#10049) 2020-07-15 17:28:49 +05:30
and.go relax validation when loading lifecycle document from the backend (#9612) 2020-05-18 08:33:43 -07:00
error.go Add support for Object Tagging in LifeCycle configuration (#8880) 2020-02-06 13:20:10 +05:30
expiration_test.go lifecycle: Accept document without expiration (#10348) 2020-08-25 12:38:59 -07:00
expiration.go lifecycle: Accept document without expiration (#10348) 2020-08-25 12:38:59 -07:00
filter_test.go Add support for Object Tagging in LifeCycle configuration (#8880) 2020-02-06 13:20:10 +05:30
filter.go lifecycle: Consider multiple tags filtering (#9775) 2020-06-05 10:30:10 -07:00
lifecycle_test.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
lifecycle.go lifecycle: NoncurrentVersionExpiration considers noncurrent version age (#10444) 2020-09-09 18:11:24 -07:00
noncurrentversion.go fix: lifecycle XML parsing errors with Versioning (#9974) 2020-07-05 09:08:42 -07:00
rule_test.go lifecycle: Accept document without expiration (#10348) 2020-08-25 12:38:59 -07:00
rule.go fix: lifecycle-expiration validation bug (#10327) 2020-08-24 13:56:50 -07:00
tag.go lifecycle: Consider multiple tags filtering (#9775) 2020-06-05 10:30:10 -07:00
transition.go Add support for Object Tagging in LifeCycle configuration (#8880) 2020-02-06 13:20:10 +05:30