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

Function getDefaultAPIServerConfig

config/config_test.go:52–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func getDefaultAPIServerConfig() APIServer {
53 return APIServer{
54 Bind: "0.0.0.0",
55 Port: 9998,
56 UseTLS: true,
57 TLSConfig: getDefaultTLSConfig(),
58 CORSOrigins: []string{},
59 }
60}
61
62func getMySQLDefaultConfig() MySQL {
63 return MySQL{

Callers 3

getDefaultConfigFunction · 0.85
TestAPIBindAddressFunction · 0.85

Calls 1

getDefaultTLSConfigFunction · 0.85

Tested by

no test coverage detected