grafana / unused

CLI tool, Prometheus exporter, and Go module to list your unused disks in all cloud providers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmd/unused: add -filter flag

inkel opened this issue · comments

Add a -filter=key=value flag to cmd/unused that allows filtering disks by metadata. This could be passed several times to indicate more than filter.

Change this will also imply adding a unused#Meta.Match(key, value string) bool function or similar.