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.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d7e639d484169b3fb272dc8f0c3e49c9fb8d0b6fb9412a57691803e62db33d |
|
MD5 | 1cdcdfd512c9749d52e6087586bb5d9b |
|
BLAKE2b-256 | 156279e1f678daa3ab9f69331c9d5d43aa031cbc523ac71a4fe052dda76b8e3f |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 306bea0d6fc4345443203c05c384938d85aca9cec7d5ef3af78317510bfa0cab |
|
MD5 | e31b4e0b30847eb2b8ca5884ba7dfd27 |
|
BLAKE2b-256 | e06ff0ec0ce672a62ed70c2b84ff4f947e4886645ef369deb96ca81383b9f6d9 |