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.6.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20034fa1698972cbc834fd46179b27cdc980911b6b34d4d3c492dd781cc0d35b |
|
MD5 | 02e7e85a6f38495465bfc0830a431927 |
|
BLAKE2b-256 | 1445c1f344d1e443087d64db622ede1960c4c6bd66ab9ac8bbb6a9558207a46f |
Close
Hashes for resoto_plugin_cleanup_expired-3.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75fc9c5985217fbe9bebf8c1a399600b2b986943dfabb10525fadc11df2d40a3 |
|
MD5 | c85cb2c7e2d022bb56e30f66781f814d |
|
BLAKE2b-256 | baf45d860978c7229234ba6ea114551f8c53c41281b23e2f43371c0783ff879a |