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

Method InstallationClient

admin/github.go:41–41  ·  view source on GitHub ↗
(installationID int64, repoID *int64)

Source from the content-addressed store, hash-verified

39type Github interface {
40 AppClient() *github.Client
41 InstallationClient(installationID int64, repoID *int64) *github.Client
42 // InstallationToken returns a token for the installation ID limited to the repoID.
43 InstallationToken(ctx context.Context, installationID, repoID int64) (token string, expiresAt time.Time, err error)
44 InstallationTokenForOrg(ctx context.Context, org string) (token string, expiresAt time.Time, err error)

Callers 9

TestManagedDeployFunction · 0.65
TestPrimaryBranchChangeFunction · 0.65
WorkMethod · 0.65
GetGithubPullRequestMethod · 0.65
githubOptsForRemoteMethod · 0.65

Implementers 2

githubClientadmin/github.go
mockGithubadmin/testadmin/testadmin.go

Calls

no outgoing calls

Tested by 3

TestManagedDeployFunction · 0.52
TestPrimaryBranchChangeFunction · 0.52