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.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69459e6d94b5ee33f0ff8f3e2d7d75f1d7d551e58a07f83a6255b1b704d9f616 |
|
MD5 | 141c049d943ef2c3811dba50e9c4965c |
|
BLAKE2b-256 | 9c0df266650f5b8ed1a4fcb9f25ccdf80359b0f9e9c239a35eb4d3ba2a4861e0 |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f737698d6527505bef48dbe225c0f61d1694b40b551f771383c0083784fd32ca |
|
MD5 | 4db742dd58694e1e596791ea1615292c |
|
BLAKE2b-256 | bd5b7d41b67ce67716b8b0b52850c13d05f0da2fe76c25337c37d44e3cfd7cbc |