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

Method InstallationToken

admin/github.go:145–148  ·  view source on GitHub ↗
(ctx context.Context, installationID, repoID int64)

Source from the content-addressed store, hash-verified

143}
144
145func (g *githubClient) InstallationToken(ctx context.Context, installationID, repoID int64) (string, time.Time, error) {
146 client := g.InstallationClient(installationID, &repoID)
147 return g.token(ctx, client)
148}
149
150func (g *githubClient) InstallationTokenForOrg(ctx context.Context, org string) (string, time.Time, error) {
151 installation, _, err := g.appClient.Apps.FindOrganizationInstallation(ctx, org)

Callers

nothing calls this directly

Calls 2

InstallationClientMethod · 0.95
tokenMethod · 0.95

Tested by

no test coverage detected