Skip to content

feat: add support for specifying a quota project#1044

Merged
enocom merged 6 commits intomainfrom
quota-project
Dec 9, 2021
Merged

feat: add support for specifying a quota project#1044
enocom merged 6 commits intomainfrom
quota-project

Conversation

@enocom
Copy link
Copy Markdown
Member

@enocom enocom commented Dec 9, 2021

This commit adds a CLI flag quota_project such that users may provide a
project against which the SQL Admin API quota is calculated. Typically,
this flag will be used for internal development purposes.

Note: there is an API option WithQuotaProject that does the same thing.
However, that option is not compatible with WithHTTPClient and so we
manually add the quota project instead.

@enocom enocom requested a review from kurtisvg December 9, 2021 20:46
This commit adds a CLI flag quota_project such that users may provide a
project against which the SQL Admin API quota is calculated. Typically,
this flag will be used for internal development purposes.

Note: there is an API option WithQuotaProject that does the same thing.
However, that option is not compatible with WithHTTPClient and so we
manually add the quota project instead.
Comment thread cmd/cloud_sql_proxy/cloud_sql_proxy.go Outdated
Comment thread cmd/cloud_sql_proxy/cloud_sql_proxy.go Outdated
@enocom enocom merged commit dc66aca into main Dec 9, 2021
@enocom enocom deleted the quota-project branch December 9, 2021 22:06
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.

3 participants