{"modulePath":"github.com/flanksource/commons-db","version":"v0.1.102","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cloudsql\n\nPackage cloudsql supplies the Cloud SQL dialer for drivers.ParseURL. It is a separate package so importing drivers does not link the Cloud SQL dialer. The dialer is a port of the ephemeral-certificate flow of cloud.google.com/go/cloudsqlconn (see dialer.go) over cloud/gcp's Cloud SQL Admin client.\n\n## Functions\n\n```go\nfunc Dial(ctx context.Context, options drivers.CloudSQLOptions) (*pgx.ConnConfig, error)\n```\nDial builds a pgx config whose DialFunc connects through the Cloud SQL ephemeral-certificate flow with IAM database authentication, using the ambient application default credentials.\n\n```go\nfunc Install()\n```\nInstall registers the Cloud SQL dialer with drivers.\n\n","path":"github.com/flanksource/commons-db/drivers/cloudsql","name":"cloudsql","synopsis":"Package cloudsql supplies the Cloud SQL dialer for drivers.ParseURL.","isRedistributable":true}
