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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ebbe5d9a9dca48ff718b38132d0e5e2703388f4332ae64e3dfaefa3670f3e3c |
|
MD5 | c6832fa30c9f5609d32a1ee5762532af |
|
BLAKE2b-256 | 4f6e4369c6766168b56f6fd6e923e182edf453807077a18fd26f39f749abeb66 |
Close
Hashes for resoto_plugin_cleanup_expired-3.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cb4da574e08795e50e38e23b0b057ca7736b3b79a2b6e3109003b4766394b1 |
|
MD5 | 68329de261d0fc705f4f850927773d42 |
|
BLAKE2b-256 | ea9922c3ed396ad7a0696934516fdb6a8e5dd05cda3b8859dde640e51112e41d |