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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2591c037ddc5c8216a011c0141a22a808fcd6a2985cbcc2b1e2cd4561f2f12 |
|
MD5 | 091f7c3cf88b72119082a4c11d3f9f07 |
|
BLAKE2b-256 | 29a2546844e9b428c7d91c7453c90e8d26ada5dcb8e6a4eeaefdb2f43e3aca30 |
Close
Hashes for resoto_plugin_cleanup_expired-3.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9439ffe89d38ab45a6812ac1f9b1d25d79038fe752fafe8bc107e9f7515cbd58 |
|
MD5 | d3a1612b27c377f74831426129d7e74c |
|
BLAKE2b-256 | 163c08d9e280bb95444d4a9fefb02d1a5aa5b4e8c968df05bfee7e367cf36037 |