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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48eb03fb7241718a8c82122201aee714690e9ef5753c393f0432a235da090de2 |
|
MD5 | 22f8768f98d45fe4b09e74cb0809a54a |
|
BLAKE2b-256 | 12dd6b6a4aca3527e16cce683d41bacfdca67e93311f6b78f8d0249cd18caaa0 |
Close
Hashes for resoto_plugin_cleanup_expired-3.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9582288a5036536d44e5223ef6b81fab57e10efc6ccdcfb0b8cb2e3211ece680 |
|
MD5 | d29fadd97414c4a536bb4c03b1ee1e06 |
|
BLAKE2b-256 | f3715b38bbf2385cf40d86cac4f6c08b67f638587a4cc17e9777e29429bd26c9 |