grafana / unused

CLI tool, Prometheus exporter, and Go module to list your unused disks in all cloud providers
Apache License 2.0
51 stars 1 forks source link

cmd/unused: add -filter flag #6

Closed inkel closed 2 years ago

inkel commented 2 years ago

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.