Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ BaseEndpoint
Method
BaseEndpoint
config/config.go:349–354 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
347
}
348
349
func
(g *Github) BaseEndpoint() string {
350
if
g.BaseURL !=
""
{
351
return
g.BaseURL
352
}
353
return
appdefaults.DefaultGithubURL
354
}
355
356
func
(g *Github) Validate() error {
357
if
g.Name ==
""
{
Callers
3
migrateCredentialsToDB
Method · 0.80
TestGithubBaseURL
Function · 0.80
TestGithubBaseURLIsSet
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestGithubBaseURL
Function · 0.64
TestGithubBaseURLIsSet
Function · 0.64