MCPcopy Create free account
hub / github.com/cloudbase/garm / getDefaultDatabaseConfig

Function getDefaultDatabaseConfig

config/config_test.go:71–80  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

69}
70
71func getDefaultDatabaseConfig(dir string) Database {
72 return Database{
73 Debug: false,
74 DbBackend: SQLiteBackend,
75 SQLite: SQLite{
76 DBFile: filepath.Join(dir, "garm.db"),
77 },
78 Passphrase: EncryptionPassphrase,
79 }
80}
81
82func getDefaultProvidersConfig() []Provider {
83 return []Provider{}

Callers 3

getDefaultConfigFunction · 0.85
TestDatabaseConfigFunction · 0.85
TestGormParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected