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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c94729c7e5b2be27142a008e20d5cf30accffefb69d57357b5ff0be97a8e80b |
|
MD5 | e341302ecfc10bd1c17432abce0851bb |
|
BLAKE2b-256 | 2d915d12895061a41e06e18f0c6c9b0de1e79cc808d0cb0e7a665dceb790c006 |
Close
Hashes for resoto_plugin_cleanup_expired-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007a06a732a72449d7750fc07f912c199213858bc6dbf634be4cb1cf53a408de |
|
MD5 | ccf7266d6afb438cefc96bdc4017d8cd |
|
BLAKE2b-256 | 45ef734b89f7e688810e77436c5f0b4c79d81f2a849ea168e2ad8d013a6672d0 |