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.0a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff48f082b7c6d876806df801de38eb50ae8febde47a63959604fb8220d3818d6 |
|
MD5 | f70d5bc17773c80c032012f318847caf |
|
BLAKE2b-256 | 80ee9f275d95f0b370f2f2057489de1682724bf15845a1eba49d3c4a3d4e6c5c |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3df6b9b671b4841dd2f82d1be9cfa589afbe9a0bc1ac9cb9ca5a335d449759 |
|
MD5 | b6bfb4fd152ff2038b9c7769c5dbd740 |
|
BLAKE2b-256 | bd86c5d2b5c5c256038aaf96699180c2ec3049f3fd125ad7acb1a990a1db7f20 |