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-2.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03bc0f8b8f089774c49b96b4d45000ebf0c0b6b4426ba121878a5d53cdc8ed87 |
|
MD5 | e3a466d194fa447ae9974623c33579de |
|
BLAKE2b-256 | 509e1451e4e92410349c2915f1770f9a849fb9263b2c01ae82adf473f647b41c |
Close
Hashes for resoto_plugin_cleanup_expired-2.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b198152155d9c181442ed217a075dce8346525780bdd31608017573b9c0a07a4 |
|
MD5 | 31a91e530663f2faddeedd787695e016 |
|
BLAKE2b-256 | a8ebe580d1938011619c813736eb89a39e2d5555ac77cfe09fb1c8aaa8d4377c |