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.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86bdc63aa53523b9d1462daa4eeeeccc9d86b7ef162779084dc4e2b19c0b49ca |
|
MD5 | 104f7cc8dd1f36db19e889eb536a0a00 |
|
BLAKE2b-256 | 64d41c23febb7646ab38975fe452114644410b38ab0408751dd00f0865ab485d |
Close
Hashes for resoto_plugin_cleanup_expired-3.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bada64aabb40ae10d83e7a64446fd90c2d94665864e8654452d18ce12eb9606 |
|
MD5 | 25151c8ea0672a826eca9f64d5523e57 |
|
BLAKE2b-256 | 612e644758c916691f11df333244f22262c4880e7e67461cbb7c08f127d95c47 |