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.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f5de4fdfabca4bd220f6d84c345a8d032f759eb70cb7a9325dc0ce46217d5b8 |
|
MD5 | 5a5c2fbb2a7a5b62365e36d1b85e70c5 |
|
BLAKE2b-256 | 152fabdf485481839cb7252c30a587242892d3674cb2f483789f19d62cbe123f |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506d8b3af40c33edb99a232e1845075439d79dfe3231e1e163487440a835dff3 |
|
MD5 | c97d4a107c87de272b4ec4790438f923 |
|
BLAKE2b-256 | 7ffa29d3a3419aa43ea64653769d822b4e187597fad17936f750afa9188dde31 |