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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 920cef61de9482a5d89fc1cd1b04874026f4a3e76f4a6bbfa808526f94a4b656 |
|
MD5 | dfc09e73648070ff7002eff1844b44ce |
|
BLAKE2b-256 | 37589fffe378b74ce9b91eed83377c50c2fc92d42026732255a52481e67f1c9e |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cb326bb9629b7b19da03693c73114e14f0f2c9d5cc1bbffcce5a418ed093068 |
|
MD5 | 9cf51c94cded11099c61894345c99668 |
|
BLAKE2b-256 | df12e1ad6719e3af6e4c0842279759c9897a9ef53ce66a2b9cc4c4534a881dad |