You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: e2e_postgres_test.go
+61-7Lines changed: 61 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -38,13 +38,15 @@ import (
38
38
)
39
39
40
40
var (
41
-
postgresConnName=os.Getenv("POSTGRES_CONNECTION_NAME") // "Cloud SQL Postgres instance connection name, in the form of 'project:region:instance'.
42
-
postgresCASConnName=os.Getenv("POSTGRES_CAS_CONNECTION_NAME") // "Cloud SQL Postgres CAS instance connection name, in the form of 'project:region:instance'.
43
-
postgresUser=os.Getenv("POSTGRES_USER") // Name of database user.
44
-
postgresPass=os.Getenv("POSTGRES_PASS") // Password for the database user; be careful when entering a password on the command line (it may go into your terminal's history).
45
-
postgresCASPass=os.Getenv("POSTGRES_CAS_PASS") // Password for the database user for CAS instances; be careful when entering a password on the command line (it may go into your terminal's history).
46
-
postgresDB=os.Getenv("POSTGRES_DB") // Name of the database to connect to.
47
-
postgresUserIAM=os.Getenv("POSTGRES_USER_IAM") // Name of database IAM user.
41
+
postgresConnName=os.Getenv("POSTGRES_CONNECTION_NAME") // "Cloud SQL Postgres instance connection name, in the form of 'project:region:instance'.
42
+
postgresCASConnName=os.Getenv("POSTGRES_CAS_CONNECTION_NAME") // "Cloud SQL Postgres CAS instance connection name, in the form of 'project:region:instance'.
43
+
postgresCustomerCASConnName=os.Getenv("POSTGRES_CUSTOMER_CAS_CONNECTION_NAME") // "Cloud SQL Postgres Customer CAS instance connection name, in the form of 'project:region:instance'.
44
+
postgresUser=os.Getenv("POSTGRES_USER") // Name of database user.
45
+
postgresPass=os.Getenv("POSTGRES_PASS") // Password for the database user; be careful when entering a password on the command line (it may go into your terminal's history).
46
+
postgresCASPass=os.Getenv("POSTGRES_CAS_PASS") // Password for the database user for CAS instances; be careful when entering a password on the command line (it may go into your terminal's history).
47
+
postgresCustomerCASPass=os.Getenv("POSTGRES_CUSTOMER_CAS_PASS") // Password for the database user for customer CAS instances; be careful when entering a password on the command line (it may go into your terminal's history).
48
+
postgresDB=os.Getenv("POSTGRES_DB") // Name of the database to connect to.
49
+
postgresUserIAM=os.Getenv("POSTGRES_USER_IAM") // Name of database IAM user.
0 commit comments