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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29aa10c7ef986349db0e539fe3fe6b0c23182dd2589e4eb780f34d75f51d248b |
|
MD5 | bfcc9fc9393d53acae1f449ee2be55ae |
|
BLAKE2b-256 | 5347b171088b85d471d8a5b798d4176ab12d0b01e70956d8d82379736e6e39ba |
Close
Hashes for resoto_plugin_cleanup_expired-2.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44ee2ae3e5a8a412bcccbd1858cb33924d82c4ff2fc56b6b40095683a77ea06 |
|
MD5 | f83b152fb59c93aac0652add8852e120 |
|
BLAKE2b-256 | 77f858c68114bcd3cad643e38863d98427d4204f5f12354de2c9f85b539359e6 |