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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 711205f307b0bfda8733fd6026738171d21155f2754d5906823ac5077dd1983b |
|
MD5 | 8518f10aa0704125f1990c17bb8c1d5d |
|
BLAKE2b-256 | 6bd55c8cd1b1db024f376bf224decaac935b3e12a228d02200502c0dbbd602ca |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b64a979480a25adbe48235b98779efc39f329ac86cb7b01a099e245ed86893a5 |
|
MD5 | 60c61af3616b81a13687e90914bb47de |
|
BLAKE2b-256 | bb5aea848f729fc8313ada9ec4ec6f56066506929be0d6416001696fd13e8cf5 |