MCPcopy 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
349func (g *Github) BaseEndpoint() string {
350 if g.BaseURL != "" {
351 return g.BaseURL
352 }
353 return appdefaults.DefaultGithubURL
354}
355
356func (g *Github) Validate() error {
357 if g.Name == "" {

Callers 3

TestGithubBaseURLFunction · 0.80
TestGithubBaseURLIsSetFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestGithubBaseURLFunction · 0.64
TestGithubBaseURLIsSetFunction · 0.64