Skip to content

Add expiration lifecycle support#60

Open
KarlisAG wants to merge 2 commits intovshn:masterfrom
KarlisAG:add-expiration-lifecycle-support
Open

Add expiration lifecycle support#60
KarlisAG wants to merge 2 commits intovshn:masterfrom
KarlisAG:add-expiration-lifecycle-support

Conversation

@KarlisAG
Copy link
Copy Markdown

@KarlisAG KarlisAG commented Oct 4, 2024

Summary

The PR extends Bucket type to allow specifying LifecycleRules for the bucket. Currently it only supports the basic of expiration (removal).
It is a minor feature that would allow basic lifecycle management, but in future it can be extended to also allow tiering option. But it would make sense to add that after tiering is supported from the provider - for example, if a new type for that would be made to manage tiering, then it would be easy to link the lifecycle rule to it.

This is related to #59.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update tests.
  • Link this PR to related issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants