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

Method InstallationToken

admin/github.go:43–43  ·  view source on GitHub ↗

InstallationToken returns a token for the installation ID limited to the repoID.

(ctx context.Context, installationID, repoID int64)

Source from the content-addressed store, hash-verified

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)
45
46 DeleteBranch(ctx context.Context, installationID, repoID int64, remote, branch string) error

Callers 4

GetRepoMetaMethod · 0.65
CreateManagedGitRepoMethod · 0.65
GetCloneCredentialsMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected