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-2.4.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036c3aea3191225af24dae043476cf3307812ea0af48d0799e226b84189d16e5 |
|
MD5 | 1613f6614667b07213608beb84b3474f |
|
BLAKE2b-256 | 9d564929acc5f3353d49ba035bbb0f21387c0839a789ec1e054216fdd247ccf0 |
Close
Hashes for resoto_plugin_cleanup_expired-2.4.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675a95480f86ac008812d416d55897e244b16287a9dfbeaefe0a38e65c256e9c |
|
MD5 | a00c4b5ba611c7f4871bdb9adb5296bc |
|
BLAKE2b-256 | 38bec9a795962ab527d98ff60475d8e53b5a0cec5d160d358e8dd87f9a14c542 |