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.0.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 889dcfc2cf615399d3313b63dac94486b26c2c5c80c4a405e176284a780a9c35 |
|
MD5 | a5a83492b2915f3e2dce7c0fa6fdd76f |
|
BLAKE2b-256 | ed48d160687d54aca42c2ad0492b341102c5b95bb58b19d1207bc58c31fb5ac5 |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba12a465a2022281162e203bcc02d3747abde3f4aaca7a7461c93456eaab18b |
|
MD5 | f978d1e6c1d19c5f909d230ba0786675 |
|
BLAKE2b-256 | 10f4418707413bd15f7620fcb83d8e7e51d6108e86a0379f9ae420d3069b6082 |