Resoto Expired Resource Cleanup Plugin
Project description
resoto-plugin-cleanup-expired
Resoto plugin for cleanup of expired resources
This plugin looks for resources with the tags expiration
or resoto:expires
and flags them for cleanup if they are expired.
Tag format
Tag | Format | Description |
---|---|---|
resoto:expires |
2019-09-05T10:40:11+00:00 |
ISO 8601 Timestamp |
expiration |
24h |
A timedelta relative to the resource's creation time |
Example of valid units for the expiration
tag:
weeks
days
hours
minutes
Each of them can be abbreviated down to one letter. E.g. 7d
, 24h
, 60m
, etc. A space in between the numeric and the unit is optional, meaning 7d
and 7 days
are equivalent.
Usage
In resh
execute
> config edit resoto.worker
and find the following section
plugin_cleanup_expired:
# Enable plugin?
enabled: false
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for resoto-plugin-cleanup-expired-3.6.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 042386188badf2f9c0df3505b31a07e9e5e34dbaf483eabda9a715098eb3b4c5 |
|
MD5 | e18cd20cfb59625b899b68928c15f3d2 |
|
BLAKE2b-256 | dcdf43a616b6f583e71c2cb369ebc84ab7039dfb42027ecabd19d58f20e49c4d |
Close
Hashes for resoto_plugin_cleanup_expired-3.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdce9d5992009efd674c09014953df7fb34e657a66b58075caf86b539f1c8cf2 |
|
MD5 | 62b83dc619f934cb2099dc7a8035a2aa |
|
BLAKE2b-256 | a41ed2a0eb5828f6a2908a413a79f8e16f9d31509bb70284d9c41312b52db08d |