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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6fac82ec167484a9a36445b59a31094c6e013937636b4f25d33f602dc5949c |
|
MD5 | 88be29378992f9d9f3cf00f36499f9f8 |
|
BLAKE2b-256 | 46ac0a019450387dfba29e84b9933e1a249fea069ea85470f4be9bb81a0fa8fb |
Close
Hashes for resoto_plugin_cleanup_expired-3.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97dc20136811e37f17e51702d4e20a434cec909808184f69fd1d65f9eac40534 |
|
MD5 | cc4081170d3495901c170bd6fe1fc521 |
|
BLAKE2b-256 | 65d7f29f3f2688bc84e5be90e6bdd467c4fac19b1881bfd45881902937374f75 |