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.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 011fbd6cf06cc41311333da54015ee87fb864a357eac6ec594f10d6e8576545f |
|
MD5 | 37b6816274724875c95935ab471ba6c4 |
|
BLAKE2b-256 | de6ad040f78256c815b06bda0e220ed26bce26e0d0b6429fc1916cf0e9d8f140 |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c946f03ad56726b8b5fd66b52bbd49f16b8474346a35bfd43012de60790ff4 |
|
MD5 | 050e249d202c51d45a4a93086ca3b1bd |
|
BLAKE2b-256 | a5b42ab284b36ecc949b18a2229feaf6aa17f01ad618a85cea923eff907e5ffc |