MCPcopy Index your code
hub / github.com/rilldata/rill / GithubConnect

Method GithubConnect

admin/urls.go:244–250  ·  view source on GitHub ↗

GithubConnect returns the URL that starts the Github connect redirects.

(remote string)

Source from the content-addressed store, hash-verified

242
243// GithubConnect returns the URL that starts the Github connect redirects.
244func (u *URLs) GithubConnect(remote string) string {
245 res := urlutil.MustJoinURL(u.external, "/github/connect") // NOTE: Always using the primary external URL.
246 if remote != "" {
247 res = urlutil.MustWithQuery(res, map[string]string{"remote": remote})
248 }
249 return res
250}
251
252// GithubAuth returns the URL that starts the Github auth redirects.
253func (u *URLs) GithubAuth(remote string) string {

Callers 2

GetGithubUserStatusMethod · 0.80
GetGithubRepoStatusMethod · 0.80

Calls 2

MustJoinURLFunction · 0.92
MustWithQueryFunction · 0.92

Tested by

no test coverage detected