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.0.0rc4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b9f3fcb76f3702d703f9a7c472dadd65ee67b1b46c178f7e879b652d6871844 |
|
MD5 | 1e38166093eb598d26ac138498275536 |
|
BLAKE2b-256 | e5af170026c2b1ac6dbc82328d47455744874e65683d185f793719b8aa3b456d |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0rc4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb70d3a8bc9d6a2d91f5981e44965a616c91c0b064f9052a3db80550aafd6b56 |
|
MD5 | 52fe895e818cd90a19d3f88fe2bd2bba |
|
BLAKE2b-256 | 3258ebaac6ce7a671c34a1d9195a4542fc26b97fc76ab7cd6dee7d388b6f19e4 |