Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigHelp = "Supported fields in the config.yaml file, and their default values, " + "are as follows:\n\n" + DefaultServerConfig().String()
Functions ¶
This section is empty.
Types ¶
type DoltgresConfig ¶
type DoltgresConfig struct {
cfgdetails.DoltgresConfig
}
DoltgresConfig is the configuration file for Doltgres.
func ConfigFromYamlData ¶
func ConfigFromYamlData(configFileData []byte) (*DoltgresConfig, error)
ConfigFromYamlData reads the configuration from the given file's bytes.
func DefaultServerConfig ¶ added in v0.9.0
func DefaultServerConfig() *DoltgresConfig
DefaultServerConfig creates a *DoltgresConfig that has all of the options set to their default values. Used when no config.yaml file is provided.
func ReadConfigFromYamlFile ¶
func ReadConfigFromYamlFile(fs filesys.Filesys, configFilePath string) (*DoltgresConfig, error)
ReadConfigFromYamlFile reads the given file from the file system at the specified path.
func (*DoltgresConfig) Overrides ¶ added in v0.54.6
func (*DoltgresConfig) Overrides() sql.EngineOverrides
Overrides implements the interface doltservercfg.ServerConfig.
func (*DoltgresConfig) ToSqlServerConfig ¶
func (cfg *DoltgresConfig) ToSqlServerConfig() doltservercfg.ServerConfig
ToSqlServerConfig returns this configuration struct as an implementation of the Dolt interface.
Click to show internal directories.
Click to hide internal directories.