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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004815790d4fcfe51b62945b7582ec294a726b38a9764b6232dd52319969e0d4 |
|
MD5 | b5cb681168624a94fbd9a85477cefb2d |
|
BLAKE2b-256 | 095962de3ddb72dafd66cbc9c7c312ceb73921490b49dccf388185e1168cfd36 |
Close
Hashes for resoto_plugin_cleanup_expired-2.4.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc66bf62565a6337abc85b8ec16fc4d92f713f576898e9ee2d37fb070cfd7796 |
|
MD5 | 9e287ffa8e3e8b76675859b4f3a6eb19 |
|
BLAKE2b-256 | 1ab5f4ebcba39eb5da98c4f18ecfbdc5f570d99218c1ea13318e5fce99abbe8b |