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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efcaa460b3408b052ae37dbfe092a3df008a14e954716f086ddcfbc32a6ad210 |
|
MD5 | 528b1d905666fc64ee89c9c5236a0b50 |
|
BLAKE2b-256 | cb7a402cc06054805067347e3fb405a424927e6cbed41c12b8ab8ce9b2976f33 |
Close
Hashes for resoto_plugin_cleanup_expired-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426b15c6faf4d8704ea540132fac06fcc911c366d627fd9225b4621ea76c8b8a |
|
MD5 | 4bde0afed92a1985757094ab9fbd7fee |
|
BLAKE2b-256 | f729911ab87ad3b8cbf47efc2dae2dde83562181b7578b4e345b67150411e60a |