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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c2711f34b9c71110a7332e8b604a239756d1ac4124ca8e90f8128fafd116880 |
|
MD5 | 1266f63c0cb0f031d2a598f0c919ab07 |
|
BLAKE2b-256 | e64c1fd428e7955aa2643c3b8d71db2bd7271a06e8b26153a95b9ef9bff0eb97 |
Close
Hashes for resoto_plugin_cleanup_expired-3.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9da35fea9fba1d3be559a383b25e9c65976564fee4f99f23142720e68961427 |
|
MD5 | 940de5a693bcc786f9c1ca57fa555267 |
|
BLAKE2b-256 | d199becf4dc63f0ca03b7aa6aeda6671e42f442c0952cbfe908387f8173ad2bf |