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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d62fdfadb3ee02627348eda32b38969dcf36b124000718f59b7bb8a7ad8beb |
|
MD5 | a09fe7bdf411fce2a22e3a1cc5ce90a5 |
|
BLAKE2b-256 | 9962a0575624a99cf83c14b30cdb7256370a78e6eda951ae14ecda60f5bc47fc |
Close
Hashes for resoto_plugin_cleanup_expired-2.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31dfd6ef91d39e278438c21cff6135ef67ee1f6760c96fc0bfd37052412c83d |
|
MD5 | 76c0cebc1668ecc29026fed747be3a8d |
|
BLAKE2b-256 | 8501b2b6ab57b359bd51958fd8091638135699baaf5da3cb9c34ef6d40f4e22e |