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

Method GithubConnectSuccessUI

admin/urls.go:297–303  ·  view source on GitHub ↗

GithubConnectSuccessUI returns the page in the Rill frontend for a successful Github connect.

(autoclose bool)

Source from the content-addressed store, hash-verified

295
296// GithubConnectSuccessUI returns the page in the Rill frontend for a successful Github connect.
297func (u *URLs) GithubConnectSuccessUI(autoclose bool) string {
298 res := urlutil.MustJoinURL(u.frontend, "/-/github/connect/success") // NOTE: Always using the primary frontend URL.
299 if autoclose {
300 res = urlutil.MustWithQuery(res, map[string]string{"autoclose": "true"})
301 }
302 return res
303}
304
305// GithubRetryAuthUI returns the page in the Rill frontend for retrying the Github auth flow.
306func (u *URLs) GithubRetryAuthUI(remote, username, redirect string) string {

Callers 3

githubConnectCallbackMethod · 0.80
githubAuthCallbackMethod · 0.80
githubStatusMethod · 0.80

Calls 2

MustJoinURLFunction · 0.92
MustWithQueryFunction · 0.92

Tested by

no test coverage detected