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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d1d1db97992477e21c066c736b4517a499d60a55255773f43bd6629c55a534 |
|
MD5 | e42ebb6a82aa1a070295bc37a22dc073 |
|
BLAKE2b-256 | 7c445010bf51b9a35d112f268cab17b56fcbf0a018f0a91722ed385672ed0c81 |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b26908192c3bddb934f3a5ab032bb3d76319c77b493de12ea5618f9d040d0fdf |
|
MD5 | 295ba08fd342b41e66cd642ff687969f |
|
BLAKE2b-256 | 1dac447647a8014c87e6a8913741b484bea6f705c59bbd3f9af5e8434687c247 |