MCPcopy Create free account
hub / github.com/rilldata/rill / authGitURL

Function authGitURL

cli/cmd/deploy/deploy_test.go:509–514  ·  view source on GitHub ↗
(t *testing.T, repoURL, token string)

Source from the content-addressed store, hash-verified

507}
508
509func authGitURL(t *testing.T, repoURL, token string) string {
510 u, err := url.Parse(repoURL)
511 require.NoError(t, err)
512 u.User = url.UserPassword("x-access-token", token)
513 return u.String()
514}
515
516func waitForGithubRepo(t *testing.T, client *github.Client, owner, repo string) {
517 t.Helper()

Callers 3

TestManagedDeployFunction · 0.85
testSelfHostedDeployFunction · 0.85

Calls 2

ParseMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected