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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fcf3125af05d00f0dc469c15dc114d7cb4f8f082664362f4f4bda8abfc45976 |
|
MD5 | 170c8424872c568c848cabdc004ae979 |
|
BLAKE2b-256 | 7de96ad2b56a1300c91d6d8f2c1b3391cb6f87ff87995b01fa0fb010c6538ebd |
Close
Hashes for resoto_plugin_cleanup_expired-3.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f99e499c2d0ecab5df184a953b93eab40fa0d177e9b1b5f3bf261b6ed3582b7 |
|
MD5 | 898f882ba148c67812e7ec9d73457834 |
|
BLAKE2b-256 | dcd57dbf1b1d17d5bbf00ebc1c30b643c5874b4d4c57ea36c115a5b70f69084e |