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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3321089f1e0d1936f7ee6ab92905db62b0c62676289a3c179f0501a61f22765a |
|
MD5 | d047b4647a5ca4840883ea77f987e182 |
|
BLAKE2b-256 | 735d44ba15e5bd3d3fbaebbe94e97421f54a056a4510e5cfd1d729ca13ea5807 |
Close
Hashes for resoto_plugin_cleanup_expired-3.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef3590173926cf0556bda0af22e6e400dcc24b83dcbfaeec478cf32b4c40049c |
|
MD5 | 2727cbe7c755a197b20480d99cb42536 |
|
BLAKE2b-256 | 324eb1fd337831c2cb8d15671a5339f7dae202f8a6a00fb24c18c23ae4cb0bbf |