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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2601bf867e6826b2ccd543fa56df1be34d5ede1141a414f6d928923795c56bb |
|
MD5 | fed56c151edc48cf26e02fee32127c6f |
|
BLAKE2b-256 | 38a4331b99a43943d6844c6b3e674fffdde456f2337ade5fed3298963ad7d432 |
Close
Hashes for resoto_plugin_cleanup_expired-2.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc7a3e293d2b1a41e8bdeeeb0bd813627fae0c878436b61510874073adb9db5 |
|
MD5 | 98f45ed1c475f8f6c64bd6effb294435 |
|
BLAKE2b-256 | fd93b3738ae317778196e79424c66d78cc022738cd778027c098deb6f64062bc |