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

Method UploadEndpoint

config/config.go:339–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337}
338
339func (g *Github) UploadEndpoint() string {
340 if g.UploadBaseURL == "" {
341 if g.APIBaseURL != "" {
342 return g.APIBaseURL
343 }
344 return appdefaults.GithubDefaultUploadBaseURL
345 }
346 return g.UploadBaseURL
347}
348
349func (g *Github) BaseEndpoint() string {
350 if g.BaseURL != "" {

Callers 3

TestUploadEndpointFunction · 0.80
TestUploadEndpointIsSetFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestUploadEndpointFunction · 0.64
TestUploadEndpointIsSetFunction · 0.64