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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00cf1823e2014df59820e544ae2d20f5c53be6a8e9e11807aee10275c7319567 |
|
MD5 | 2adce91e8323ebb8fc6877ff611f2089 |
|
BLAKE2b-256 | ed32b3a155657f73c692d2830041ca3ede75b261acfadc75226d1ccd6b0b4bce |
Close
Hashes for resoto_plugin_cleanup_expired-3.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5741ecf3ed9027d8032ab578233ce1bbe65de3632cd4cb90724705a203b2dbb |
|
MD5 | 761708e2579825ba204adbe18128aab4 |
|
BLAKE2b-256 | 4ccda44703ffbd5e947e20e2d16293c4b35a5405f25f7ca15223cb27398fc6b1 |