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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61e1ec009df24025f2dad86fb240c77e16a43630f5789a215eb86c369bec892 |
|
MD5 | f26e9cdfd2a011b7be6e0f26c7649e3c |
|
BLAKE2b-256 | 36f786bbe172a0cc4da7e2c2160533a242e465558dfec2c421675cf590cdf463 |
Close
Hashes for resoto_plugin_cleanup_expired-3.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea0b7df31539690699a79153695f14849850a97a26bf8546864010f3cac7e3eb |
|
MD5 | 8ba2e3532f310eefc73804b57bd72a48 |
|
BLAKE2b-256 | d53e5b16dd3b98f3d25bd74bbfb0862f86d982ca5bd321caecd2a1a9cb406729 |