package
Version:
v3.0.3
Opens a new window with list of versions in this module.
Published: Mar 5, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package global provides access to the global Database Lab Engine configuration.
type Config struct {
Database Database `yaml:"database"`
Engine string `yaml:"engine"`
Debug bool `yaml:"debug"`
Telemetry Telemetry `yaml:"telemetry"`
}
Config contains global Database Lab configurations.
type Database struct {
Username string `yaml:"username"`
DBName string `yaml:"dbname"`
}
Database contains default configurations of the managed database.
Name returns default Database name.
User returns default Database username.
type EngineProps struct {
InstanceID string
ContainerName string
EnginePort uint
}
EngineProps contains internal Database Lab Engine properties.
type Telemetry struct {
Enabled bool `yaml:"enabled"`
URL string `yaml:"url"`
}
Telemetry contains configuration of Database Lab Engine telemetry.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.