GithubConnectUI returns the page in the Rill frontend for starting the Github connect flow.
(redirect string)
| 265 | |
| 266 | // GithubConnectUI returns the page in the Rill frontend for starting the Github connect flow. |
| 267 | func (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. |
| 276 | func (u *URLs) GithubConnectRetryUI(remote, redirect string) string { |
no test coverage detected