pkg.go.dev
· Extracted in 8755 ms
github package - github.com/google/go-github/v89/github - Go Packages
Source: https://pkg.go.dev/github.com/google/go-github/v89/github
github
package
v89.0.0
Latest
Latest
This package is not in the latest version of its module.
Go to latest
Published: Jul 6, 2026
License: BSD-3-Clause
Imports: 28
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Documentation
Overview
Package github provides a client for using the GitHub API.
Usage:
import "github.com/google/go-github/v89/github"
Construct a new GitHub client using NewClient , then use the various services on the client to
access different parts of the GitHub API. For example:
client, err := github.NewClient()
if err != nil {
// Handle error.
}
// list all organizations for user "willnorris"
orgs, _, err := client.Organizations.List(ctx, "willnorris", nil)
Some API methods have optional parameters that can be passed. For example:
client, err := github.NewClient()
if err != nil {
// Handle error.
}
// list public repositories for org "github"
opt := &github.RepositoryListByOrgOptions{Type: "public"}
repos, _, err := client.Repositories.ListByOrg(ctx, "github", opt)
The services of a client divide the API into logical chunks and correspond to
the structure of the GitHub API documentation at
https://docs.github.com/rest?apiVersion=2022-11-28 .
NOTE: Using the context package, one can easily
pass cancellation signals and deadlines to various services of the client for
handling a request. In case there is no context available, then context.Background
can be used as a starting point.
For more sample code snippets, head over to the https://github.com/google/go-github/tree/master/example directory.
Authentication
Use WithAuthToken to configure your client to authenticate using an OAuth token
(for example, a personal access token). This is what is needed for a majority of use cases
aside from GitHub Apps.
client, err := github.NewClient(github.WithAuthToken("... your access token ..."))
if err != nil {
// Handle error.
}
Note that when using an authenticated Client , all calls made by the client will
include the specified OAuth token. Therefore, authenticated clients should
almost never be shared between different users.
For API methods that require HTTP Basic Authentication, use the
BasicAuthTransport .
GitHub Apps authentication can be provided by the
https://github.com/bradleyfalzon/ghinstallation package.
It supports both authentication as an installation, using an installation access token,
and as an app, using a JWT. Use the WithTransport option to configure your client to use the appropriate transport.
To authenticate as an installation:
import "github.com/bradleyfalzon/ghinstallation"
func main() {
// Wrap the shared transport for use with the integration ID 1 authenticating with installation ID 99.
itr, err := ghinstallation.NewKeyFromFile(http.DefaultTransport, 1, 99, "2016-10-19.private-key.pem")
if err != nil {
// Handle error.
}
// Use installation transport with client
client, err := github.NewClient(github.WithTransport(itr))
if err != nil {
// Handle error.
}
// Use client...
}
To authenticate as an app, using a JWT:
import "github.com/bradleyfalzon/ghinstallation"
func main() {
// Wrap the shared transport for use with the application ID 1.
atr, err := ghinstallation.NewAppsTransportKeyFromFile(http.DefaultTransport, 1, "2016-10-19.private-key.pem")
if err != nil {
// Handle error.
}
// Use app transport with client
client, err := github.NewClient(github.WithTransport(atr))
if err != nil {
// Handle error.
}
// Use client...
}
Rate Limiting
GitHub imposes a rate limit on all API clients. Unauthenticated clients are
limited to 60 requests per hour, while authenticated clients can make up to
5,000 requests per hour. The Search API has a custom rate limit. Unauthenticated
clients are limited to 10 requests per minute, while authenticated clients
can make up to 30 requests per minute. To receive the higher rate limit when
making calls that are not issued on behalf of a user,
use UnauthenticatedRateLimitedTransport .
The returned Response .Rate value contains the rate limit information
from the most recent API call. If a recent enough response isn't
available, you can use RateLimits to fetch the most up-to-date rate
limit data for the client.
To detect an API rate limit error, you can check if its type is *RateLimitError .
For secondary rate limits, you can check if its type is *AbuseRateLimitError :
repos, _, err := client.Repositories.List(ctx, "", nil)
if errors.As(err, new(*github.RateLimitError)) {
log.Println("hit rate limit")
}
if errors.As(err, new(*github.AbuseRateLimitError)) {
log.Println("hit secondary rate limit")
}
Learn more about GitHub rate limiting at
https://docs.github.com/rest/rate-limit?apiVersion=2022-11-28 .
Accepted Status
Some endpoints may return a 202 Accepted status code, meaning that the
information required is not yet ready and was scheduled to be gathered on
the GitHub side. Methods known to behave like this are documented specifying
this behavior.
To detect this condition of error, you can check if its type is
*AcceptedError :
stats, _, err := client.Repositories.ListContributorsStats(ctx, org, repo)
if errors.As(err, new(*github.AcceptedError)) {
log.Println("scheduled on GitHub side")
}
Conditional Requests
The GitHub REST API has good support for conditional HTTP requests
via the ETag header which will help prevent you from burning through your
rate limit, as well as help speed up your application. go-github does not
handle conditional requests directly, but is instead designed to work with a
caching http.Transport .
Typically, an RFC 9111 compliant HTTP cache such as https://github.com/bartventer/httpcache
is recommended. Alternatively, the https://github.com/bored-engineer/github-conditional-http-transport
package relies on (undocumented) GitHub specific cache logic and is
recommended when making requests using short-lived credentials such as a
GitHub App installation token.
Learn more about GitHub conditional requests at
https://docs.github.com/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#use-conditional-requests-if-appropriate .
Creating and Updating Resources
All structs for GitHub resources use pointer values for all non-repeated fields.
This allows distinguishing between unset fields and those set to a zero-value.
A helper function, Ptr , has been provided to easily create these pointers for string,
bool, and int values. For example:
// create a new private repository named "foo"
repo := &github.Repository{
Name: github.Ptr("foo"),
Private: github.Ptr(true),
}
client.Repositories.Create(ctx, "", repo)
Users who have worked with protocol buffers should find this pattern familiar.
Pagination
All requests for resource collections (repos, pull requests, issues, etc.)
support pagination. Pagination options are described in the
ListOptions struct and passed to the list methods directly or as an
embedded type of a more specific list options struct (for example
PullRequestListOptions ). Pages information is available via the
Response struct.
client, err := github.NewClient()
if err != nil {
// Handle error.
}
opt := &github.RepositoryListByOrgOptions{
ListOptions: github.ListOptions{PerPage: 10},
}
// get all pages of results
var allRepos []*github.Repository
for {
repos, resp, err := client.Repositories.ListByOrg(ctx, "github", opt)
if err != nil {
return err
}
allRepos = append(allRepos, repos...)
if resp.NextPage == 0 {
break
}
opt.Page = resp.NextPage
}
Index
- Constants
- Variables
-
func Bool(v bool) *bool deprecated
-
func CheckResponse(r *http.Response) error
-
func DeliveryID(r *http.Request) string
-
func EventForType(messageType string) any
-
func Int(v int) *int deprecated
-
func Int64(v int64) *int64 deprecated
-
func MessageTypes() []string
-
func ParseWebHook(messageType string, payload []byte) (any, error)
-
func Ptr[T any](v T) *T
-
func String(v string) *string deprecated
-
func Stringify(message any) string
-
func ValidatePayload(r *http.Request, secretToken []byte) (payload []byte, err error)
-
func ValidatePayloadFromBody(contentType string, readable io.Reader, signature string, secretToken []byte) (payload []byte, err error)
-
func ValidateSignature(signature string, payload, secretToken []byte) error
-
func WebHookType(r *http.Request) string
-
type APIMeta
-
-
type APIMetaArtifactAttestations
-
-
type APIMetaDomains
-
-
type AbuseRateLimitError
-
-
type AcceptedAssignment
-
-
type AcceptedError
-
-
type AccessibleRepository
-
-
type ActionsAllowed
-
-
type ActionsCache
-
-
type ActionsCacheList
-
-
type ActionsCacheListOptions
-
-
type ActionsCacheUsage
-
-
type ActionsCacheUsageList
-
-
type ActionsEnabledOnEnterpriseRepos
-
-
type ActionsEnabledOnOrgRepos
-
-
type ActionsInboundDomains
-
-
type ActionsPermissions
-
-
type ActionsPermissionsEnterprise
-
-
type ActionsPermissionsRepository
-
-
type ActionsService
-
func (s *ActionsService) AddEnabledOrgInEnterprise(ctx context.Context, owner string, organizationID int64) (*Response, error)
-
func (s *ActionsService) AddEnabledReposInOrg(ctx context.Context, owner string, repositoryID int64) (*Response, error)
-
func (s *ActionsService) AddRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID int64) (*Response, error)
-
func (s *ActionsService) AddRepositorySelfHostedRunnersAllowedInOrganization(ctx context.Context, org string, repositoryID int64) (*Response, error)
-
func (s *ActionsService) AddRunnerGroupRunners(ctx context.Context, org string, groupID, runnerID int64) (*Response, error)
-
func (s *ActionsService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repoID int64) (*Response, error)
-
func (s *ActionsService) AddSelectedRepoToOrgVariable(ctx context.Context, org, name string, repo *Repository) (*Response, error)
-
func (s *ActionsService) CancelWorkflowRunByID(ctx context.Context, owner, repo string, runID int64) (*Response, error)
-
func (s *ActionsService) CreateEnvVariable(ctx context.Context, owner, repo, env string, ...) (*Response, error)
-
func (s *ActionsService) CreateHostedRunner(ctx context.Context, org string, body CreateHostedRunnerRequest) (*HostedRunner, *Response, error)
-
func (s *ActionsService) CreateOrUpdateEnvSecret(ctx context.Context, owner, repo, env, name string, body SecretRequest) (*Response, error)
-
func (s *ActionsService) CreateOrUpdateOrgSecret(ctx context.Context, org, name string, body OrgSecretRequest) (*Response, error)
-
func (s *ActionsService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo, name string, body SecretRequest) (*Response, error)
-
func (s *ActionsService) CreateOrgJITConfig(ctx context.Context, org string, body CreateJITConfigRequest) (*JITRunnerConfig, *Response, error)
-
func (s *ActionsService) CreateOrgVariable(ctx context.Context, org string, body OrgActionsVariableCreateRequest) (*Response, error)
-
func (s *ActionsService) CreateOrganizationRegistrationToken(ctx context.Context, org string) (*RegistrationToken, *Response, error)
-
func (s *ActionsService) CreateOrganizationRemoveToken(ctx context.Context, org string) (*RemoveToken, *Response, error)
-
func (s *ActionsService) CreateOrganizationRunnerGroup(ctx context.Context, org string, body CreateRunnerGroupRequest) (*RunnerGroup, *Response, error)
-
func (s *ActionsService) CreateRegistrationToken(ctx context.Context, owner, repo string) (*RegistrationToken, *Response, error)
-
func (s *ActionsService) CreateRemoveToken(ctx context.Context, owner, repo string) (*RemoveToken, *Response, error)
-
func (s *ActionsService) CreateRepoJITConfig(ctx context.Context, owner, repo string, body CreateJITConfigRequest) (*JITRunnerConfig, *Response, error)
-
func (s *ActionsService) CreateRepoVariable(ctx context.Context, owner, repo string, body ActionsVariableCreateRequest) (*Response, error)
-
func (s *ActionsService) CreateWorkflowDispatchEventByFileName(ctx context.Context, owner, repo, workflowFileName string, ...) (*WorkflowDispatchRunDetails, *Response, error)
-
func (s *ActionsService) CreateWorkflowDispatchEventByID(ctx context.Context, owner, repo string, workflowID int64, ...) (*WorkflowDispatchRunDetails, *Response, error)
-
func (s *ActionsService) DeleteArtifact(ctx context.Context, owner, repo string, artifactID int64) (*Response, error)
-
func (s *ActionsService) DeleteCachesByID(ctx context.Context, owner, repo string, cacheID int64) (*Response, error)
-
func (s *ActionsService) DeleteCachesByKey(ctx context.Context, owner, repo, key string, ref *string) (*Response, error)
-
func (s *ActionsService) DeleteEnvSecret(ctx context.Context, owner, repo, env, secretName string) (*Response, error)
-
func (s *ActionsService) DeleteEnvVariable(ctx context.Context, owner, repo, env, variableName string) (*Response, error)
-
func (s *ActionsService) DeleteHostedRunner(ctx context.Context, org string, runnerID int64) (*HostedRunner, *Response, error)
-
func (s *ActionsService) DeleteHostedRunnerCustomImage(ctx context.Context, org string, imageDefinitionID int64) (*Response, error)
-
func (s *ActionsService) DeleteHostedRunnerCustomImageVersion(ctx context.Context, org string, imageDefinitionID int64, version string) (*Response, error)
-
func (s *ActionsService) DeleteOrgSecret(ctx context.Context, org, name string) (*Response, error)
-
func (s *ActionsService) DeleteOrgVariable(ctx context.Context, org, name string) (*Response, error)
-
func (s *ActionsService) DeleteOrganizationRunnerGroup(ctx context.Context, org string, groupID int64) (*Response, error)
-
func (s *ActionsService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*Response, error)
-
func (s *ActionsService) DeleteRepoVariable(ctx context.Context, owner, repo, name string) (*Response, error)
-
func (s *ActionsService) DeleteWorkflowRun(ctx context.Context, owner, repo string, runID int64) (*Response, error)
-
func (s *ActionsService) DeleteWorkflowRunLogs(ctx context.Context, owner, repo string, runID int64) (*Response, error)
-
func (s *ActionsService) DisableWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*Response, error)
-
func (s *ActionsService) DisableWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*Response, error)
-
func (s *ActionsService) DownloadArtifact(ctx context.Context, owner, repo string, artifactID int64, maxRedirects int) (*url.URL, *Response, error)
-
func (s *ActionsService) EnableWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*Response, error)
-
func (s *ActionsService) EnableWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*Response, error)
-
func (s *ActionsService) GetActionsAllowed(ctx context.Context, org string) (*ActionsAllowed, *Response, error)
-
func (s *ActionsService) GetActionsAllowedInEnterprise(ctx context.Context, enterprise string) (*ActionsAllowed, *Response, error)
-
func (s *ActionsService) GetActionsPermissions(ctx context.Context, org string) (*ActionsPermissions, *Response, error)
-
func (s *ActionsService) GetActionsPermissionsInEnterprise(ctx context.Context, enterprise string) (*ActionsPermissionsEnterprise, *Response, error)
-
func (s *ActionsService) GetArtifact(ctx context.Context, owner, repo string, artifactID int64) (*Artifact, *Response, error)
-
func (s *ActionsService) GetArtifactAndLogRetentionPeriodInEnterprise(ctx context.Context, enterprise string) (*ArtifactPeriod, *Response, error)
-
func (s *ActionsService) GetArtifactAndLogRetentionPeriodInOrganization(ctx context.Context, org string) (*ArtifactPeriod, *Response, error)
-
func (s *ActionsService) GetCacheUsageForRepo(ctx context.Context, owner, repo string) (*ActionsCacheUsage, *Response, error)
-
func (s *ActionsService) GetDefaultWorkflowPermissionsInEnterprise(ctx context.Context, enterprise string) (*DefaultWorkflowPermissionEnterprise, *Response, error)
-
func (s *ActionsService) GetDefaultWorkflowPermissionsInOrganization(ctx context.Context, org string) (*DefaultWorkflowPermissionOrganization, *Response, error)
-
func (s *ActionsService) GetEnterpriseForkPRContributorApprovalPermissions(ctx context.Context, enterprise string) (*ContributorApprovalPermissions, *Response, error)
-
func (s *ActionsService) GetEnvPublicKey(ctx context.Context, owner, repo, env string) (*PublicKey, *Response, error)
-
func (s *ActionsService) GetEnvSecret(ctx context.Context, owner, repo, env, secretName string) (*Secret, *Response, error)
-
func (s *ActionsService) GetEnvVariable(ctx context.Context, owner, repo, env, variableName string) (*ActionsVariable, *Response, error)
-
func (s *ActionsService) GetForkPRContributorApprovalPermissions(ctx context.Context, owner, repo string) (*ContributorApprovalPermissions, *Response, error)
-
func (s *ActionsService) GetHostedRunner(ctx context.Context, org string, runnerID int64) (*HostedRunner, *Response, error)
-
func (s *ActionsService) GetHostedRunnerCustomImage(ctx context.Context, org string, imageDefinitionID int64) (*HostedRunnerCustomImage, *Response, error)
-
func (s *ActionsService) GetHostedRunnerCustomImageVersion(ctx context.Context, org string, imageDefinitionID int64, version string) (*HostedRunnerCustomImageVersion, *Response, error)
-
func (s *ActionsService) GetHostedRunnerGitHubOwnedImages(ctx context.Context, org string) (*HostedRunnerImages, *Response, error)
-
func (s *ActionsService) GetHostedRunnerLimits(ctx context.Context, org string) (*HostedRunnerPublicIPLimits, *Response, error)
-
func (s *ActionsService) GetHostedRunnerMachineSpecs(ctx context.Context, org string) (*HostedRunnerMachineSpecs, *Response, error)
-
func (s *ActionsService) GetHostedRunnerPartnerImages(ctx context.Context, org string) (*HostedRunnerImages, *Response, error)
-
func (s *ActionsService) GetHostedRunnerPlatforms(ctx context.Context, org string) (*HostedRunnerPlatforms, *Response, error)
-
func (s *ActionsService) GetOrgOIDCSubjectClaimCustomTemplate(ctx context.Context, org string) (*OIDCSubjectClaimCustomTemplate, *Response, error)
-
func (s *ActionsService) GetOrgPublicKey(ctx context.Context, org string) (*PublicKey, *Response, error)
-
func (s *ActionsService) GetOrgSecret(ctx context.Context, org, name string) (*Secret, *Response, error)
-
func (s *ActionsService) GetOrgVariable(ctx context.Context, org, name string) (*ActionsVariable, *Response, error)
-
func (s *ActionsService) GetOrganizationForkPRContributorApprovalPermissions(ctx context.Context, org string) (*ContributorApprovalPermissions, *Response, error)
-
func (s *ActionsService) GetOrganizationRunner(ctx context.Context, org string, runnerID int64) (*Runner, *Response, error)
-
func (s *ActionsService) GetOrganizationRunnerGroup(ctx context.Context, org string, groupID int64) (*RunnerGroup, *Response, error)
-
func (s *ActionsService) GetPendingDeployments(ctx context.Context, owner, repo string, runID int64) ([]*PendingDeployment, *Response, error)
-
func (s *ActionsService) GetPrivateRepoForkPRWorkflowSettingsInEnterprise(ctx context.Context, enterprise string) (*WorkflowsPermissions, *Response, error)
-
func (s *ActionsService) GetPrivateRepoForkPRWorkflowSettingsInOrganization(ctx context.Context, org string) (*WorkflowsPermissions, *Response, error)
-
func (s *ActionsService) GetRepoOIDCSubjectClaimCustomTemplate(ctx context.Context, owner, repo string) (*OIDCSubjectClaimCustomTemplate, *Response, error)
-
func (s *ActionsService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*PublicKey, *Response, error)
-
func (s *ActionsService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*Secret, *Response, error)
-
func (s *ActionsService) GetRepoVariable(ctx context.Context, owner, repo, name string) (*ActionsVariable, *Response, error)
-
func (s *ActionsService) GetRunner(ctx context.Context, owner, repo string, runnerID int64) (*Runner, *Response, error)
-
func (s *ActionsService) GetSelfHostedRunnerPermissionsInEnterprise(ctx context.Context, enterprise string) (*SelfHostRunnerPermissionsEnterprise, *Response, error)
-
func (s *ActionsService) GetSelfHostedRunnersSettingsInOrganization(ctx context.Context, org string) (*SelfHostedRunnersSettingsOrganization, *Response, error)
-
func (s *ActionsService) GetTotalCacheUsageForEnterprise(ctx context.Context, enterprise string) (*TotalCacheUsage, *Response, error)
-
func (s *ActionsService) GetTotalCacheUsageForOrg(ctx context.Context, org string) (*TotalCacheUsage, *Response, error)
-
func (s *ActionsService) GetWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*Workflow, *Response, error)
-
func (s *ActionsService) GetWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*Workflow, *Response, error)
-
func (s *ActionsService) GetWorkflowJobByID(ctx context.Context, owner, repo string, jobID int64) (*WorkflowJob, *Response, error)
-
func (s *ActionsService) GetWorkflowJobLogs(ctx context.Context, owner, repo string, jobID int64, maxRedirects int) (*url.URL, *Response, error)
-
func (s *ActionsService) GetWorkflowRunAttempt(ctx context.Context, owner, repo string, runID int64, attemptNumber int, ...) (*WorkflowRun, *Response, error)
-
func (s *ActionsService) GetWorkflowRunAttemptLogs(ctx context.Context, owner, repo string, runID int64, ...) (*url.URL, *Response, error)
-
func (s *ActionsService) GetWorkflowRunByID(ctx context.Context, owner, repo string, runID int64) (*WorkflowRun, *Response, error)
-
func (s *ActionsService) GetWorkflowRunLogs(ctx context.Context, owner, repo string, runID int64, maxRedirects int) (*url.URL, *Response, error)
-
func (s *ActionsService) GetWorkflowRunUsageByID(ctx context.Context, owner, repo string, runID int64) (*WorkflowRunUsage, *Response, error)
-
func (s *ActionsService) GetWorkflowUsageByFileName(ctx context.Context, owner, repo, workflowFileName string) (*WorkflowUsage, *Response, error)
-
func (s *ActionsService) GetWorkflowUsageByID(ctx context.Context, owner, repo string, workflowID int64) (*WorkflowUsage, *Response, error)
-
func (s *ActionsService) ListArtifacts(ctx context.Context, owner, repo string, opts *ListArtifactsOptions) (*ArtifactList, *Response, error)
-
func (s *ActionsService) ListArtifactsIter(ctx context.Context, owner string, repo string, opts *ListArtifactsOptions) iter.Seq2[*Artifact, error]
-
func (s *ActionsService) ListCacheUsageByRepoForOrg(ctx context.Context, org string, opts *ListOptions) (*ActionsCacheUsageList, *Response, error)
-
func (s *ActionsService) ListCacheUsageByRepoForOrgIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*ActionsCacheUsage, error]
-
func (s *ActionsService) ListCaches(ctx context.Context, owner, repo string, opts *ActionsCacheListOptions) (*ActionsCacheList, *Response, error)
-
func (s *ActionsService) ListCachesIter(ctx context.Context, owner string, repo string, opts *ActionsCacheListOptions) iter.Seq2[*ActionsCache, error]
-
func (s *ActionsService) ListEnabledOrgsInEnterprise(ctx context.Context, owner string, opts *ListOptions) (*ActionsEnabledOnEnterpriseRepos, *Response, error)
-
func (s *ActionsService) ListEnabledOrgsInEnterpriseIter(ctx context.Context, owner string, opts *ListOptions) iter.Seq2[*Organization, error]
-
func (s *ActionsService) ListEnabledReposInOrg(ctx context.Context, owner string, opts *ListOptions) (*ActionsEnabledOnOrgRepos, *Response, error)
-
func (s *ActionsService) ListEnabledReposInOrgIter(ctx context.Context, owner string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *ActionsService) ListEnvSecrets(ctx context.Context, owner, repo, env string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *ActionsService) ListEnvSecretsIter(ctx context.Context, owner string, repo string, env string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *ActionsService) ListEnvVariables(ctx context.Context, owner, repo, env string, opts *ListOptions) (*ActionsVariables, *Response, error)
-
func (s *ActionsService) ListEnvVariablesIter(ctx context.Context, owner string, repo string, env string, opts *ListOptions) iter.Seq2[*ActionsVariable, error]
-
func (s *ActionsService) ListHostedRunnerCustomImageVersions(ctx context.Context, org string, imageDefinitionID int64) (*HostedRunnerCustomImageVersions, *Response, error)
-
func (s *ActionsService) ListHostedRunnerCustomImages(ctx context.Context, org string) (*HostedRunnerCustomImages, *Response, error)
-
func (s *ActionsService) ListHostedRunners(ctx context.Context, org string, opts *ListOptions) (*HostedRunners, *Response, error)
-
func (s *ActionsService) ListHostedRunnersIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*HostedRunner, error]
-
func (s *ActionsService) ListOrgSecrets(ctx context.Context, org string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *ActionsService) ListOrgSecretsIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *ActionsService) ListOrgVariables(ctx context.Context, org string, opts *ListOptions) (*ActionsVariables, *Response, error)
-
func (s *ActionsService) ListOrgVariablesIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*ActionsVariable, error]
-
func (s *ActionsService) ListOrganizationRunnerApplicationDownloads(ctx context.Context, org string) ([]*RunnerApplicationDownload, *Response, error)
-
func (s *ActionsService) ListOrganizationRunnerGroups(ctx context.Context, org string, opts *ListOrgRunnerGroupOptions) (*RunnerGroups, *Response, error)
-
func (s *ActionsService) ListOrganizationRunnerGroupsIter(ctx context.Context, org string, opts *ListOrgRunnerGroupOptions) iter.Seq2[*RunnerGroup, error]
-
func (s *ActionsService) ListOrganizationRunners(ctx context.Context, org string, opts *ListRunnersOptions) (*Runners, *Response, error)
-
func (s *ActionsService) ListOrganizationRunnersIter(ctx context.Context, org string, opts *ListRunnersOptions) iter.Seq2[*Runner, error]
-
func (s *ActionsService) ListRepoOrgSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *ActionsService) ListRepoOrgSecretsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *ActionsService) ListRepoOrgVariables(ctx context.Context, owner, repo string, opts *ListOptions) (*ActionsVariables, *Response, error)
-
func (s *ActionsService) ListRepoOrgVariablesIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*ActionsVariable, error]
-
func (s *ActionsService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *ActionsService) ListRepoSecretsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *ActionsService) ListRepoVariables(ctx context.Context, owner, repo string, opts *ListOptions) (*ActionsVariables, *Response, error)
-
func (s *ActionsService) ListRepoVariablesIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*ActionsVariable, error]
-
func (s *ActionsService) ListRepositoriesSelfHostedRunnersAllowedInOrganization(ctx context.Context, org string, opts *ListOptions) (*SelfHostedRunnersAllowedRepos, *Response, error)
-
func (s *ActionsService) ListRepositoriesSelfHostedRunnersAllowedInOrganizationIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *ActionsService) ListRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, opts *ListOptions) (*ListRepositories, *Response, error)
-
func (s *ActionsService) ListRepositoryAccessRunnerGroupIter(ctx context.Context, org string, groupID int64, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *ActionsService) ListRepositoryWorkflowRuns(ctx context.Context, owner, repo string, opts *ListWorkflowRunsOptions) (*WorkflowRuns, *Response, error)
-
func (s *ActionsService) ListRepositoryWorkflowRunsIter(ctx context.Context, owner string, repo string, opts *ListWorkflowRunsOptions) iter.Seq2[*WorkflowRun, error]
-
func (s *ActionsService) ListRunnerApplicationDownloads(ctx context.Context, owner, repo string) ([]*RunnerApplicationDownload, *Response, error)
-
func (s *ActionsService) ListRunnerGroupHostedRunners(ctx context.Context, org string, groupID int64, opts *ListOptions) (*HostedRunners, *Response, error)
-
func (s *ActionsService) ListRunnerGroupHostedRunnersIter(ctx context.Context, org string, groupID int64, opts *ListOptions) iter.Seq2[*HostedRunner, error]
-
func (s *ActionsService) ListRunnerGroupRunners(ctx context.Context, org string, groupID int64, opts *ListOptions) (*Runners, *Response, error)
-
func (s *ActionsService) ListRunnerGroupRunnersIter(ctx context.Context, org string, groupID int64, opts *ListOptions) iter.Seq2[*Runner, error]
-
func (s *ActionsService) ListRunners(ctx context.Context, owner, repo string, opts *ListRunnersOptions) (*Runners, *Response, error)
-
func (s *ActionsService) ListRunnersIter(ctx context.Context, owner string, repo string, opts *ListRunnersOptions) iter.Seq2[*Runner, error]
-
func (s *ActionsService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, error)
-
func (s *ActionsService) ListSelectedReposForOrgSecretIter(ctx context.Context, org string, name string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *ActionsService) ListSelectedReposForOrgVariable(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, error)
-
func (s *ActionsService) ListSelectedReposForOrgVariableIter(ctx context.Context, org string, name string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *ActionsService) ListWorkflowJobs(ctx context.Context, owner, repo string, runID int64, ...) (*Jobs, *Response, error)
-
func (s *ActionsService) ListWorkflowJobsAttempt(ctx context.Context, owner, repo string, runID, attemptNumber int64, ...) (*Jobs, *Response, error)
-
func (s *ActionsService) ListWorkflowJobsAttemptIter(ctx context.Context, owner string, repo string, runID int64, ...) iter.Seq2[*WorkflowJob, error]
-
func (s *ActionsService) ListWorkflowJobsIter(ctx context.Context, owner string, repo string, runID int64, ...) iter.Seq2[*WorkflowJob, error]
-
func (s *ActionsService) ListWorkflowRunArtifacts(ctx context.Context, owner, repo string, runID int64, opts *ListOptions) (*ArtifactList, *Response, error)
-
func (s *ActionsService) ListWorkflowRunArtifactsIter(ctx context.Context, owner string, repo string, runID int64, opts *ListOptions) iter.Seq2[*Artifact, error]
-
func (s *ActionsService) ListWorkflowRunsByFileName(ctx context.Context, owner, repo, workflowFileName string, ...) (*WorkflowRuns, *Response, error)
-
func (s *ActionsService) ListWorkflowRunsByFileNameIter(ctx context.Context, owner string, repo string, workflowFileName string, ...) iter.Seq2[*WorkflowRun, error]
-
func (s *ActionsService) ListWorkflowRunsByID(ctx context.Context, owner, repo string, workflowID int64, ...) (*WorkflowRuns, *Response, error)
-
func (s *ActionsService) ListWorkflowRunsByIDIter(ctx context.Context, owner string, repo string, workflowID int64, ...) iter.Seq2[*WorkflowRun, error]
-
func (s *ActionsService) ListWorkflows(ctx context.Context, owner, repo string, opts *ListOptions) (*Workflows, *Response, error)
-
func (s *ActionsService) ListWorkflowsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Workflow, error]
-
func (s *ActionsService) PendingDeployments(ctx context.Context, owner, repo string, runID int64, ...) ([]*Deployment, *Response, error)
-
func (s *ActionsService) RemoveEnabledOrgInEnterprise(ctx context.Context, owner string, organizationID int64) (*Response, error)
-
func (s *ActionsService) RemoveEnabledReposInOrg(ctx context.Context, owner string, repositoryID int64) (*Response, error)
-
func (s *ActionsService) RemoveOrganizationRunner(ctx context.Context, org string, runnerID int64) (*Response, error)
-
func (s *ActionsService) RemoveRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID int64) (*Response, error)
-
func (s *ActionsService) RemoveRepositorySelfHostedRunnersAllowedInOrganization(ctx context.Context, org string, repositoryID int64) (*Response, error)
-
func (s *ActionsService) RemoveRunner(ctx context.Context, owner, repo string, runnerID int64) (*Response, error)
-
func (s *ActionsService) RemoveRunnerGroupRunners(ctx context.Context, org string, groupID, runnerID int64) (*Response, error)
-
func (s *ActionsService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repoID int64) (*Response, error)
-
func (s *ActionsService) RemoveSelectedRepoFromOrgVariable(ctx context.Context, org, name string, repo *Repository) (*Response, error)
-
func (s *ActionsService) RerunFailedJobsByID(ctx context.Context, owner, repo string, runID int64) (*Response, error)
-
func (s *ActionsService) RerunJobByID(ctx context.Context, owner, repo string, jobID int64) (*Response, error)
-
func (s *ActionsService) RerunWorkflowByID(ctx context.Context, owner, repo string, runID int64) (*Response, error)
-
func (s *ActionsService) ReviewCustomDeploymentProtectionRule(ctx context.Context, owner, repo string, runID int64, ...) (*Response, error)
-
func (s *ActionsService) SetEnabledOrgsInEnterprise(ctx context.Context, owner string, organizationIDs []int64) (*Response, error)
-
func (s *ActionsService) SetEnabledReposInOrg(ctx context.Context, owner string, repositoryIDs []int64) (*Response, error)
-
func (s *ActionsService) SetOrgOIDCSubjectClaimCustomTemplate(ctx context.Context, org string, body OIDCSubjectClaimCustomTemplate) (*Response, error)
-
func (s *ActionsService) SetRepoOIDCSubjectClaimCustomTemplate(ctx context.Context, owner, repo string, body OIDCSubjectClaimCustomTemplate) (*Response, error)
-
func (s *ActionsService) SetRepositoriesSelfHostedRunnersAllowedInOrganization(ctx context.Context, org string, repositoryIDs []int64) (*Response, error)
-
func (s *ActionsService) SetRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, ...) (*Response, error)
-
func (s *ActionsService) SetRunnerGroupRunners(ctx context.Context, org string, groupID int64, ...) (*Response, error)
-
func (s *ActionsService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ids []int64) (*Response, error)
-
func (s *ActionsService) SetSelectedReposForOrgVariable(ctx context.Context, org, name string, ids []int64) (*Response, error)
-
func (s *ActionsService) UpdateActionsAllowed(ctx context.Context, org string, body ActionsAllowed) (*ActionsAllowed, *Response, error)
-
func (s *ActionsService) UpdateActionsAllowedInEnterprise(ctx context.Context, enterprise string, body ActionsAllowed) (*ActionsAllowed, *Response, error)
-
func (s *ActionsService) UpdateActionsPermissions(ctx context.Context, org string, body ActionsPermissions) (*ActionsPermissions, *Response, error)
-
func (s *ActionsService) UpdateActionsPermissionsInEnterprise(ctx context.Context, enterprise string, body ActionsPermissionsEnterprise) (*ActionsPermissionsEnterprise, *Response, error)
-
func (s *ActionsService) UpdateArtifactAndLogRetentionPeriodInEnterprise(ctx context.Context, enterprise string, body ArtifactPeriodOpt) (*Response, error)
-
func (s *ActionsService) UpdateArtifactAndLogRetentionPeriodInOrganization(ctx context.Context, org string, body ArtifactPeriodOpt) (*Response, error)
-
func (s *ActionsService) UpdateDefaultWorkflowPermissionsInEnterprise(ctx context.Context, enterprise string, ...) (*DefaultWorkflowPermissionEnterprise, *Response, error)
-
func (s *ActionsService) UpdateDefaultWorkflowPermissionsInOrganization(ctx context.Context, org string, body DefaultWorkflowPermissionOrganization) (*DefaultWorkflowPermissionOrganization, *Response, error)
-
func (s *ActionsService) UpdateEnterpriseForkPRContributorApprovalPermissions(ctx context.Context, enterprise string, body ContributorApprovalPermissions) (*Response, error)
-
func (s *ActionsService) UpdateEnvVariable(ctx context.Context, owner, repo, env, name string, ...) (*Response, error)
-
func (s *ActionsService) UpdateForkPRContributorApprovalPermissions(ctx context.Context, owner, repo string, body ContributorApprovalPermissions) (*Response, error)
-
func (s *ActionsService) UpdateHostedRunner(ctx context.Context, org string, runnerID int64, ...) (*HostedRunner, *Response, error)
-
func (s *ActionsService) UpdateOrgVariable(ctx context.Context, org, name string, body OrgActionsVariableUpdateRequest) (*Response, error)
-
func (s *ActionsService) UpdateOrganizationForkPRContributorApprovalPermissions(ctx context.Context, org string, body ContributorApprovalPermissions) (*Response, error)
-
func (s *ActionsService) UpdateOrganizationRunnerGroup(ctx context.Context, org string, groupID int64, body UpdateRunnerGroupRequest) (*RunnerGroup, *Response, error)
-
func (s *ActionsService) UpdatePrivateRepoForkPRWorkflowSettingsInEnterprise(ctx context.Context, enterprise string, body *WorkflowsPermissionsOpt) (*Response, error)
-
func (s *ActionsService) UpdatePrivateRepoForkPRWorkflowSettingsInOrganization(ctx context.Context, org string, body *WorkflowsPermissionsOpt) (*Response, error)
-
func (s *ActionsService) UpdateRepoVariable(ctx context.Context, owner, repo, name string, ...) (*Response, error)
-
func (s *ActionsService) UpdateSelfHostedRunnerPermissionsInEnterprise(ctx context.Context, enterprise string, ...) (*Response, error)
-
func (s *ActionsService) UpdateSelfHostedRunnersSettingsInOrganization(ctx context.Context, org string, body SelfHostedRunnersSettingsOrganizationOpt) (*Response, error)
-
type ActionsVariable
-
-
type ActionsVariableCreateRequest
-
-
type ActionsVariableUpdateRequest
-
-
type ActionsVariables
-
-
type ActiveCommitters
-
-
type ActiveCommittersListOptions
-
-
type ActivityListStarredOptions
-
-
type ActivityService
-
func (s *ActivityService) DeleteRepositorySubscription(ctx context.Context, owner, repo string) (*Response, error)
-
func (s *ActivityService) DeleteThreadSubscription(ctx context.Context, id string) (*Response, error)
-
func (s *ActivityService) GetRepositorySubscription(ctx context.Context, owner, repo string) (*Subscription, *Response, error)
-
func (s *ActivityService) GetThread(ctx context.Context, id string) (*Notification, *Response, error)
-
func (s *ActivityService) GetThreadSubscription(ctx context.Context, id string) (*Subscription, *Response, error)
-
func (s *ActivityService) IsStarred(ctx context.Context, owner, repo string) (bool, *Response, error)
-
func (s *ActivityService) ListEvents(ctx context.Context, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListEventsForOrganization(ctx context.Context, org string, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListEventsForOrganizationIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListEventsForRepoNetwork(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListEventsForRepoNetworkIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListEventsIter(ctx context.Context, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListEventsPerformedByUser(ctx context.Context, user string, publicOnly bool, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListEventsPerformedByUserIter(ctx context.Context, user string, publicOnly bool, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListEventsReceivedByUser(ctx context.Context, user string, publicOnly bool, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListEventsReceivedByUserIter(ctx context.Context, user string, publicOnly bool, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListFeeds(ctx context.Context) (*Feeds, *Response, error)
-
func (s *ActivityService) ListIssueEventsForRepository(ctx context.Context, owner, repo string, opts *ListOptions) ([]*IssueEvent, *Response, error)
-
func (s *ActivityService) ListIssueEventsForRepositoryIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*IssueEvent, error]
-
func (s *ActivityService) ListNotifications(ctx context.Context, opts *NotificationListOptions) ([]*Notification, *Response, error)
-
func (s *ActivityService) ListNotificationsIter(ctx context.Context, opts *NotificationListOptions) iter.Seq2[*Notification, error]
-
func (s *ActivityService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListRepositoryEventsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListRepositoryNotifications(ctx context.Context, owner, repo string, opts *NotificationListOptions) ([]*Notification, *Response, error)
-
func (s *ActivityService) ListRepositoryNotificationsIter(ctx context.Context, owner string, repo string, opts *NotificationListOptions) iter.Seq2[*Notification, error]
-
func (s *ActivityService) ListStargazers(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Stargazer, *Response, error)
-
func (s *ActivityService) ListStargazersIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Stargazer, error]
-
func (s *ActivityService) ListStarred(ctx context.Context, user string, opts *ActivityListStarredOptions) ([]*StarredRepository, *Response, error)
-
func (s *ActivityService) ListStarredIter(ctx context.Context, user string, opts *ActivityListStarredOptions) iter.Seq2[*StarredRepository, error]
-
func (s *ActivityService) ListUserEventsForOrganization(ctx context.Context, org, user string, opts *ListOptions) ([]*Event, *Response, error)
-
func (s *ActivityService) ListUserEventsForOrganizationIter(ctx context.Context, org string, user string, opts *ListOptions) iter.Seq2[*Event, error]
-
func (s *ActivityService) ListWatched(ctx context.Context, user string, opts *ListOptions) ([]*Repository, *Response, error)
-
func (s *ActivityService) ListWatchedIter(ctx context.Context, user string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *ActivityService) ListWatchers(ctx context.Context, owner, repo string, opts *ListOptions) ([]*User, *Response, error)
-
func (s *ActivityService) ListWatchersIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*User, error]
-
func (s *ActivityService) MarkNotificationsRead(ctx context.Context, lastRead Timestamp) (*Response, error)
-
func (s *ActivityService) MarkRepositoryNotificationsRead(ctx context.Context, owner, repo string, lastRead Timestamp) (*Response, error)
-
func (s *ActivityService) MarkThreadDone(ctx context.Context, id string) (*Response, error)
-
func (s *ActivityService) MarkThreadRead(ctx context.Context, id string) (*Response, error)
-
func (s *ActivityService) SetRepositorySubscription(ctx context.Context, owner, repo string, body *Subscription) (*Subscription, *Response, error)
-
func (s *ActivityService) SetThreadSubscription(ctx context.Context, id string, body *Subscription) (*Subscription, *Response, error)
-
func (s *ActivityService) Star(ctx context.Context, owner, repo string) (*Response, error)
-
func (s *ActivityService) Unstar(ctx context.Context, owner, repo string) (*Response, error)
-
type ActorLocation
-
-
type AddProjectItemOptions
-
-
type AddResourcesToCostCenterResponse
-
-
type AdminEnforcedChanges
-
-
type AdminEnforcement
-
-
type AdminService
-
func (s *AdminService) CreateOrg(ctx context.Context, org *Organization, admin string) (*Organization, *Response, error)
-
func (s *AdminService) CreateUser(ctx context.Context, body CreateUserRequest) (*User, *Response, error)
-
func (s *AdminService) CreateUserImpersonation(ctx context.Context, username string, body *ImpersonateUserOptions) (*UserAuthorization, *Response, error)
-
func (s *AdminService) DeleteUser(ctx context.Context, username string) (*Response, error)
-
func (s *AdminService) DeleteUserImpersonation(ctx context.Context, username string) (*Response, error)
-
func (s *AdminService) GetAdminStats(ctx context.Context) (*AdminStats, *Response, error)
-
func (s *AdminService) RenameOrg(ctx context.Context, org *Organization, newName string) (*RenameOrgResponse, *Response, error)
-
func (s *AdminService) RenameOrgByName(ctx context.Context, org, newName string) (*RenameOrgResponse, *Response, error)
-
func (s *AdminService) UpdateTeamLDAPMapping(ctx context.Context, team int64, body *TeamLDAPMapping) (*TeamLDAPMapping, *Response, error)
-
func (s *AdminService) UpdateUserLDAPMapping(ctx context.Context, user string, body *UserLDAPMapping) (*UserLDAPMapping, *Response, error)
-
type AdminStats
-
-
type AdvancedSecurity
-
-
type AdvancedSecurityCommittersBreakdown
-
-
type AdvisoryCVSS
-
-
type AdvisoryCWEs
-
-
type AdvisoryEPSS
-
-
type AdvisoryIdentifier
-
-
type AdvisoryReference
-
-
type AdvisoryVulnerability
-
-
type Alert
-
-
type AlertInstancesListOptions
-
-
type AlertListOptions
-
-
type AllowDeletions
-
-
type AllowDeletionsEnforcementLevelChanges
-
-
type AllowForcePushes
-
-
type AllowForkSyncing
-
-
type AmazonS3AccessKeysConfig
-
-
type AmazonS3OIDCConfig
-
-
type AnalysesListOptions
-
-
type App
-
-
type AppConfig
-
-
type AppInstallationRepositoriesRequest
-
-
type AppsService
-
func (s *AppsService) AddRepository(ctx context.Context, instID, repoID int64) (*Repository, *Response, error)
-
func (s *AppsService) CompleteAppManifest(ctx context.Context, code string) (*AppConfig, *Response, error)
-
func (s *AppsService) CreateAttachment(ctx context.Context, contentReferenceID int64, title, body string) (*Attachment, *Response, error) deprecated
-
func (s *AppsService) CreateInstallationToken(ctx context.Context, id int64, body *InstallationTokenOptions) (*InstallationToken, *Response, error)
-
func (s *AppsService) CreateInstallationTokenListRepos(ctx context.Context, id int64, body *InstallationTokenListRepoOptions) (*InstallationToken, *Response, error)
-
func (s *AppsService) DeleteInstallation(ctx context.Context, id int64) (*Response, error)
-
func (s *AppsService) Get(ctx context.Context, appSlug string) (*App, *Response, error)
-
func (s *AppsService) GetEnterpriseInstallation(ctx context.Context, enterprise string) (*Installation, *Response, error)
-
func (s *AppsService) GetHookConfig(ctx context.Context) (*HookConfig, *Response, error)
-
func (s *AppsService) GetHookDelivery(ctx context.Context, deliveryID int64) (*HookDelivery, *Response, error)
-
func (s *AppsService) GetInstallation(ctx context.Context, id int64) (*Installation, *Response, error)
-
func (s *AppsService) GetOrganizationInstallation(ctx context.Context, org string) (*Installation, *Response, error)
-
func (s *AppsService) GetRepositoryInstallation(ctx context.Context, owner, repo string) (*Installation, *Response, error)
-
func (s *AppsService) GetRepositoryInstallationByID(ctx context.Context, id int64) (*Installation, *Response, error)
-
func (s *AppsService) GetUserInstallation(ctx context.Context, user string) (*Installation, *Response, error)
-
func (s *AppsService) ListHookDeliveries(ctx context.Context, opts *ListCursorOptions) ([]*HookDelivery, *Response, error)
-
func (s *AppsService) ListHookDeliveriesIter(ctx context.Context, opts *ListCursorOptions) iter.Seq2[*HookDelivery, error]
-
func (s *AppsService) ListInstallationRequests(ctx context.Context, opts *ListOptions) ([]*InstallationRequest, *Response, error)
-
func (s *AppsService) ListInstallationRequestsIter(ctx context.Context, opts *ListOptions) iter.Seq2[*InstallationRequest, error]
-
func (s *AppsService) ListInstallations(ctx context.Context, opts *ListOptions) ([]*Installation, *Response, error)
-
func (s *AppsService) ListInstallationsIter(ctx context.Context, opts *ListOptions) iter.Seq2[*Installation, error]
-
func (s *AppsService) ListRepos(ctx context.Context, opts *ListOptions) (*ListRepositories, *Response, error)
-
func (s *AppsService) ListReposIter(ctx context.Context, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *AppsService) ListUserInstallations(ctx context.Context, opts *ListOptions) ([]*Installation, *Response, error)
-
func (s *AppsService) ListUserInstallationsIter(ctx context.Context, opts *ListOptions) iter.Seq2[*Installation, error]
-
func (s *AppsService) ListUserRepos(ctx context.Context, id int64, opts *ListOptions) (*ListRepositories, *Response, error)
-
func (s *AppsService) ListUserReposIter(ctx context.Context, id int64, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *AppsService) RedeliverHookDelivery(ctx context.Context, deliveryID int64) (*HookDelivery, *Response, error)
-
func (s *AppsService) RemoveRepository(ctx context.Context, instID, repoID int64) (*Response, error)
-
func (s *AppsService) RevokeInstallationToken(ctx context.Context) (*Response, error)
-
func (s *AppsService) SuspendInstallation(ctx context.Context, id int64) (*Response, error)
-
func (s *AppsService) UnsuspendInstallation(ctx context.Context, id int64) (*Response, error)
-
func (s *AppsService) UpdateHookConfig(ctx context.Context, body HookConfig) (*HookConfig, *Response, error)
-
type ArchiveFormat
-
type ArchivedAt
-
-
type Artifact
-
-
type ArtifactDeploymentRecord
-
-
type ArtifactDeploymentResponse
-
-
type ArtifactList
-
-
type ArtifactPeriod
-
-
type ArtifactPeriodOpt
-
-
type ArtifactStorageRecord
-
-
type ArtifactStorageResponse
-
-
type ArtifactWorkflowRun
-
-
type AssignmentGrade
-
-
type Attachment
-
-
type Attestation
-
-
type AttestationsResponse
-
-
type AuditEntry
-
-
type AuditLogStream
-
-
type AuditLogStreamConfig
-
-
-
type AuditLogStreamKey
-
-
type AuditLogStreamVendorConfig
-
type Authorization
-
-
type AuthorizationApp
-
-
type AuthorizationRequest
-
-
type AuthorizationUpdateRequest
-
-
type AuthorizationsService
-
func (s *AuthorizationsService) Check(ctx context.Context, clientID, accessToken string) (*Authorization, *Response, error)
-
func (s *AuthorizationsService) CreateImpersonation(ctx context.Context, username string, body *AuthorizationRequest) (*Authorization, *Response, error)
-
func (s *AuthorizationsService) DeleteGrant(ctx context.Context, clientID, accessToken string) (*Response, error)
-
func (s *AuthorizationsService) DeleteImpersonation(ctx context.Context, username string) (*Response, error)
-
func (s *AuthorizationsService) Reset(ctx context.Context, clientID, accessToken string) (*Authorization, *Response, error)
-
func (s *AuthorizationsService) Revoke(ctx context.Context, clientID, accessToken string) (*Response, error)
-
type AuthorizedActorNames
-
-
type AuthorizedActorsOnly
-
-
type AuthorizedDismissalActorsOnlyChanges
-
-
type AutoTriggerCheck
-
-
type Autolink
-
-
type AutolinkOptions
-
-
type AutomatedSecurityFixes
-
-
type AzureBlobConfig
-
-
type AzureHubConfig
-
-
type BasicAuthTransport
-
-
type BillingCostCenter
-
-
type BillingService
-
func (s *BillingService) GetOrgAICreditUsage(ctx context.Context, org string, opts *PremiumRequestUsageReportOptions) (*PremiumRequestUsageReport, *Response, error)
-
func (s *BillingService) GetOrganizationAdvancedSecurityActiveCommitters(ctx context.Context, org string, opts *ActiveCommittersListOptions) (*ActiveCommitters, *Response, error)
-
func (s *BillingService) GetOrganizationPackagesBilling(ctx context.Context, org string) (*PackagesBilling, *Response, error) deprecated
-
func (s *BillingService) GetOrganizationPremiumRequestUsageReport(ctx context.Context, org string, opts *PremiumRequestUsageReportOptions) (*PremiumRequestUsageReport, *Response, error)
-
func (s *BillingService) GetOrganizationStorageBilling(ctx context.Context, org string) (*StorageBilling, *Response, error) deprecated
-
func (s *BillingService) GetOrganizationUsageReport(ctx context.Context, org string, opts *UsageReportOptions) (*UsageReport, *Response, error)
-
func (s *BillingService) GetPackagesBilling(ctx context.Context, user string) (*PackagesBilling, *Response, error) deprecated
-
func (s *BillingService) GetPremiumRequestUsageReport(ctx context.Context, user string, opts *PremiumRequestUsageReportOptions) (*PremiumRequestUsageReport, *Response, error)
-
func (s *BillingService) GetStorageBilling(ctx context.Context, user string) (*StorageBilling, *Response, error) deprecated
-
func (s *BillingService) GetUsageReport(ctx context.Context, user string, opts *UsageReportOptions) (*UsageReport, *Response, error)
-
func (s *BillingService) GetUserAICreditUsage(ctx context.Context, username string, opts *PremiumRequestUsageReportOptions) (*PremiumRequestUsageReport, *Response, error)
-
type Blob
-
-
type BlockCreations
-
-
type Branch
-
-
type BranchCommit
-
-
type BranchListOptions
-
-
type BranchPolicy
-
-
type BranchProtectionConfigurationEvent
-
-
type BranchProtectionRule
-
-
type BranchProtectionRuleEvent
-
-
type BranchRestrictions
-
-
type BranchRestrictionsRequest
-
-
type BranchRuleMetadata
-
-
type BranchRules
-
-
type BypassActor
-
-
type BypassActorType
-
type BypassMode
-
type BypassPullRequestAllowances
-
-
type BypassPullRequestAllowancesRequest
-
-
type BypassReviewer
-
-
type CheckRun
-
-
type CheckRunAction
-
-
type CheckRunAnnotation
-
-
type CheckRunEvent
-
-
type CheckRunImage
-
-
type CheckRunOutput
-
-
type CheckSuite
-
-
type CheckSuiteEvent
-
-
type CheckSuitePreferenceOptions
-
-
type CheckSuitePreferenceResults
-
-
type ChecksService
-
func (s *ChecksService) CreateCheckRun(ctx context.Context, owner, repo string, body CreateCheckRunOptions) (*CheckRun, *Response, error)
-
func (s *ChecksService) CreateCheckSuite(ctx context.Context, owner, repo string, body CreateCheckSuiteOptions) (*CheckSuite, *Response, error)
-
func (s *ChecksService) GetCheckRun(ctx context.Context, owner, repo string, checkRunID int64) (*CheckRun, *Response, error)
-
func (s *ChecksService) GetCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64) (*CheckSuite, *Response, error)
-
func (s *ChecksService) ListCheckRunAnnotations(ctx context.Context, owner, repo string, checkRunID int64, opts *ListOptions) ([]*CheckRunAnnotation, *Response, error)
-
func (s *ChecksService) ListCheckRunAnnotationsIter(ctx context.Context, owner string, repo string, checkRunID int64, ...) iter.Seq2[*CheckRunAnnotation, error]
-
func (s *ChecksService) ListCheckRunsCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64, ...) (*ListCheckRunsResults, *Response, error)
-
func (s *ChecksService) ListCheckRunsCheckSuiteIter(ctx context.Context, owner string, repo string, checkSuiteID int64, ...) iter.Seq2[*CheckRun, error]
-
func (s *ChecksService) ListCheckRunsForRef(ctx context.Context, owner, repo, ref string, opts *ListCheckRunsOptions) (*ListCheckRunsResults, *Response, error)
-
func (s *ChecksService) ListCheckRunsForRefIter(ctx context.Context, owner string, repo string, ref string, ...) iter.Seq2[*CheckRun, error]
-
func (s *ChecksService) ListCheckSuitesForRef(ctx context.Context, owner, repo, ref string, opts *ListCheckSuiteOptions) (*ListCheckSuiteResults, *Response, error)
-
func (s *ChecksService) ListCheckSuitesForRefIter(ctx context.Context, owner string, repo string, ref string, ...) iter.Seq2[*CheckSuite, error]
-
func (s *ChecksService) ReRequestCheckRun(ctx context.Context, owner, repo string, checkRunID int64) (*Response, error)
-
func (s *ChecksService) ReRequestCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64) (*Response, error)
-
func (s *ChecksService) SetCheckSuitePreferences(ctx context.Context, owner, repo string, body CheckSuitePreferenceOptions) (*CheckSuitePreferenceResults, *Response, error)
-
func (s *ChecksService) UpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, ...) (*CheckRun, *Response, error)
-
type Classroom
-
-
type ClassroomAssignment
-
-
type ClassroomService
-
func (s *ClassroomService) GetAssignment(ctx context.Context, assignmentID int64) (*ClassroomAssignment, *Response, error)
-
func (s *ClassroomService) GetAssignmentGrades(ctx context.Context, assignmentID int64) ([]*AssignmentGrade, *Response, error)
-
func (s *ClassroomService) GetClassroom(ctx context.Context, classroomID int64) (*Classroom, *Response, error)
-
func (s *ClassroomService) ListAcceptedAssignments(ctx context.Context, assignmentID int64, opts *ListOptions) ([]*AcceptedAssignment, *Response, error)
-
func (s *ClassroomService) ListAcceptedAssignmentsIter(ctx context.Context, assignmentID int64, opts *ListOptions) iter.Seq2[*AcceptedAssignment, error]
-
func (s *ClassroomService) ListClassroomAssignments(ctx context.Context, classroomID int64, opts *ListOptions) ([]*ClassroomAssignment, *Response, error)
-
func (s *ClassroomService) ListClassroomAssignmentsIter(ctx context.Context, classroomID int64, opts *ListOptions) iter.Seq2[*ClassroomAssignment, error]
-
func (s *ClassroomService) ListClassrooms(ctx context.Context, opts *ListOptions) ([]*Classroom, *Response, error)
-
func (s *ClassroomService) ListClassroomsIter(ctx context.Context, opts *ListOptions) iter.Seq2[*Classroom, error]
-
type ClassroomUser
-
-
type Client
-
-
func (c *Client) APIMeta(ctx context.Context) (*APIMeta, *Response, error) deprecated
-
func (c *Client) BareDo(req *http.Request) (*Response, error)
-
func (c *Client) BaseURL() string
-
func (c *Client) Client() *http.Client
-
func (c *Client) Clone(opts ...ClientOptionsFunc) (*Client, error)
-
func (c *Client) Do(req *http.Request, v any) (*Response, error)
-
func (c *Client) GetCodeOfConduct(ctx context.Context, key string) (*CodeOfConduct, *Response, error) deprecated
-
func (c *Client) ListCodesOfConduct(ctx context.Context) ([]*CodeOfConduct, *Response, error) deprecated
-
func (c *Client) ListEmojis(ctx context.Context) (map[string]string, *Response, error) deprecated
-
func (c *Client) NewFormRequest(ctx context.Context, urlStr string, body io.Reader, opts ...RequestOption) (*http.Request, error)
-
func (c *Client) NewRequest(ctx context.Context, method, urlStr string, body any, opts ...RequestOption) (*http.Request, error)
-
func (c *Client) NewUploadRequest(ctx context.Context, urlStr string, reader io.Reader, size int64, ...) (*http.Request, error)
-
func (c *Client) Octocat(ctx context.Context, message string) (string, *Response, error) deprecated
-
func (c *Client) RateLimits(ctx context.Context) (*RateLimits, *Response, error) deprecated
-
func (c *Client) UploadURL() string
-
func (c *Client) UserAgent() string
-
func (c *Client) Zen(ctx context.Context) (string, *Response, error) deprecated
-
type ClientOptionsFunc
-
-
type ClusterArtifactDeployment
-
-
type ClusterDeploymentRecordsRequest
-
-
type ClusterSSHKey
-
-
type ClusterStatus
-
-
type ClusterStatusNode
-
-
type ClusterStatusNodeServiceItem
-
-
type CodeOfConduct
-
-
type CodeQLDatabase
-
-
type CodeQualityFinding
-
-
type CodeQualityFindingLocation
-
-
type CodeQualityFindingMessage
-
-
type CodeQualityFindingRule
-
-
type CodeQualityService
-
func (s *CodeQualityService) GetFinding(ctx context.Context, owner, repo string, findingNumber int) (*CodeQualityFinding, *Response, error)
-
func (s *CodeQualityService) GetSetup(ctx context.Context, owner, repo string) (*CodeQualitySetupConfiguration, *Response, error)
-
func (s *CodeQualityService) ListFindings(ctx context.Context, owner, repo string, opts *ListCodeQualityFindingsOptions) ([]*CodeQualityFinding, *Response, error)
-
func (s *CodeQualityService) ListFindingsIter(ctx context.Context, owner string, repo string, ...) iter.Seq2[*CodeQualityFinding, error]
-
func (s *CodeQualityService) UpdateSetup(ctx context.Context, owner, repo string, body CodeQualityUpdateSetupRequest) (*CodeQualityUpdateSetupResponse, *Response, error)
-
type CodeQualitySetupConfiguration
-
-
type CodeQualityUpdateSetupRequest
-
-
type CodeQualityUpdateSetupResponse
-
-
type CodeResult
-
-
type CodeScanningAlertEvent
-
-
type CodeScanningAlertState
-
-
type CodeScanningAlertsThreshold
-
type CodeScanningBranchRule
-
-
type CodeScanningDefaultSetupOptions
-
-
type CodeScanningOptions
-
-
type CodeScanningRuleParameters
-
-
type CodeScanningSecurityAlertsThreshold
-
type CodeScanningService
-
func (s *CodeScanningService) DeleteAnalysis(ctx context.Context, owner, repo string, id int64) (*DeleteAnalysis, *Response, error)
-
func (s *CodeScanningService) GetAlert(ctx context.Context, owner, repo string, id int64) (*Alert, *Response, error)
-
func (s *CodeScanningService) GetAnalysis(ctx context.Context, owner, repo string, id int64) (*ScanningAnalysis, *Response, error)
-
func (s *CodeScanningService) GetCodeQLDatabase(ctx context.Context, owner, repo, language string) (*CodeQLDatabase, *Response, error)
-
func (s *CodeScanningService) GetDefaultSetupConfiguration(ctx context.Context, owner, repo string) (*DefaultSetupConfiguration, *Response, error)
-
func (s *CodeScanningService) GetSARIF(ctx context.Context, owner, repo, sarifID string) (*SARIFUpload, *Response, error)
-
func (s *CodeScanningService) ListAlertInstances(ctx context.Context, owner, repo string, id int64, ...) ([]*MostRecentInstance, *Response, error)
-
func (s *CodeScanningService) ListAlertInstancesIter(ctx context.Context, owner string, repo string, id int64, ...) iter.Seq2[*MostRecentInstance, error]
-
func (s *CodeScanningService) ListAlertsForOrg(ctx context.Context, org string, opts *AlertListOptions) ([]*Alert, *Response, error)
-
func (s *CodeScanningService) ListAlertsForOrgIter(ctx context.Context, org string, opts *AlertListOptions) iter.Seq2[*Alert, error]
-
func (s *CodeScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, opts *AlertListOptions) ([]*Alert, *Response, error)
-
func (s *CodeScanningService) ListAlertsForRepoIter(ctx context.Context, owner string, repo string, opts *AlertListOptions) iter.Seq2[*Alert, error]
-
func (s *CodeScanningService) ListAnalysesForRepo(ctx context.Context, owner, repo string, opts *AnalysesListOptions) ([]*ScanningAnalysis, *Response, error)
-
func (s *CodeScanningService) ListAnalysesForRepoIter(ctx context.Context, owner string, repo string, opts *AnalysesListOptions) iter.Seq2[*ScanningAnalysis, error]
-
func (s *CodeScanningService) ListCodeQLDatabases(ctx context.Context, owner, repo string) ([]*CodeQLDatabase, *Response, error)
-
func (s *CodeScanningService) UpdateAlert(ctx context.Context, owner, repo string, id int64, ...) (*Alert, *Response, error)
-
func (s *CodeScanningService) UpdateDefaultSetupConfiguration(ctx context.Context, owner, repo string, ...) (*UpdateDefaultSetupConfigurationResponse, *Response, error)
-
func (s *CodeScanningService) UploadSarif(ctx context.Context, owner, repo string, body *SarifAnalysis) (*SarifID, *Response, error)
-
type CodeSearchResult
-
-
type CodeSecurity
-
-
type CodeSecurityConfiguration
-
-
type CodeSecurityConfigurationWithDefaultForNewRepos
-
-
type CodeownersError
-
-
type CodeownersErrors
-
-
type CodesOfConductService
-
-
type Codespace
-
-
type CodespaceCreateForUserOptions
-
-
type CodespaceDefaultAttributes
-
-
type CodespaceDefaults
-
-
type CodespaceExport
-
-
type CodespaceGetDefaultAttributesOptions
-
-
type CodespacePermissions
-
-
type CodespacePullRequestOptions
-
-
type CodespacesGitStatus
-
-
type CodespacesMachine
-
-
type CodespacesMachines
-
-
type CodespacesOrgAccessControlRequest
-
-
type CodespacesRuntimeConstraints
-
-
type CodespacesService
-
func (s *CodespacesService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repo *Repository) (*Response, error)
-
func (s *CodespacesService) AddSelectedRepoToUserSecret(ctx context.Context, name string, repo *Repository) (*Response, error)
-
func (s *CodespacesService) AddUsersToOrgAccess(ctx context.Context, org string, usernames []string) (*Response, error) deprecated
-
func (s *CodespacesService) CheckPermissions(ctx context.Context, owner, repo, ref, devcontainerPath string) (*CodespacePermissions, *Response, error)
-
func (s *CodespacesService) Create(ctx context.Context, body *CodespaceCreateForUserOptions) (*Codespace, *Response, error)
-
func (s *CodespacesService) CreateFromPullRequest(ctx context.Context, owner, repo string, pullNumber int, ...) (*Codespace, *Response, error)
-
func (s *CodespacesService) CreateInRepo(ctx context.Context, owner, repo string, body *CreateCodespaceOptions) (*Codespace, *Response, error)
-
func (s *CodespacesService) CreateOrUpdateOrgSecret(ctx context.Context, org string, body *EncryptedSecret) (*Response, error)
-
func (s *CodespacesService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, body *EncryptedSecret) (*Response, error)
-
func (s *CodespacesService) CreateOrUpdateUserSecret(ctx context.Context, body *EncryptedSecret) (*Response, error)
-
func (s *CodespacesService) Delete(ctx context.Context, codespaceName string) (*Response, error)
-
func (s *CodespacesService) DeleteOrgSecret(ctx context.Context, org, name string) (*Response, error)
-
func (s *CodespacesService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*Response, error)
-
func (s *CodespacesService) DeleteUserCodespaceInOrg(ctx context.Context, org, username, codespaceName string) (*Response, error)
-
func (s *CodespacesService) DeleteUserSecret(ctx context.Context, name string) (*Response, error)
-
func (s *CodespacesService) ExportCodespace(ctx context.Context, codespaceName string) (*CodespaceExport, *Response, error)
-
func (s *CodespacesService) Get(ctx context.Context, codespaceName string) (*Codespace, *Response, error)
-
func (s *CodespacesService) GetDefaultAttributes(ctx context.Context, owner, repo string, ...) (*CodespaceDefaultAttributes, *Response, error)
-
func (s *CodespacesService) GetLatestCodespaceExport(ctx context.Context, codespaceName string) (*CodespaceExport, *Response, error)
-
func (s *CodespacesService) GetOrgPublicKey(ctx context.Context, org string) (*PublicKey, *Response, error)
-
func (s *CodespacesService) GetOrgSecret(ctx context.Context, org, name string) (*Secret, *Response, error)
-
func (s *CodespacesService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*PublicKey, *Response, error)
-
func (s *CodespacesService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*Secret, *Response, error)
-
func (s *CodespacesService) GetUserPublicKey(ctx context.Context) (*PublicKey, *Response, error)
-
func (s *CodespacesService) GetUserSecret(ctx context.Context, name string) (*Secret, *Response, error)
-
func (s *CodespacesService) List(ctx context.Context, opts *ListCodespacesOptions) (*ListCodespaces, *Response, error)
-
func (s *CodespacesService) ListCodespaceMachineTypes(ctx context.Context, codespaceName string) (*CodespacesMachines, *Response, error)
-
func (s *CodespacesService) ListDevContainerConfigurations(ctx context.Context, owner, repo string, opts *ListOptions) (*DevContainerConfigurations, *Response, error)
-
func (s *CodespacesService) ListDevContainerConfigurationsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*DevContainer, error]
-
func (s *CodespacesService) ListInOrg(ctx context.Context, org string, opts *ListOptions) (*ListCodespaces, *Response, error)
-
func (s *CodespacesService) ListInOrgIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Codespace, error]
-
func (s *CodespacesService) ListInRepo(ctx context.Context, owner, repo string, opts *ListOptions) (*ListCodespaces, *Response, error)
-
func (s *CodespacesService) ListInRepoIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Codespace, error]
-
func (s *CodespacesService) ListIter(ctx context.Context, opts *ListCodespacesOptions) iter.Seq2[*Codespace, error]
-
func (s *CodespacesService) ListOrgSecrets(ctx context.Context, org string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *CodespacesService) ListOrgSecretsIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *CodespacesService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *CodespacesService) ListRepoSecretsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *CodespacesService) ListRepositoryMachineTypes(ctx context.Context, owner, repo string, opts *ListRepoMachineTypesOptions) (*CodespacesMachines, *Response, error)
-
func (s *CodespacesService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, error)
-
func (s *CodespacesService) ListSelectedReposForOrgSecretIter(ctx context.Context, org string, name string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *CodespacesService) ListSelectedReposForUserSecret(ctx context.Context, name string, opts *ListOptions) (*SelectedReposList, *Response, error)
-
func (s *CodespacesService) ListSelectedReposForUserSecretIter(ctx context.Context, name string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *CodespacesService) ListUserCodespacesInOrg(ctx context.Context, org, username string, opts *ListOptions) (*ListCodespaces, *Response, error)
-
func (s *CodespacesService) ListUserCodespacesInOrgIter(ctx context.Context, org string, username string, opts *ListOptions) iter.Seq2[*Codespace, error]
-
func (s *CodespacesService) ListUserSecrets(ctx context.Context, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *CodespacesService) ListUserSecretsIter(ctx context.Context, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *CodespacesService) Publish(ctx context.Context, codespaceName string, body *PublishCodespaceOptions) (*Codespace, *Response, error)
-
func (s *CodespacesService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repo *Repository) (*Response, error)
-
func (s *CodespacesService) RemoveSelectedRepoFromUserSecret(ctx context.Context, name string, repo *Repository) (*Response, error)
-
func (s *CodespacesService) RemoveUsersFromOrgAccess(ctx context.Context, org string, usernames []string) (*Response, error) deprecated
-
func (s *CodespacesService) SetOrgAccessControl(ctx context.Context, org string, body CodespacesOrgAccessControlRequest) (*Response, error) deprecated
-
func (s *CodespacesService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ids SelectedRepoIDs) (*Response, error)
-
func (s *CodespacesService) SetSelectedReposForUserSecret(ctx context.Context, name string, ids SelectedRepoIDs) (*Response, error)
-
func (s *CodespacesService) Start(ctx context.Context, codespaceName string) (*Codespace, *Response, error)
-
func (s *CodespacesService) Stop(ctx context.Context, codespaceName string) (*Codespace, *Response, error)
-
func (s *CodespacesService) StopUserCodespaceInOrg(ctx context.Context, org, username, codespaceName string) (*Response, error)
-
func (s *CodespacesService) Update(ctx context.Context, codespaceName string, body *UpdateCodespaceOptions) (*Codespace, *Response, error)
-
type CollaboratorInvitation
-
-
type CombinedStatus
-
-
type Comment
-
-
type CommentDiscussion
-
-
type CommentStats
-
-
type Commit
-
-
type CommitAuthor
-
-
type CommitCommentEvent
-
-
type CommitFile
-
-
type CommitResult
-
-
type CommitStats
-
-
type CommitsComparison
-
-
type CommitsListOptions
-
-
type CommitsSearchResult
-
-
type CommunityHealthFiles
-
-
type CommunityHealthMetrics
-
-
type ComputeService
-
type ConfigApplyEvents
-
-
type ConfigApplyEventsNode
-
-
type ConfigApplyEventsNodeEvent
-
-
type ConfigApplyEventsOptions
-
-
type ConfigApplyOptions
-
-
type ConfigApplyStatus
-
-
type ConfigApplyStatusNode
-
-
type ConfigSettings
-
-
type ConfigSettingsAvatar
-
-
type ConfigSettingsCAS
-
-
type ConfigSettingsCollectd
-
-
type ConfigSettingsCustomer
-
-
type ConfigSettingsGithubOAuth
-
-
type ConfigSettingsGithubSSL
-
-
type ConfigSettingsLDAP
-
-
type ConfigSettingsLDAPProfile
-
-
type ConfigSettingsLDAPReconciliation
-
-
type ConfigSettingsLicenseSettings
-
-
type ConfigSettingsMapping
-
-
type ConfigSettingsNTP
-
-
type ConfigSettingsPagesSettings
-
-
type ConfigSettingsSAML
-
-
type ConfigSettingsSMTP
-
-
type ConfigSettingsSNMP
-
-
type ConfigSettingsSyslog
-
-
type ConnectionServiceItem
-
-
type ContentReference
-
-
type ContentReferenceEvent
-
-
type Contributor
-
-
type ContributorApprovalPermissions
-
-
type ContributorStats
-
-
type CopilotCloudAgentConfiguration
-
-
type CopilotCloudAgentEnabledTools
-
-
type CopilotCodeReviewBranchRule
-
-
type CopilotCodeReviewRuleParameters
-
-
type CopilotDailyMetrics
-
-
type CopilotDailyMetricsReport
-
-
type CopilotDotcomChat
-
-
type CopilotDotcomChatModel
-
-
type CopilotDotcomPullRequests
-
-
type CopilotDotcomPullRequestsModel
-
-
type CopilotDotcomPullRequestsRepository
-
-
type CopilotIDEChat
-
-
type CopilotIDEChatEditor
-
-
type CopilotIDEChatModel
-
-
type CopilotIDECodeCompletions
-
-
type CopilotIDECodeCompletionsEditor
-
-
type CopilotIDECodeCompletionsLanguage
-
-
type CopilotIDECodeCompletionsModel
-
-
type CopilotIDECodeCompletionsModelLanguage
-
-
type CopilotMetrics
-
-
type CopilotMetricsCLI
-
-
type CopilotMetricsCLITokenUsage
-
-
type CopilotMetricsCLIVersion
-
-
type CopilotMetricsChatPanel
-
-
type CopilotMetricsCodeActivity
-
-
type CopilotMetricsFeature
-
-
type CopilotMetricsIDE
-
-
type CopilotMetricsLanguageFeature
-
-
type CopilotMetricsLanguageModel
-
-
type CopilotMetricsListOptions
-
-
type CopilotMetricsModelFeature
-
-
type CopilotMetricsPullRequests
-
-
type CopilotMetricsReport
-
-
type CopilotMetricsReportOptions
-
-
type CopilotOrganizationContentExclusionDetails
-
type CopilotOrganizationDetails
-
-
type CopilotPeriodicMetrics
-
-
type CopilotSeatBreakdown
-
-
type CopilotSeatDetails
-
-
type CopilotService
-
func (s *CopilotService) AddCopilotTeams(ctx context.Context, org string, teamNames []string) (*SeatAssignments, *Response, error)
-
func (s *CopilotService) AddCopilotUsers(ctx context.Context, org string, users []string) (*SeatAssignments, *Response, error)
-
func (s *CopilotService) DownloadCopilotMetrics(ctx context.Context, url string) ([]*CopilotMetrics, *Response, error) deprecated
-
func (s *CopilotService) DownloadDailyMetrics(ctx context.Context, url string) (*CopilotDailyMetrics, *Response, error)
-
func (s *CopilotService) DownloadPeriodicMetrics(ctx context.Context, url string) (*CopilotPeriodicMetrics, *Response, error)
-
func (s *CopilotService) DownloadUserDailyMetrics(ctx context.Context, url string) ([]*CopilotUserDailyMetrics, *Response, error)
-
func (s *CopilotService) DownloadUserPeriodicMetrics(ctx context.Context, url string) ([]*CopilotUserPeriodicMetrics, *Response, error)
-
func (s *CopilotService) GetCloudAgentConfiguration(ctx context.Context, owner, repo string) (*CopilotCloudAgentConfiguration, *Response, error)
-
func (s *CopilotService) GetCopilotBilling(ctx context.Context, org string) (*CopilotOrganizationDetails, *Response, error)
-
func (s *CopilotService) GetEnterpriseDailyMetricsReport(ctx context.Context, enterprise string, opts *CopilotMetricsReportOptions) (*CopilotDailyMetricsReport, *Response, error)
-
func (s *CopilotService) GetEnterpriseMetrics(ctx context.Context, enterprise string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) deprecated
-
func (s *CopilotService) GetEnterpriseMetricsReport(ctx context.Context, enterprise string) (*CopilotMetricsReport, *Response, error)
-
func (s *CopilotService) GetEnterpriseTeamMetrics(ctx context.Context, enterprise, team string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) deprecated
-
func (s *CopilotService) GetEnterpriseUsersDailyMetricsReport(ctx context.Context, enterprise string, opts *CopilotMetricsReportOptions) (*CopilotDailyMetricsReport, *Response, error)
-
func (s *CopilotService) GetEnterpriseUsersMetricsReport(ctx context.Context, enterprise string) (*CopilotMetricsReport, *Response, error)
-
func (s *CopilotService) GetOrganizationContentExclusionDetails(ctx context.Context, org string) (CopilotOrganizationContentExclusionDetails, *Response, error)
-
func (s *CopilotService) GetOrganizationDailyMetricsReport(ctx context.Context, org string, opts *CopilotMetricsReportOptions) (*CopilotDailyMetricsReport, *Response, error)
-
func (s *CopilotService) GetOrganizationMetrics(ctx context.Context, org string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) deprecated
-
func (s *CopilotService) GetOrganizationMetricsReport(ctx context.Context, org string) (*CopilotMetricsReport, *Response, error)
-
func (s *CopilotService) GetOrganizationTeamMetrics(ctx context.Context, org, team string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) deprecated
-
func (s *CopilotService) GetOrganizationUsersDailyMetricsReport(ctx context.Context, org string, opts *CopilotMetricsReportOptions) (*CopilotDailyMetricsReport, *Response, error)
-
func (s *CopilotService) GetOrganizationUsersMetricsReport(ctx context.Context, org string) (*CopilotMetricsReport, *Response, error)
-
func (s *CopilotService) GetSeatDetails(ctx context.Context, org, user string) (*CopilotSeatDetails, *Response, error)
-
func (s *CopilotService) ListCopilotEnterpriseSeats(ctx context.Context, enterprise string, opts *ListOptions) (*ListCopilotSeatsResponse, *Response, error)
-
func (s *CopilotService) ListCopilotEnterpriseSeatsIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*CopilotSeatDetails, error]
-
func (s *CopilotService) ListCopilotSeats(ctx context.Context, org string, opts *ListOptions) (*ListCopilotSeatsResponse, *Response, error)
-
func (s *CopilotService) ListCopilotSeatsIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*CopilotSeatDetails, error]
-
func (s *CopilotService) ListOrganizationCodingAgentRepositories(ctx context.Context, org string, opts *ListOptions) (*ListOrganizationCopilotCodingAgentRepositoriesResponse, *Response, error)
-
func (s *CopilotService) ListOrganizationCodingAgentRepositoriesIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *CopilotService) RemoveCopilotTeams(ctx context.Context, org string, teamNames []string) (*SeatCancellations, *Response, error)
-
func (s *CopilotService) RemoveCopilotUsers(ctx context.Context, org string, users []string) (*SeatCancellations, *Response, error)
-
type CopilotUserDailyMetrics
-
-
type CopilotUserMetricsIDE
-
-
type CopilotUserMetricsIDEVersion
-
-
type CopilotUserMetricsPluginVersion
-
-
type CopilotUserPeriodicMetrics
-
-
type CostCenter
-
-
type CostCenterRequest
-
-
type CostCenterResource
-
-
type CostCenterResourceRequest
-
-
type CostCenters
-
-
type CreateArtifactDeploymentRequest
-
-
type CreateArtifactStorageRequest
-
-
type CreateCheckRunOptions
-
-
type CreateCheckSuiteOptions
-
-
type CreateCodespaceOptions
-
-
type CreateCommitOptions
-
-
type CreateCustomOrgRoleRequest
-
-
type CreateEnterpriseRunnerGroupRequest
-
-
type CreateEvent
-
-
type CreateGistCommentRequest
-
-
type CreateGistFile
-
-
type CreateGistRequest
-
-
type CreateHostedRunnerRequest
-
-
type CreateJITConfigRequest
-
-
type CreateOrUpdateCustomRepoRoleOptions
-
-
type CreateOrUpdateIssueTypesOptions
-
-
type CreateOrgInvitationOptions
-
-
type CreateOrganizationPrivateRegistry
-
-
type CreateProtectedChanges
-
-
type CreateRef
-
-
type CreateReleaseRequest
-
-
type CreateRunnerGroupRequest
-
-
type CreateTag
-
-
type CreateUpdateEnvironment
-
-
type CreateUserRequest
-
-
type CreateWorkflowDispatchEventRequest
-
-
type CreationInfo
-
-
type CredentialAuthorization
-
-
type CredentialAuthorizationsListOptions
-
-
type CredentialsService
-
-
type Credit
-
-
type CustomDeploymentProtectionRule
-
-
type CustomDeploymentProtectionRuleApp
-
-
type CustomDeploymentProtectionRuleRequest
-
-
type CustomOrgRole
-
-
type CustomPatternBackfillScan
-
-
type CustomProperty
-
-
type CustomPropertyEvent
-
-
type CustomPropertyValue
-
-
type CustomPropertyValuesEvent
-
-
type CustomRepoRoles
-
-
type DatadogConfig
-
-
type DefaultSetupConfiguration
-
-
type DefaultWorkflowPermissionEnterprise
-
-
type DefaultWorkflowPermissionOrganization
-
-
type DefaultWorkflowPermissionRepository
-
-
type DeleteAnalysis
-
-
type DeleteCostCenterResponse
-
-
type DeleteEvent
-
-
type DependabotAlert
-
-
type DependabotAlertEvent
-
-
type DependabotAlertState
-
-
type DependabotEncryptedSecret
-
-
type DependabotSecretsSelectedRepoIDs
-
type DependabotSecurityAdvisory
-
-
type DependabotSecurityUpdates
-
-
type DependabotService
-
func (s *DependabotService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repo *Repository) (*Response, error)
-
func (s *DependabotService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *DependabotEncryptedSecret) (*Response, error)
-
func (s *DependabotService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *DependabotEncryptedSecret) (*Response, error)
-
func (s *DependabotService) DeleteOrgSecret(ctx context.Context, org, name string) (*Response, error)
-
func (s *DependabotService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*Response, error)
-
func (s *DependabotService) GetOrgPublicKey(ctx context.Context, org string) (*PublicKey, *Response, error)
-
func (s *DependabotService) GetOrgSecret(ctx context.Context, org, name string) (*Secret, *Response, error)
-
func (s *DependabotService) GetRepoAlert(ctx context.Context, owner, repo string, number int) (*DependabotAlert, *Response, error)
-
func (s *DependabotService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*PublicKey, *Response, error)
-
func (s *DependabotService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*Secret, *Response, error)
-
func (s *DependabotService) ListOrgAlerts(ctx context.Context, org string, opts *ListAlertsOptions) ([]*DependabotAlert, *Response, error)
-
func (s *DependabotService) ListOrgAlertsIter(ctx context.Context, org string, opts *ListAlertsOptions) iter.Seq2[*DependabotAlert, error]
-
func (s *DependabotService) ListOrgSecrets(ctx context.Context, org string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *DependabotService) ListOrgSecretsIter(ctx context.Context, org string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *DependabotService) ListRepoAlerts(ctx context.Context, owner, repo string, opts *ListAlertsOptions) ([]*DependabotAlert, *Response, error)
-
func (s *DependabotService) ListRepoAlertsIter(ctx context.Context, owner string, repo string, opts *ListAlertsOptions) iter.Seq2[*DependabotAlert, error]
-
func (s *DependabotService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error)
-
func (s *DependabotService) ListRepoSecretsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Secret, error]
-
func (s *DependabotService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, error)
-
func (s *DependabotService) ListSelectedReposForOrgSecretIter(ctx context.Context, org string, name string, opts *ListOptions) iter.Seq2[*Repository, error]
-
func (s *DependabotService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repo *Repository) (*Response, error)
-
func (s *DependabotService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ids DependabotSecretsSelectedRepoIDs) (*Response, error)
-
func (s *DependabotService) UpdateAlert(ctx context.Context, owner, repo string, number int, ...) (*DependabotAlert, *Response, error)
-
type Dependency
-
-
type DependencyGraphAutosubmitActionOptions
-
-
type DependencyGraphService
-
-
type DependencyGraphSnapshot
-
-
type DependencyGraphSnapshotCreationData
-
-
type DependencyGraphSnapshotDetector
-
-
type DependencyGraphSnapshotJob
-
-
type DependencyGraphSnapshotManifest
-
-
type DependencyGraphSnapshotManifestFile
-
-
type DependencyGraphSnapshotResolvedDependency
-
-
type DeployKeyEvent
-
-
type Deployment
-
-
type DeploymentBranchPolicy
-
-
type DeploymentBranchPolicyRequest
-
-
type DeploymentBranchPolicyResponse
-
-
type DeploymentEvent
-
-
type DeploymentProtectionRuleEvent
-
-
type DeploymentRequest
-
-
type DeploymentReviewEvent
-
-
type DeploymentRuntimeRisk
-
type DeploymentStatus
-
-
type DeploymentStatusEvent
-
-
type DeploymentStatusRequest
-
-
type DeploymentsListOptions
-
-
type DevContainer
-
-
type DevContainerConfigurations
-
-
type Discussion
-
-
type DiscussionCategory
-
-
type DiscussionComment
-
-
type DiscussionCommentEvent
-
-
type DiscussionCommentListOptions
-
-
type DiscussionEvent
-
-
type DiscussionListOptions
-
-
type DismissStaleReviewsOnPushChanges
-
-
type DismissalRestrictions
-
-
type DismissalRestrictionsRequest
-
-
type DismissedReview
-
-
type DispatchRequestOptions
-
-
type DraftReviewComment
-
-
type EditBase
-
-
type EditBody
-
-
type EditChange
-
-
type EditDefaultBranch
-
-
type EditOwner
-
-
type EditRef
-
-
type EditRepo
-
-
type EditSHA
-
-
type EditTitle
-
-
type EditTopics
-
-
type EmojisService
-
-
type EmptyRuleParameters
-
type EncryptedSecret
-
-
type Enterprise
-
-
type EnterpriseAggregatedUsageItem
-
-
type EnterpriseAggregatedUsageReport
-
-
type EnterpriseBudget
-
-
type EnterpriseBudgetAlerting
-
-
type EnterpriseConsumedLicenses
-
-
type EnterpriseCreateBudget
-
-
type EnterpriseCreateOrUpdateBudgetResponse
-
-
type EnterpriseCustomPropertiesValues
-
-
type EnterpriseCustomPropertySchema
-
-
type EnterpriseCustomPropertyValuesRequest
-
-
type EnterpriseDeleteBudgetResponse
-
-
type EnterpriseLicenseSyncStatus
-
-
type EnterpriseLicensedUsers
-
-
type EnterpriseListBudgets
-
-
type EnterprisePremiumRequestUsageReportOptions
-
-
type EnterpriseRunnerGroup
-
-
type EnterpriseRunnerGroups
-
-
type EnterpriseSecurityAnalysisSettings
-
-
type EnterpriseService
-
func (s *EnterpriseService) AddAssignment(ctx context.Context, enterprise, enterpriseTeam, org string) (*Organization, *Response, error)
-
func (s *EnterpriseService) AddMultipleAssignments(ctx context.Context, enterprise, enterpriseTeam string, ...) ([]*Organization, *Response, error)
-
func (s *EnterpriseService) AddOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID, orgID int64) (*Response, error)
-
func (s *EnterpriseService) AddRepositoriesToAppInstallation(ctx context.Context, enterprise, org string, installationID int64, ...) ([]*AccessibleRepository, *Response, error)
-
func (s *EnterpriseService) AddResourcesToCostCenter(ctx context.Context, enterprise, costCenterID string, ...) (*AddResourcesToCostCenterResponse, *Response, error)
-
func (s *EnterpriseService) AddRunnerGroupRunners(ctx context.Context, enterprise string, groupID, runnerID int64) (*Response, error)
-
func (s *EnterpriseService) AddTeamMember(ctx context.Context, enterprise, enterpriseTeam, username string) (*User, *Response, error)
-
func (s *EnterpriseService) AttachCodeSecurityConfigurationToRepositories(ctx context.Context, enterprise string, configurationID int64, scope string) (*Response, error)
-
func (s *EnterpriseService) BulkAddTeamMembers(ctx context.Context, enterprise, enterpriseTeam string, username []string) ([]*User, *Response, error)
-
func (s *EnterpriseService) BulkRemoveTeamMembers(ctx context.Context, enterprise, enterpriseTeam string, username []string) ([]*User, *Response, error)
-
func (s *EnterpriseService) CheckSystemRequirements(ctx context.Context) (*SystemRequirements, *Response, error)
-
func (s *EnterpriseService) ClusterStatus(ctx context.Context) (*ClusterStatus, *Response, error)
-
func (s *EnterpriseService) ConfigApply(ctx context.Context, body *ConfigApplyOptions) (*ConfigApplyOptions, *Response, error)
-
func (s *EnterpriseService) ConfigApplyEvents(ctx context.Context, opts *ConfigApplyEventsOptions) (*ConfigApplyEvents, *Response, error)
-
func (s *EnterpriseService) ConfigApplyStatus(ctx context.Context, opts *ConfigApplyOptions) (*ConfigApplyStatus, *Response, error)
-
func (s *EnterpriseService) CreateAuditLogStream(ctx context.Context, enterprise string, body AuditLogStreamConfig) (*AuditLogStream, *Response, error)
-
func (s *EnterpriseService) CreateBudget(ctx context.Context, enterprise string, body EnterpriseCreateBudget) (*EnterpriseCreateOrUpdateBudgetResponse, *Response, error)
-
func (s *EnterpriseService) CreateCodeSecurityConfiguration(ctx context.Context, enterprise string, body CodeSecurityConfiguration) (*CodeSecurityConfiguration, *Response, error)
-
func (s *EnterpriseService) CreateCostCenter(ctx context.Context, enterprise string, body CostCenterRequest) (*CostCenter, *Response, error)
-
func (s *EnterpriseService) CreateEnterpriseNetworkConfiguration(ctx context.Context, enterprise string, body NetworkConfigurationRequest) (*NetworkConfiguration, *Response, error)
-
func (s *EnterpriseService) CreateEnterpriseRunnerGroup(ctx context.Context, enterprise string, ...) (*EnterpriseRunnerGroup, *Response, error)
-
func (s *EnterpriseService) CreateHostedRunner(ctx context.Context, enterprise string, body CreateHostedRunnerRequest) (*HostedRunner, *Response, error)
-
func (s *EnterpriseService) CreateJITConfig(ctx context.Context, enterprise string, body CreateJITConfigRequest) (*JITRunnerConfig, *Response, error)
-
func (s *EnterpriseService) CreateMaintenance(ctx context.Context, enable bool, body *MaintenanceOptions) ([]*MaintenanceOperationStatus, *Response, error)
-
func (s *EnterpriseService) CreateOrUpdateCustomProperties(ctx context.Context, enterprise string, properties []*CustomProperty) ([]*CustomProperty, *Response, error)
-
func (s *EnterpriseService) CreateOrUpdateCustomProperty(ctx context.Context, enterprise, customPropertyName string, ...) (*CustomProperty, *Response, error)
-
func (s *EnterpriseService) CreateOrUpdateOrganizationCustomProperty(ctx context.Context, enterprise, customPropertyName string, ...) (*Response, error)
-
func (s *EnterpriseService) CreateOrUpdateOrganizationCustomPropertySchema(ctx context.Context, enterprise string, body EnterpriseCustomPropertySchema) (*Response, error)
-
func (s *EnterpriseService) CreateOrUpdateOrganizationCustomPropertyValues(ctx context.Context, enterprise string, ...) (*Response, error)
-
func (s *EnterpriseService) CreateRegistrationToken(ctx context.Context, enterprise string) (*RegistrationToken, *Response, error)
-
func (s *EnterpriseService) CreateRepositoryRuleset(ctx context.Context, enterprise string, body RepositoryRuleset) (*RepositoryRuleset, *Response, error)
-
func (s *EnterpriseService) CreateSSHKey(ctx context.Context, key string) ([]*SSHKeyStatus, *Response, error)
-
func (s *EnterpriseService) CreateTeam(ctx context.Context, enterprise string, ...) (*EnterpriseTeam, *Response, error)
-
func (s *EnterpriseService) DeleteAuditLogStream(ctx context.Context, enterprise string, streamID int64) (*Response, error)
-
func (s *EnterpriseService) DeleteBudget(ctx context.Context, enterprise, budgetID string) (*EnterpriseDeleteBudgetResponse, *Response, error)
-
func (s *EnterpriseService) DeleteCodeSecurityConfiguration(ctx context.Context, enterprise string, configurationID int64) (*Response, error)
-
func (s *EnterpriseService) DeleteCostCenter(ctx context.Context, enterprise, costCenterID string) (*DeleteCostCenterResponse, *Response, error)
-
func (s *EnterpriseService) DeleteEnterpriseNetworkConfiguration(ctx context.Context, enterprise, networkID string) (*Response, error)
-
func (s *EnterpriseService) DeleteEnterpriseRunnerGroup(ctx context.Context, enterprise string, groupID int64) (*Response, error)
-
func (s *EnterpriseService) DeleteHostedRunner(ctx context.Context, enterprise string, runnerID int64) (*HostedRunner, *Response, error)
-
func (s *EnterpriseService) DeleteHostedRunnerCustomImage(ctx context.Context, enterprise string, imageDefinitionID int64) (*Response, error)
-
func (s *EnterpriseService) DeleteHostedRunnerCustomImageVersion(ctx context.Context, enterprise string, imageDefinitionID int64, ...) (*Response, error)
-
func (s *EnterpriseService) DeleteOrganizationCustomProperty(ctx context.Context, enterprise, customPropertyName string) (*Response, error)
-
func (s *EnterpriseService) DeleteRepositoryRuleset(ctx context.Context, enterprise string, rulesetID int64) (*Response, error)
-
func (s *EnterpriseService) DeleteSCIMGroup(ctx context.Context, enterprise, scimGroupID string) (*Response, error)
-
func (s *EnterpriseService) DeleteSCIMUser(ctx context.Context, enterprise, scimUserID string) (*Response, error)
-
func (s *EnterpriseService) DeleteSSHKey(ctx context.Context, key string) ([]*SSHKeyStatus, *Response, error)
-
func (s *EnterpriseService) DeleteTeam(ctx context.Context, enterprise, teamSlug string) (*Response, error)
-
func (s *EnterpriseService) EnableDisableSecurityFeature(ctx context.Context, enterprise, securityProduct, enablement string) (*Response, error) deprecated
-
func (s *EnterpriseService) GetAICreditUsage(ctx context.Context, enterprise string, ...) (*EnterpriseAggregatedUsageReport, *Response, error)
-
func (s *EnterpriseService) GetAllCustomProperties(ctx context.Context, enterprise string) ([]*CustomProperty, *Response, error)
-
func (s *EnterpriseService) GetAssignment(ctx context.Context, enterprise, enterpriseTeam, org string) (*Organization, *Response, error)
-
func (s *EnterpriseService) GetAuditLog(ctx context.Context, enterprise string, opts *GetAuditLogOptions) ([]*AuditEntry, *Response, error)
-
func (s *EnterpriseService) GetAuditLogStream(ctx context.Context, enterprise string, streamID int64) (*AuditLogStream, *Response, error)
-
func (s *EnterpriseService) GetAuditLogStreamKey(ctx context.Context, enterprise string) (*AuditLogStreamKey, *Response, error)
-
func (s *EnterpriseService) GetBudget(ctx context.Context, enterprise, budgetID string) (*EnterpriseBudget, *Response, error)
-
func (s *EnterpriseService) GetCodeSecurityAndAnalysis(ctx context.Context, enterprise string) (*EnterpriseSecurityAnalysisSettings, *Response, error) deprecated
-
func (s *EnterpriseService) GetCodeSecurityConfiguration(ctx context.Context, enterprise string, configurationID int64) (*CodeSecurityConfiguration, *Response, error)
-
func (s *EnterpriseService) GetCostCenter(ctx context.Context, enterprise, costCenterID string) (*CostCenter, *Response, error)
-
func (s *EnterpriseService) GetCustomProperty(ctx context.Context, enterprise, customPropertyName string) (*CustomProperty, *Response, error)
-
func (s *EnterpriseService) GetEnterpriseNetworkConfiguration(ctx context.Context, enterprise, networkID string) (*NetworkConfiguration, *Response, error)
-
func (s *EnterpriseService) GetEnterpriseNetworkSettingsResource(ctx context.Context, enterprise, networkID string) (*NetworkSettingsResource, *Response, error)
-
func (s *EnterpriseService) GetEnterpriseRunnerGroup(ctx context.Context, enterprise string, groupID int64) (*EnterpriseRunnerGroup, *Response, error)
-
func (s *EnterpriseService) GetHostedRunner(ctx context.Context, enterprise string, runnerID int64) (*HostedRunner, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerCustomImage(ctx context.Context, enterprise string, imageDefinitionID int64) (*HostedRunnerCustomImage, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerCustomImageVersion(ctx context.Context, enterprise string, imageDefinitionID int64, ...) (*HostedRunnerCustomImageVersion, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerGitHubOwnedImages(ctx context.Context, enterprise string) (*HostedRunnerImages, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerLimits(ctx context.Context, enterprise string) (*HostedRunnerPublicIPLimits, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerMachineSpecs(ctx context.Context, enterprise string) (*HostedRunnerMachineSpecs, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerPartnerImages(ctx context.Context, enterprise string) (*HostedRunnerImages, *Response, error)
-
func (s *EnterpriseService) GetHostedRunnerPlatforms(ctx context.Context, enterprise string) (*HostedRunnerPlatforms, *Response, error)
-
func (s *EnterpriseService) GetLicenseSyncStatus(ctx context.Context, enterprise string) (*EnterpriseLicenseSyncStatus, *Response, error)
-
func (s *EnterpriseService) GetMaintenanceStatus(ctx context.Context, opts *NodeQueryOptions) ([]*MaintenanceStatus, *Response, error)
-
func (s *EnterpriseService) GetNodeReleaseVersions(ctx context.Context, opts *NodeQueryOptions) ([]*NodeReleaseVersion, *Response, error)
-
func (s *EnterpriseService) GetOrganizationCustomProperty(ctx context.Context, enterprise, customPropertyName string) (*CustomProperty, *Response, error)
-
func (s *EnterpriseService) GetOrganizationCustomPropertySchema(ctx context.Context, enterprise string) (*EnterpriseCustomPropertySchema, *Response, error)
-
func (s *EnterpriseService) GetPremiumRequestUsageReport(ctx context.Context, enterprise string, ...) (*EnterpriseAggregatedUsageReport, *Response, error)
-
func (s *EnterpriseService) GetProvisionedSCIMGroup(ctx context.Context, enterprise, scimGroupID string, ...) (*SCIMEnterpriseGroupAttributes, *Response, error)
-
func (s *EnterpriseService) GetProvisionedSCIMUser(ctx context.Context, enterprise, scimUserID string) (*SCIMEnterpriseUserAttributes, *Response, error)
-
func (s *EnterpriseService) GetRepositoryRuleset(ctx context.Context, enterprise string, rulesetID int64) (*RepositoryRuleset, *Response, error)
-
func (s *EnterpriseService) GetRunner(ctx context.Context, enterprise string, runnerID int64) (*Runner, *Response, error)
-
func (s *EnterpriseService) GetSSHKey(ctx context.Context) ([]*ClusterSSHKey, *Response, error)
-
func (s *EnterpriseService) GetTeam(ctx context.Context, enterprise, teamSlug string) (*EnterpriseTeam, *Response, error)
-
func (s *EnterpriseService) GetTeamMembership(ctx context.Context, enterprise, enterpriseTeam, username string) (*User, *Response, error)
-
func (s *EnterpriseService) GetUsageReport(ctx context.Context, enterprise string, opts *EnterpriseUsageReportOptions) (*EnterpriseUsageReport, *Response, error)
-
func (s *EnterpriseService) GetUsageSummary(ctx context.Context, enterprise string, opts *EnterpriseUsageSummaryOptions) (*EnterpriseUsageSummaryReport, *Response, error)
-
func (s *EnterpriseService) InitialConfig(ctx context.Context, license, password string) (*Response, error)
-
func (s *EnterpriseService) InstallApp(ctx context.Context, enterprise, org string, body InstallAppRequest) (*Installation, *Response, error)
-
func (s *EnterpriseService) License(ctx context.Context) (*LicenseStatus, *Response, error)
-
func (s *EnterpriseService) LicenseStatus(ctx context.Context) ([]*LicenseCheck, *Response, error)
-
func (s *EnterpriseService) ListAppAccessibleOrganizationRepositories(ctx context.Context, enterprise, org string, opts *ListOptions) ([]*AccessibleRepository, *Response, error)
-
func (s *EnterpriseService) ListAppAccessibleOrganizationRepositoriesIter(ctx context.Context, enterprise string, org string, opts *ListOptions) iter.Seq2[*AccessibleRepository, error]
-
func (s *EnterpriseService) ListAppInstallableOrganizations(ctx context.Context, enterprise string, opts *ListOptions) ([]*InstallableOrganization, *Response, error)
-
func (s *EnterpriseService) ListAppInstallableOrganizationsIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*InstallableOrganization, error]
-
func (s *EnterpriseService) ListAppInstallations(ctx context.Context, enterprise, org string, opts *ListOptions) ([]*Installation, *Response, error)
-
func (s *EnterpriseService) ListAppInstallationsIter(ctx context.Context, enterprise string, org string, opts *ListOptions) iter.Seq2[*Installation, error]
-
func (s *EnterpriseService) ListAssignments(ctx context.Context, enterprise, enterpriseTeam string, opts *ListOptions) ([]*Organization, *Response, error)
-
func (s *EnterpriseService) ListAssignmentsIter(ctx context.Context, enterprise string, enterpriseTeam string, ...) iter.Seq2[*Organization, error]
-
func (s *EnterpriseService) ListAuditLogStreams(ctx context.Context, enterprise string) ([]*AuditLogStream, *Response, error)
-
func (s *EnterpriseService) ListBudgets(ctx context.Context, enterprise string) (*EnterpriseListBudgets, *Response, error)
-
func (s *EnterpriseService) ListCodeSecurityConfigurationRepositories(ctx context.Context, enterprise string, configurationID int64, ...) ([]*RepositoryAttachment, *Response, error)
-
func (s *EnterpriseService) ListCodeSecurityConfigurationRepositoriesIter(ctx context.Context, enterprise string, configurationID int64, ...) iter.Seq2[*RepositoryAttachment, error]
-
func (s *EnterpriseService) ListCodeSecurityConfigurations(ctx context.Context, enterprise string, ...) ([]*CodeSecurityConfiguration, *Response, error)
-
func (s *EnterpriseService) ListCodeSecurityConfigurationsIter(ctx context.Context, enterprise string, ...) iter.Seq2[*CodeSecurityConfiguration, error]
-
func (s *EnterpriseService) ListConsumedLicenses(ctx context.Context, enterprise string, opts *ListOptions) (*EnterpriseConsumedLicenses, *Response, error)
-
func (s *EnterpriseService) ListConsumedLicensesIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*EnterpriseLicensedUsers, error]
-
func (s *EnterpriseService) ListCostCenters(ctx context.Context, enterprise string, opts *ListCostCenterOptions) (*CostCenters, *Response, error)
-
func (s *EnterpriseService) ListDefaultCodeSecurityConfigurations(ctx context.Context, enterprise string) ([]*CodeSecurityConfigurationWithDefaultForNewRepos, *Response, error)
-
func (s *EnterpriseService) ListEnterpriseNetworkConfigurations(ctx context.Context, enterprise string, opts *ListOptions) (*NetworkConfigurations, *Response, error)
-
func (s *EnterpriseService) ListEnterpriseNetworkConfigurationsIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*NetworkConfiguration, error]
-
func (s *EnterpriseService) ListHostedRunnerCustomImageVersions(ctx context.Context, enterprise string, imageDefinitionID int64) (*HostedRunnerCustomImageVersions, *Response, error)
-
func (s *EnterpriseService) ListHostedRunnerCustomImages(ctx context.Context, enterprise string) (*HostedRunnerCustomImages, *Response, error)
-
func (s *EnterpriseService) ListHostedRunners(ctx context.Context, enterprise string, opts *ListOptions) (*HostedRunners, *Response, error)
-
func (s *EnterpriseService) ListHostedRunnersIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*HostedRunner, error]
-
func (s *EnterpriseService) ListOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID int64, opts *ListOptions) (*ListOrganizations, *Response, error)
-
func (s *EnterpriseService) ListOrganizationAccessRunnerGroupIter(ctx context.Context, enterprise string, groupID int64, opts *ListOptions) iter.Seq2[*Organization, error]
-
func (s *EnterpriseService) ListOrganizationCustomPropertyValues(ctx context.Context, enterprise string, opts *ListOptions) ([]*EnterpriseCustomPropertiesValues, *Response, error)
-
func (s *EnterpriseService) ListOrganizationCustomPropertyValuesIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*EnterpriseCustomPropertiesValues, error]
-
func (s *EnterpriseService) ListProvisionedSCIMGroups(ctx context.Context, enterprise string, ...) (*SCIMEnterpriseGroups, *Response, error)
-
func (s *EnterpriseService) ListProvisionedSCIMUsers(ctx context.Context, enterprise string, ...) (*SCIMEnterpriseUsers, *Response, error)
-
func (s *EnterpriseService) ListRepositoriesForOrgAppInstallation(ctx context.Context, enterprise, org string, installationID int64, ...) ([]*AccessibleRepository, *Response, error)
-
func (s *EnterpriseService) ListRepositoriesForOrgAppInstallationIter(ctx context.Context, enterprise string, org string, installationID int64, ...) iter.Seq2[*AccessibleRepository, error]
-
func (s *EnterpriseService) ListRunnerApplicationDownloads(ctx context.Context, enterprise string) ([]*RunnerApplicationDownload, *Response, error)
-
func (s *EnterpriseService) ListRunnerGroupRunners(ctx context.Context, enterprise string, groupID int64, opts *ListOptions) (*Runners, *Response, error)
-
func (s *EnterpriseService) ListRunnerGroupRunnersIter(ctx context.Context, enterprise string, groupID int64, opts *ListOptions) iter.Seq2[*Runner, error]
-
func (s *EnterpriseService) ListRunnerGroups(ctx context.Context, enterprise string, opts *ListEnterpriseRunnerGroupOptions) (*EnterpriseRunnerGroups, *Response, error)
-
func (s *EnterpriseService) ListRunnerGroupsIter(ctx context.Context, enterprise string, opts *ListEnterpriseRunnerGroupOptions) iter.Seq2[*EnterpriseRunnerGroup, error]
-
func (s *EnterpriseService) ListRunners(ctx context.Context, enterprise string, opts *ListRunnersOptions) (*Runners, *Response, error)
-
func (s *EnterpriseService) ListRunnersIter(ctx context.Context, enterprise string, opts *ListRunnersOptions) iter.Seq2[*Runner, error]
-
func (s *EnterpriseService) ListTeamMembers(ctx context.Context, enterprise, enterpriseTeam string, opts *ListOptions) ([]*User, *Response, error)
-
func (s *EnterpriseService) ListTeamMembersIter(ctx context.Context, enterprise string, enterpriseTeam string, ...) iter.Seq2[*User, error]
-
func (s *EnterpriseService) ListTeams(ctx context.Context, enterprise string, opts *ListOptions) ([]*EnterpriseTeam, *Response, error)
-
func (s *EnterpriseService) ListTeamsIter(ctx context.Context, enterprise string, opts *ListOptions) iter.Seq2[*EnterpriseTeam, error]
-
func (s *EnterpriseService) NodeMetadata(ctx context.Context, opts *NodeQueryOptions) (*NodeMetadataStatus, *Response, error)
-
func (s *EnterpriseService) ProvisionSCIMGroup(ctx context.Context, enterprise string, body SCIMEnterpriseGroupAttributes) (*SCIMEnterpriseGroupAttributes, *Response, error)
-
func (s *EnterpriseService) ProvisionSCIMUser(ctx context.Context, enterprise string, body SCIMEnterpriseUserAttributes) (*SCIMEnterpriseUserAttributes, *Response, error)
-
func (s *EnterpriseService) RemoveAssignment(ctx context.Context, enterprise, enterpriseTeam, org string) (*Response, error)
-
func (s *EnterpriseService) RemoveCustomProperty(ctx context.Context, enterprise, customPropertyName string) (*Response, error)
-
func (s *EnterpriseService) RemoveMultipleAssignments(ctx context.Context, enterprise, enterpriseTeam string, ...) ([]*Organization, *Response, error)
-
func (s *EnterpriseService) RemoveOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID, orgID int64) (*Response, error)
-
func (s *EnterpriseService) RemoveRepositoriesFromAppInstallation(ctx context.Context, enterprise, org string, installationID int64, ...) ([]*AccessibleRepository, *Response, error)
-
func (s *EnterpriseService) RemoveResourcesFromCostCenter(ctx context.Context, enterprise, costCenterID string, ...) (*RemoveResourcesFromCostCenterResponse, *Response, error)
-
func (s *EnterpriseService) RemoveRunner(ctx context.Context, enterprise string, runnerID int64) (*Response, error)
-
func (s *EnterpriseService) RemoveRunnerGroupRunners(ctx context.Context, enterprise string, groupID, runnerID int64) (*Response, error)
-
func (s *EnterpriseService) RemoveTeamMember(ctx context.Context, enterprise, enterpriseTeam, username string) (*Response, error)
-
func (s *EnterpriseService) ReplicationStatus(ctx context.Context, opts *NodeQueryOptions) (*ClusterStatus, *Response, error)
-
func (s *EnterpriseService) SetDefaultCodeSecurityConfiguration(ctx context.Context, enterprise string, configurationID int64, ...) (*CodeSecurityConfigurationWithDefaultForNewRepos, *Response, error)
-
func (s *EnterpriseService) SetOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID int64, ...) (*Response, error)
-
func (s *EnterpriseService) SetProvisionedSCIMGroup(ctx context.Context, enterprise, scimGroupID string, ...) (*SCIMEnterpriseGroupAttributes, *Response, error)
-
func (s *EnterpriseService) SetProvisionedSCIMUser(ctx context.Context, enterprise, scimUserID string, ...) (*SCIMEnterpriseUserAttributes, *Response, error)
-
func (s *EnterpriseService) SetRunnerGroupRunners(ctx context.Context, enterprise string, groupID int64, ...) (*Response, error)
-
func (s *EnterpriseService) Settings(ctx context.Context) (*ConfigSettings, *Response, error)
-
func (s *EnterpriseService) UninstallApp(ctx context.Context, enterprise, org string, installationID int64) (*Response, error)
-
func (s *EnterpriseService) UpdateAppInstallationRepositories(ctx context.Context, enterprise, org string, installationID int64, ...) (*Installation, *Response, error)
-
func (s *EnterpriseService) UpdateAuditLogStream(ctx context.Context, enterprise string, streamID int64, ...) (*AuditLogStream, *Response, error)
-
func (s *EnterpriseService) UpdateBudget(ctx context.Context, enterprise, budgetID string, body EnterpriseUpdateBudget) (*EnterpriseCreateOrUpdateBudgetResponse, *Response, error)
-
func (s *EnterpriseService) UpdateCodeSecurityAndAnalysis(ctx context.Context, enterprise string, ...) (*Response, error) deprecated
-
func (s *EnterpriseService) UpdateCodeSecurityConfiguration(ctx context.Context, enterprise string, configurationID int64, ...) (*CodeSecurityConfiguration, *Response, error)
-
func (s *EnterpriseService) UpdateCostCenter(ctx context.Context, enterprise, costCenterID string, body CostCenterRequest) (*CostCenter, *Response, error)
-
func (s *EnterpriseService) UpdateEnterpriseNetworkConfiguration(ctx context.Context, enterprise, networkID string, ...) (*NetworkConfiguration, *Response, error)
-
func (s *EnterpriseService) UpdateEnterpriseRunnerGroup(ctx context.Context, enterprise string, groupID int64, ...) (*EnterpriseRunnerGroup, *Response, error)
-
func (s *EnterpriseService) UpdateHostedRunner(ctx context.Context, enterprise string, runnerID int64, ...) (*HostedRunner, *Response, error)
-
func (s *EnterpriseService) UpdateRepositoryRuleset(ctx context.Context, enterprise string, rulesetID int64, ...) (*RepositoryRuleset, *Response, error)
-
func (s *EnterpriseService) UpdateSCIMGroupAttribute(ctx context.Context, enterprise, scimGroupID string, ...) (*SCIMEnterpriseGroupAttributes, *Response, error)
-
func (s *EnterpriseService) UpdateSCIMUserAttribute(ctx context.Context, enterprise, scimUserID string, ...) (*SCIMEnterpriseUserAttributes, *Response, error)
-
func (s *EnterpriseService) UpdateSettings(ctx context.Context, body *ConfigSettings) (*Response, error)
-
func (s *EnterpriseService) UpdateTeam(ctx context.Context, enterprise, teamSlug string, ...) (*EnterpriseTeam, *Response, error)
-
func (s *EnterpriseService) UploadLicense(ctx context.Context, license string) (*Response, error)
-
type EnterpriseTeam
-
-
type EnterpriseTeamCreateOrUpdateRequest
-
-
type EnterpriseUpdateBudget
-
-
type EnterpriseUsageItem
-
-
type EnterpriseUsageReport
-
-
type EnterpriseUsageReportOptions
-
-
type EnterpriseUsageSummaryItem
-
-
type EnterpriseUsageSummaryOptions
-
-
type EnterpriseUsageSummaryReport
-
-
type EnterpriseUsageTimePeriod
-
-
type EnvResponse
-
-
type EnvReviewers
-
-
type Environment
-
-
type EnvironmentListOptions
-
type Error
-
-
type ErrorBlock
-
-
type ErrorResponse
-
-
type Event
-
-
type ExternalGroup
-
-
type ExternalGroupList
-
-
type ExternalGroupMember
-
-
type ExternalGroupTeam
-
-
type FeedLink
-
-
type FeedLinks
-
-
type Feeds
-
-
type FieldValue
-
-
type FileExtensionRestrictionBranchRule
-
-
type FileExtensionRestrictionRuleParameters
-
-
type FilePathRestrictionBranchRule
-
-
type FilePathRestrictionRuleParameters
-
-
type FineGrainedPersonalAccessTokenRequest
-
-
type FirstPatchedVersion
-
-
type ForkEvent
-
-
type GPGEmail
-
-
type GPGKey
-
-
type GenerateNotesRequest
-
-
type GetAuditLogOptions
-
-
type GetCodeownersErrorsOptions
-
-
type GetProjectItemOptions
-
-
type GetProvisionedSCIMGroupEnterpriseOptions
-
-
type Gist
-
-
type GistComment
-
-
type GistCommit
-
-
type GistFile
-
-
type GistFilename
-
type GistFork
-
-
type GistListOptions
-
-
type GistStats
-
-
type GistsService
-
func (s *GistsService) Create(ctx context.Context, body CreateGistRequest) (*Gist, *Response, error)
-
func (s *GistsService) CreateComment(ctx context.Context, gistID string, body CreateGistCommentRequest) (*GistComment, *Response, error)
-
func (s *GistsService) Delete(ctx context.Context, id string) (*Response, error)
-
func (s *GistsService) DeleteComment(ctx context.Context, gistID string, commentID int64) (*Response, error)
-
func (s *GistsService) Fork(ctx context.Context, id string) (*Gist, *Response, error)
-
func (s *GistsService) Get(ctx context.Context, id string) (*Gist, *Response, error)
-
func (s *GistsService) GetComment(ctx context.Context, gistID string, commentID int64) (*GistComment, *Response, error)
-
func (s *GistsService) GetRevision(ctx context.Context, id, sha string) (*Gist, *Response, error)
-
func (s *GistsService) IsStarred(ctx context.Context, id string) (bool, *Response, error)
-
func (s *GistsService) List(ctx context.Context, user string, opts *GistListOptions) ([]*Gist, *Response, error)
-
func (s *GistsService) ListAll(ctx context.Context, opts *GistListOptions) ([]*Gist, *Response, error)
-
func (s *GistsService) ListAllIter(ctx context.Context, opts *GistListOptions) iter.Seq2[*Gist, error]
-
func (s *GistsService) ListComments(ctx context.Context, gistID string, opts *ListOptions) ([]*GistComment, *Response, error)
-
func (s *GistsService) ListCommentsIter(ctx context.Context, gistID string, opts *ListOptions) iter.Seq2[*GistComment, error]
-
func (s *GistsService) ListCommits(ctx context.Context, id string, opts *ListOptions) ([]*GistCommit, *Response, error)
-
func (s *GistsService) ListCommitsIter(ctx context.Context, id string, opts *ListOptions) iter.Seq2[*GistCommit, error]
-
func (s *GistsService) ListForks(ctx context.Context, id string, opts *ListOptions) ([]*GistFork, *Response, error)
-
func (s *GistsService) ListForksIter(ctx context.Context, id string, opts *ListOptions) iter.Seq2[*GistFork, error]
-
func (s *GistsService) ListIter(ctx context.Context, user string, opts *GistListOptions) iter.Seq2[*Gist, error]
-
func (s *GistsService) ListStarred(ctx context.Context, opts *GistListOptions) ([]*Gist, *Response, error)
-
func (s *GistsService) ListStarredIter(ctx context.Context, opts *GistListOptions) iter.Seq2[*Gist, error]
-
func (s *GistsService) Star(ctx context.Context, id string) (*Response, error)
-
func (s *GistsService) Unstar(ctx context.Context, id string) (*Response, error)
-
func (s *GistsService) Update(ctx context.Context, id string, body UpdateGistRequest) (*Gist, *Response, error)
-
func (s *GistsService) UpdateComment(ctx context.Context, gistID string, commentID int64, ...) (*GistComment, *Response, error)
-
type GitHubAppAuthorizationEvent
-
-
type GitObject
-
-
type GitService
-
func (s *GitService) CreateBlob(ctx context.Context, owner, repo string, body Blob) (*Blob, *Response, error)
-
func (s *GitService) CreateCommit(ctx context.Context, owner, repo string, commit Commit, ...) (*Commit, *Response, error)
-
func (s *GitService) CreateRef(ctx context.Context, owner, repo string, body CreateRef) (*Reference, *Response, error)
-
func (s *GitService) CreateTag(ctx context.Context, owner, repo string, body CreateTag) (*Tag, *Response, error)
-
func (s *GitService) CreateTree(ctx context.Context, owner, repo, baseTree string, entries []*TreeEntry) (*Tree, *Response, error)
-
func (s *GitService) DeleteRef(ctx context.Context, owner, repo, ref string) (*Response, error)
-
func (s *GitService) GetBlob(ctx context.Context, owner, repo, sha string) (*Blob, *Response, error)
-
func (s *GitService) GetBlobRaw(ctx context.Context, owner, repo, sha string) ([]byte, *Response, error)
-
func (s *GitService) GetCommit(ctx context.Context, owner, repo, sha string) (*Commit, *Response, error)
-
func (s *GitService) GetRef(ctx context.Context, owner, repo, ref string) (*Reference, *Response, error)
-
func (s *GitService) GetTag(ctx context.Context, owner, repo, sha string) (*Tag, *Response, error)
-
func (s *GitService) GetTree(ctx context.Context, owner, repo, sha string, recursive bool) (*Tree, *Response, error)
-
func (s *GitService) ListMatchingRefs(ctx context.Context, owner, repo, ref string) ([]*Reference, *Response, error)
-
func (s *GitService) UpdateRef(ctx context.Context, owner, repo, ref string, body UpdateRef) (*Reference, *Response, error)
-
type Gitignore
-
-
type GitignoresService
-
-
type GlobalSecurityAdvisory
-
-
type GlobalSecurityVulnerability
-
-
type GollumEvent
-
-
type GoogleCloudConfig
-
-
type Grant
-
-
type HeadCommit
-
-
type HecConfig
-
-
type Hook
-
-
type HookConfig
-
-
type HookDelivery
-
-
type HookRequest
-
-
type HookResponse
-
-
type HookStats
-
-
type HostedRunner
-
-
type HostedRunnerCustomImage
-
-
type HostedRunnerCustomImageVersion
-
-
type HostedRunnerCustomImageVersions
-
-
type HostedRunnerCustomImages
-
-
type HostedRunnerImage
-
-
type HostedRunnerImageDetail
-
-
type HostedRunnerImageSpecs
-
-
type HostedRunnerImages
-
-
type HostedRunnerMachineSpec
-
-
type HostedRunnerMachineSpecs
-
-
type HostedRunnerPlatforms
-
-
type HostedRunnerPublicIP
-
-
type HostedRunnerPublicIPLimits
-
-
type HostedRunners
-
-
type Hovercard
-
-
type HovercardOptions
-
-
type IDPGroup
-
-
type IDPGroupList
-
-
type ImmutableReleasePolicy
-
-
type ImmutableReleaseSettings
-
-
type ImpersonateUserOptions
-
-
type Import
-
-
type InitialConfigOptions
-
-
type InstallAppRequest
-
-
type InstallableOrganization
-
-
type Installation
-
-
type InstallationChanges
-
-
type InstallationEvent
-
-
type InstallationLoginChange
-
-
type InstallationPermissions
-
-
type InstallationRepositoriesEvent
-
-
type InstallationRequest
-
-
type InstallationSlugChange
-
-
type InstallationTargetEvent
-
-
type InstallationToken
-
-
type InstallationTokenListRepoOptions
-
-
type InstallationTokenOptions
-
-
type InteractionRestriction
-
-
type InteractionsService
-
func (s *InteractionsService) GetRestrictionsForOrg(ctx context.Context, organization string) (*InteractionRestriction, *Response, error)
-
func (s *InteractionsService) GetRestrictionsForRepo(ctx context.Context, owner, repo string) (*InteractionRestriction, *Response, error)
-
func (s *InteractionsService) RemoveRestrictionsFromOrg(ctx context.Context, organization string) (*Response, error)
-
func (s *InteractionsService) RemoveRestrictionsFromRepo(ctx context.Context, owner, repo string) (*Response, error)
-
func (s *InteractionsService) UpdateRestrictionsForOrg(ctx context.Context, organization, limit string) (*InteractionRestriction, *Response, error)
-
func (s *InteractionsService) UpdateRestrictionsForRepo(ctx context.Context, owner, repo, limit string) (*InteractionRestriction, *Response, error)
-
type Invitation
-
-
type Issue
-
-
type IssueComment
-
-
type IssueCommentEvent
-
-
type IssueDependenciesSummary
-
-
type IssueDependencyRequest
-
-
type IssueEvent
-
-
type IssueFieldValue
-
-
type IssueFieldValueSingleSelectOption
-
-
type IssueImport
-
-
type IssueImportError
-
-
type IssueImportRequest
-
-
type IssueImportResponse
-
-
type IssueImportService
-
func (s *IssueImportService) CheckStatus(ctx context.Context, owner, repo string, issueID int64) (*IssueImportResponse, *Response, error)
-
func (s *IssueImportService) CheckStatusSince(ctx context.Context, owner, repo string, since Timestamp) ([]*IssueImportResponse, *Response, error)
-
func (s *IssueImportService) Create(ctx context.Context, owner, repo string, body *IssueImportRequest) (*IssueImportResponse, *Response, error)
-
type IssueListByOrgOptions
-
-
type IssueListByRepoOptions
-
-
type IssueListCommentsOptions
-
-
type IssueRequest
-
-
type IssueRequestFieldValue
-
-
type IssueStats
-
-
type IssueType
-
-
type IssuesEvent
-
-
type IssuesSearchResult
-
-
type IssuesService
-
func (s *IssuesService) AddAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*Issue, *Response, error)
-
func (s *IssuesService) AddBlockedBy(ctx context.Context, owner, repo string, issueNumber int64, ...) (*Issue, *Response, error)
-
func (s *IssuesService) AddLabelsToIssue(ctx context.Context, owner, repo string, number int, body []string) ([]*Label, *Response, error)
-
func (s *IssuesService) Create(ctx context.Context, owner, repo string, body *IssueRequest) (*Issue, *Response, error)
-
func (s *IssuesService) CreateComment(ctx context.Context, owner, repo string, number int, body *IssueComment) (*IssueComment, *Response, error)
-
func (s *IssuesService) CreateLabel(ctx context.Context, owner, repo string, body *Label) (*Label, *Response, error)
-
func (s *IssuesService) CreateMilestone(ctx context.Context, owner, repo string, body *Milestone) (*Milestone, *Response, error)
-
func (s *IssuesService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*Response, error)
-
func (s *IssuesService) DeleteLabel(ctx context.Context, owner, repo, name string) (*Response, error)
-
func (s *IssuesService) DeleteMilestone(ctx context.Context, owner, repo string, number int) (*Response, error)
-
func (s *IssuesService) Edit(ctx context.Context, owner, repo string, number int, body *IssueRequest) (*Issue, *Response, error)
-
func (s *IssuesService) EditComment(ctx context.Context, owner, repo string, commentID int64, body *IssueComment) (*IssueComment, *Response, error)
-
func (s *IssuesService) EditLabel(ctx context.Context, owner, repo, name string, body *Label) (*Label, *Response, error)
-
func (s *IssuesService) EditMilestone(ctx context.Context, owner, repo string, number int, body *Milestone) (*Milestone, *Response, error)
-
func (s *IssuesService) Get(ctx context.Context, owner, repo string, number int) (*Issue, *Response, error)
-
func (s *IssuesService) GetComment(ctx context.Context, owner, repo string, commentID int64) (*IssueComment, *Response, error)
-
func (s *IssuesService) GetEvent(ctx context.Context, owner, repo string, id int64) (*IssueEvent, *Response, error)
-
func (s *IssuesService) GetLabel(ctx context.Context, owner, repo, name string) (*Label, *Response, error)
-
func (s *IssuesService) GetMilestone(ctx context.Context, owner, repo string, number int) (*Milestone, *Response, error)
-
func (s *IssuesService) IsAssignee(ctx context.Context, owner, repo, user string) (bool, *Response, error)
-
func (s *IssuesService) ListAllIssues(ctx context.Context, opts *ListAllIssuesOptions) ([]*Issue, *Response, error)
-
func (s *IssuesService) ListAllIssuesIter(ctx context.Context, opts *ListAllIssuesOptions) iter.Seq2[*Issue, error]
-
func (s *IssuesService) ListAssignees(ctx context.Context, owner, repo string, opts *ListOptions) ([]*User, *Response, error)
-
func (s *IssuesService) ListAssigneesIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*User, error]
-
func (s *IssuesService) ListBlockedBy(ctx context.Context, owner, repo string, issueNumber int64, opts *ListOptions) ([]*Issue, *Response, error)
-
func (s *IssuesService) ListBlockedByIter(ctx context.Context, owner string, repo string, issueNumber int64, ...) iter.Seq2[*Issue, error]
-
func (s *IssuesService) ListBlocking(ctx context.Context, owner, repo string, issueNumber int64, opts *ListOptions) ([]*Issue, *Response, error)
-
func (s *IssuesService) ListBlockingIter(ctx context.Context, owner string, repo string, issueNumber int64, ...) iter.Seq2[*Issue, error]
-
func (s *IssuesService) ListByOrg(ctx context.Context, org string, opts *IssueListByOrgOptions) ([]*Issue, *Response, error)
-
func (s *IssuesService) ListByOrgIter(ctx context.Context, org string, opts *IssueListByOrgOptions) iter.Seq2[*Issue, error]
-
func (s *IssuesService) ListByRepo(ctx context.Context, owner, repo string, opts *IssueListByRepoOptions) ([]*Issue, *Response, error)
-
func (s *IssuesService) ListByRepoIter(ctx context.Context, owner string, repo string, opts *IssueListByRepoOptions) iter.Seq2[*Issue, error]
-
func (s *IssuesService) ListComments(ctx context.Context, owner, repo string, number int, ...) ([]*IssueComment, *Response, error)
-
func (s *IssuesService) ListCommentsIter(ctx context.Context, owner string, repo string, number int, ...) iter.Seq2[*IssueComment, error]
-
func (s *IssuesService) ListIssueEvents(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*IssueEvent, *Response, error)
-
func (s *IssuesService) ListIssueEventsIter(ctx context.Context, owner string, repo string, number int, opts *ListOptions) iter.Seq2[*IssueEvent, error]
-
func (s *IssuesService) ListIssueTimeline(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*Timeline, *Response, error)
-
func (s *IssuesService) ListIssueTimelineIter(ctx context.Context, owner string, repo string, number int, opts *ListOptions) iter.Seq2[*Timeline, error]
-
func (s *IssuesService) ListLabels(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Label, *Response, error)
-
func (s *IssuesService) ListLabelsByIssue(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*Label, *Response, error)
-
func (s *IssuesService) ListLabelsByIssueIter(ctx context.Context, owner string, repo string, number int, opts *ListOptions) iter.Seq2[*Label, error]
-
func (s *IssuesService) ListLabelsForMilestone(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*Label, *Response, error)
-
func (s *IssuesService) ListLabelsForMilestoneIter(ctx context.Context, owner string, repo string, number int, opts *ListOptions) iter.Seq2[*Label, error]
-
func (s *IssuesService) ListLabelsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*Label, error]
-
func (s *IssuesService) ListMilestones(ctx context.Context, owner, repo string, opts *MilestoneListOptions) ([]*Milestone, *Response, error)
-
func (s *IssuesService) ListMilestonesIter(ctx context.Context, owner string, repo string, opts *MilestoneListOptions) iter.Seq2[*Milestone, error]
-
func (s *IssuesService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *ListOptions) ([]*IssueEvent, *Response, error)
-
func (s *IssuesService) ListRepositoryEventsIter(ctx context.Context, owner string, repo string, opts *ListOptions) iter.Seq2[*IssueEvent, error]
-
func (s *IssuesService) ListUserIssues(ctx context.Context, opts *ListUserIssuesOptions) ([]*Issue, *Response, error)
-
func (s *IssuesService) ListUserIssuesIter(ctx context.Context, opts *ListUserIssuesOptions) iter.Seq2[*Issue, error]
-
func (s *IssuesService) Lock(ctx context.Context, owner, repo string, number int, body *LockIssueOptions) (*Response, error)
-
func (s *IssuesService) RemoveAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*Issue, *Response, error)
-
func (s *IssuesService) RemoveBlockedBy(ctx context.Context, owner, repo string, issueNumber, blockingIssueID int64) (*Issue, *Response, error)
-
func (s *IssuesService) RemoveLabelForIssue(ctx context.Context, owner, repo string, number int, label string) (*Response, error)
-
func (s *IssuesService) RemoveLabelsForIssue(ctx context.Context, owner, repo string, number int) (*Response, error)
-
func (s *IssuesService) RemoveMilestone(ctx context.Context, owner, repo string, issueNumber int) (*Issue, *Response, error)
-
func (s *IssuesService) ReplaceLabelsForIssue(ctx context.Context, owner, repo string, number int, body []string) ([]*Label, *Response, error)
-
func (s *IssuesService) Unlock(ctx context.Context, owner, repo string, number int) (*Response, error)
-
type JITRunnerConfig
-
-
type Jobs
-
-
type Key
-
-
type Label
-
-
type LabelEvent
-
-
type LabelResult
-
-
type LabelsSearchResult
-
-
type LargeFile
-
-
type LastLicenseSync
-
-
type LastLicenseSyncProperties
-
-
type License
-
-
type LicenseCheck
-
-
type LicenseStatus
-
-
type LicensesService
-
-
type LinearHistoryRequirementEnforcementLevelChanges
-
-
type ListAlertsOptions
-
-
type ListAllIssuesOptions
-
-
type ListArtifactsOptions
-
-
type ListCheckRunsOptions
-
-
type ListCheckRunsResults
-
-
type ListCheckSuiteOptions
-
-
type ListCheckSuiteResults
-
-
type ListCodeQualityFindingsOptions
-
-
type ListCodeSecurityConfigurationRepositoriesOptions
-
-
type ListCodespaces
-
-
type ListCodespacesOptions
-
-
type ListCollaboratorsOptions
-
-
type ListContributorsOptions
-
-
type ListCopilotSeatsResponse
-
-
type ListCostCenterOptions
-
-
type ListCursorOptions
-
|
|