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

Method GetAuthType

config/config.go:303–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301}
302
303func (g *Github) GetAuthType() GithubAuthType {
304 if g.AuthType == "" {
305 return GithubAuthTypePAT
306 }
307 return g.AuthType
308}
309
310func (g *Github) APIEndpoint() string {
311 if g.APIBaseURL != "" {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected