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

Method GithubConnectUI

admin/urls.go:267–273  ·  view source on GitHub ↗

GithubConnectUI returns the page in the Rill frontend for starting the Github connect flow.

(redirect string)

Source from the content-addressed store, hash-verified

265
266// GithubConnectUI returns the page in the Rill frontend for starting the Github connect flow.
267func (u *URLs) GithubConnectUI(redirect string) string {
268 res := urlutil.MustJoinURL(u.frontend, "/-/github/connect") // NOTE: Always using the primary frontend URL.
269 if redirect != "" {
270 res = urlutil.MustWithQuery(res, map[string]string{"redirect": redirect})
271 }
272 return res
273}
274
275// GithubConnectRetryUI returns the page in the Rill frontend for retrying the Github connect flow.
276func (u *URLs) GithubConnectRetryUI(remote, redirect string) string {

Callers 1

githubStatusMethod · 0.80

Calls 2

MustJoinURLFunction · 0.92
MustWithQueryFunction · 0.92

Tested by

no test coverage detected