...

Source file src/github.com/letsencrypt/boulder/test/vars/vars.go

Documentation: github.com/letsencrypt/boulder/test/vars

     1  package vars
     2  
     3  import "fmt"
     4  
     5  const (
     6  	dbURL = "%s@tcp(boulder-proxysql:6033)/%s"
     7  )
     8  
     9  var (
    10  	// DBConnSA is the sa database connection
    11  	DBConnSA = fmt.Sprintf(dbURL, "sa", "boulder_sa_test")
    12  	// DBConnSAMailer is the sa mailer database connection
    13  	DBConnSAMailer = fmt.Sprintf(dbURL, "mailer", "boulder_sa_test")
    14  	// DBConnSAFullPerms is the sa database connection with full perms
    15  	DBConnSAFullPerms = fmt.Sprintf(dbURL, "test_setup", "boulder_sa_test")
    16  	// DBConnSAIntegrationFullPerms is the sa database connection for the
    17  	// integration test DB, with full perms
    18  	DBConnSAIntegrationFullPerms = fmt.Sprintf(dbURL, "test_setup", "boulder_sa_integration")
    19  	// DBInfoSchemaRoot is the root user and the information_schema connection.
    20  	DBInfoSchemaRoot = fmt.Sprintf(dbURL, "root", "information_schema")
    21  	// DBConnIncidents is the incidents database connection.
    22  	DBConnIncidents = fmt.Sprintf(dbURL, "incidents_sa", "incidents_sa_test")
    23  	// DBConnIncidentsFullPerms is the incidents database connection with full perms.
    24  	DBConnIncidentsFullPerms = fmt.Sprintf(dbURL, "test_setup", "incidents_sa_test")
    25  )
    26  

View as plain text