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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec06eab0da14589986257c2448acb304c46f978c50f770d9517587de17723b87 |
|
MD5 | 535faef05ada864983d7307372ef9d53 |
|
BLAKE2b-256 | 14486773bf2f0e01175396c13bd517180f9896bce83d3124a4b5dc31c8d46b49 |
Close
Hashes for resoto_plugin_cleanup_expired-3.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ceee393b4477c243166341952638266108f9d8cc5354cb0af45ac2634eb9f4f |
|
MD5 | a4d7e54f243b6e2f50549c63ce196701 |
|
BLAKE2b-256 | fa6a5d067ac39c624d035a25e724957b85fc95bf816c631ffa8e54b8e2d9e473 |