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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 997f85bb19f7274d5311793d006ecc645ef5249290b8097fe5973af5ead0f958 |
|
MD5 | a529d5f24707cd08ce6942c60b357e75 |
|
BLAKE2b-256 | 5652e96345f83ef20fbcf0075ee7b1c8a9d9258ed01feb14006ab45138089234 |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acb90599b89de4fe6c6b497947e829cb9738a773b8523998819a6f624f4c6012 |
|
MD5 | 1f46abf0a71025d9909b33980bb1ad2a |
|
BLAKE2b-256 | 665eb8c779bff2cfcffb87e5c43b1fd6e8444fed02f19b12152465a4cc9b3f0b |