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

Refactor: export provider types #17

Closed inkel closed 2 years ago

inkel commented 2 years ago

Previously all providers declared disk and provider types that were unexported. In Go it's also common to read "accept interfaces and return concrete types", which is what we're doing here. More information available in the code review guidelines.

This will most useful in combination with #15 for AWS in particular.