Documentation
¶
Overview ¶
Package 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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(ctx context.Context, options drivers.CloudSQLOptions) (*pgx.ConnConfig, error)
Dial builds a pgx config whose DialFunc connects through the Cloud SQL ephemeral-certificate flow with IAM database authentication, using the ambient application default credentials.
Types ¶
This section is empty.