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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3812fa6afc2d8f36fc9dee15bb166635fadf59d2b435c73f3e35ff87b9076bc0 |
|
MD5 | 964cf831dbf58f054f061eb06a944246 |
|
BLAKE2b-256 | 9894ca81fddac00113eb836815eb73b083682547b016f1a3cc9713e06c4dedc0 |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13d68e925327c6d8556349d7081d010c013f4b3d8b4ba264ece34595c5ea0c24 |
|
MD5 | 5bf4faef32ea550648b0dd4301e7da6f |
|
BLAKE2b-256 | 66627131fe46f409aaa6e543eb7027cc86a08a237d9cd2e5bb80dd65a7d84ec9 |