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.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad9ebabe32ce6696e9f401ca1c78f56c319c85515b544a9616ef5d18c8a18e4e |
|
MD5 | eadc2b5b19c82f5a7d1cb6244eb25415 |
|
BLAKE2b-256 | 889a0212b99e9c8095126af4f03d6337f1b1e49f9bea1724ddc403754fbcc30e |
Close
Hashes for resoto_plugin_cleanup_expired-3.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7228e724ca73f52a2f2a8992bb8d55c06cdc52d0bfdaa9b52dd32cda0f7509a4 |
|
MD5 | cba42e3b2f4f51de14ace07e1d79e7e4 |
|
BLAKE2b-256 | b2a22ce2b0b34232a154e9bdee5322fe9f6b4f895deecf95f94fa33992ab5acd |