Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: export provider types #17

Merged
merged 4 commits into from
May 19, 2022
Merged

Conversation

inkel
Copy link
Collaborator

@inkel inkel commented May 19, 2022

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.

inkel added 4 commits May 19, 2022 10:47
For this package they might not make too much sense yet, but it will
be coherent with the rest of the providers.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
@inkel inkel self-assigned this May 19, 2022
@inkel inkel merged commit abe6be0 into main May 19, 2022
@inkel inkel deleted the refactor/export-provider-types branch May 19, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant