Documentation ¶
Index ¶
Constants ¶
View Source
const ( InstancesTableName = "instances" OperationTableName = "operations" LMSTenantTableName = "lms_tenants" )
View Source
const TableNotExistsError = "42P01"
Variables ¶
This section is empty.
Functions ¶
func InitializeDatabase ¶
func InitializeDatabase(connectionURL string, log logrus.FieldLogger) (*dbr.Connection, error)
InitializeDatabase opens database connection and initializes schema if it does not exist
func WaitForDatabaseAccess ¶
func WaitForDatabaseAccess(connString string, retryCount int, log logrus.FieldLogger) (*dbr.Connection, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.