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.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c247c9ca1d79260b0680a03474ab01b31f51837924bcd3e6fb2737efd14860 |
|
MD5 | a3a199344c237af68e2efc3e620dab76 |
|
BLAKE2b-256 | 7220e957a06b0d6a3283262f5d3459618d7f99c20ff1250616f67f87657e4aa1 |
Close
Hashes for resoto_plugin_cleanup_expired-3.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ff814d21221a9fba1c44efe6f1fc73f0f3eac1f847b20e09d4174ca0ba22058 |
|
MD5 | 1a2096ad9720b967aa074fc4e6a70454 |
|
BLAKE2b-256 | 6383d666bc15d3da1f857161a187b272f214b348cc179ca7f5941cf85f74b309 |