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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35544b6063a12131d517f294b6d833ac297f902fc31024dab109ddbaa0b015f9 |
|
MD5 | 22951ec7048bb7fb0f8311496e36104c |
|
BLAKE2b-256 | c010b415a6801a0d09784902a0fadee9878cad5e694a976f9c647c236bf29dd8 |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f43c4200185a2c7adf4d34cdf6bc5982c6acb5e2a9f73124a2447f89de5cd06 |
|
MD5 | 0594b612bde644f0aa0a1dcc2713c53e |
|
BLAKE2b-256 | 4adde2aeac551a15f47d6659cc9646c16fe5fcda30ea852b0c8b46590927ae35 |