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-2.4.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898c5649b4b723aa390aecb429003c48929063409fab4cdbff2e6609be0bbdd7 |
|
MD5 | 2316e2a17ebf7b7b0653fe77c2d0a80c |
|
BLAKE2b-256 | 36937bff31b29e04aa1eb06230a1ab35a939ef8dff0ccdf617f668441448b69b |
Close
Hashes for resoto_plugin_cleanup_expired-2.4.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26cd2ccef2d07543b8267bfd6db464873ed039ed9b2cc613b7174a0898c385e4 |
|
MD5 | 66558be034bae3813b8ad57fc809fc67 |
|
BLAKE2b-256 | 24097a43642a577396667dee636b91364763719da904b399535e1b799914c5d0 |