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.5.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242c19365aa6b6f899849d04af4ed8fad2971caaef304159eb4de952b2aa0e41 |
|
MD5 | a90ae49893eaa2395d7ef38ecb16137f |
|
BLAKE2b-256 | a7c4acc07b082798fe9be51d988fa613bb7f81061bafe42ab6695756f6196213 |
Close
Hashes for resoto_plugin_cleanup_expired-3.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a118451eeb233ab8667ffccfdbdb866e83f663bcfb5d9272f1fd97daeb44bbcc |
|
MD5 | bfc57ebc7c9f91ffe0802e613e471c7e |
|
BLAKE2b-256 | cc70dc1493b6d668e84fb71aab342d51555e111547a3e469db27dde2ed1518fd |