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

Function getDefaultSectionConfig

config/config_test.go:37–43  ·  view source on GitHub ↗
(configDir string)

Source from the content-addressed store, hash-verified

35)
36
37func getDefaultSectionConfig(configDir string) Default {
38 return Default{
39 CallbackURL: "https://garm.example.com/",
40 MetadataURL: "https://garm.example.com/api/v1/metadata",
41 LogFile: filepath.Join(configDir, "garm.log"),
42 }
43}
44
45func getDefaultTLSConfig() TLSConfig {
46 return TLSConfig{

Callers 2

getDefaultConfigFunction · 0.85
TestDefaultSectionConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected