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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc219a5e40337a15b49942117fc794697f93bf95683955e158a2cab22599e91 |
|
MD5 | 611806f4ba33ffde7367117cdb8456bb |
|
BLAKE2b-256 | 2af72a827b1e9fc613eaa733042b35ae983fd9b6b9394539dd8f83a750d588d0 |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e08817efc6f9a33ef12e027133f9144be9cc3372ad41025b2a88ec475ed8146 |
|
MD5 | ad0078107074e8aba0eb1edee646d929 |
|
BLAKE2b-256 | 4867a5fe0b7d1c3fb9e5b30fda6946876dce01999d897950ab77522724030a8e |