-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support Cloud SQL CAS instances. (#850)
* feat: add support for CAS instances. * fix: remove an extra curly brace. * feat: upgrade google.golang.org/api to v0.190.0 for the new server_ca_mode field * fix: format the code to fix lint issue. * fix: fix some bugs in tests. * fix: fix a typo in tests. * fix: set instance name for CAS unit tests. Also renamed gotDNS to gotPSCDNS to make it clear that the DNS from PSC address. * fix: enable mocked SQL admin client to pass server_ca_mode too. * refactor: resolve some review comments. * doc: add godoc for the usage of the DNS name. * doc: fix a few typos in comments. * test: add e2e test for CAS instances. * test: fix an syntax error. * test: add more accurate descriptions for CAS instance tests. * test: use a separate test for connections to the CAS instances.
- Loading branch information
Showing
10 changed files
with
294 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.