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.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2cda07f90b4efabeb0ffa843cb5e917d5c4abd7291706f4dda9331ee53f075 |
|
MD5 | 19d299f6910e31b532bab93b004c63ab |
|
BLAKE2b-256 | fca8d9a7e211655eab7f68f74cdb17d4be981c3004ffb240946f6d67e520ad80 |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a53b62a8149d4c0bf34c6e28bbda4ce7f857a160e448b2c82cb0ffbe544a3385 |
|
MD5 | 607379e7f0c6e41a3a56db8f069af5be |
|
BLAKE2b-256 | 172f74a7e20b3e2f13d3d4ee5297225ce5cda17ecab151f81bdf32fce60825f0 |