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.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f16acb91604fe885f15c798a8a14f39281c98fc99ffd219a5c95d08dd84ebaa |
|
MD5 | 43b1f34ad1ddc334c78c7a6cc2b6c417 |
|
BLAKE2b-256 | 09f6588e7c576a826e8244ded557c188bb4356f9aaecdbdcae4c60bfe0a1a384 |
Close
Hashes for resoto_plugin_cleanup_expired-3.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de4552295d6c643b99579fc8d6745cb1703e1346a41c7110e65a8c6e576f8acf |
|
MD5 | 698cd42108d687d90cc5711b66fd97e3 |
|
BLAKE2b-256 | ffb50c6ca61dc61c22d45b9fa8846693958b9adffae036bf059a112b446bb5b6 |