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.0rc3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88a28db57d3a3fc36c9776f962a4f69a8a119b6705090223a9d23cb763e4731a |
|
MD5 | 0d4f070a873855821744b9db5d6831e5 |
|
BLAKE2b-256 | b6cd57515fe88cdc5135323a9bee1ee46453cd7f50e5617c4f5ddcde8fe64bf5 |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 225dbe1c4b8548924552cbf18351bebb4d9c2d6b3e479b783d80b0f76c7c767e |
|
MD5 | 6752f06f105db0a1f1d5b50b40bdfc1a |
|
BLAKE2b-256 | f75e5e1e57b6d309f69080a403835970748c7c678f5dfd4f533d090d9f70b7e5 |