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.6.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90be432a7febca3a76e8013d07ecde30a02117130a771d12aacc14839317c30a |
|
MD5 | 95a6032d8c664168c5fb089cc3634a75 |
|
BLAKE2b-256 | 7b3f0b728d35fe133c13c5e83266b607117c0a28e7fef9204ccd1277ab33797a |
Close
Hashes for resoto_plugin_cleanup_expired-3.6.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961517e00a01af0004312b7130f535e9bf2282924849705a6e0fba8a2d4a6057 |
|
MD5 | 93cd24b5b475f56891ff4684f9ebec16 |
|
BLAKE2b-256 | 900a4edb2462fde1cca0d2ba51f5fd2a6a7d19a3897b7e3e0a1d694f59f9e21c |