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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | add9fc6df477ed51e038fcc07818e772abd140528dae0cfde10ced8ad97dfb7e |
|
MD5 | a9aa9c2ff42767abb23dfaa6a5803f8d |
|
BLAKE2b-256 | 660856d62809e101c99f62450efa12edb969710cef140aca0abf40f121df56cb |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 989b46b26afb6da95ef0cdfabfc4d1efcdda7369ebd793dfa1a213f84ce8efc1 |
|
MD5 | 03a55eb3efcde70c068d69288add3014 |
|
BLAKE2b-256 | 1e6572ca8a4707aba18b2cbd0299c8dcefff4818cf70dfa06ff340c274d006c7 |