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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file resoto-plugin-cleanup-expired-3.7.0.tar.gz.
File metadata
- Download URL: resoto-plugin-cleanup-expired-3.7.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a9ffa2265ec5fc03349bfb0cc67fdd7c4bb636aecacfbe34c0fcd83f55d4383
|
|
| MD5 |
6a1533b14f2225094e7a2b24e4365739
|
|
| BLAKE2b-256 |
bff2f96b58d28813a62bb18c110adcda981bde955e8f332011d0f86f30dcacd4
|
File details
Details for the file resoto_plugin_cleanup_expired-3.7.0-py3-none-any.whl.
File metadata
- Download URL: resoto_plugin_cleanup_expired-3.7.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38fb5dfa43d5648d3f2f90c6656a3eaf1d81dca88f3c1b84e6052949c730e245
|
|
| MD5 |
0a4b3cc14be06ddb93874931eccaee50
|
|
| BLAKE2b-256 |
2a9583b0fa7334a65bc02b762cc700bf0969391fbb49b611cc620addee12a84e
|