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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 363d67f068d7d103e7ddc738bc039b437fe8a740422c8591d9f28131bdaed1d3 |
|
MD5 | 53af7e4620a3847cba695a1723afe431 |
|
BLAKE2b-256 | ff00c3bdc4d57fbc851aeafc4e4d7a458b44907f4515b7b82180ec0b996e1d77 |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e856bae686f5dacc001dfe0798ee6bcb6894cf78f6f295766b8b0278863b2ac |
|
MD5 | ad13e6013fd19e7a47bb037a31e299e1 |
|
BLAKE2b-256 | 6ee8e493b9a042fe213755a2c909e712a2bca12dbe961fb8dc537daf1902d225 |