Versions in this module Expand all Collapse all v68 v68.0.0 Dec 23, 2024 Changes in this version + const DeliveryIDHeader + const EventTypeHeader + const SHA1SignatureHeader + const SHA256SignatureHeader + const SleepUntilPrimaryRateLimitResetWhenRateLimited + const Version + var ErrBranchNotProtected = errors.New("branch is not protected") + var ErrMixedCommentStyles = errors.New("cannot use both position and side/line form comments") + var ErrPathForbidden = errors.New("path must not contain '..' due to auth vulnerability issue") + func Bool(v bool) *bool + func CheckResponse(r *http.Response) error + func DeliveryID(r *http.Request) string + func EventForType(messageType string) interface + func Int(v int) *int + func Int64(v int64) *int64 + func MessageTypes() []string + func ParseWebHook(messageType string, payload []byte) (interface{}, error) + func Ptr[T any](v T) *T + func String(v string) *string + func Stringify(message interface{}) 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 struct + API []string + Actions []string + Dependabot []string + Domains *APIMetaDomains + Git []string + GithubEnterpriseImporter []string + Hooks []string + Importer []string + Packages []string + Pages []string + SSHKeyFingerprints map[string]string + SSHKeys []string + VerifiablePasswordAuthentication *bool + Web []string + func (a *APIMeta) GetDomains() *APIMetaDomains + func (a *APIMeta) GetSSHKeyFingerprints() map[string]string + func (a *APIMeta) GetVerifiablePasswordAuthentication() bool + type APIMetaArtifactAttestations struct + Services []string + TrustDomain string + type APIMetaDomains struct + Actions []string + ArtifactAttestations *APIMetaArtifactAttestations + Codespaces []string + Copilot []string + Packages []string + Website []string + func (a *APIMetaDomains) GetArtifactAttestations() *APIMetaArtifactAttestations + type AbuseRateLimitError struct + Message string + Response *http.Response + RetryAfter *time.Duration + func (a *AbuseRateLimitError) GetRetryAfter() time.Duration + func (r *AbuseRateLimitError) Error() string + func (r *AbuseRateLimitError) Is(target error) bool + type AcceptedError struct + Raw []byte + func (*AcceptedError) Error() string + func (ae *AcceptedError) Is(target error) bool + type ActionBilling struct + IncludedMinutes float64 + MinutesUsedBreakdown MinutesUsedBreakdown + TotalMinutesUsed float64 + TotalPaidMinutesUsed float64 + type ActionsAllowed struct + GithubOwnedAllowed *bool + PatternsAllowed []string + VerifiedAllowed *bool + func (a *ActionsAllowed) GetGithubOwnedAllowed() bool + func (a *ActionsAllowed) GetVerifiedAllowed() bool + func (a ActionsAllowed) String() string + type ActionsCache struct + CreatedAt *Timestamp + ID *int64 + Key *string + LastAccessedAt *Timestamp + Ref *string + SizeInBytes *int64 + Version *string + func (a *ActionsCache) GetCreatedAt() Timestamp + func (a *ActionsCache) GetID() int64 + func (a *ActionsCache) GetKey() string + func (a *ActionsCache) GetLastAccessedAt() Timestamp + func (a *ActionsCache) GetRef() string + func (a *ActionsCache) GetSizeInBytes() int64 + func (a *ActionsCache) GetVersion() string + type ActionsCacheList struct + ActionsCaches []*ActionsCache + TotalCount int + type ActionsCacheListOptions struct + Direction *string + Key *string + Ref *string + Sort *string + func (a *ActionsCacheListOptions) GetDirection() string + func (a *ActionsCacheListOptions) GetKey() string + func (a *ActionsCacheListOptions) GetRef() string + func (a *ActionsCacheListOptions) GetSort() string + type ActionsCacheUsage struct + ActiveCachesCount int + ActiveCachesSizeInBytes int64 + FullName string + type ActionsCacheUsageList struct + RepoCacheUsage []*ActionsCacheUsage + TotalCount int + type ActionsEnabledOnEnterpriseRepos struct + Organizations []*Organization + TotalCount int + type ActionsEnabledOnOrgRepos struct + Repositories []*Repository + TotalCount int + type ActionsPermissions struct + AllowedActions *string + EnabledRepositories *string + SelectedActionsURL *string + func (a *ActionsPermissions) GetAllowedActions() string + func (a *ActionsPermissions) GetEnabledRepositories() string + func (a *ActionsPermissions) GetSelectedActionsURL() string + func (a ActionsPermissions) String() string + type ActionsPermissionsEnterprise struct + AllowedActions *string + EnabledOrganizations *string + SelectedActionsURL *string + func (a *ActionsPermissionsEnterprise) GetAllowedActions() string + func (a *ActionsPermissionsEnterprise) GetEnabledOrganizations() string + func (a *ActionsPermissionsEnterprise) GetSelectedActionsURL() string + func (a ActionsPermissionsEnterprise) String() string + type ActionsPermissionsRepository struct + AllowedActions *string + Enabled *bool + SelectedActionsURL *string + func (a *ActionsPermissionsRepository) GetAllowedActions() string + func (a *ActionsPermissionsRepository) GetEnabled() bool + func (a *ActionsPermissionsRepository) GetSelectedActionsURL() string + func (a ActionsPermissionsRepository) String() string + type ActionsService service + 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) AddRepoToRequiredWorkflow(ctx context.Context, org string, requiredWorkflowID, repoID int64) (*Response, error) + func (s *ActionsService) AddRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID 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, repo *Repository) (*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, variable *ActionsVariable) (*Response, error) + func (s *ActionsService) CreateOrUpdateEnvSecret(ctx context.Context, repoID int, env string, eSecret *EncryptedSecret) (*Response, error) + func (s *ActionsService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *EncryptedSecret) (*Response, error) + func (s *ActionsService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *EncryptedSecret) (*Response, error) + func (s *ActionsService) CreateOrgVariable(ctx context.Context, org string, variable *ActionsVariable) (*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, createReq 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) CreateRepoVariable(ctx context.Context, owner, repo string, variable *ActionsVariable) (*Response, error) + func (s *ActionsService) CreateRequiredWorkflow(ctx context.Context, org string, ...) (*OrgRequiredWorkflow, *Response, error) + func (s *ActionsService) CreateWorkflowDispatchEventByFileName(ctx context.Context, owner, repo, workflowFileName string, ...) (*Response, error) + func (s *ActionsService) CreateWorkflowDispatchEventByID(ctx context.Context, owner, repo string, workflowID int64, ...) (*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, repoID int, env, secretName string) (*Response, error) + func (s *ActionsService) DeleteEnvVariable(ctx context.Context, owner, repo, env, variableName 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) DeleteRequiredWorkflow(ctx context.Context, org string, requiredWorkflowID int64) (*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) EditActionsAllowed(ctx context.Context, org string, actionsAllowed ActionsAllowed) (*ActionsAllowed, *Response, error) + func (s *ActionsService) EditActionsAllowedInEnterprise(ctx context.Context, enterprise string, actionsAllowed ActionsAllowed) (*ActionsAllowed, *Response, error) + func (s *ActionsService) EditActionsPermissions(ctx context.Context, org string, actionsPermissions ActionsPermissions) (*ActionsPermissions, *Response, error) + func (s *ActionsService) EditActionsPermissionsInEnterprise(ctx context.Context, enterprise string, ...) (*ActionsPermissionsEnterprise, *Response, error) + func (s *ActionsService) EditDefaultWorkflowPermissionsInEnterprise(ctx context.Context, enterprise string, ...) (*DefaultWorkflowPermissionEnterprise, *Response, error) + func (s *ActionsService) EditDefaultWorkflowPermissionsInOrganization(ctx context.Context, org string, ...) (*DefaultWorkflowPermissionOrganization, *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) GenerateOrgJITConfig(ctx context.Context, org string, request *GenerateJITConfigRequest) (*JITRunnerConfig, *Response, error) + func (s *ActionsService) GenerateRepoJITConfig(ctx context.Context, owner, repo string, request *GenerateJITConfigRequest) (*JITRunnerConfig, *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) 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) GetEnvPublicKey(ctx context.Context, repoID int, env string) (*PublicKey, *Response, error) + func (s *ActionsService) GetEnvSecret(ctx context.Context, repoID int, env, secretName string) (*Secret, *Response, error) + func (s *ActionsService) GetEnvVariable(ctx context.Context, owner, repo, env, variableName string) (*ActionsVariable, *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) 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) 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) GetRequiredWorkflowByID(ctx context.Context, owner string, requiredWorkflowID int64) (*OrgRequiredWorkflow, *Response, error) + func (s *ActionsService) GetRunner(ctx context.Context, owner, repo string, runnerID int64) (*Runner, *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, attemptNumber int, ...) (*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) ListCacheUsageByRepoForOrg(ctx context.Context, org string, opts *ListOptions) (*ActionsCacheUsageList, *Response, error) + func (s *ActionsService) ListCaches(ctx context.Context, owner, repo string, opts *ActionsCacheListOptions) (*ActionsCacheList, *Response, error) + func (s *ActionsService) ListEnabledOrgsInEnterprise(ctx context.Context, owner string, opts *ListOptions) (*ActionsEnabledOnEnterpriseRepos, *Response, error) + func (s *ActionsService) ListEnabledReposInOrg(ctx context.Context, owner string, opts *ListOptions) (*ActionsEnabledOnOrgRepos, *Response, error) + func (s *ActionsService) ListEnvSecrets(ctx context.Context, repoID int, env string, opts *ListOptions) (*Secrets, *Response, error) + func (s *ActionsService) ListEnvVariables(ctx context.Context, owner, repo, env string, opts *ListOptions) (*ActionsVariables, *Response, error) + func (s *ActionsService) ListOrgRequiredWorkflows(ctx context.Context, org string, opts *ListOptions) (*OrgRequiredWorkflows, *Response, error) + func (s *ActionsService) ListOrgSecrets(ctx context.Context, org string, opts *ListOptions) (*Secrets, *Response, error) + func (s *ActionsService) ListOrgVariables(ctx context.Context, org string, opts *ListOptions) (*ActionsVariables, *Response, 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) ListOrganizationRunners(ctx context.Context, org string, opts *ListRunnersOptions) (*Runners, *Response, error) + func (s *ActionsService) ListRepoOrgSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error) + func (s *ActionsService) ListRepoOrgVariables(ctx context.Context, owner, repo string, opts *ListOptions) (*ActionsVariables, *Response, error) + func (s *ActionsService) ListRepoRequiredWorkflows(ctx context.Context, owner, repo string, opts *ListOptions) (*RepoRequiredWorkflows, *Response, error) + func (s *ActionsService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error) + func (s *ActionsService) ListRepoVariables(ctx context.Context, owner, repo string, opts *ListOptions) (*ActionsVariables, *Response, error) + func (s *ActionsService) ListRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, opts *ListOptions) (*ListRepositories, *Response, error) + func (s *ActionsService) ListRepositoryWorkflowRuns(ctx context.Context, owner, repo string, opts *ListWorkflowRunsOptions) (*WorkflowRuns, *Response, error) + func (s *ActionsService) ListRequiredWorkflowSelectedRepos(ctx context.Context, org string, requiredWorkflowID int64, opts *ListOptions) (*RequiredWorkflowSelectedRepos, *Response, error) + func (s *ActionsService) ListRunnerApplicationDownloads(ctx context.Context, owner, repo string) ([]*RunnerApplicationDownload, *Response, error) + func (s *ActionsService) ListRunnerGroupRunners(ctx context.Context, org string, groupID int64, opts *ListOptions) (*Runners, *Response, error) + func (s *ActionsService) ListRunners(ctx context.Context, owner, repo string, opts *ListRunnersOptions) (*Runners, *Response, error) + func (s *ActionsService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, error) + func (s *ActionsService) ListSelectedReposForOrgVariable(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, 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) ListWorkflowRunArtifacts(ctx context.Context, owner, repo string, runID int64, opts *ListOptions) (*ArtifactList, *Response, error) + func (s *ActionsService) ListWorkflowRunsByFileName(ctx context.Context, owner, repo, workflowFileName string, ...) (*WorkflowRuns, *Response, error) + func (s *ActionsService) ListWorkflowRunsByID(ctx context.Context, owner, repo string, workflowID int64, ...) (*WorkflowRuns, *Response, error) + func (s *ActionsService) ListWorkflows(ctx context.Context, owner, repo string, opts *ListOptions) (*Workflows, *Response, 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) RemoveRepoFromRequiredWorkflow(ctx context.Context, org string, requiredWorkflowID, repoID int64) (*Response, error) + func (s *ActionsService) RemoveRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID 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, repo *Repository) (*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, template *OIDCSubjectClaimCustomTemplate) (*Response, error) + func (s *ActionsService) SetRepoOIDCSubjectClaimCustomTemplate(ctx context.Context, owner, repo string, ...) (*Response, error) + func (s *ActionsService) SetRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, ...) (*Response, error) + func (s *ActionsService) SetRequiredWorkflowSelectedRepos(ctx context.Context, org string, requiredWorkflowID int64, ids SelectedRepoIDs) (*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 SelectedRepoIDs) (*Response, error) + func (s *ActionsService) SetSelectedReposForOrgVariable(ctx context.Context, org, name string, ids SelectedRepoIDs) (*Response, error) + func (s *ActionsService) UpdateEnvVariable(ctx context.Context, owner, repo, env string, variable *ActionsVariable) (*Response, error) + func (s *ActionsService) UpdateOrgVariable(ctx context.Context, org string, variable *ActionsVariable) (*Response, error) + func (s *ActionsService) UpdateOrganizationRunnerGroup(ctx context.Context, org string, groupID int64, ...) (*RunnerGroup, *Response, error) + func (s *ActionsService) UpdateRepoVariable(ctx context.Context, owner, repo string, variable *ActionsVariable) (*Response, error) + func (s *ActionsService) UpdateRequiredWorkflow(ctx context.Context, org string, requiredWorkflowID int64, ...) (*OrgRequiredWorkflow, *Response, error) + type ActionsVariable struct + CreatedAt *Timestamp + Name string + SelectedRepositoriesURL *string + SelectedRepositoryIDs *SelectedRepoIDs + UpdatedAt *Timestamp + Value string + Visibility *string + func (a *ActionsVariable) GetCreatedAt() Timestamp + func (a *ActionsVariable) GetSelectedRepositoriesURL() string + func (a *ActionsVariable) GetSelectedRepositoryIDs() *SelectedRepoIDs + func (a *ActionsVariable) GetUpdatedAt() Timestamp + func (a *ActionsVariable) GetVisibility() string + type ActionsVariables struct + TotalCount int + Variables []*ActionsVariable + type ActiveCommitters struct + MaximumAdvancedSecurityCommitters int + PurchasedAdvancedSecurityCommitters int + Repositories []*RepositoryActiveCommitters + TotalAdvancedSecurityCommitters int + TotalCount int + type ActivityListStarredOptions struct + Direction string + Sort string + type ActivityService service + 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) ListEventsForRepoNetwork(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Event, *Response, error) + func (s *ActivityService) ListEventsPerformedByUser(ctx context.Context, user string, publicOnly bool, opts *ListOptions) ([]*Event, *Response, error) + func (s *ActivityService) ListEventsReceivedByUser(ctx context.Context, user string, publicOnly bool, opts *ListOptions) ([]*Event, *Response, 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) ListNotifications(ctx context.Context, opts *NotificationListOptions) ([]*Notification, *Response, error) + func (s *ActivityService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Event, *Response, error) + func (s *ActivityService) ListRepositoryNotifications(ctx context.Context, owner, repo string, opts *NotificationListOptions) ([]*Notification, *Response, error) + func (s *ActivityService) ListStargazers(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Stargazer, *Response, error) + func (s *ActivityService) ListStarred(ctx context.Context, user string, opts *ActivityListStarredOptions) ([]*StarredRepository, *Response, error) + func (s *ActivityService) ListUserEventsForOrganization(ctx context.Context, org, user string, opts *ListOptions) ([]*Event, *Response, error) + func (s *ActivityService) ListWatched(ctx context.Context, user string, opts *ListOptions) ([]*Repository, *Response, error) + func (s *ActivityService) ListWatchers(ctx context.Context, owner, repo string, opts *ListOptions) ([]*User, *Response, 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 int64) (*Response, error) + func (s *ActivityService) MarkThreadRead(ctx context.Context, id string) (*Response, error) + func (s *ActivityService) SetRepositorySubscription(ctx context.Context, owner, repo string, subscription *Subscription) (*Subscription, *Response, error) + func (s *ActivityService) SetThreadSubscription(ctx context.Context, id string, subscription *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 struct + CountryCode *string + func (a *ActorLocation) GetCountryCode() string + type AdminEnforcedChanges struct + From *bool + func (a *AdminEnforcedChanges) GetFrom() bool + type AdminEnforcement struct + Enabled bool + URL *string + func (a *AdminEnforcement) GetURL() string + type AdminService service + func (s *AdminService) CreateOrg(ctx context.Context, org *Organization, admin string) (*Organization, *Response, error) + func (s *AdminService) CreateUser(ctx context.Context, userReq CreateUserRequest) (*User, *Response, error) + func (s *AdminService) CreateUserImpersonation(ctx context.Context, username string, opts *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, mapping *TeamLDAPMapping) (*TeamLDAPMapping, *Response, error) + func (s *AdminService) UpdateUserLDAPMapping(ctx context.Context, user string, mapping *UserLDAPMapping) (*UserLDAPMapping, *Response, error) + type AdminStats struct + Comments *CommentStats + Gists *GistStats + Hooks *HookStats + Issues *IssueStats + Milestones *MilestoneStats + Orgs *OrgStats + Pages *PageStats + Pulls *PullStats + Repos *RepoStats + Users *UserStats + func (a *AdminStats) GetComments() *CommentStats + func (a *AdminStats) GetGists() *GistStats + func (a *AdminStats) GetHooks() *HookStats + func (a *AdminStats) GetIssues() *IssueStats + func (a *AdminStats) GetMilestones() *MilestoneStats + func (a *AdminStats) GetOrgs() *OrgStats + func (a *AdminStats) GetPages() *PageStats + func (a *AdminStats) GetPulls() *PullStats + func (a *AdminStats) GetRepos() *RepoStats + func (a *AdminStats) GetUsers() *UserStats + func (s AdminStats) String() string + type AdvancedSecurity struct + Status *string + func (a *AdvancedSecurity) GetStatus() string + func (a AdvancedSecurity) String() string + type AdvancedSecurityCommittersBreakdown struct + LastPushedDate *string + UserLogin *string + func (a *AdvancedSecurityCommittersBreakdown) GetLastPushedDate() string + func (a *AdvancedSecurityCommittersBreakdown) GetUserLogin() string + type AdvisoryCVSS struct + Score *float64 + VectorString *string + func (a *AdvisoryCVSS) GetScore() *float64 + func (a *AdvisoryCVSS) GetVectorString() string + type AdvisoryCWEs struct + CWEID *string + Name *string + func (a *AdvisoryCWEs) GetCWEID() string + func (a *AdvisoryCWEs) GetName() string + type AdvisoryIdentifier struct + Type *string + Value *string + func (a *AdvisoryIdentifier) GetType() string + func (a *AdvisoryIdentifier) GetValue() string + type AdvisoryReference struct + URL *string + func (a *AdvisoryReference) GetURL() string + type AdvisoryVulnerability struct + FirstPatchedVersion *FirstPatchedVersion + Package *VulnerabilityPackage + PatchedVersions *string + Severity *string + VulnerableFunctions []string + VulnerableVersionRange *string + func (a *AdvisoryVulnerability) GetFirstPatchedVersion() *FirstPatchedVersion + func (a *AdvisoryVulnerability) GetPackage() *VulnerabilityPackage + func (a *AdvisoryVulnerability) GetPatchedVersions() string + func (a *AdvisoryVulnerability) GetSeverity() string + func (a *AdvisoryVulnerability) GetVulnerableVersionRange() string + type Alert struct + ClosedAt *Timestamp + ClosedBy *User + CreatedAt *Timestamp + DismissedAt *Timestamp + DismissedBy *User + DismissedComment *string + DismissedReason *string + FixedAt *Timestamp + HTMLURL *string + Instances []*MostRecentInstance + InstancesURL *string + MostRecentInstance *MostRecentInstance + Number *int + Repository *Repository + Rule *Rule + RuleDescription *string + RuleID *string + RuleSeverity *string + State *string + Tool *Tool + URL *string + UpdatedAt *Timestamp + func (a *Alert) GetClosedAt() Timestamp + func (a *Alert) GetClosedBy() *User + func (a *Alert) GetCreatedAt() Timestamp + func (a *Alert) GetDismissedAt() Timestamp + func (a *Alert) GetDismissedBy() *User + func (a *Alert) GetDismissedComment() string + func (a *Alert) GetDismissedReason() string + func (a *Alert) GetFixedAt() Timestamp + func (a *Alert) GetHTMLURL() string + func (a *Alert) GetInstancesURL() string + func (a *Alert) GetMostRecentInstance() *MostRecentInstance + func (a *Alert) GetNumber() int + func (a *Alert) GetRepository() *Repository + func (a *Alert) GetRule() *Rule + func (a *Alert) GetRuleDescription() string + func (a *Alert) GetRuleID() string + func (a *Alert) GetRuleSeverity() string + func (a *Alert) GetState() string + func (a *Alert) GetTool() *Tool + func (a *Alert) GetURL() string + func (a *Alert) GetUpdatedAt() Timestamp + func (a *Alert) ID() int64 + type AlertInstancesListOptions struct + Ref string + type AlertListOptions struct + Ref string + Severity string + State string + ToolName string + type AllowDeletions struct + Enabled bool + type AllowDeletionsEnforcementLevelChanges struct + From *string + func (a *AllowDeletionsEnforcementLevelChanges) GetFrom() string + type AllowForcePushes struct + Enabled bool + type AllowForkSyncing struct + Enabled *bool + func (a *AllowForkSyncing) GetEnabled() bool + type AnalysesListOptions struct + Ref *string + SarifID *string + func (a *AnalysesListOptions) GetRef() string + func (a *AnalysesListOptions) GetSarifID() string + type App struct + CreatedAt *Timestamp + Description *string + Events []string + ExternalURL *string + HTMLURL *string + ID *int64 + InstallationsCount *int + Name *string + NodeID *string + Owner *User + Permissions *InstallationPermissions + Slug *string + UpdatedAt *Timestamp + func (a *App) GetCreatedAt() Timestamp + func (a *App) GetDescription() string + func (a *App) GetExternalURL() string + func (a *App) GetHTMLURL() string + func (a *App) GetID() int64 + func (a *App) GetInstallationsCount() int + func (a *App) GetName() string + func (a *App) GetNodeID() string + func (a *App) GetOwner() *User + func (a *App) GetPermissions() *InstallationPermissions + func (a *App) GetSlug() string + func (a *App) GetUpdatedAt() Timestamp + type AppConfig struct + ClientID *string + ClientSecret *string + CreatedAt *Timestamp + Description *string + ExternalURL *string + HTMLURL *string + ID *int64 + Name *string + NodeID *string + Owner *User + PEM *string + Slug *string + UpdatedAt *Timestamp + WebhookSecret *string + func (a *AppConfig) GetClientID() string + func (a *AppConfig) GetClientSecret() string + func (a *AppConfig) GetCreatedAt() Timestamp + func (a *AppConfig) GetDescription() string + func (a *AppConfig) GetExternalURL() string + func (a *AppConfig) GetHTMLURL() string + func (a *AppConfig) GetID() int64 + func (a *AppConfig) GetName() string + func (a *AppConfig) GetNodeID() string + func (a *AppConfig) GetOwner() *User + func (a *AppConfig) GetPEM() string + func (a *AppConfig) GetSlug() string + func (a *AppConfig) GetUpdatedAt() Timestamp + func (a *AppConfig) GetWebhookSecret() string + type AppsService service + 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) + func (s *AppsService) CreateInstallationToken(ctx context.Context, id int64, opts *InstallationTokenOptions) (*InstallationToken, *Response, error) + func (s *AppsService) CreateInstallationTokenListRepos(ctx context.Context, id int64, opts *InstallationTokenListRepoOptions) (*InstallationToken, *Response, error) + func (s *AppsService) DeleteInstallation(ctx context.Context, id int64) (*Response, error) + func (s *AppsService) FindOrganizationInstallation(ctx context.Context, org string) (*Installation, *Response, error) + func (s *AppsService) FindRepositoryInstallation(ctx context.Context, owner, repo string) (*Installation, *Response, error) + func (s *AppsService) FindRepositoryInstallationByID(ctx context.Context, id int64) (*Installation, *Response, error) + func (s *AppsService) FindUserInstallation(ctx context.Context, user string) (*Installation, *Response, error) + func (s *AppsService) Get(ctx context.Context, appSlug string) (*App, *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) ListHookDeliveries(ctx context.Context, opts *ListCursorOptions) ([]*HookDelivery, *Response, error) + func (s *AppsService) ListInstallationRequests(ctx context.Context, opts *ListOptions) ([]*InstallationRequest, *Response, error) + func (s *AppsService) ListInstallations(ctx context.Context, opts *ListOptions) ([]*Installation, *Response, error) + func (s *AppsService) ListRepos(ctx context.Context, opts *ListOptions) (*ListRepositories, *Response, error) + func (s *AppsService) ListUserInstallations(ctx context.Context, opts *ListOptions) ([]*Installation, *Response, error) + func (s *AppsService) ListUserRepos(ctx context.Context, id int64, opts *ListOptions) (*ListRepositories, *Response, 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, config *HookConfig) (*HookConfig, *Response, error) + type ArchiveFormat string + const Tarball + const Zipball + type ArchivedAt struct + From *Timestamp + To *Timestamp + func (a *ArchivedAt) GetFrom() Timestamp + func (a *ArchivedAt) GetTo() Timestamp + type Artifact struct + ArchiveDownloadURL *string + CreatedAt *Timestamp + Expired *bool + ExpiresAt *Timestamp + ID *int64 + Name *string + NodeID *string + SizeInBytes *int64 + URL *string + UpdatedAt *Timestamp + WorkflowRun *ArtifactWorkflowRun + func (a *Artifact) GetArchiveDownloadURL() string + func (a *Artifact) GetCreatedAt() Timestamp + func (a *Artifact) GetExpired() bool + func (a *Artifact) GetExpiresAt() Timestamp + func (a *Artifact) GetID() int64 + func (a *Artifact) GetName() string + func (a *Artifact) GetNodeID() string + func (a *Artifact) GetSizeInBytes() int64 + func (a *Artifact) GetURL() string + func (a *Artifact) GetUpdatedAt() Timestamp + func (a *Artifact) GetWorkflowRun() *ArtifactWorkflowRun + type ArtifactList struct + Artifacts []*Artifact + TotalCount *int64 + func (a *ArtifactList) GetTotalCount() int64 + type ArtifactWorkflowRun struct + HeadBranch *string + HeadRepositoryID *int64 + HeadSHA *string + ID *int64 + RepositoryID *int64 + func (a *ArtifactWorkflowRun) GetHeadBranch() string + func (a *ArtifactWorkflowRun) GetHeadRepositoryID() int64 + func (a *ArtifactWorkflowRun) GetHeadSHA() string + func (a *ArtifactWorkflowRun) GetID() int64 + func (a *ArtifactWorkflowRun) GetRepositoryID() int64 + type Attachment struct + Body *string + ID *int64 + Title *string + func (a *Attachment) GetBody() string + func (a *Attachment) GetID() int64 + func (a *Attachment) GetTitle() string + type Attestation struct + Bundle json.RawMessage + RepositoryID int64 + type AttestationsResponse struct + Attestations []*Attestation + type AuditEntry struct + Action *string + Actor *string + ActorID *int64 + ActorLocation *ActorLocation + AdditionalFields map[string]interface{} + Business *string + BusinessID *int64 + CreatedAt *Timestamp + Data map[string]interface{} + DocumentID *string + ExternalIdentityNameID *string + ExternalIdentityUsername *string + HashedToken *string + Org *string + OrgID *int64 + Timestamp *Timestamp + TokenID *int64 + TokenScopes *string + User *string + UserID *int64 + func (a *AuditEntry) GetAction() string + func (a *AuditEntry) GetActor() string + func (a *AuditEntry) GetActorID() int64 + func (a *AuditEntry) GetActorLocation() *ActorLocation + func (a *AuditEntry) GetBusiness() string + func (a *AuditEntry) GetBusinessID() int64 + func (a *AuditEntry) GetCreatedAt() Timestamp + func (a *AuditEntry) GetDocumentID() string + func (a *AuditEntry) GetExternalIdentityNameID() string + func (a *AuditEntry) GetExternalIdentityUsername() string + func (a *AuditEntry) GetHashedToken() string + func (a *AuditEntry) GetOrg() string + func (a *AuditEntry) GetOrgID() int64 + func (a *AuditEntry) GetTimestamp() Timestamp + func (a *AuditEntry) GetTokenID() int64 + func (a *AuditEntry) GetTokenScopes() string + func (a *AuditEntry) GetUser() string + func (a *AuditEntry) GetUserID() int64 + func (a *AuditEntry) MarshalJSON() ([]byte, error) + func (a *AuditEntry) UnmarshalJSON(data []byte) error + type Authorization struct + App *AuthorizationApp + CreatedAt *Timestamp + Fingerprint *string + HashedToken *string + ID *int64 + Note *string + NoteURL *string + Scopes []Scope + Token *string + TokenLastEight *string + URL *string + UpdatedAt *Timestamp + User *User + func (a *Authorization) GetApp() *AuthorizationApp + func (a *Authorization) GetCreatedAt() Timestamp + func (a *Authorization) GetFingerprint() string + func (a *Authorization) GetHashedToken() string + func (a *Authorization) GetID() int64 + func (a *Authorization) GetNote() string + func (a *Authorization) GetNoteURL() string + func (a *Authorization) GetToken() string + func (a *Authorization) GetTokenLastEight() string + func (a *Authorization) GetURL() string + func (a *Authorization) GetUpdatedAt() Timestamp + func (a *Authorization) GetUser() *User + func (a Authorization) String() string + type AuthorizationApp struct + ClientID *string + Name *string + URL *string + func (a *AuthorizationApp) GetClientID() string + func (a *AuthorizationApp) GetName() string + func (a *AuthorizationApp) GetURL() string + func (a AuthorizationApp) String() string + type AuthorizationRequest struct + ClientID *string + ClientSecret *string + Fingerprint *string + Note *string + NoteURL *string + Scopes []Scope + func (a *AuthorizationRequest) GetClientID() string + func (a *AuthorizationRequest) GetClientSecret() string + func (a *AuthorizationRequest) GetFingerprint() string + func (a *AuthorizationRequest) GetNote() string + func (a *AuthorizationRequest) GetNoteURL() string + func (a AuthorizationRequest) String() string + type AuthorizationUpdateRequest struct + AddScopes []string + Fingerprint *string + Note *string + NoteURL *string + RemoveScopes []string + Scopes []string + func (a *AuthorizationUpdateRequest) GetFingerprint() string + func (a *AuthorizationUpdateRequest) GetNote() string + func (a *AuthorizationUpdateRequest) GetNoteURL() string + func (a AuthorizationUpdateRequest) String() string + type AuthorizationsService service + func (s *AuthorizationsService) Check(ctx context.Context, clientID, accessToken string) (*Authorization, *Response, error) + func (s *AuthorizationsService) CreateImpersonation(ctx context.Context, username string, authReq *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 struct + From []string + type AuthorizedActorsOnly struct + From *bool + func (a *AuthorizedActorsOnly) GetFrom() bool + type AuthorizedDismissalActorsOnlyChanges struct + From *bool + func (a *AuthorizedDismissalActorsOnlyChanges) GetFrom() bool + type AutoTriggerCheck struct + AppID *int64 + Setting *bool + func (a *AutoTriggerCheck) GetAppID() int64 + func (a *AutoTriggerCheck) GetSetting() bool + type Autolink struct + ID *int64 + IsAlphanumeric *bool + KeyPrefix *string + URLTemplate *string + func (a *Autolink) GetID() int64 + func (a *Autolink) GetIsAlphanumeric() bool + func (a *Autolink) GetKeyPrefix() string + func (a *Autolink) GetURLTemplate() string + type AutolinkOptions struct + IsAlphanumeric *bool + KeyPrefix *string + URLTemplate *string + func (a *AutolinkOptions) GetIsAlphanumeric() bool + func (a *AutolinkOptions) GetKeyPrefix() string + func (a *AutolinkOptions) GetURLTemplate() string + type AutomatedSecurityFixes struct + Enabled *bool + Paused *bool + func (a *AutomatedSecurityFixes) GetEnabled() bool + func (a *AutomatedSecurityFixes) GetPaused() bool + type BasicAuthTransport struct + OTP string + Password string + Transport http.RoundTripper + Username string + func (t *BasicAuthTransport) Client() *http.Client + func (t *BasicAuthTransport) RoundTrip(req *http.Request) (*http.Response, error) + type BillingService service + func (s *BillingService) GetActionsBillingOrg(ctx context.Context, org string) (*ActionBilling, *Response, error) + func (s *BillingService) GetActionsBillingUser(ctx context.Context, user string) (*ActionBilling, *Response, error) + func (s *BillingService) GetAdvancedSecurityActiveCommittersOrg(ctx context.Context, org string, opts *ListOptions) (*ActiveCommitters, *Response, error) + func (s *BillingService) GetPackagesBillingOrg(ctx context.Context, org string) (*PackageBilling, *Response, error) + func (s *BillingService) GetPackagesBillingUser(ctx context.Context, user string) (*PackageBilling, *Response, error) + func (s *BillingService) GetStorageBillingOrg(ctx context.Context, org string) (*StorageBilling, *Response, error) + func (s *BillingService) GetStorageBillingUser(ctx context.Context, user string) (*StorageBilling, *Response, error) + type Blob struct + Content *string + Encoding *string + NodeID *string + SHA *string + Size *int + URL *string + func (b *Blob) GetContent() string + func (b *Blob) GetEncoding() string + func (b *Blob) GetNodeID() string + func (b *Blob) GetSHA() string + func (b *Blob) GetSize() int + func (b *Blob) GetURL() string + type BlockCreations struct + Enabled *bool + func (b *BlockCreations) GetEnabled() bool + type Branch struct + Commit *RepositoryCommit + Name *string + Protected *bool + Protection *Protection + func (b *Branch) GetCommit() *RepositoryCommit + func (b *Branch) GetName() string + func (b *Branch) GetProtected() bool + func (b *Branch) GetProtection() *Protection + type BranchCommit struct + Commit *Commit + Name *string + Protected *bool + func (b *BranchCommit) GetCommit() *Commit + func (b *BranchCommit) GetName() string + func (b *BranchCommit) GetProtected() bool + type BranchListOptions struct + Protected *bool + func (b *BranchListOptions) GetProtected() bool + type BranchPolicy struct + CustomBranchPolicies *bool + ProtectedBranches *bool + func (b *BranchPolicy) GetCustomBranchPolicies() bool + func (b *BranchPolicy) GetProtectedBranches() bool + type BranchProtectionConfigurationEvent struct + Action *string + Enterprise *Enterprise + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (b *BranchProtectionConfigurationEvent) GetAction() string + func (b *BranchProtectionConfigurationEvent) GetEnterprise() *Enterprise + func (b *BranchProtectionConfigurationEvent) GetInstallation() *Installation + func (b *BranchProtectionConfigurationEvent) GetOrg() *Organization + func (b *BranchProtectionConfigurationEvent) GetRepo() *Repository + func (b *BranchProtectionConfigurationEvent) GetSender() *User + type BranchProtectionRule struct + AdminEnforced *bool + AllowDeletionsEnforcementLevel *string + AllowForcePushesEnforcementLevel *string + AuthorizedActorNames []string + AuthorizedActorsOnly *bool + AuthorizedDismissalActorsOnly *bool + CreatedAt *Timestamp + DismissStaleReviewsOnPush *bool + ID *int64 + IgnoreApprovalsFromContributors *bool + LinearHistoryRequirementEnforcementLevel *string + MergeQueueEnforcementLevel *string + Name *string + PullRequestReviewsEnforcementLevel *string + RepositoryID *int64 + RequireCodeOwnerReview *bool + RequiredApprovingReviewCount *int + RequiredConversationResolutionLevel *string + RequiredDeploymentsEnforcementLevel *string + RequiredStatusChecks []string + RequiredStatusChecksEnforcementLevel *string + SignatureRequirementEnforcementLevel *string + StrictRequiredStatusChecksPolicy *bool + UpdatedAt *Timestamp + func (b *BranchProtectionRule) GetAdminEnforced() bool + func (b *BranchProtectionRule) GetAllowDeletionsEnforcementLevel() string + func (b *BranchProtectionRule) GetAllowForcePushesEnforcementLevel() string + func (b *BranchProtectionRule) GetAuthorizedActorsOnly() bool + func (b *BranchProtectionRule) GetAuthorizedDismissalActorsOnly() bool + func (b *BranchProtectionRule) GetCreatedAt() Timestamp + func (b *BranchProtectionRule) GetDismissStaleReviewsOnPush() bool + func (b *BranchProtectionRule) GetID() int64 + func (b *BranchProtectionRule) GetIgnoreApprovalsFromContributors() bool + func (b *BranchProtectionRule) GetLinearHistoryRequirementEnforcementLevel() string + func (b *BranchProtectionRule) GetMergeQueueEnforcementLevel() string + func (b *BranchProtectionRule) GetName() string + func (b *BranchProtectionRule) GetPullRequestReviewsEnforcementLevel() string + func (b *BranchProtectionRule) GetRepositoryID() int64 + func (b *BranchProtectionRule) GetRequireCodeOwnerReview() bool + func (b *BranchProtectionRule) GetRequiredApprovingReviewCount() int + func (b *BranchProtectionRule) GetRequiredConversationResolutionLevel() string + func (b *BranchProtectionRule) GetRequiredDeploymentsEnforcementLevel() string + func (b *BranchProtectionRule) GetRequiredStatusChecksEnforcementLevel() string + func (b *BranchProtectionRule) GetSignatureRequirementEnforcementLevel() string + func (b *BranchProtectionRule) GetStrictRequiredStatusChecksPolicy() bool + func (b *BranchProtectionRule) GetUpdatedAt() Timestamp + type BranchProtectionRuleEvent struct + Action *string + Changes *ProtectionChanges + Installation *Installation + Org *Organization + Repo *Repository + Rule *BranchProtectionRule + Sender *User + func (b *BranchProtectionRuleEvent) GetAction() string + func (b *BranchProtectionRuleEvent) GetChanges() *ProtectionChanges + func (b *BranchProtectionRuleEvent) GetInstallation() *Installation + func (b *BranchProtectionRuleEvent) GetOrg() *Organization + func (b *BranchProtectionRuleEvent) GetRepo() *Repository + func (b *BranchProtectionRuleEvent) GetRule() *BranchProtectionRule + func (b *BranchProtectionRuleEvent) GetSender() *User + type BranchRestrictions struct + Apps []*App + Teams []*Team + Users []*User + type BranchRestrictionsRequest struct + Apps []string + Teams []string + Users []string + type BypassActor struct + ActorID *int64 + ActorType *string + BypassMode *string + func (b *BypassActor) GetActorID() int64 + func (b *BypassActor) GetActorType() string + func (b *BypassActor) GetBypassMode() string + type BypassPullRequestAllowances struct + Apps []*App + Teams []*Team + Users []*User + type BypassPullRequestAllowancesRequest struct + Apps []string + Teams []string + Users []string + type CheckRun struct + App *App + CheckSuite *CheckSuite + CompletedAt *Timestamp + Conclusion *string + DetailsURL *string + ExternalID *string + HTMLURL *string + HeadSHA *string + ID *int64 + Name *string + NodeID *string + Output *CheckRunOutput + PullRequests []*PullRequest + StartedAt *Timestamp + Status *string + URL *string + func (c *CheckRun) GetApp() *App + func (c *CheckRun) GetCheckSuite() *CheckSuite + func (c *CheckRun) GetCompletedAt() Timestamp + func (c *CheckRun) GetConclusion() string + func (c *CheckRun) GetDetailsURL() string + func (c *CheckRun) GetExternalID() string + func (c *CheckRun) GetHTMLURL() string + func (c *CheckRun) GetHeadSHA() string + func (c *CheckRun) GetID() int64 + func (c *CheckRun) GetName() string + func (c *CheckRun) GetNodeID() string + func (c *CheckRun) GetOutput() *CheckRunOutput + func (c *CheckRun) GetStartedAt() Timestamp + func (c *CheckRun) GetStatus() string + func (c *CheckRun) GetURL() string + func (c CheckRun) String() string + type CheckRunAction struct + Description string + Identifier string + Label string + type CheckRunAnnotation struct + AnnotationLevel *string + EndColumn *int + EndLine *int + Message *string + Path *string + RawDetails *string + StartColumn *int + StartLine *int + Title *string + func (c *CheckRunAnnotation) GetAnnotationLevel() string + func (c *CheckRunAnnotation) GetEndColumn() int + func (c *CheckRunAnnotation) GetEndLine() int + func (c *CheckRunAnnotation) GetMessage() string + func (c *CheckRunAnnotation) GetPath() string + func (c *CheckRunAnnotation) GetRawDetails() string + func (c *CheckRunAnnotation) GetStartColumn() int + func (c *CheckRunAnnotation) GetStartLine() int + func (c *CheckRunAnnotation) GetTitle() string + type CheckRunEvent struct + Action *string + CheckRun *CheckRun + Installation *Installation + Org *Organization + Repo *Repository + RequestedAction *RequestedAction + Sender *User + func (c *CheckRunEvent) GetAction() string + func (c *CheckRunEvent) GetCheckRun() *CheckRun + func (c *CheckRunEvent) GetInstallation() *Installation + func (c *CheckRunEvent) GetOrg() *Organization + func (c *CheckRunEvent) GetRepo() *Repository + func (c *CheckRunEvent) GetRequestedAction() *RequestedAction + func (c *CheckRunEvent) GetSender() *User + type CheckRunImage struct + Alt *string + Caption *string + ImageURL *string + func (c *CheckRunImage) GetAlt() string + func (c *CheckRunImage) GetCaption() string + func (c *CheckRunImage) GetImageURL() string + type CheckRunOutput struct + Annotations []*CheckRunAnnotation + AnnotationsCount *int + AnnotationsURL *string + Images []*CheckRunImage + Summary *string + Text *string + Title *string + func (c *CheckRunOutput) GetAnnotationsCount() int + func (c *CheckRunOutput) GetAnnotationsURL() string + func (c *CheckRunOutput) GetSummary() string + func (c *CheckRunOutput) GetText() string + func (c *CheckRunOutput) GetTitle() string + type CheckSuite struct + AfterSHA *string + App *App + BeforeSHA *string + Conclusion *string + CreatedAt *Timestamp + HeadBranch *string + HeadCommit *Commit + HeadSHA *string + ID *int64 + LatestCheckRunsCount *int64 + NodeID *string + PullRequests []*PullRequest + Repository *Repository + Rerequstable *bool + RunsRerequstable *bool + Status *string + URL *string + UpdatedAt *Timestamp + func (c *CheckSuite) GetAfterSHA() string + func (c *CheckSuite) GetApp() *App + func (c *CheckSuite) GetBeforeSHA() string + func (c *CheckSuite) GetConclusion() string + func (c *CheckSuite) GetCreatedAt() Timestamp + func (c *CheckSuite) GetHeadBranch() string + func (c *CheckSuite) GetHeadCommit() *Commit + func (c *CheckSuite) GetHeadSHA() string + func (c *CheckSuite) GetID() int64 + func (c *CheckSuite) GetLatestCheckRunsCount() int64 + func (c *CheckSuite) GetNodeID() string + func (c *CheckSuite) GetRepository() *Repository + func (c *CheckSuite) GetRerequstable() bool + func (c *CheckSuite) GetRunsRerequstable() bool + func (c *CheckSuite) GetStatus() string + func (c *CheckSuite) GetURL() string + func (c *CheckSuite) GetUpdatedAt() Timestamp + func (c CheckSuite) String() string + type CheckSuiteEvent struct + Action *string + CheckSuite *CheckSuite + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (c *CheckSuiteEvent) GetAction() string + func (c *CheckSuiteEvent) GetCheckSuite() *CheckSuite + func (c *CheckSuiteEvent) GetInstallation() *Installation + func (c *CheckSuiteEvent) GetOrg() *Organization + func (c *CheckSuiteEvent) GetRepo() *Repository + func (c *CheckSuiteEvent) GetSender() *User + type CheckSuitePreferenceOptions struct + AutoTriggerChecks []*AutoTriggerCheck + type CheckSuitePreferenceResults struct + Preferences *PreferenceList + Repository *Repository + func (c *CheckSuitePreferenceResults) GetPreferences() *PreferenceList + func (c *CheckSuitePreferenceResults) GetRepository() *Repository + type ChecksService service + func (s *ChecksService) CreateCheckRun(ctx context.Context, owner, repo string, opts CreateCheckRunOptions) (*CheckRun, *Response, error) + func (s *ChecksService) CreateCheckSuite(ctx context.Context, owner, repo string, opts 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) ListCheckRunsCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64, ...) (*ListCheckRunsResults, *Response, error) + func (s *ChecksService) ListCheckRunsForRef(ctx context.Context, owner, repo, ref string, opts *ListCheckRunsOptions) (*ListCheckRunsResults, *Response, error) + func (s *ChecksService) ListCheckSuitesForRef(ctx context.Context, owner, repo, ref string, opts *ListCheckSuiteOptions) (*ListCheckSuiteResults, *Response, 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, opts CheckSuitePreferenceOptions) (*CheckSuitePreferenceResults, *Response, error) + func (s *ChecksService) UpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, ...) (*CheckRun, *Response, error) + type Client struct + Actions *ActionsService + Activity *ActivityService + Admin *AdminService + Apps *AppsService + Authorizations *AuthorizationsService + BaseURL *url.URL + Billing *BillingService + Checks *ChecksService + CodeScanning *CodeScanningService + CodesOfConduct *CodesOfConductService + Codespaces *CodespacesService + Copilot *CopilotService + Dependabot *DependabotService + DependencyGraph *DependencyGraphService + Emojis *EmojisService + Enterprise *EnterpriseService + Gists *GistsService + Git *GitService + Gitignores *GitignoresService + Interactions *InteractionsService + IssueImport *IssueImportService + Issues *IssuesService + Licenses *LicensesService + Markdown *MarkdownService + Marketplace *MarketplaceService + Meta *MetaService + Migrations *MigrationService + Organizations *OrganizationsService + PullRequests *PullRequestsService + RateLimit *RateLimitService + Reactions *ReactionsService + Repositories *RepositoriesService + SCIM *SCIMService + Search *SearchService + SecretScanning *SecretScanningService + SecurityAdvisories *SecurityAdvisoriesService + Teams *TeamsService + UploadURL *url.URL + UserAgent string + Users *UsersService + func NewClient(httpClient *http.Client) *Client + func NewClientWithEnvProxy() *Client + func NewEnterpriseClient(baseURL, uploadURL string, httpClient *http.Client) (*Client, error) + func NewTokenClient(_ context.Context, token string) *Client + func (c *Client) APIMeta(ctx context.Context) (*APIMeta, *Response, error) + func (c *Client) BareDo(ctx context.Context, req *http.Request) (*Response, error) + func (c *Client) Client() *http.Client + func (c *Client) Do(ctx context.Context, req *http.Request, v interface{}) (*Response, error) + func (c *Client) GetCodeOfConduct(ctx context.Context, key string) (*CodeOfConduct, *Response, error) + func (c *Client) ListCodesOfConduct(ctx context.Context) ([]*CodeOfConduct, *Response, error) + func (c *Client) ListEmojis(ctx context.Context) (map[string]string, *Response, error) + func (c *Client) NewFormRequest(urlStr string, body io.Reader, opts ...RequestOption) (*http.Request, error) + func (c *Client) NewRequest(method, urlStr string, body interface{}, opts ...RequestOption) (*http.Request, error) + func (c *Client) NewUploadRequest(urlStr string, reader io.Reader, size int64, mediaType string, ...) (*http.Request, error) + func (c *Client) Octocat(ctx context.Context, message string) (string, *Response, error) + func (c *Client) RateLimits(ctx context.Context) (*RateLimits, *Response, error) + func (c *Client) WithAuthToken(token string) *Client + func (c *Client) WithEnterpriseURLs(baseURL, uploadURL string) (*Client, error) + func (c *Client) Zen(ctx context.Context) (string, *Response, error) + type CodeOfConduct struct + Body *string + Key *string + Name *string + URL *string + func (c *CodeOfConduct) GetBody() string + func (c *CodeOfConduct) GetKey() string + func (c *CodeOfConduct) GetName() string + func (c *CodeOfConduct) GetURL() string + func (c *CodeOfConduct) String() string + type CodeQLDatabase struct + ContentType *string + CreatedAt *Timestamp + ID *int64 + Language *string + Name *string + Size *int64 + URL *string + UpdatedAt *Timestamp + Uploader *User + func (c *CodeQLDatabase) GetContentType() string + func (c *CodeQLDatabase) GetCreatedAt() Timestamp + func (c *CodeQLDatabase) GetID() int64 + func (c *CodeQLDatabase) GetLanguage() string + func (c *CodeQLDatabase) GetName() string + func (c *CodeQLDatabase) GetSize() int64 + func (c *CodeQLDatabase) GetURL() string + func (c *CodeQLDatabase) GetUpdatedAt() Timestamp + func (c *CodeQLDatabase) GetUploader() *User + type CodeResult struct + HTMLURL *string + Name *string + Path *string + Repository *Repository + SHA *string + TextMatches []*TextMatch + func (c *CodeResult) GetHTMLURL() string + func (c *CodeResult) GetName() string + func (c *CodeResult) GetPath() string + func (c *CodeResult) GetRepository() *Repository + func (c *CodeResult) GetSHA() string + func (c CodeResult) String() string + type CodeScanningAlertEvent struct + Action *string + Alert *Alert + CommitOID *string + Installation *Installation + Org *Organization + Ref *string + Repo *Repository + Sender *User + func (c *CodeScanningAlertEvent) GetAction() string + func (c *CodeScanningAlertEvent) GetAlert() *Alert + func (c *CodeScanningAlertEvent) GetCommitOID() string + func (c *CodeScanningAlertEvent) GetInstallation() *Installation + func (c *CodeScanningAlertEvent) GetOrg() *Organization + func (c *CodeScanningAlertEvent) GetRef() string + func (c *CodeScanningAlertEvent) GetRepo() *Repository + func (c *CodeScanningAlertEvent) GetSender() *User + type CodeScanningAlertState struct + DismissedComment *string + DismissedReason *string + State string + func (c *CodeScanningAlertState) GetDismissedComment() string + func (c *CodeScanningAlertState) GetDismissedReason() string + type CodeScanningService service + 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) ListAlertsForOrg(ctx context.Context, org string, opts *AlertListOptions) ([]*Alert, *Response, error) + func (s *CodeScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, opts *AlertListOptions) ([]*Alert, *Response, error) + func (s *CodeScanningService) ListAnalysesForRepo(ctx context.Context, owner, repo string, opts *AnalysesListOptions) ([]*ScanningAnalysis, *Response, 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, sarif *SarifAnalysis) (*SarifID, *Response, error) + type CodeScanningTool struct + AlertsThreshold string + SecurityAlertsThreshold string + Tool string + type CodeSearchResult struct + CodeResults []*CodeResult + IncompleteResults *bool + Total *int + func (c *CodeSearchResult) GetIncompleteResults() bool + func (c *CodeSearchResult) GetTotal() int + type CodeSecurityConfiguration struct + AdvancedSecurity *string + CodeScanningDefaultSetup *string + CreatedAt *Timestamp + DependabotAlerts *string + DependabotSecurityUpdates *string + DependencyGraph *string + DependencyGraphAutosubmitAction *string + DependencyGraphAutosubmitActionOptions *DependencyGraphAutosubmitActionOptions + Description *string + Enforcement *string + HTMLURL *string + ID *int64 + Name *string + PrivateVulnerabilityReporting *string + SecretScanning *string + SecretScanningNonProviderPatterns *string + SecretScanningPushProtection *string + SecretScanningValidityChecks *string + TargetType *string + URL *string + UpdatedAt *Timestamp + func (c *CodeSecurityConfiguration) GetAdvancedSecurity() string + func (c *CodeSecurityConfiguration) GetCodeScanningDefaultSetup() string + func (c *CodeSecurityConfiguration) GetCreatedAt() Timestamp + func (c *CodeSecurityConfiguration) GetDependabotAlerts() string + func (c *CodeSecurityConfiguration) GetDependabotSecurityUpdates() string + func (c *CodeSecurityConfiguration) GetDependencyGraph() string + func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitAction() string + func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitActionOptions() *DependencyGraphAutosubmitActionOptions + func (c *CodeSecurityConfiguration) GetDescription() string + func (c *CodeSecurityConfiguration) GetEnforcement() string + func (c *CodeSecurityConfiguration) GetHTMLURL() string + func (c *CodeSecurityConfiguration) GetID() int64 + func (c *CodeSecurityConfiguration) GetName() string + func (c *CodeSecurityConfiguration) GetPrivateVulnerabilityReporting() string + func (c *CodeSecurityConfiguration) GetSecretScanning() string + func (c *CodeSecurityConfiguration) GetSecretScanningNonProviderPatterns() string + func (c *CodeSecurityConfiguration) GetSecretScanningPushProtection() string + func (c *CodeSecurityConfiguration) GetSecretScanningValidityChecks() string + func (c *CodeSecurityConfiguration) GetTargetType() string + func (c *CodeSecurityConfiguration) GetURL() string + func (c *CodeSecurityConfiguration) GetUpdatedAt() Timestamp + type CodeSecurityConfigurationWithDefaultForNewRepos struct + Configuration *CodeSecurityConfiguration + DefaultForNewRepos *string + func (c *CodeSecurityConfigurationWithDefaultForNewRepos) GetConfiguration() *CodeSecurityConfiguration + func (c *CodeSecurityConfigurationWithDefaultForNewRepos) GetDefaultForNewRepos() string + type CodeownersError struct + Column int + Kind string + Line int + Message string + Path string + Source string + Suggestion *string + func (c *CodeownersError) GetSuggestion() string + type CodeownersErrors struct + Errors []*CodeownersError + type CodesOfConductService service + func (s *CodesOfConductService) Get(ctx context.Context, key string) (*CodeOfConduct, *Response, error) + func (s *CodesOfConductService) List(ctx context.Context) ([]*CodeOfConduct, *Response, error) + type Codespace struct + BillableOwner *User + CreatedAt *Timestamp + DevcontainerPath *string + DisplayName *string + EnvironmentID *string + GitStatus *CodespacesGitStatus + ID *int64 + IdleTimeoutMinutes *int + IdleTimeoutNotice *string + LastKnownStopNotice *string + LastUsedAt *Timestamp + Location *string + Machine *CodespacesMachine + MachinesURL *string + Name *string + Owner *User + PendingOperation *bool + PendingOperationDisabledReason *string + Prebuild *bool + PullsURL *string + RecentFolders []string + Repository *Repository + RetentionExpiresAt *Timestamp + RetentionPeriodMinutes *int + RuntimeConstraints *CodespacesRuntimeConstraints + StartURL *string + State *string + StopURL *string + URL *string + UpdatedAt *Timestamp + WebURL *string + func (c *Codespace) GetBillableOwner() *User + func (c *Codespace) GetCreatedAt() Timestamp + func (c *Codespace) GetDevcontainerPath() string + func (c *Codespace) GetDisplayName() string + func (c *Codespace) GetEnvironmentID() string + func (c *Codespace) GetGitStatus() *CodespacesGitStatus + func (c *Codespace) GetID() int64 + func (c *Codespace) GetIdleTimeoutMinutes() int + func (c *Codespace) GetIdleTimeoutNotice() string + func (c *Codespace) GetLastKnownStopNotice() string + func (c *Codespace) GetLastUsedAt() Timestamp + func (c *Codespace) GetLocation() string + func (c *Codespace) GetMachine() *CodespacesMachine + func (c *Codespace) GetMachinesURL() string + func (c *Codespace) GetName() string + func (c *Codespace) GetOwner() *User + func (c *Codespace) GetPendingOperation() bool + func (c *Codespace) GetPendingOperationDisabledReason() string + func (c *Codespace) GetPrebuild() bool + func (c *Codespace) GetPullsURL() string + func (c *Codespace) GetRepository() *Repository + func (c *Codespace) GetRetentionExpiresAt() Timestamp + func (c *Codespace) GetRetentionPeriodMinutes() int + func (c *Codespace) GetRuntimeConstraints() *CodespacesRuntimeConstraints + func (c *Codespace) GetStartURL() string + func (c *Codespace) GetState() string + func (c *Codespace) GetStopURL() string + func (c *Codespace) GetURL() string + func (c *Codespace) GetUpdatedAt() Timestamp + func (c *Codespace) GetWebURL() string + type CodespacesGitStatus struct + Ahead *int + Behind *int + HasUncommittedChanges *bool + HasUnpushedChanges *bool + Ref *string + func (c *CodespacesGitStatus) GetAhead() int + func (c *CodespacesGitStatus) GetBehind() int + func (c *CodespacesGitStatus) GetHasUncommittedChanges() bool + func (c *CodespacesGitStatus) GetHasUnpushedChanges() bool + func (c *CodespacesGitStatus) GetRef() string + type CodespacesMachine struct + CPUs *int + DisplayName *string + MemoryInBytes *int64 + Name *string + OperatingSystem *string + PrebuildAvailability *string + StorageInBytes *int64 + func (c *CodespacesMachine) GetCPUs() int + func (c *CodespacesMachine) GetDisplayName() string + func (c *CodespacesMachine) GetMemoryInBytes() int64 + func (c *CodespacesMachine) GetName() string + func (c *CodespacesMachine) GetOperatingSystem() string + func (c *CodespacesMachine) GetPrebuildAvailability() string + func (c *CodespacesMachine) GetStorageInBytes() int64 + type CodespacesRuntimeConstraints struct + AllowedPortPrivacySettings []string + type CodespacesService service + 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) CreateInRepo(ctx context.Context, owner, repo string, request *CreateCodespaceOptions) (*Codespace, *Response, error) + func (s *CodespacesService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *EncryptedSecret) (*Response, error) + func (s *CodespacesService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *EncryptedSecret) (*Response, error) + func (s *CodespacesService) CreateOrUpdateUserSecret(ctx context.Context, eSecret *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) DeleteUserSecret(ctx context.Context, name string) (*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) ListInRepo(ctx context.Context, owner, repo string, opts *ListOptions) (*ListCodespaces, *Response, error) + func (s *CodespacesService) ListOrgSecrets(ctx context.Context, org string, opts *ListOptions) (*Secrets, *Response, error) + func (s *CodespacesService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error) + func (s *CodespacesService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, error) + func (s *CodespacesService) ListSelectedReposForUserSecret(ctx context.Context, name string, opts *ListOptions) (*SelectedReposList, *Response, error) + func (s *CodespacesService) ListUserSecrets(ctx context.Context, opts *ListOptions) (*Secrets, *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) 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) + type CollaboratorInvitation struct + CreatedAt *Timestamp + HTMLURL *string + ID *int64 + Invitee *User + Inviter *User + Permissions *string + Repo *Repository + URL *string + func (c *CollaboratorInvitation) GetCreatedAt() Timestamp + func (c *CollaboratorInvitation) GetHTMLURL() string + func (c *CollaboratorInvitation) GetID() int64 + func (c *CollaboratorInvitation) GetInvitee() *User + func (c *CollaboratorInvitation) GetInviter() *User + func (c *CollaboratorInvitation) GetPermissions() string + func (c *CollaboratorInvitation) GetRepo() *Repository + func (c *CollaboratorInvitation) GetURL() string + type CombinedStatus struct + CommitURL *string + Name *string + RepositoryURL *string + SHA *string + State *string + Statuses []*RepoStatus + TotalCount *int + func (c *CombinedStatus) GetCommitURL() string + func (c *CombinedStatus) GetName() string + func (c *CombinedStatus) GetRepositoryURL() string + func (c *CombinedStatus) GetSHA() string + func (c *CombinedStatus) GetState() string + func (c *CombinedStatus) GetTotalCount() int + func (s CombinedStatus) String() string + type Comment struct + Body string + CreatedAt *Timestamp + func (c *Comment) GetCreatedAt() Timestamp + type CommentDiscussion struct + AuthorAssociation *string + Body *string + ChildCommentCount *int + CreatedAt *Timestamp + DiscussionID *int64 + HTMLURL *string + ID *int64 + NodeID *string + ParentID *int64 + Reactions *Reactions + RepositoryURL *string + UpdatedAt *Timestamp + User *User + func (c *CommentDiscussion) GetAuthorAssociation() string + func (c *CommentDiscussion) GetBody() string + func (c *CommentDiscussion) GetChildCommentCount() int + func (c *CommentDiscussion) GetCreatedAt() Timestamp + func (c *CommentDiscussion) GetDiscussionID() int64 + func (c *CommentDiscussion) GetHTMLURL() string + func (c *CommentDiscussion) GetID() int64 + func (c *CommentDiscussion) GetNodeID() string + func (c *CommentDiscussion) GetParentID() int64 + func (c *CommentDiscussion) GetReactions() *Reactions + func (c *CommentDiscussion) GetRepositoryURL() string + func (c *CommentDiscussion) GetUpdatedAt() Timestamp + func (c *CommentDiscussion) GetUser() *User + type CommentStats struct + TotalCommitComments *int + TotalGistComments *int + TotalIssueComments *int + TotalPullRequestComments *int + func (c *CommentStats) GetTotalCommitComments() int + func (c *CommentStats) GetTotalGistComments() int + func (c *CommentStats) GetTotalIssueComments() int + func (c *CommentStats) GetTotalPullRequestComments() int + func (s CommentStats) String() string + type Commit struct + Author *CommitAuthor + CommentCount *int + Committer *CommitAuthor + HTMLURL *string + Message *string + NodeID *string + Parents []*Commit + SHA *string + Tree *Tree + URL *string + Verification *SignatureVerification + func (c *Commit) GetAuthor() *CommitAuthor + func (c *Commit) GetCommentCount() int + func (c *Commit) GetCommitter() *CommitAuthor + func (c *Commit) GetHTMLURL() string + func (c *Commit) GetMessage() string + func (c *Commit) GetNodeID() string + func (c *Commit) GetSHA() string + func (c *Commit) GetTree() *Tree + func (c *Commit) GetURL() string + func (c *Commit) GetVerification() *SignatureVerification + func (c Commit) String() string + type CommitAuthor struct + Date *Timestamp + Email *string + Login *string + Name *string + func (c *CommitAuthor) GetDate() Timestamp + func (c *CommitAuthor) GetEmail() string + func (c *CommitAuthor) GetLogin() string + func (c *CommitAuthor) GetName() string + func (c CommitAuthor) String() string + type CommitCommentEvent struct + Action *string + Comment *RepositoryComment + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (c *CommitCommentEvent) GetAction() string + func (c *CommitCommentEvent) GetComment() *RepositoryComment + func (c *CommitCommentEvent) GetInstallation() *Installation + func (c *CommitCommentEvent) GetOrg() *Organization + func (c *CommitCommentEvent) GetRepo() *Repository + func (c *CommitCommentEvent) GetSender() *User + type CommitFile struct + Additions *int + BlobURL *string + Changes *int + ContentsURL *string + Deletions *int + Filename *string + Patch *string + PreviousFilename *string + RawURL *string + SHA *string + Status *string + func (c *CommitFile) GetAdditions() int + func (c *CommitFile) GetBlobURL() string + func (c *CommitFile) GetChanges() int + func (c *CommitFile) GetContentsURL() string + func (c *CommitFile) GetDeletions() int + func (c *CommitFile) GetFilename() string + func (c *CommitFile) GetPatch() string + func (c *CommitFile) GetPreviousFilename() string + func (c *CommitFile) GetRawURL() string + func (c *CommitFile) GetSHA() string + func (c *CommitFile) GetStatus() string + func (c CommitFile) String() string + type CommitResult struct + Author *User + CommentsURL *string + Commit *Commit + Committer *User + HTMLURL *string + Parents []*Commit + Repository *Repository + SHA *string + Score *float64 + URL *string + func (c *CommitResult) GetAuthor() *User + func (c *CommitResult) GetCommentsURL() string + func (c *CommitResult) GetCommit() *Commit + func (c *CommitResult) GetCommitter() *User + func (c *CommitResult) GetHTMLURL() string + func (c *CommitResult) GetRepository() *Repository + func (c *CommitResult) GetSHA() string + func (c *CommitResult) GetScore() *float64 + func (c *CommitResult) GetURL() string + type CommitStats struct + Additions *int + Deletions *int + Total *int + func (c *CommitStats) GetAdditions() int + func (c *CommitStats) GetDeletions() int + func (c *CommitStats) GetTotal() int + func (c CommitStats) String() string + type CommitsComparison struct + AheadBy *int + BaseCommit *RepositoryCommit + BehindBy *int + Commits []*RepositoryCommit + DiffURL *string + Files []*CommitFile + HTMLURL *string + MergeBaseCommit *RepositoryCommit + PatchURL *string + PermalinkURL *string + Status *string + TotalCommits *int + URL *string + func (c *CommitsComparison) GetAheadBy() int + func (c *CommitsComparison) GetBaseCommit() *RepositoryCommit + func (c *CommitsComparison) GetBehindBy() int + func (c *CommitsComparison) GetDiffURL() string + func (c *CommitsComparison) GetHTMLURL() string + func (c *CommitsComparison) GetMergeBaseCommit() *RepositoryCommit + func (c *CommitsComparison) GetPatchURL() string + func (c *CommitsComparison) GetPermalinkURL() string + func (c *CommitsComparison) GetStatus() string + func (c *CommitsComparison) GetTotalCommits() int + func (c *CommitsComparison) GetURL() string + func (c CommitsComparison) String() string + type CommitsListOptions struct + Author string + Path string + SHA string + Since time.Time + Until time.Time + type CommitsSearchResult struct + Commits []*CommitResult + IncompleteResults *bool + Total *int + func (c *CommitsSearchResult) GetIncompleteResults() bool + func (c *CommitsSearchResult) GetTotal() int + type CommunityHealthFiles struct + CodeOfConduct *Metric + CodeOfConductFile *Metric + Contributing *Metric + IssueTemplate *Metric + License *Metric + PullRequestTemplate *Metric + Readme *Metric + func (c *CommunityHealthFiles) GetCodeOfConduct() *Metric + func (c *CommunityHealthFiles) GetCodeOfConductFile() *Metric + func (c *CommunityHealthFiles) GetContributing() *Metric + func (c *CommunityHealthFiles) GetIssueTemplate() *Metric + func (c *CommunityHealthFiles) GetLicense() *Metric + func (c *CommunityHealthFiles) GetPullRequestTemplate() *Metric + func (c *CommunityHealthFiles) GetReadme() *Metric + type CommunityHealthMetrics struct + ContentReportsEnabled *bool + Description *string + Documentation *string + Files *CommunityHealthFiles + HealthPercentage *int + UpdatedAt *Timestamp + func (c *CommunityHealthMetrics) GetContentReportsEnabled() bool + func (c *CommunityHealthMetrics) GetDescription() string + func (c *CommunityHealthMetrics) GetDocumentation() string + func (c *CommunityHealthMetrics) GetFiles() *CommunityHealthFiles + func (c *CommunityHealthMetrics) GetHealthPercentage() int + func (c *CommunityHealthMetrics) GetUpdatedAt() Timestamp + type ContentReference struct + ID *int64 + NodeID *string + Reference *string + func (c *ContentReference) GetID() int64 + func (c *ContentReference) GetNodeID() string + func (c *ContentReference) GetReference() string + type ContentReferenceEvent struct + Action *string + ContentReference *ContentReference + Installation *Installation + Repo *Repository + Sender *User + func (c *ContentReferenceEvent) GetAction() string + func (c *ContentReferenceEvent) GetContentReference() *ContentReference + func (c *ContentReferenceEvent) GetInstallation() *Installation + func (c *ContentReferenceEvent) GetRepo() *Repository + func (c *ContentReferenceEvent) GetSender() *User + type Contributor struct + AvatarURL *string + Contributions *int + Email *string + EventsURL *string + FollowersURL *string + FollowingURL *string + GistsURL *string + GravatarID *string + HTMLURL *string + ID *int64 + Login *string + Name *string + NodeID *string + OrganizationsURL *string + ReceivedEventsURL *string + ReposURL *string + SiteAdmin *bool + StarredURL *string + SubscriptionsURL *string + Type *string + URL *string + func (c *Contributor) GetAvatarURL() string + func (c *Contributor) GetContributions() int + func (c *Contributor) GetEmail() string + func (c *Contributor) GetEventsURL() string + func (c *Contributor) GetFollowersURL() string + func (c *Contributor) GetFollowingURL() string + func (c *Contributor) GetGistsURL() string + func (c *Contributor) GetGravatarID() string + func (c *Contributor) GetHTMLURL() string + func (c *Contributor) GetID() int64 + func (c *Contributor) GetLogin() string + func (c *Contributor) GetName() string + func (c *Contributor) GetNodeID() string + func (c *Contributor) GetOrganizationsURL() string + func (c *Contributor) GetReceivedEventsURL() string + func (c *Contributor) GetReposURL() string + func (c *Contributor) GetSiteAdmin() bool + func (c *Contributor) GetStarredURL() string + func (c *Contributor) GetSubscriptionsURL() string + func (c *Contributor) GetType() string + func (c *Contributor) GetURL() string + type ContributorStats struct + Author *Contributor + Total *int + Weeks []*WeeklyStats + func (c *ContributorStats) GetAuthor() *Contributor + func (c *ContributorStats) GetTotal() int + func (c ContributorStats) String() string + type CopilotDotcomChat struct + Models []*CopilotDotcomChatModel + TotalEngagedUsers int + type CopilotDotcomChatModel struct + CustomModelTrainingDate *string + IsCustomModel bool + Name string + TotalChats int + TotalEngagedUsers int + func (c *CopilotDotcomChatModel) GetCustomModelTrainingDate() string + type CopilotDotcomPullRequests struct + Repositories []*CopilotDotcomPullRequestsRepository + TotalEngagedUsers int + type CopilotDotcomPullRequestsModel struct + CustomModelTrainingDate *string + IsCustomModel bool + Name string + TotalEngagedUsers int + TotalPRSummariesCreated int + func (c *CopilotDotcomPullRequestsModel) GetCustomModelTrainingDate() string + type CopilotDotcomPullRequestsRepository struct + Models []*CopilotDotcomPullRequestsModel + Name string + TotalEngagedUsers int + type CopilotIDEChat struct + Editors []*CopilotIDEChatEditor + TotalEngagedUsers int + type CopilotIDEChatEditor struct + Models []*CopilotIDEChatModel + Name string + TotalEngagedUsers int + type CopilotIDEChatModel struct + CustomModelTrainingDate *string + IsCustomModel bool + Name string + TotalChatCopyEvents int + TotalChatInsertionEvents int + TotalChats int + TotalEngagedUsers int + func (c *CopilotIDEChatModel) GetCustomModelTrainingDate() string + type CopilotIDECodeCompletions struct + Editors []*CopilotIDECodeCompletionsEditor + Languages []*CopilotIDECodeCompletionsLanguage + TotalEngagedUsers int + type CopilotIDECodeCompletionsEditor struct + Models []*CopilotIDECodeCompletionsModel + Name string + TotalEngagedUsers int + type CopilotIDECodeCompletionsLanguage struct + Name string + TotalEngagedUsers int + type CopilotIDECodeCompletionsModel struct + CustomModelTrainingDate *string + IsCustomModel bool + Languages []*CopilotIDECodeCompletionsModelLanguage + Name string + TotalEngagedUsers int + func (c *CopilotIDECodeCompletionsModel) GetCustomModelTrainingDate() string + type CopilotIDECodeCompletionsModelLanguage struct + Name string + TotalCodeAcceptances int + TotalCodeLinesAccepted int + TotalCodeLinesSuggested int + TotalCodeSuggestions int + TotalEngagedUsers int + type CopilotMetrics struct + CopilotDotcomChat *CopilotDotcomChat + CopilotDotcomPullRequests *CopilotDotcomPullRequests + CopilotIDEChat *CopilotIDEChat + CopilotIDECodeCompletions *CopilotIDECodeCompletions + Date string + TotalActiveUsers *int + TotalEngagedUsers *int + func (c *CopilotMetrics) GetCopilotDotcomChat() *CopilotDotcomChat + func (c *CopilotMetrics) GetCopilotDotcomPullRequests() *CopilotDotcomPullRequests + func (c *CopilotMetrics) GetCopilotIDEChat() *CopilotIDEChat + func (c *CopilotMetrics) GetCopilotIDECodeCompletions() *CopilotIDECodeCompletions + func (c *CopilotMetrics) GetTotalActiveUsers() int + func (c *CopilotMetrics) GetTotalEngagedUsers() int + type CopilotMetricsListOptions struct + Since *time.Time + Until *time.Time + func (c *CopilotMetricsListOptions) GetSince() time.Time + func (c *CopilotMetricsListOptions) GetUntil() time.Time + type CopilotOrganizationDetails struct + CopilotChat string + PublicCodeSuggestions string + SeatBreakdown *CopilotSeatBreakdown + SeatManagementSetting string + func (c *CopilotOrganizationDetails) GetSeatBreakdown() *CopilotSeatBreakdown + type CopilotSeatBreakdown struct + ActiveThisCycle int + AddedThisCycle int + InactiveThisCycle int + PendingCancellation int + PendingInvitation int + Total int + type CopilotSeatDetails struct + Assignee interface{} + AssigningTeam *Team + CreatedAt *Timestamp + LastActivityAt *Timestamp + LastActivityEditor *string + PendingCancellationDate *string + PlanType *string + UpdatedAt *Timestamp + func (c *CopilotSeatDetails) GetAssigningTeam() *Team + func (c *CopilotSeatDetails) GetCreatedAt() Timestamp + func (c *CopilotSeatDetails) GetLastActivityAt() Timestamp + func (c *CopilotSeatDetails) GetLastActivityEditor() string + func (c *CopilotSeatDetails) GetPendingCancellationDate() string + func (c *CopilotSeatDetails) GetPlanType() string + func (c *CopilotSeatDetails) GetUpdatedAt() Timestamp + func (cp *CopilotSeatDetails) GetOrganization() (*Organization, bool) + func (cp *CopilotSeatDetails) GetTeam() (*Team, bool) + func (cp *CopilotSeatDetails) GetUser() (*User, bool) + func (cp *CopilotSeatDetails) UnmarshalJSON(data []byte) error + type CopilotService service + 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) GetCopilotBilling(ctx context.Context, org string) (*CopilotOrganizationDetails, *Response, error) + func (s *CopilotService) GetEnterpriseMetrics(ctx context.Context, enterprise string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) + func (s *CopilotService) GetEnterpriseTeamMetrics(ctx context.Context, enterprise, team string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) + func (s *CopilotService) GetOrganizationMetrics(ctx context.Context, org string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *Response, error) + func (s *CopilotService) GetOrganizationTeamMetrics(ctx context.Context, org, team string, opts *CopilotMetricsListOptions) ([]*CopilotMetrics, *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) ListCopilotSeats(ctx context.Context, org string, opts *ListOptions) (*ListCopilotSeatsResponse, *Response, 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 CreateCheckRunOptions struct + Actions []*CheckRunAction + CompletedAt *Timestamp + Conclusion *string + DetailsURL *string + ExternalID *string + HeadSHA string + Name string + Output *CheckRunOutput + StartedAt *Timestamp + Status *string + func (c *CreateCheckRunOptions) GetCompletedAt() Timestamp + func (c *CreateCheckRunOptions) GetConclusion() string + func (c *CreateCheckRunOptions) GetDetailsURL() string + func (c *CreateCheckRunOptions) GetExternalID() string + func (c *CreateCheckRunOptions) GetOutput() *CheckRunOutput + func (c *CreateCheckRunOptions) GetStartedAt() Timestamp + func (c *CreateCheckRunOptions) GetStatus() string + type CreateCheckSuiteOptions struct + HeadBranch *string + HeadSHA string + func (c *CreateCheckSuiteOptions) GetHeadBranch() string + type CreateCodespaceOptions struct + ClientIP *string + DevcontainerPath *string + DisplayName *string + Geo *string + IdleTimeoutMinutes *int + Machine *string + MultiRepoPermissionsOptOut *bool + Ref *string + RetentionPeriodMinutes *int + WorkingDirectory *string + func (c *CreateCodespaceOptions) GetClientIP() string + func (c *CreateCodespaceOptions) GetDevcontainerPath() string + func (c *CreateCodespaceOptions) GetDisplayName() string + func (c *CreateCodespaceOptions) GetGeo() string + func (c *CreateCodespaceOptions) GetIdleTimeoutMinutes() int + func (c *CreateCodespaceOptions) GetMachine() string + func (c *CreateCodespaceOptions) GetMultiRepoPermissionsOptOut() bool + func (c *CreateCodespaceOptions) GetRef() string + func (c *CreateCodespaceOptions) GetRetentionPeriodMinutes() int + func (c *CreateCodespaceOptions) GetWorkingDirectory() string + type CreateCommitOptions struct + Signer MessageSigner + type CreateEnterpriseRunnerGroupRequest struct + AllowsPublicRepositories *bool + Name *string + RestrictedToWorkflows *bool + Runners []int64 + SelectedOrganizationIDs []int64 + SelectedWorkflows []string + Visibility *string + func (c *CreateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool + func (c *CreateEnterpriseRunnerGroupRequest) GetName() string + func (c *CreateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool + func (c *CreateEnterpriseRunnerGroupRequest) GetVisibility() string + type CreateEvent struct + Description *string + Installation *Installation + MasterBranch *string + Org *Organization + PusherType *string + Ref *string + RefType *string + Repo *Repository + Sender *User + func (c *CreateEvent) GetDescription() string + func (c *CreateEvent) GetInstallation() *Installation + func (c *CreateEvent) GetMasterBranch() string + func (c *CreateEvent) GetOrg() *Organization + func (c *CreateEvent) GetPusherType() string + func (c *CreateEvent) GetRef() string + func (c *CreateEvent) GetRefType() string + func (c *CreateEvent) GetRepo() *Repository + func (c *CreateEvent) GetSender() *User + type CreateOrUpdateCustomRepoRoleOptions struct + BaseRole *string + Description *string + Name *string + Permissions []string + func (c *CreateOrUpdateCustomRepoRoleOptions) GetBaseRole() string + func (c *CreateOrUpdateCustomRepoRoleOptions) GetDescription() string + func (c *CreateOrUpdateCustomRepoRoleOptions) GetName() string + type CreateOrUpdateOrgRoleOptions struct + BaseRole *string + Description *string + Name *string + Permissions []string + func (c *CreateOrUpdateOrgRoleOptions) GetBaseRole() string + func (c *CreateOrUpdateOrgRoleOptions) GetDescription() string + func (c *CreateOrUpdateOrgRoleOptions) GetName() string + type CreateOrgInvitationOptions struct + Email *string + InviteeID *int64 + Role *string + TeamID []int64 + func (c *CreateOrgInvitationOptions) GetEmail() string + func (c *CreateOrgInvitationOptions) GetInviteeID() int64 + func (c *CreateOrgInvitationOptions) GetRole() string + type CreateProtectedChanges struct + From *bool + func (c *CreateProtectedChanges) GetFrom() bool + type CreateRunnerGroupRequest struct + AllowsPublicRepositories *bool + Name *string + RestrictedToWorkflows *bool + Runners []int64 + SelectedRepositoryIDs []int64 + SelectedWorkflows []string + Visibility *string + func (c *CreateRunnerGroupRequest) GetAllowsPublicRepositories() bool + func (c *CreateRunnerGroupRequest) GetName() string + func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool + func (c *CreateRunnerGroupRequest) GetVisibility() string + type CreateUpdateEnvironment struct + CanAdminsBypass *bool + DeploymentBranchPolicy *BranchPolicy + PreventSelfReview *bool + Reviewers []*EnvReviewers + WaitTimer *int + func (c *CreateUpdateEnvironment) GetCanAdminsBypass() bool + func (c *CreateUpdateEnvironment) GetDeploymentBranchPolicy() *BranchPolicy + func (c *CreateUpdateEnvironment) GetPreventSelfReview() bool + func (c *CreateUpdateEnvironment) GetWaitTimer() int + func (c *CreateUpdateEnvironment) MarshalJSON() ([]byte, error) + type CreateUpdateRequiredWorkflowOptions struct + RepositoryID *int64 + Scope *string + SelectedRepositoryIDs *SelectedRepoIDs + WorkflowFilePath *string + func (c *CreateUpdateRequiredWorkflowOptions) GetRepositoryID() int64 + func (c *CreateUpdateRequiredWorkflowOptions) GetScope() string + func (c *CreateUpdateRequiredWorkflowOptions) GetSelectedRepositoryIDs() *SelectedRepoIDs + func (c *CreateUpdateRequiredWorkflowOptions) GetWorkflowFilePath() string + type CreateUserRequest struct + Email *string + Login string + Suspended *bool + func (c *CreateUserRequest) GetEmail() string + func (c *CreateUserRequest) GetSuspended() bool + type CreateWorkflowDispatchEventRequest struct + Inputs map[string]interface{} + Ref string + type CreationInfo struct + Created *Timestamp + Creators []string + func (c *CreationInfo) GetCreated() Timestamp + type CredentialAuthorization struct + AuthorizedCredentialExpiresAt *Timestamp + AuthorizedCredentialID *int64 + AuthorizedCredentialNote *string + AuthorizedCredentialTitle *string + CredentialAccessedAt *Timestamp + CredentialAuthorizedAt *Timestamp + CredentialID *int64 + CredentialType *string + Fingerprint *string + Login *string + Scopes []string + TokenLastEight *string + func (c *CredentialAuthorization) GetAuthorizedCredentialExpiresAt() Timestamp + func (c *CredentialAuthorization) GetAuthorizedCredentialID() int64 + func (c *CredentialAuthorization) GetAuthorizedCredentialNote() string + func (c *CredentialAuthorization) GetAuthorizedCredentialTitle() string + func (c *CredentialAuthorization) GetCredentialAccessedAt() Timestamp + func (c *CredentialAuthorization) GetCredentialAuthorizedAt() Timestamp + func (c *CredentialAuthorization) GetCredentialID() int64 + func (c *CredentialAuthorization) GetCredentialType() string + func (c *CredentialAuthorization) GetFingerprint() string + func (c *CredentialAuthorization) GetLogin() string + func (c *CredentialAuthorization) GetTokenLastEight() string + type CredentialAuthorizationsListOptions struct + Login string + type Credit struct + Type *string + User *User + func (c *Credit) GetType() string + func (c *Credit) GetUser() *User + type CustomDeploymentProtectionRule struct + App *CustomDeploymentProtectionRuleApp + Enabled *bool + ID *int64 + NodeID *string + func (c *CustomDeploymentProtectionRule) GetApp() *CustomDeploymentProtectionRuleApp + func (c *CustomDeploymentProtectionRule) GetEnabled() bool + func (c *CustomDeploymentProtectionRule) GetID() int64 + func (c *CustomDeploymentProtectionRule) GetNodeID() string + type CustomDeploymentProtectionRuleApp struct + ID *int64 + IntegrationURL *string + NodeID *string + Slug *string + func (c *CustomDeploymentProtectionRuleApp) GetID() int64 + func (c *CustomDeploymentProtectionRuleApp) GetIntegrationURL() string + func (c *CustomDeploymentProtectionRuleApp) GetNodeID() string + func (c *CustomDeploymentProtectionRuleApp) GetSlug() string + type CustomDeploymentProtectionRuleRequest struct + IntegrationID *int64 + func (c *CustomDeploymentProtectionRuleRequest) GetIntegrationID() int64 + type CustomOrgRoles struct + BaseRole *string + CreatedAt *Timestamp + Description *string + ID *int64 + Name *string + Org *Organization + Permissions []string + Source *string + UpdatedAt *Timestamp + func (c *CustomOrgRoles) GetBaseRole() string + func (c *CustomOrgRoles) GetCreatedAt() Timestamp + func (c *CustomOrgRoles) GetDescription() string + func (c *CustomOrgRoles) GetID() int64 + func (c *CustomOrgRoles) GetName() string + func (c *CustomOrgRoles) GetOrg() *Organization + func (c *CustomOrgRoles) GetSource() string + func (c *CustomOrgRoles) GetUpdatedAt() Timestamp + type CustomProperty struct + AllowedValues []string + DefaultValue *string + Description *string + PropertyName *string + Required *bool + SourceType *string + ValueType string + ValuesEditableBy *string + func (c *CustomProperty) GetDefaultValue() string + func (c *CustomProperty) GetDescription() string + func (c *CustomProperty) GetPropertyName() string + func (c *CustomProperty) GetRequired() bool + func (c *CustomProperty) GetSourceType() string + func (c *CustomProperty) GetValuesEditableBy() string + type CustomPropertyEvent struct + Action *string + Definition *CustomProperty + Enterprise *Enterprise + Installation *Installation + Org *Organization + Sender *User + func (c *CustomPropertyEvent) GetAction() string + func (c *CustomPropertyEvent) GetDefinition() *CustomProperty + func (c *CustomPropertyEvent) GetEnterprise() *Enterprise + func (c *CustomPropertyEvent) GetInstallation() *Installation + func (c *CustomPropertyEvent) GetOrg() *Organization + func (c *CustomPropertyEvent) GetSender() *User + type CustomPropertyValue struct + PropertyName string + Value interface{} + func (cpv *CustomPropertyValue) UnmarshalJSON(data []byte) error + type CustomPropertyValuesEvent struct + Action *string + Enterprise *Enterprise + Installation *Installation + NewPropertyValues []*CustomPropertyValue + OldPropertyValues []*CustomPropertyValue + Org *Organization + Repo *Repository + Sender *User + func (c *CustomPropertyValuesEvent) GetAction() string + func (c *CustomPropertyValuesEvent) GetEnterprise() *Enterprise + func (c *CustomPropertyValuesEvent) GetInstallation() *Installation + func (c *CustomPropertyValuesEvent) GetOrg() *Organization + func (c *CustomPropertyValuesEvent) GetRepo() *Repository + func (c *CustomPropertyValuesEvent) GetSender() *User + type CustomRepoRoles struct + BaseRole *string + CreatedAt *Timestamp + Description *string + ID *int64 + Name *string + Org *Organization + Permissions []string + UpdatedAt *Timestamp + func (c *CustomRepoRoles) GetBaseRole() string + func (c *CustomRepoRoles) GetCreatedAt() Timestamp + func (c *CustomRepoRoles) GetDescription() string + func (c *CustomRepoRoles) GetID() int64 + func (c *CustomRepoRoles) GetName() string + func (c *CustomRepoRoles) GetOrg() *Organization + func (c *CustomRepoRoles) GetUpdatedAt() Timestamp + type DefaultSetupConfiguration struct + Languages []string + QuerySuite *string + State *string + UpdatedAt *Timestamp + func (d *DefaultSetupConfiguration) GetQuerySuite() string + func (d *DefaultSetupConfiguration) GetState() string + func (d *DefaultSetupConfiguration) GetUpdatedAt() Timestamp + type DefaultWorkflowPermissionEnterprise struct + CanApprovePullRequestReviews *bool + DefaultWorkflowPermissions *string + func (d *DefaultWorkflowPermissionEnterprise) GetCanApprovePullRequestReviews() bool + func (d *DefaultWorkflowPermissionEnterprise) GetDefaultWorkflowPermissions() string + type DefaultWorkflowPermissionOrganization struct + CanApprovePullRequestReviews *bool + DefaultWorkflowPermissions *string + func (d *DefaultWorkflowPermissionOrganization) GetCanApprovePullRequestReviews() bool + func (d *DefaultWorkflowPermissionOrganization) GetDefaultWorkflowPermissions() string + type DefaultWorkflowPermissionRepository struct + CanApprovePullRequestReviews *bool + DefaultWorkflowPermissions *string + func (d *DefaultWorkflowPermissionRepository) GetCanApprovePullRequestReviews() bool + func (d *DefaultWorkflowPermissionRepository) GetDefaultWorkflowPermissions() string + type DeleteAnalysis struct + ConfirmDeleteURL *string + NextAnalysisURL *string + func (d *DeleteAnalysis) GetConfirmDeleteURL() string + func (d *DeleteAnalysis) GetNextAnalysisURL() string + type DeleteEvent struct + Installation *Installation + Org *Organization + PusherType *string + Ref *string + RefType *string + Repo *Repository + Sender *User + func (d *DeleteEvent) GetInstallation() *Installation + func (d *DeleteEvent) GetOrg() *Organization + func (d *DeleteEvent) GetPusherType() string + func (d *DeleteEvent) GetRef() string + func (d *DeleteEvent) GetRefType() string + func (d *DeleteEvent) GetRepo() *Repository + func (d *DeleteEvent) GetSender() *User + type DependabotAlert struct + AutoDismissedAt *Timestamp + CreatedAt *Timestamp + Dependency *Dependency + DismissedAt *Timestamp + DismissedBy *User + DismissedComment *string + DismissedReason *string + FixedAt *Timestamp + HTMLURL *string + Number *int + Repository *Repository + SecurityAdvisory *DependabotSecurityAdvisory + SecurityVulnerability *AdvisoryVulnerability + State *string + URL *string + UpdatedAt *Timestamp + func (d *DependabotAlert) GetAutoDismissedAt() Timestamp + func (d *DependabotAlert) GetCreatedAt() Timestamp + func (d *DependabotAlert) GetDependency() *Dependency + func (d *DependabotAlert) GetDismissedAt() Timestamp + func (d *DependabotAlert) GetDismissedBy() *User + func (d *DependabotAlert) GetDismissedComment() string + func (d *DependabotAlert) GetDismissedReason() string + func (d *DependabotAlert) GetFixedAt() Timestamp + func (d *DependabotAlert) GetHTMLURL() string + func (d *DependabotAlert) GetNumber() int + func (d *DependabotAlert) GetRepository() *Repository + func (d *DependabotAlert) GetSecurityAdvisory() *DependabotSecurityAdvisory + func (d *DependabotAlert) GetSecurityVulnerability() *AdvisoryVulnerability + func (d *DependabotAlert) GetState() string + func (d *DependabotAlert) GetURL() string + func (d *DependabotAlert) GetUpdatedAt() Timestamp + type DependabotAlertEvent struct + Action *string + Alert *DependabotAlert + Enterprise *Enterprise + Installation *Installation + Organization *Organization + Repo *Repository + Sender *User + func (d *DependabotAlertEvent) GetAction() string + func (d *DependabotAlertEvent) GetAlert() *DependabotAlert + func (d *DependabotAlertEvent) GetEnterprise() *Enterprise + func (d *DependabotAlertEvent) GetInstallation() *Installation + func (d *DependabotAlertEvent) GetOrganization() *Organization + func (d *DependabotAlertEvent) GetRepo() *Repository + func (d *DependabotAlertEvent) GetSender() *User + type DependabotAlertState struct + DismissedComment *string + DismissedReason *string + State string + func (d *DependabotAlertState) GetDismissedComment() string + func (d *DependabotAlertState) GetDismissedReason() string + type DependabotEncryptedSecret struct + EncryptedValue string + KeyID string + Name string + SelectedRepositoryIDs DependabotSecretsSelectedRepoIDs + Visibility string + type DependabotSecretsSelectedRepoIDs []int64 + type DependabotSecurityAdvisory struct + CVEID *string + CVSS *AdvisoryCVSS + CWEs []*AdvisoryCWEs + Description *string + GHSAID *string + Identifiers []*AdvisoryIdentifier + PublishedAt *Timestamp + References []*AdvisoryReference + Severity *string + Summary *string + UpdatedAt *Timestamp + Vulnerabilities []*AdvisoryVulnerability + WithdrawnAt *Timestamp + func (d *DependabotSecurityAdvisory) GetCVEID() string + func (d *DependabotSecurityAdvisory) GetCVSS() *AdvisoryCVSS + func (d *DependabotSecurityAdvisory) GetDescription() string + func (d *DependabotSecurityAdvisory) GetGHSAID() string + func (d *DependabotSecurityAdvisory) GetPublishedAt() Timestamp + func (d *DependabotSecurityAdvisory) GetSeverity() string + func (d *DependabotSecurityAdvisory) GetSummary() string + func (d *DependabotSecurityAdvisory) GetUpdatedAt() Timestamp + func (d *DependabotSecurityAdvisory) GetWithdrawnAt() Timestamp + type DependabotSecurityUpdates struct + Status *string + func (d *DependabotSecurityUpdates) GetStatus() string + func (d DependabotSecurityUpdates) String() string + type DependabotService service + 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) ListOrgSecrets(ctx context.Context, org string, opts *ListOptions) (*Secrets, *Response, error) + func (s *DependabotService) ListRepoAlerts(ctx context.Context, owner, repo string, opts *ListAlertsOptions) ([]*DependabotAlert, *Response, error) + func (s *DependabotService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *ListOptions) (*Secrets, *Response, error) + func (s *DependabotService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *ListOptions) (*SelectedReposList, *Response, 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 struct + ManifestPath *string + Package *VulnerabilityPackage + Scope *string + func (d *Dependency) GetManifestPath() string + func (d *Dependency) GetPackage() *VulnerabilityPackage + func (d *Dependency) GetScope() string + type DependencyGraphAutosubmitActionOptions struct + LabeledRunners *bool + func (d *DependencyGraphAutosubmitActionOptions) GetLabeledRunners() bool + type DependencyGraphService service + func (s *DependencyGraphService) CreateSnapshot(ctx context.Context, owner, repo string, ...) (*DependencyGraphSnapshotCreationData, *Response, error) + func (s *DependencyGraphService) GetSBOM(ctx context.Context, owner, repo string) (*SBOM, *Response, error) + type DependencyGraphSnapshot struct + Detector *DependencyGraphSnapshotDetector + Job *DependencyGraphSnapshotJob + Manifests map[string]*DependencyGraphSnapshotManifest + Ref *string + Scanned *Timestamp + Sha *string + Version int + func (d *DependencyGraphSnapshot) GetDetector() *DependencyGraphSnapshotDetector + func (d *DependencyGraphSnapshot) GetJob() *DependencyGraphSnapshotJob + func (d *DependencyGraphSnapshot) GetRef() string + func (d *DependencyGraphSnapshot) GetScanned() Timestamp + func (d *DependencyGraphSnapshot) GetSha() string + type DependencyGraphSnapshotCreationData struct + CreatedAt *Timestamp + ID int64 + Message *string + Result *string + func (d *DependencyGraphSnapshotCreationData) GetCreatedAt() Timestamp + func (d *DependencyGraphSnapshotCreationData) GetMessage() string + func (d *DependencyGraphSnapshotCreationData) GetResult() string + type DependencyGraphSnapshotDetector struct + Name *string + URL *string + Version *string + func (d *DependencyGraphSnapshotDetector) GetName() string + func (d *DependencyGraphSnapshotDetector) GetURL() string + func (d *DependencyGraphSnapshotDetector) GetVersion() string + type DependencyGraphSnapshotJob struct + Correlator *string + HTMLURL *string + ID *string + func (d *DependencyGraphSnapshotJob) GetCorrelator() string + func (d *DependencyGraphSnapshotJob) GetHTMLURL() string + func (d *DependencyGraphSnapshotJob) GetID() string + type DependencyGraphSnapshotManifest struct + File *DependencyGraphSnapshotManifestFile + Name *string + Resolved map[string]*DependencyGraphSnapshotResolvedDependency + func (d *DependencyGraphSnapshotManifest) GetFile() *DependencyGraphSnapshotManifestFile + func (d *DependencyGraphSnapshotManifest) GetName() string + type DependencyGraphSnapshotManifestFile struct + SourceLocation *string + func (d *DependencyGraphSnapshotManifestFile) GetSourceLocation() string + type DependencyGraphSnapshotResolvedDependency struct + Dependencies []string + PackageURL *string + Relationship *string + Scope *string + func (d *DependencyGraphSnapshotResolvedDependency) GetPackageURL() string + func (d *DependencyGraphSnapshotResolvedDependency) GetRelationship() string + func (d *DependencyGraphSnapshotResolvedDependency) GetScope() string + type DeployKeyEvent struct + Action *string + Installation *Installation + Key *Key + Organization *Organization + Repo *Repository + Sender *User + func (d *DeployKeyEvent) GetAction() string + func (d *DeployKeyEvent) GetInstallation() *Installation + func (d *DeployKeyEvent) GetKey() *Key + func (d *DeployKeyEvent) GetOrganization() *Organization + func (d *DeployKeyEvent) GetRepo() *Repository + func (d *DeployKeyEvent) GetSender() *User + type Deployment struct + CreatedAt *Timestamp + Creator *User + Description *string + Environment *string + ID *int64 + NodeID *string + Payload json.RawMessage + Ref *string + RepositoryURL *string + SHA *string + StatusesURL *string + Task *string + URL *string + UpdatedAt *Timestamp + func (d *Deployment) GetCreatedAt() Timestamp + func (d *Deployment) GetCreator() *User + func (d *Deployment) GetDescription() string + func (d *Deployment) GetEnvironment() string + func (d *Deployment) GetID() int64 + func (d *Deployment) GetNodeID() string + func (d *Deployment) GetRef() string + func (d *Deployment) GetRepositoryURL() string + func (d *Deployment) GetSHA() string + func (d *Deployment) GetStatusesURL() string + func (d *Deployment) GetTask() string + func (d *Deployment) GetURL() string + func (d *Deployment) GetUpdatedAt() Timestamp + type DeploymentBranchPolicy struct + ID *int64 + Name *string + NodeID *string + Type *string + func (d *DeploymentBranchPolicy) GetID() int64 + func (d *DeploymentBranchPolicy) GetName() string + func (d *DeploymentBranchPolicy) GetNodeID() string + func (d *DeploymentBranchPolicy) GetType() string + type DeploymentBranchPolicyRequest struct + Name *string + Type *string + func (d *DeploymentBranchPolicyRequest) GetName() string + func (d *DeploymentBranchPolicyRequest) GetType() string + type DeploymentBranchPolicyResponse struct + BranchPolicies []*DeploymentBranchPolicy + TotalCount *int + func (d *DeploymentBranchPolicyResponse) GetTotalCount() int + type DeploymentEvent struct + Deployment *Deployment + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + Workflow *Workflow + WorkflowRun *WorkflowRun + func (d *DeploymentEvent) GetDeployment() *Deployment + func (d *DeploymentEvent) GetInstallation() *Installation + func (d *DeploymentEvent) GetOrg() *Organization + func (d *DeploymentEvent) GetRepo() *Repository + func (d *DeploymentEvent) GetSender() *User + func (d *DeploymentEvent) GetWorkflow() *Workflow + func (d *DeploymentEvent) GetWorkflowRun() *WorkflowRun + type DeploymentProtectionRuleEvent struct + Action *string + Deployment *Deployment + DeploymentCallbackURL *string + Environment *string + Event *string + Installation *Installation + Organization *Organization + PullRequests []*PullRequest + Repo *Repository + Sender *User + func (d *DeploymentProtectionRuleEvent) GetAction() string + func (d *DeploymentProtectionRuleEvent) GetDeployment() *Deployment + func (d *DeploymentProtectionRuleEvent) GetDeploymentCallbackURL() string + func (d *DeploymentProtectionRuleEvent) GetEnvironment() string + func (d *DeploymentProtectionRuleEvent) GetEvent() string + func (d *DeploymentProtectionRuleEvent) GetInstallation() *Installation + func (d *DeploymentProtectionRuleEvent) GetOrganization() *Organization + func (d *DeploymentProtectionRuleEvent) GetRepo() *Repository + func (d *DeploymentProtectionRuleEvent) GetSender() *User + type DeploymentRequest struct + AutoMerge *bool + Description *string + Environment *string + Payload interface{} + ProductionEnvironment *bool + Ref *string + RequiredContexts *[]string + Task *string + TransientEnvironment *bool + func (d *DeploymentRequest) GetAutoMerge() bool + func (d *DeploymentRequest) GetDescription() string + func (d *DeploymentRequest) GetEnvironment() string + func (d *DeploymentRequest) GetProductionEnvironment() bool + func (d *DeploymentRequest) GetRef() string + func (d *DeploymentRequest) GetRequiredContexts() []string + func (d *DeploymentRequest) GetTask() string + func (d *DeploymentRequest) GetTransientEnvironment() bool + type DeploymentReviewEvent struct + Action *string + Approver *User + Comment *string + Enterprise *Enterprise + Environment *string + Installation *Installation + Organization *Organization + Repo *Repository + Requester *User + Reviewers []*RequiredReviewer + Sender *User + Since *string + WorkflowJobRun *WorkflowJobRun + WorkflowJobRuns []*WorkflowJobRun + WorkflowRun *WorkflowRun + func (d *DeploymentReviewEvent) GetAction() string + func (d *DeploymentReviewEvent) GetApprover() *User + func (d *DeploymentReviewEvent) GetComment() string + func (d *DeploymentReviewEvent) GetEnterprise() *Enterprise + func (d *DeploymentReviewEvent) GetEnvironment() string + func (d *DeploymentReviewEvent) GetInstallation() *Installation + func (d *DeploymentReviewEvent) GetOrganization() *Organization + func (d *DeploymentReviewEvent) GetRepo() *Repository + func (d *DeploymentReviewEvent) GetRequester() *User + func (d *DeploymentReviewEvent) GetSender() *User + func (d *DeploymentReviewEvent) GetSince() string + func (d *DeploymentReviewEvent) GetWorkflowJobRun() *WorkflowJobRun + func (d *DeploymentReviewEvent) GetWorkflowRun() *WorkflowRun + type DeploymentStatus struct + CreatedAt *Timestamp + Creator *User + DeploymentURL *string + Description *string + Environment *string + EnvironmentURL *string + ID *int64 + LogURL *string + NodeID *string + RepositoryURL *string + State *string + TargetURL *string + URL *string + UpdatedAt *Timestamp + func (d *DeploymentStatus) GetCreatedAt() Timestamp + func (d *DeploymentStatus) GetCreator() *User + func (d *DeploymentStatus) GetDeploymentURL() string + func (d *DeploymentStatus) GetDescription() string + func (d *DeploymentStatus) GetEnvironment() string + func (d *DeploymentStatus) GetEnvironmentURL() string + func (d *DeploymentStatus) GetID() int64 + func (d *DeploymentStatus) GetLogURL() string + func (d *DeploymentStatus) GetNodeID() string + func (d *DeploymentStatus) GetRepositoryURL() string + func (d *DeploymentStatus) GetState() string + func (d *DeploymentStatus) GetTargetURL() string + func (d *DeploymentStatus) GetURL() string + func (d *DeploymentStatus) GetUpdatedAt() Timestamp + type DeploymentStatusEvent struct + Action *string + Deployment *Deployment + DeploymentStatus *DeploymentStatus + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (d *DeploymentStatusEvent) GetAction() string + func (d *DeploymentStatusEvent) GetDeployment() *Deployment + func (d *DeploymentStatusEvent) GetDeploymentStatus() *DeploymentStatus + func (d *DeploymentStatusEvent) GetInstallation() *Installation + func (d *DeploymentStatusEvent) GetOrg() *Organization + func (d *DeploymentStatusEvent) GetRepo() *Repository + func (d *DeploymentStatusEvent) GetSender() *User + type DeploymentStatusRequest struct + AutoInactive *bool + Description *string + Environment *string + EnvironmentURL *string + LogURL *string + State *string + func (d *DeploymentStatusRequest) GetAutoInactive() bool + func (d *DeploymentStatusRequest) GetDescription() string + func (d *DeploymentStatusRequest) GetEnvironment() string + func (d *DeploymentStatusRequest) GetEnvironmentURL() string + func (d *DeploymentStatusRequest) GetLogURL() string + func (d *DeploymentStatusRequest) GetState() string + type DeploymentsListOptions struct + Environment string + Ref string + SHA string + Task string + type Discussion struct + ActiveLockReason *string + AnswerChosenAt *Timestamp + AnswerChosenBy *string + AnswerHTMLURL *string + AuthorAssociation *string + Body *string + Comments *int + CreatedAt *Timestamp + DiscussionCategory *DiscussionCategory + HTMLURL *string + ID *int64 + Locked *bool + NodeID *string + Number *int + RepositoryURL *string + State *string + Title *string + UpdatedAt *Timestamp + User *User + func (d *Discussion) GetActiveLockReason() string + func (d *Discussion) GetAnswerChosenAt() Timestamp + func (d *Discussion) GetAnswerChosenBy() string + func (d *Discussion) GetAnswerHTMLURL() string + func (d *Discussion) GetAuthorAssociation() string + func (d *Discussion) GetBody() string + func (d *Discussion) GetComments() int + func (d *Discussion) GetCreatedAt() Timestamp + func (d *Discussion) GetDiscussionCategory() *DiscussionCategory + func (d *Discussion) GetHTMLURL() string + func (d *Discussion) GetID() int64 + func (d *Discussion) GetLocked() bool + func (d *Discussion) GetNodeID() string + func (d *Discussion) GetNumber() int + func (d *Discussion) GetRepositoryURL() string + func (d *Discussion) GetState() string + func (d *Discussion) GetTitle() string + func (d *Discussion) GetUpdatedAt() Timestamp + func (d *Discussion) GetUser() *User + type DiscussionCategory struct + CreatedAt *Timestamp + Description *string + Emoji *string + ID *int64 + IsAnswerable *bool + Name *string + NodeID *string + RepositoryID *int64 + Slug *string + UpdatedAt *Timestamp + func (d *DiscussionCategory) GetCreatedAt() Timestamp + func (d *DiscussionCategory) GetDescription() string + func (d *DiscussionCategory) GetEmoji() string + func (d *DiscussionCategory) GetID() int64 + func (d *DiscussionCategory) GetIsAnswerable() bool + func (d *DiscussionCategory) GetName() string + func (d *DiscussionCategory) GetNodeID() string + func (d *DiscussionCategory) GetRepositoryID() int64 + func (d *DiscussionCategory) GetSlug() string + func (d *DiscussionCategory) GetUpdatedAt() Timestamp + type DiscussionComment struct + Author *User + Body *string + BodyHTML *string + BodyVersion *string + CreatedAt *Timestamp + DiscussionURL *string + HTMLURL *string + LastEditedAt *Timestamp + NodeID *string + Number *int + Reactions *Reactions + URL *string + UpdatedAt *Timestamp + func (c DiscussionComment) String() string + func (d *DiscussionComment) GetAuthor() *User + func (d *DiscussionComment) GetBody() string + func (d *DiscussionComment) GetBodyHTML() string + func (d *DiscussionComment) GetBodyVersion() string + func (d *DiscussionComment) GetCreatedAt() Timestamp + func (d *DiscussionComment) GetDiscussionURL() string + func (d *DiscussionComment) GetHTMLURL() string + func (d *DiscussionComment) GetLastEditedAt() Timestamp + func (d *DiscussionComment) GetNodeID() string + func (d *DiscussionComment) GetNumber() int + func (d *DiscussionComment) GetReactions() *Reactions + func (d *DiscussionComment) GetURL() string + func (d *DiscussionComment) GetUpdatedAt() Timestamp + type DiscussionCommentEvent struct + Action *string + Comment *CommentDiscussion + Discussion *Discussion + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (d *DiscussionCommentEvent) GetAction() string + func (d *DiscussionCommentEvent) GetComment() *CommentDiscussion + func (d *DiscussionCommentEvent) GetDiscussion() *Discussion + func (d *DiscussionCommentEvent) GetInstallation() *Installation + func (d *DiscussionCommentEvent) GetOrg() *Organization + func (d *DiscussionCommentEvent) GetRepo() *Repository + func (d *DiscussionCommentEvent) GetSender() *User + type DiscussionCommentListOptions struct + Direction string + type DiscussionEvent struct + Action *string + Discussion *Discussion + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (d *DiscussionEvent) GetAction() string + func (d *DiscussionEvent) GetDiscussion() *Discussion + func (d *DiscussionEvent) GetInstallation() *Installation + func (d *DiscussionEvent) GetOrg() *Organization + func (d *DiscussionEvent) GetRepo() *Repository + func (d *DiscussionEvent) GetSender() *User + type DiscussionListOptions struct + Direction string + type DismissStaleReviewsOnPushChanges struct + From *bool + func (d *DismissStaleReviewsOnPushChanges) GetFrom() bool + type DismissalRestrictions struct + Apps []*App + Teams []*Team + Users []*User + type DismissalRestrictionsRequest struct + Apps *[]string + Teams *[]string + Users *[]string + func (d *DismissalRestrictionsRequest) GetApps() []string + func (d *DismissalRestrictionsRequest) GetTeams() []string + func (d *DismissalRestrictionsRequest) GetUsers() []string + type DismissedReview struct + DismissalCommitID *string + DismissalMessage *string + ReviewID *int64 + State *string + func (d *DismissedReview) GetDismissalCommitID() string + func (d *DismissedReview) GetDismissalMessage() string + func (d *DismissedReview) GetReviewID() int64 + func (d *DismissedReview) GetState() string + type DispatchRequestOptions struct + ClientPayload *json.RawMessage + EventType string + func (d *DispatchRequestOptions) GetClientPayload() json.RawMessage + type DraftReviewComment struct + Body *string + Line *int + Path *string + Position *int + Side *string + StartLine *int + StartSide *string + func (c DraftReviewComment) String() string + func (d *DraftReviewComment) GetBody() string + func (d *DraftReviewComment) GetLine() int + func (d *DraftReviewComment) GetPath() string + func (d *DraftReviewComment) GetPosition() int + func (d *DraftReviewComment) GetSide() string + func (d *DraftReviewComment) GetStartLine() int + func (d *DraftReviewComment) GetStartSide() string + type EditBase struct + Ref *EditRef + SHA *EditSHA + func (e *EditBase) GetRef() *EditRef + func (e *EditBase) GetSHA() *EditSHA + type EditBody struct + From *string + func (e *EditBody) GetFrom() string + type EditChange struct + Base *EditBase + Body *EditBody + DefaultBranch *EditDefaultBranch + Owner *EditOwner + Repo *EditRepo + Title *EditTitle + Topics *EditTopics + func (e *EditChange) GetBase() *EditBase + func (e *EditChange) GetBody() *EditBody + func (e *EditChange) GetDefaultBranch() *EditDefaultBranch + func (e *EditChange) GetOwner() *EditOwner + func (e *EditChange) GetRepo() *EditRepo + func (e *EditChange) GetTitle() *EditTitle + func (e *EditChange) GetTopics() *EditTopics + type EditDefaultBranch struct + From *string + func (e *EditDefaultBranch) GetFrom() string + type EditOwner struct + OwnerInfo *OwnerInfo + func (e *EditOwner) GetOwnerInfo() *OwnerInfo + type EditRef struct + From *string + func (e *EditRef) GetFrom() string + type EditRepo struct + Name *RepoName + func (e *EditRepo) GetName() *RepoName + type EditSHA struct + From *string + func (e *EditSHA) GetFrom() string + type EditTitle struct + From *string + func (e *EditTitle) GetFrom() string + type EditTopics struct + From []string + type EmojisService service + func (s *EmojisService) List(ctx context.Context) (map[string]string, *Response, error) + type EncryptedSecret struct + EncryptedValue string + KeyID string + Name string + SelectedRepositoryIDs SelectedRepoIDs + Visibility string + type Enterprise struct + AvatarURL *string + CreatedAt *Timestamp + Description *string + HTMLURL *string + ID *int + Name *string + NodeID *string + Slug *string + UpdatedAt *Timestamp + WebsiteURL *string + func (e *Enterprise) GetAvatarURL() string + func (e *Enterprise) GetCreatedAt() Timestamp + func (e *Enterprise) GetDescription() string + func (e *Enterprise) GetHTMLURL() string + func (e *Enterprise) GetID() int + func (e *Enterprise) GetName() string + func (e *Enterprise) GetNodeID() string + func (e *Enterprise) GetSlug() string + func (e *Enterprise) GetUpdatedAt() Timestamp + func (e *Enterprise) GetWebsiteURL() string + func (m Enterprise) String() string + type EnterpriseRunnerGroup struct + AllowsPublicRepositories *bool + Default *bool + ID *int64 + Inherited *bool + Name *string + RestrictedToWorkflows *bool + RunnersURL *string + SelectedOrganizationsURL *string + SelectedWorkflows []string + Visibility *string + WorkflowRestrictionsReadOnly *bool + func (e *EnterpriseRunnerGroup) GetAllowsPublicRepositories() bool + func (e *EnterpriseRunnerGroup) GetDefault() bool + func (e *EnterpriseRunnerGroup) GetID() int64 + func (e *EnterpriseRunnerGroup) GetInherited() bool + func (e *EnterpriseRunnerGroup) GetName() string + func (e *EnterpriseRunnerGroup) GetRestrictedToWorkflows() bool + func (e *EnterpriseRunnerGroup) GetRunnersURL() string + func (e *EnterpriseRunnerGroup) GetSelectedOrganizationsURL() string + func (e *EnterpriseRunnerGroup) GetVisibility() string + func (e *EnterpriseRunnerGroup) GetWorkflowRestrictionsReadOnly() bool + type EnterpriseRunnerGroups struct + RunnerGroups []*EnterpriseRunnerGroup + TotalCount *int + func (e *EnterpriseRunnerGroups) GetTotalCount() int + type EnterpriseSecurityAnalysisSettings struct + AdvancedSecurityEnabledForNewRepositories *bool + SecretScanningEnabledForNewRepositories *bool + SecretScanningPushProtectionCustomLink *string + SecretScanningPushProtectionEnabledForNewRepositories *bool + SecretScanningValidityChecksEnabled *bool + func (e *EnterpriseSecurityAnalysisSettings) GetAdvancedSecurityEnabledForNewRepositories() bool + func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningEnabledForNewRepositories() bool + func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningPushProtectionCustomLink() string + func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningPushProtectionEnabledForNewRepositories() bool + func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningValidityChecksEnabled() bool + type EnterpriseService service + func (s *EnterpriseService) AddOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID, orgID int64) (*Response, error) + func (s *EnterpriseService) AddRunnerGroupRunners(ctx context.Context, enterprise string, groupID, runnerID int64) (*Response, error) + func (s *EnterpriseService) CreateEnterpriseRunnerGroup(ctx context.Context, enterprise string, ...) (*EnterpriseRunnerGroup, *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) CreateRegistrationToken(ctx context.Context, enterprise string) (*RegistrationToken, *Response, error) + func (s *EnterpriseService) DeleteEnterpriseRunnerGroup(ctx context.Context, enterprise string, groupID int64) (*Response, error) + func (s *EnterpriseService) EnableDisableSecurityFeature(ctx context.Context, enterprise, securityProduct, enablement string) (*Response, error) + func (s *EnterpriseService) GenerateEnterpriseJITConfig(ctx context.Context, enterprise string, request *GenerateJITConfigRequest) (*JITRunnerConfig, *Response, error) + func (s *EnterpriseService) GetAllCustomProperties(ctx context.Context, enterprise string) ([]*CustomProperty, *Response, error) + func (s *EnterpriseService) GetAuditLog(ctx context.Context, enterprise string, opts *GetAuditLogOptions) ([]*AuditEntry, *Response, error) + func (s *EnterpriseService) GetCodeSecurityAndAnalysis(ctx context.Context, enterprise string) (*EnterpriseSecurityAnalysisSettings, *Response, error) + func (s *EnterpriseService) GetCustomProperty(ctx context.Context, enterprise, customPropertyName string) (*CustomProperty, *Response, error) + func (s *EnterpriseService) GetEnterpriseRunnerGroup(ctx context.Context, enterprise string, groupID int64) (*EnterpriseRunnerGroup, *Response, error) + func (s *EnterpriseService) GetRunner(ctx context.Context, enterprise string, runnerID int64) (*Runner, *Response, error) + func (s *EnterpriseService) ListOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID int64, opts *ListOptions) (*ListOrganizations, *Response, 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) ListRunnerGroups(ctx context.Context, enterprise string, opts *ListEnterpriseRunnerGroupOptions) (*EnterpriseRunnerGroups, *Response, error) + func (s *EnterpriseService) ListRunners(ctx context.Context, enterprise string, opts *ListRunnersOptions) (*Runners, *Response, error) + func (s *EnterpriseService) RemoveCustomProperty(ctx context.Context, enterprise, customPropertyName string) (*Response, error) + func (s *EnterpriseService) RemoveOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID, orgID int64) (*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) SetOrganizationAccessRunnerGroup(ctx context.Context, enterprise string, groupID int64, ...) (*Response, error) + func (s *EnterpriseService) SetRunnerGroupRunners(ctx context.Context, enterprise string, groupID int64, ...) (*Response, error) + func (s *EnterpriseService) UpdateCodeSecurityAndAnalysis(ctx context.Context, enterprise string, ...) (*Response, error) + func (s *EnterpriseService) UpdateEnterpriseRunnerGroup(ctx context.Context, enterprise string, groupID int64, ...) (*EnterpriseRunnerGroup, *Response, error) + type EnvResponse struct + Environments []*Environment + TotalCount *int + func (e *EnvResponse) GetTotalCount() int + type EnvReviewers struct + ID *int64 + Type *string + func (e *EnvReviewers) GetID() int64 + func (e *EnvReviewers) GetType() string + type Environment struct + CanAdminsBypass *bool + CreatedAt *Timestamp + DeploymentBranchPolicy *BranchPolicy + EnvironmentName *string + HTMLURL *string + ID *int64 + Name *string + NodeID *string + Owner *string + ProtectionRules []*ProtectionRule + Repo *string + Reviewers []*EnvReviewers + URL *string + UpdatedAt *Timestamp + WaitTimer *int + func (e *Environment) GetCanAdminsBypass() bool + func (e *Environment) GetCreatedAt() Timestamp + func (e *Environment) GetDeploymentBranchPolicy() *BranchPolicy + func (e *Environment) GetEnvironmentName() string + func (e *Environment) GetHTMLURL() string + func (e *Environment) GetID() int64 + func (e *Environment) GetName() string + func (e *Environment) GetNodeID() string + func (e *Environment) GetOwner() string + func (e *Environment) GetRepo() string + func (e *Environment) GetURL() string + func (e *Environment) GetUpdatedAt() Timestamp + func (e *Environment) GetWaitTimer() int + type EnvironmentListOptions struct + type Error struct + Code string + Field string + Message string + Resource string + func (e *Error) Error() string + func (e *Error) UnmarshalJSON(data []byte) error + type ErrorBlock struct + CreatedAt *Timestamp + Reason string + func (e *ErrorBlock) GetCreatedAt() Timestamp + type ErrorResponse struct + Block *ErrorBlock + DocumentationURL string + Errors []Error + Message string + Response *http.Response + func (e *ErrorResponse) GetBlock() *ErrorBlock + func (r *ErrorResponse) Error() string + func (r *ErrorResponse) Is(target error) bool + type Event struct + Actor *User + CreatedAt *Timestamp + ID *string + Org *Organization + Public *bool + RawPayload *json.RawMessage + Repo *Repository + Type *string + func (e *Event) GetActor() *User + func (e *Event) GetCreatedAt() Timestamp + func (e *Event) GetID() string + func (e *Event) GetOrg() *Organization + func (e *Event) GetPublic() bool + func (e *Event) GetRawPayload() json.RawMessage + func (e *Event) GetRepo() *Repository + func (e *Event) GetType() string + func (e *Event) ParsePayload() (interface{}, error) + func (e *Event) Payload() (payload interface{}) + func (e Event) String() string + type ExternalGroup struct + GroupID *int64 + GroupName *string + Members []*ExternalGroupMember + Teams []*ExternalGroupTeam + UpdatedAt *Timestamp + func (e *ExternalGroup) GetGroupID() int64 + func (e *ExternalGroup) GetGroupName() string + func (e *ExternalGroup) GetUpdatedAt() Timestamp + type ExternalGroupList struct + Groups []*ExternalGroup + type ExternalGroupMember struct + MemberEmail *string + MemberID *int64 + MemberLogin *string + MemberName *string + func (e *ExternalGroupMember) GetMemberEmail() string + func (e *ExternalGroupMember) GetMemberID() int64 + func (e *ExternalGroupMember) GetMemberLogin() string + func (e *ExternalGroupMember) GetMemberName() string + type ExternalGroupTeam struct + TeamID *int64 + TeamName *string + func (e *ExternalGroupTeam) GetTeamID() int64 + func (e *ExternalGroupTeam) GetTeamName() string + type FeedLink struct + HRef *string + Type *string + func (f *FeedLink) GetHRef() string + func (f *FeedLink) GetType() string + type FeedLinks struct + CurrentUser *FeedLink + CurrentUserActor *FeedLink + CurrentUserOrganization *FeedLink + CurrentUserOrganizations []*FeedLink + CurrentUserPublic *FeedLink + Timeline *FeedLink + User *FeedLink + func (f *FeedLinks) GetCurrentUser() *FeedLink + func (f *FeedLinks) GetCurrentUserActor() *FeedLink + func (f *FeedLinks) GetCurrentUserOrganization() *FeedLink + func (f *FeedLinks) GetCurrentUserPublic() *FeedLink + func (f *FeedLinks) GetTimeline() *FeedLink + func (f *FeedLinks) GetUser() *FeedLink + type Feeds struct + CurrentUserActorURL *string + CurrentUserOrganizationURL *string + CurrentUserOrganizationURLs []string + CurrentUserPublicURL *string + CurrentUserURL *string + Links *FeedLinks + TimelineURL *string + UserURL *string + func (f *Feeds) GetCurrentUserActorURL() string + func (f *Feeds) GetCurrentUserOrganizationURL() string + func (f *Feeds) GetCurrentUserPublicURL() string + func (f *Feeds) GetCurrentUserURL() string + func (f *Feeds) GetLinks() *FeedLinks + func (f *Feeds) GetTimelineURL() string + func (f *Feeds) GetUserURL() string + type FirstPatchedVersion struct + Identifier *string + func (f *FirstPatchedVersion) GetIdentifier() string + type ForkEvent struct + Forkee *Repository + Installation *Installation + Repo *Repository + Sender *User + func (f *ForkEvent) GetForkee() *Repository + func (f *ForkEvent) GetInstallation() *Installation + func (f *ForkEvent) GetRepo() *Repository + func (f *ForkEvent) GetSender() *User + type GPGEmail struct + Email *string + Verified *bool + func (g *GPGEmail) GetEmail() string + func (g *GPGEmail) GetVerified() bool + type GPGKey struct + CanCertify *bool + CanEncryptComms *bool + CanEncryptStorage *bool + CanSign *bool + CreatedAt *Timestamp + Emails []*GPGEmail + ExpiresAt *Timestamp + ID *int64 + KeyID *string + PrimaryKeyID *int64 + PublicKey *string + RawKey *string + Subkeys []*GPGKey + func (g *GPGKey) GetCanCertify() bool + func (g *GPGKey) GetCanEncryptComms() bool + func (g *GPGKey) GetCanEncryptStorage() bool + func (g *GPGKey) GetCanSign() bool + func (g *GPGKey) GetCreatedAt() Timestamp + func (g *GPGKey) GetExpiresAt() Timestamp + func (g *GPGKey) GetID() int64 + func (g *GPGKey) GetKeyID() string + func (g *GPGKey) GetPrimaryKeyID() int64 + func (g *GPGKey) GetPublicKey() string + func (g *GPGKey) GetRawKey() string + func (k GPGKey) String() string + type GenerateJITConfigRequest struct + Labels []string + Name string + RunnerGroupID int64 + WorkFolder *string + func (g *GenerateJITConfigRequest) GetWorkFolder() string + type GenerateNotesOptions struct + PreviousTagName *string + TagName string + TargetCommitish *string + func (g *GenerateNotesOptions) GetPreviousTagName() string + func (g *GenerateNotesOptions) GetTargetCommitish() string + type GetAuditLogOptions struct + Include *string + Order *string + Phrase *string + func (g *GetAuditLogOptions) GetInclude() string + func (g *GetAuditLogOptions) GetOrder() string + func (g *GetAuditLogOptions) GetPhrase() string + type GetCodeownersErrorsOptions struct + Ref string + type Gist struct + Comments *int + CreatedAt *Timestamp + Description *string + Files map[GistFilename]GistFile + GitPullURL *string + GitPushURL *string + HTMLURL *string + ID *string + NodeID *string + Owner *User + Public *bool + UpdatedAt *Timestamp + func (g *Gist) GetComments() int + func (g *Gist) GetCreatedAt() Timestamp + func (g *Gist) GetDescription() string + func (g *Gist) GetFiles() map[GistFilename]GistFile + func (g *Gist) GetGitPullURL() string + func (g *Gist) GetGitPushURL() string + func (g *Gist) GetHTMLURL() string + func (g *Gist) GetID() string + func (g *Gist) GetNodeID() string + func (g *Gist) GetOwner() *User + func (g *Gist) GetPublic() bool + func (g *Gist) GetUpdatedAt() Timestamp + func (g Gist) String() string + type GistComment struct + Body *string + CreatedAt *Timestamp + ID *int64 + URL *string + User *User + func (g *GistComment) GetBody() string + func (g *GistComment) GetCreatedAt() Timestamp + func (g *GistComment) GetID() int64 + func (g *GistComment) GetURL() string + func (g *GistComment) GetUser() *User + func (g GistComment) String() string + type GistCommit struct + ChangeStatus *CommitStats + CommittedAt *Timestamp + NodeID *string + URL *string + User *User + Version *string + func (g *GistCommit) GetChangeStatus() *CommitStats + func (g *GistCommit) GetCommittedAt() Timestamp + func (g *GistCommit) GetNodeID() string + func (g *GistCommit) GetURL() string + func (g *GistCommit) GetUser() *User + func (g *GistCommit) GetVersion() string + func (gc GistCommit) String() string + type GistFile struct + Content *string + Filename *string + Language *string + RawURL *string + Size *int + Type *string + func (g *GistFile) GetContent() string + func (g *GistFile) GetFilename() string + func (g *GistFile) GetLanguage() string + func (g *GistFile) GetRawURL() string + func (g *GistFile) GetSize() int + func (g *GistFile) GetType() string + func (g GistFile) String() string + type GistFilename string + type GistFork struct + CreatedAt *Timestamp + ID *string + NodeID *string + URL *string + UpdatedAt *Timestamp + User *User + func (g *GistFork) GetCreatedAt() Timestamp + func (g *GistFork) GetID() string + func (g *GistFork) GetNodeID() string + func (g *GistFork) GetURL() string + func (g *GistFork) GetUpdatedAt() Timestamp + func (g *GistFork) GetUser() *User + func (gf GistFork) String() string + type GistListOptions struct + Since time.Time + type GistStats struct + PrivateGists *int + PublicGists *int + TotalGists *int + func (g *GistStats) GetPrivateGists() int + func (g *GistStats) GetPublicGists() int + func (g *GistStats) GetTotalGists() int + func (s GistStats) String() string + type GistsService service + func (s *GistsService) Create(ctx context.Context, gist *Gist) (*Gist, *Response, error) + func (s *GistsService) CreateComment(ctx context.Context, gistID string, comment *GistComment) (*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) Edit(ctx context.Context, id string, gist *Gist) (*Gist, *Response, error) + func (s *GistsService) EditComment(ctx context.Context, gistID string, commentID int64, comment *GistComment) (*GistComment, *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) ListComments(ctx context.Context, gistID string, opts *ListOptions) ([]*GistComment, *Response, error) + func (s *GistsService) ListCommits(ctx context.Context, id string, opts *ListOptions) ([]*GistCommit, *Response, error) + func (s *GistsService) ListForks(ctx context.Context, id string, opts *ListOptions) ([]*GistFork, *Response, error) + func (s *GistsService) ListStarred(ctx context.Context, opts *GistListOptions) ([]*Gist, *Response, error) + func (s *GistsService) Star(ctx context.Context, id string) (*Response, error) + func (s *GistsService) Unstar(ctx context.Context, id string) (*Response, error) + type GitHubAppAuthorizationEvent struct + Action *string + Installation *Installation + Sender *User + func (g *GitHubAppAuthorizationEvent) GetAction() string + func (g *GitHubAppAuthorizationEvent) GetInstallation() *Installation + func (g *GitHubAppAuthorizationEvent) GetSender() *User + type GitObject struct + SHA *string + Type *string + URL *string + func (g *GitObject) GetSHA() string + func (g *GitObject) GetType() string + func (g *GitObject) GetURL() string + func (o GitObject) String() string + type GitService service + func (s *GitService) CreateBlob(ctx context.Context, owner string, repo string, blob *Blob) (*Blob, *Response, error) + func (s *GitService) CreateCommit(ctx context.Context, owner string, repo string, commit *Commit, ...) (*Commit, *Response, error) + func (s *GitService) CreateRef(ctx context.Context, owner string, repo string, ref *Reference) (*Reference, *Response, error) + func (s *GitService) CreateTag(ctx context.Context, owner string, repo string, tag *Tag) (*Tag, *Response, error) + func (s *GitService) CreateTree(ctx context.Context, owner string, repo string, baseTree string, ...) (*Tree, *Response, error) + func (s *GitService) DeleteRef(ctx context.Context, owner string, repo string, ref string) (*Response, error) + func (s *GitService) GetBlob(ctx context.Context, owner string, repo string, 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 string, repo string, sha string) (*Commit, *Response, error) + func (s *GitService) GetRef(ctx context.Context, owner string, repo string, ref string) (*Reference, *Response, error) + func (s *GitService) GetTag(ctx context.Context, owner string, repo string, sha string) (*Tag, *Response, error) + func (s *GitService) GetTree(ctx context.Context, owner string, repo string, sha string, recursive bool) (*Tree, *Response, error) + func (s *GitService) ListMatchingRefs(ctx context.Context, owner, repo string, opts *ReferenceListOptions) ([]*Reference, *Response, error) + func (s *GitService) UpdateRef(ctx context.Context, owner string, repo string, ref *Reference, force bool) (*Reference, *Response, error) + type Gitignore struct + Name *string + Source *string + func (g *Gitignore) GetName() string + func (g *Gitignore) GetSource() string + func (g Gitignore) String() string + type GitignoresService service + func (s *GitignoresService) Get(ctx context.Context, name string) (*Gitignore, *Response, error) + func (s *GitignoresService) List(ctx context.Context) ([]string, *Response, error) + type GlobalSecurityAdvisory struct + Credits []*Credit + GithubReviewedAt *Timestamp + ID *int64 + NVDPublishedAt *Timestamp + References []string + RepositoryAdvisoryURL *string + SourceCodeLocation *string + Type *string + Vulnerabilities []*GlobalSecurityVulnerability + func (g *GlobalSecurityAdvisory) GetGithubReviewedAt() Timestamp + func (g *GlobalSecurityAdvisory) GetID() int64 + func (g *GlobalSecurityAdvisory) GetNVDPublishedAt() Timestamp + func (g *GlobalSecurityAdvisory) GetRepositoryAdvisoryURL() string + func (g *GlobalSecurityAdvisory) GetSourceCodeLocation() string + func (g *GlobalSecurityAdvisory) GetType() string + type GlobalSecurityVulnerability struct + FirstPatchedVersion *string + Package *VulnerabilityPackage + VulnerableFunctions []string + VulnerableVersionRange *string + func (g *GlobalSecurityVulnerability) GetFirstPatchedVersion() string + func (g *GlobalSecurityVulnerability) GetPackage() *VulnerabilityPackage + func (g *GlobalSecurityVulnerability) GetVulnerableVersionRange() string + type GollumEvent struct + Installation *Installation + Org *Organization + Pages []*Page + Repo *Repository + Sender *User + func (g *GollumEvent) GetInstallation() *Installation + func (g *GollumEvent) GetOrg() *Organization + func (g *GollumEvent) GetRepo() *Repository + func (g *GollumEvent) GetSender() *User + type Grant struct + App *AuthorizationApp + CreatedAt *Timestamp + ID *int64 + Scopes []string + URL *string + UpdatedAt *Timestamp + func (g *Grant) GetApp() *AuthorizationApp + func (g *Grant) GetCreatedAt() Timestamp + func (g *Grant) GetID() int64 + func (g *Grant) GetURL() string + func (g *Grant) GetUpdatedAt() Timestamp + func (g Grant) String() string + type HeadCommit struct + Added []string + Author *CommitAuthor + Committer *CommitAuthor + Distinct *bool + ID *string + Message *string + Modified []string + Removed []string + SHA *string + Timestamp *Timestamp + TreeID *string + URL *string + func (h *HeadCommit) GetAuthor() *CommitAuthor + func (h *HeadCommit) GetCommitter() *CommitAuthor + func (h *HeadCommit) GetDistinct() bool + func (h *HeadCommit) GetID() string + func (h *HeadCommit) GetMessage() string + func (h *HeadCommit) GetSHA() string + func (h *HeadCommit) GetTimestamp() Timestamp + func (h *HeadCommit) GetTreeID() string + func (h *HeadCommit) GetURL() string + func (h HeadCommit) String() string + type Hook struct + Active *bool + Config *HookConfig + CreatedAt *Timestamp + Events []string + ID *int64 + LastResponse map[string]interface{} + Name *string + PingURL *string + TestURL *string + Type *string + URL *string + UpdatedAt *Timestamp + func (h *Hook) GetActive() bool + func (h *Hook) GetConfig() *HookConfig + func (h *Hook) GetCreatedAt() Timestamp + func (h *Hook) GetID() int64 + func (h *Hook) GetName() string + func (h *Hook) GetPingURL() string + func (h *Hook) GetTestURL() string + func (h *Hook) GetType() string + func (h *Hook) GetURL() string + func (h *Hook) GetUpdatedAt() Timestamp + func (h Hook) String() string + type HookConfig struct + ContentType *string + InsecureSSL *string + Secret *string + URL *string + func (h *HookConfig) GetContentType() string + func (h *HookConfig) GetInsecureSSL() string + func (h *HookConfig) GetSecret() string + func (h *HookConfig) GetURL() string + type HookDelivery struct + Action *string + DeliveredAt *Timestamp + Duration *float64 + Event *string + GUID *string + ID *int64 + InstallationID *int64 + Redelivery *bool + RepositoryID *int64 + Request *HookRequest + Response *HookResponse + Status *string + StatusCode *int + func (d *HookDelivery) ParseRequestPayload() (interface{}, error) + func (d HookDelivery) String() string + func (h *HookDelivery) GetAction() string + func (h *HookDelivery) GetDeliveredAt() Timestamp + func (h *HookDelivery) GetDuration() *float64 + func (h *HookDelivery) GetEvent() string + func (h *HookDelivery) GetGUID() string + func (h *HookDelivery) GetID() int64 + func (h *HookDelivery) GetInstallationID() int64 + func (h *HookDelivery) GetRedelivery() bool + func (h *HookDelivery) GetRepositoryID() int64 + func (h *HookDelivery) GetRequest() *HookRequest + func (h *HookDelivery) GetResponse() *HookResponse + func (h *HookDelivery) GetStatus() string + func (h *HookDelivery) GetStatusCode() int + type HookRequest struct + Headers map[string]string + RawPayload *json.RawMessage + func (h *HookRequest) GetHeaders() map[string]string + func (h *HookRequest) GetRawPayload() json.RawMessage + func (r HookRequest) String() string + type HookResponse struct + Headers map[string]string + RawPayload *json.RawMessage + func (h *HookResponse) GetHeaders() map[string]string + func (h *HookResponse) GetRawPayload() json.RawMessage + func (r HookResponse) String() string + type HookStats struct + ActiveHooks *int + InactiveHooks *int + TotalHooks *int + func (h *HookStats) GetActiveHooks() int + func (h *HookStats) GetInactiveHooks() int + func (h *HookStats) GetTotalHooks() int + func (s HookStats) String() string + type Hovercard struct + Contexts []*UserContext + type HovercardOptions struct + SubjectID string + SubjectType string + type IDPGroup struct + GroupDescription *string + GroupID *string + GroupName *string + func (i *IDPGroup) GetGroupDescription() string + func (i *IDPGroup) GetGroupID() string + func (i *IDPGroup) GetGroupName() string + type IDPGroupList struct + Groups []*IDPGroup + type ImpersonateUserOptions struct + Scopes []string + type Import struct + AuthorsCount *int + AuthorsURL *string + CommitCount *int + FailedStep *string + HTMLURL *string + HasLargeFiles *bool + HumanName *string + LargeFilesCount *int + LargeFilesSize *int + Message *string + Percent *int + ProjectChoices []*Import + PushPercent *int + RepositoryURL *string + Status *string + StatusText *string + TFVCProject *string + URL *string + UseLFS *string + VCS *string + VCSPassword *string + VCSURL *string + VCSUsername *string + func (i *Import) GetAuthorsCount() int + func (i *Import) GetAuthorsURL() string + func (i *Import) GetCommitCount() int + func (i *Import) GetFailedStep() string + func (i *Import) GetHTMLURL() string + func (i *Import) GetHasLargeFiles() bool + func (i *Import) GetHumanName() string + func (i *Import) GetLargeFilesCount() int + func (i *Import) GetLargeFilesSize() int + func (i *Import) GetMessage() string + func (i *Import) GetPercent() int + func (i *Import) GetPushPercent() int + func (i *Import) GetRepositoryURL() string + func (i *Import) GetStatus() string + func (i *Import) GetStatusText() string + func (i *Import) GetTFVCProject() string + func (i *Import) GetURL() string + func (i *Import) GetUseLFS() string + func (i *Import) GetVCS() string + func (i *Import) GetVCSPassword() string + func (i *Import) GetVCSURL() string + func (i *Import) GetVCSUsername() string + func (i Import) String() string + type Installation struct + AccessTokensURL *string + Account *User + AppID *int64 + AppSlug *string + CreatedAt *Timestamp + Events []string + HTMLURL *string + HasMultipleSingleFiles *bool + ID *int64 + NodeID *string + Permissions *InstallationPermissions + RepositoriesURL *string + RepositorySelection *string + SingleFileName *string + SingleFilePaths []string + SuspendedAt *Timestamp + SuspendedBy *User + TargetID *int64 + TargetType *string + UpdatedAt *Timestamp + func (i *Installation) GetAccessTokensURL() string + func (i *Installation) GetAccount() *User + func (i *Installation) GetAppID() int64 + func (i *Installation) GetAppSlug() string + func (i *Installation) GetCreatedAt() Timestamp + func (i *Installation) GetHTMLURL() string + func (i *Installation) GetHasMultipleSingleFiles() bool + func (i *Installation) GetID() int64 + func (i *Installation) GetNodeID() string + func (i *Installation) GetPermissions() *InstallationPermissions + func (i *Installation) GetRepositoriesURL() string + func (i *Installation) GetRepositorySelection() string + func (i *Installation) GetSingleFileName() string + func (i *Installation) GetSuspendedAt() Timestamp + func (i *Installation) GetSuspendedBy() *User + func (i *Installation) GetTargetID() int64 + func (i *Installation) GetTargetType() string + func (i *Installation) GetUpdatedAt() Timestamp + func (i Installation) String() string + type InstallationChanges struct + Login *InstallationLoginChange + Slug *InstallationSlugChange + func (i *InstallationChanges) GetLogin() *InstallationLoginChange + func (i *InstallationChanges) GetSlug() *InstallationSlugChange + type InstallationEvent struct + Action *string + Installation *Installation + Org *Organization + Repositories []*Repository + Requester *User + Sender *User + func (i *InstallationEvent) GetAction() string + func (i *InstallationEvent) GetInstallation() *Installation + func (i *InstallationEvent) GetOrg() *Organization + func (i *InstallationEvent) GetRequester() *User + func (i *InstallationEvent) GetSender() *User + type InstallationLoginChange struct + From *string + func (i *InstallationLoginChange) GetFrom() string + type InstallationPermissions struct + Actions *string + ActionsVariables *string + Administration *string + Attestations *string + Blocking *string + Checks *string + Codespaces *string + CodespacesLifecycleAdmin *string + CodespacesMetadata *string + CodespacesSecrets *string + CodespacesUserSecrets *string + ContentReferences *string + Contents *string + CopilotMessages *string + DependabotSecrets *string + Deployments *string + Discussions *string + Emails *string + Environments *string + Followers *string + GPGKeys *string + Gists *string + GitSigningSSHPublicKeys *string + InteractionLimits *string + Issues *string + Keys *string + Members *string + MergeQueues *string + Metadata *string + OrganizationAPIInsights *string + OrganizationActionsVariables *string + OrganizationAdministration *string + OrganizationAnnouncementBanners *string + OrganizationCodespaces *string + OrganizationCodespacesSecrets *string + OrganizationCodespacesSettings *string + OrganizationCopilotSeatManagement *string + OrganizationCustomOrgRoles *string + OrganizationCustomProperties *string + OrganizationCustomRoles *string + OrganizationDependabotSecrets *string + OrganizationEvents *string + OrganizationHooks *string + OrganizationKnowledgeBases *string + OrganizationPackages *string + OrganizationPersonalAccessTokenRequests *string + OrganizationPersonalAccessTokens *string + OrganizationPlan *string + OrganizationPreReceiveHooks *string + OrganizationProjects *string + OrganizationSecrets *string + OrganizationSelfHostedRunners *string + OrganizationUserBlocking *string + Packages *string + Pages *string + Plan *string + Profile *string + PullRequests *string + RepositoryAdvisories *string + RepositoryCustomProperties *string + RepositoryHooks *string + RepositoryPreReceiveHooks *string + RepositoryProjects *string + SecretScanningAlerts *string + Secrets *string + SecurityEvents *string + SingleFile *string + Starring *string + Statuses *string + TeamDiscussions *string + UserEvents *string + VulnerabilityAlerts *string + Watching *string + Workflows *string + func (i *InstallationPermissions) GetActions() string + func (i *InstallationPermissions) GetActionsVariables() string + func (i *InstallationPermissions) GetAdministration() string + func (i *InstallationPermissions) GetAttestations() string + func (i *InstallationPermissions) GetBlocking() string + func (i *InstallationPermissions) GetChecks() string + func (i *InstallationPermissions) GetCodespaces() string + func (i *InstallationPermissions) GetCodespacesLifecycleAdmin() string + func (i *InstallationPermissions) GetCodespacesMetadata() string + func (i *InstallationPermissions) GetCodespacesSecrets() string + func (i *InstallationPermissions) GetCodespacesUserSecrets() string + func (i *InstallationPermissions) GetContentReferences() string + func (i *InstallationPermissions) GetContents() string + func (i *InstallationPermissions) GetCopilotMessages() string + func (i *InstallationPermissions) GetDependabotSecrets() string + func (i *InstallationPermissions) GetDeployments() string + func (i *InstallationPermissions) GetDiscussions() string + func (i *InstallationPermissions) GetEmails() string + func (i *InstallationPermissions) GetEnvironments() string + func (i *InstallationPermissions) GetFollowers() string + func (i *InstallationPermissions) GetGPGKeys() string + func (i *InstallationPermissions) GetGists() string + func (i *InstallationPermissions) GetGitSigningSSHPublicKeys() string + func (i *InstallationPermissions) GetInteractionLimits() string + func (i *InstallationPermissions) GetIssues() string + func (i *InstallationPermissions) GetKeys() string + func (i *InstallationPermissions) GetMembers() string + func (i *InstallationPermissions) GetMergeQueues() string + func (i *InstallationPermissions) GetMetadata() string + func (i *InstallationPermissions) GetOrganizationAPIInsights() string + func (i *InstallationPermissions) GetOrganizationActionsVariables() string + func (i *InstallationPermissions) GetOrganizationAdministration() string + func (i *InstallationPermissions) GetOrganizationAnnouncementBanners() string + func (i *InstallationPermissions) GetOrganizationCodespaces() string + func (i *InstallationPermissions) GetOrganizationCodespacesSecrets() string + func (i *InstallationPermissions) GetOrganizationCodespacesSettings() string + func (i *InstallationPermissions) GetOrganizationCopilotSeatManagement() string + func (i *InstallationPermissions) GetOrganizationCustomOrgRoles() string + func (i *InstallationPermissions) GetOrganizationCustomProperties() string + func (i *InstallationPermissions) GetOrganizationCustomRoles() string + func (i *InstallationPermissions) GetOrganizationDependabotSecrets() string + func (i *InstallationPermissions) GetOrganizationEvents() string + func (i *InstallationPermissions) GetOrganizationHooks() string + func (i *InstallationPermissions) GetOrganizationKnowledgeBases() string + func (i *InstallationPermissions) GetOrganizationPackages() string + func (i *InstallationPermissions) GetOrganizationPersonalAccessTokenRequests() string + func (i *InstallationPermissions) GetOrganizationPersonalAccessTokens() string + func (i *InstallationPermissions) GetOrganizationPlan() string + func (i *InstallationPermissions) GetOrganizationPreReceiveHooks() string + func (i *InstallationPermissions) GetOrganizationProjects() string + func (i *InstallationPermissions) GetOrganizationSecrets() string + func (i *InstallationPermissions) GetOrganizationSelfHostedRunners() string + func (i *InstallationPermissions) GetOrganizationUserBlocking() string + func (i *InstallationPermissions) GetPackages() string + func (i *InstallationPermissions) GetPages() string + func (i *InstallationPermissions) GetPlan() string + func (i *InstallationPermissions) GetProfile() string + func (i *InstallationPermissions) GetPullRequests() string + func (i *InstallationPermissions) GetRepositoryAdvisories() string + func (i *InstallationPermissions) GetRepositoryCustomProperties() string + func (i *InstallationPermissions) GetRepositoryHooks() string + func (i *InstallationPermissions) GetRepositoryPreReceiveHooks() string + func (i *InstallationPermissions) GetRepositoryProjects() string + func (i *InstallationPermissions) GetSecretScanningAlerts() string + func (i *InstallationPermissions) GetSecrets() string + func (i *InstallationPermissions) GetSecurityEvents() string + func (i *InstallationPermissions) GetSingleFile() string + func (i *InstallationPermissions) GetStarring() string + func (i *InstallationPermissions) GetStatuses() string + func (i *InstallationPermissions) GetTeamDiscussions() string + func (i *InstallationPermissions) GetUserEvents() string + func (i *InstallationPermissions) GetVulnerabilityAlerts() string + func (i *InstallationPermissions) GetWatching() string + func (i *InstallationPermissions) GetWorkflows() string + type InstallationRepositoriesEvent struct + Action *string + Installation *Installation + Org *Organization + RepositoriesAdded []*Repository + RepositoriesRemoved []*Repository + RepositorySelection *string + Sender *User + func (i *InstallationRepositoriesEvent) GetAction() string + func (i *InstallationRepositoriesEvent) GetInstallation() *Installation + func (i *InstallationRepositoriesEvent) GetOrg() *Organization + func (i *InstallationRepositoriesEvent) GetRepositorySelection() string + func (i *InstallationRepositoriesEvent) GetSender() *User + type InstallationRequest struct + Account *User + CreatedAt *Timestamp + ID *int64 + NodeID *string + Requester *User + func (i *InstallationRequest) GetAccount() *User + func (i *InstallationRequest) GetCreatedAt() Timestamp + func (i *InstallationRequest) GetID() int64 + func (i *InstallationRequest) GetNodeID() string + func (i *InstallationRequest) GetRequester() *User + type InstallationSlugChange struct + From *string + func (i *InstallationSlugChange) GetFrom() string + type InstallationTargetEvent struct + Account *User + Action *string + Changes *InstallationChanges + Enterprise *Enterprise + Installation *Installation + Organization *Organization + Repository *Repository + Sender *User + TargetType *string + func (i *InstallationTargetEvent) GetAccount() *User + func (i *InstallationTargetEvent) GetAction() string + func (i *InstallationTargetEvent) GetChanges() *InstallationChanges + func (i *InstallationTargetEvent) GetEnterprise() *Enterprise + func (i *InstallationTargetEvent) GetInstallation() *Installation + func (i *InstallationTargetEvent) GetOrganization() *Organization + func (i *InstallationTargetEvent) GetRepository() *Repository + func (i *InstallationTargetEvent) GetSender() *User + func (i *InstallationTargetEvent) GetTargetType() string + type InstallationToken struct + ExpiresAt *Timestamp + Permissions *InstallationPermissions + Repositories []*Repository + Token *string + func (i *InstallationToken) GetExpiresAt() Timestamp + func (i *InstallationToken) GetPermissions() *InstallationPermissions + func (i *InstallationToken) GetToken() string + type InstallationTokenListRepoOptions struct + Permissions *InstallationPermissions + Repositories []string + RepositoryIDs []int64 + func (i *InstallationTokenListRepoOptions) GetPermissions() *InstallationPermissions + type InstallationTokenOptions struct + Permissions *InstallationPermissions + Repositories []string + RepositoryIDs []int64 + func (i *InstallationTokenOptions) GetPermissions() *InstallationPermissions + type InteractionRestriction struct + ExpiresAt *Timestamp + Limit *string + Origin *string + func (i *InteractionRestriction) GetExpiresAt() Timestamp + func (i *InteractionRestriction) GetLimit() string + func (i *InteractionRestriction) GetOrigin() string + type InteractionsService service + 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 struct + CreatedAt *Timestamp + Email *string + FailedAt *Timestamp + FailedReason *string + ID *int64 + InvitationTeamURL *string + Inviter *User + Login *string + NodeID *string + Role *string + TeamCount *int + func (i *Invitation) GetCreatedAt() Timestamp + func (i *Invitation) GetEmail() string + func (i *Invitation) GetFailedAt() Timestamp + func (i *Invitation) GetFailedReason() string + func (i *Invitation) GetID() int64 + func (i *Invitation) GetInvitationTeamURL() string + func (i *Invitation) GetInviter() *User + func (i *Invitation) GetLogin() string + func (i *Invitation) GetNodeID() string + func (i *Invitation) GetRole() string + func (i *Invitation) GetTeamCount() int + func (i Invitation) String() string + type Issue struct + ActiveLockReason *string + Assignee *User + Assignees []*User + AuthorAssociation *string + Body *string + ClosedAt *Timestamp + ClosedBy *User + Comments *int + CommentsURL *string + CreatedAt *Timestamp + Draft *bool + EventsURL *string + HTMLURL *string + ID *int64 + Labels []*Label + LabelsURL *string + Locked *bool + Milestone *Milestone + NodeID *string + Number *int + PullRequestLinks *PullRequestLinks + Reactions *Reactions + Repository *Repository + RepositoryURL *string + State *string + StateReason *string + TextMatches []*TextMatch + Title *string + URL *string + UpdatedAt *Timestamp + User *User + func (i *Issue) GetActiveLockReason() string + func (i *Issue) GetAssignee() *User + func (i *Issue) GetAuthorAssociation() string + func (i *Issue) GetBody() string + func (i *Issue) GetClosedAt() Timestamp + func (i *Issue) GetClosedBy() *User + func (i *Issue) GetComments() int + func (i *Issue) GetCommentsURL() string + func (i *Issue) GetCreatedAt() Timestamp + func (i *Issue) GetDraft() bool + func (i *Issue) GetEventsURL() string + func (i *Issue) GetHTMLURL() string + func (i *Issue) GetID() int64 + func (i *Issue) GetLabelsURL() string + func (i *Issue) GetLocked() bool + func (i *Issue) GetMilestone() *Milestone + func (i *Issue) GetNodeID() string + func (i *Issue) GetNumber() int + func (i *Issue) GetPullRequestLinks() *PullRequestLinks + func (i *Issue) GetReactions() *Reactions + func (i *Issue) GetRepository() *Repository + func (i *Issue) GetRepositoryURL() string + func (i *Issue) GetState() string + func (i *Issue) GetStateReason() string + func (i *Issue) GetTitle() string + func (i *Issue) GetURL() string + func (i *Issue) GetUpdatedAt() Timestamp + func (i *Issue) GetUser() *User + func (i Issue) IsPullRequest() bool + func (i Issue) String() string + type IssueComment struct + AuthorAssociation *string + Body *string + CreatedAt *Timestamp + HTMLURL *string + ID *int64 + IssueURL *string + NodeID *string + Reactions *Reactions + URL *string + UpdatedAt *Timestamp + User *User + func (i *IssueComment) GetAuthorAssociation() string + func (i *IssueComment) GetBody() string + func (i *IssueComment) GetCreatedAt() Timestamp + func (i *IssueComment) GetHTMLURL() string + func (i *IssueComment) GetID() int64 + func (i *IssueComment) GetIssueURL() string + func (i *IssueComment) GetNodeID() string + func (i *IssueComment) GetReactions() *Reactions + func (i *IssueComment) GetURL() string + func (i *IssueComment) GetUpdatedAt() Timestamp + func (i *IssueComment) GetUser() *User + func (i IssueComment) String() string + type IssueCommentEvent struct + Action *string + Changes *EditChange + Comment *IssueComment + Installation *Installation + Issue *Issue + Organization *Organization + Repo *Repository + Sender *User + func (i *IssueCommentEvent) GetAction() string + func (i *IssueCommentEvent) GetChanges() *EditChange + func (i *IssueCommentEvent) GetComment() *IssueComment + func (i *IssueCommentEvent) GetInstallation() *Installation + func (i *IssueCommentEvent) GetIssue() *Issue + func (i *IssueCommentEvent) GetOrganization() *Organization + func (i *IssueCommentEvent) GetRepo() *Repository + func (i *IssueCommentEvent) GetSender() *User + type IssueEvent struct + Action string + Actor *User + Assignee *User + Assigner *User + CommitID *string + CreatedAt *Timestamp + DismissedReview *DismissedReview + Event *string + ID *int64 + Issue *Issue + Label *Label + LockReason *string + Milestone *Milestone + PerformedViaGithubApp *App + Rename *Rename + Repository *Repository + RequestedReviewer *User + RequestedTeam *Team + ReviewRequester *User + URL *string + func (i *IssueEvent) GetActor() *User + func (i *IssueEvent) GetAssignee() *User + func (i *IssueEvent) GetAssigner() *User + func (i *IssueEvent) GetCommitID() string + func (i *IssueEvent) GetCreatedAt() Timestamp + func (i *IssueEvent) GetDismissedReview() *DismissedReview + func (i *IssueEvent) GetEvent() string + func (i *IssueEvent) GetID() int64 + func (i *IssueEvent) GetIssue() *Issue + func (i *IssueEvent) GetLabel() *Label + func (i *IssueEvent) GetLockReason() string + func (i *IssueEvent) GetMilestone() *Milestone + func (i *IssueEvent) GetPerformedViaGithubApp() *App + func (i *IssueEvent) GetRename() *Rename + func (i *IssueEvent) GetRepository() *Repository + func (i *IssueEvent) GetRequestedReviewer() *User + func (i *IssueEvent) GetRequestedTeam() *Team + func (i *IssueEvent) GetReviewRequester() *User + func (i *IssueEvent) GetURL() string + type IssueImport struct + Assignee *string + Body string + Closed *bool + ClosedAt *Timestamp + CreatedAt *Timestamp + Labels []string + Milestone *int + Title string + UpdatedAt *Timestamp + func (i *IssueImport) GetAssignee() string + func (i *IssueImport) GetClosed() bool + func (i *IssueImport) GetClosedAt() Timestamp + func (i *IssueImport) GetCreatedAt() Timestamp + func (i *IssueImport) GetMilestone() int + func (i *IssueImport) GetUpdatedAt() Timestamp + type IssueImportError struct + Code *string + Field *string + Location *string + Resource *string + Value *string + func (i *IssueImportError) GetCode() string + func (i *IssueImportError) GetField() string + func (i *IssueImportError) GetLocation() string + func (i *IssueImportError) GetResource() string + func (i *IssueImportError) GetValue() string + type IssueImportRequest struct + Comments []*Comment + IssueImport IssueImport + type IssueImportResponse struct + CreatedAt *Timestamp + DocumentationURL *string + Errors []*IssueImportError + ID *int + ImportIssuesURL *string + Message *string + RepositoryURL *string + Status *string + URL *string + UpdatedAt *Timestamp + func (i *IssueImportResponse) GetCreatedAt() Timestamp + func (i *IssueImportResponse) GetDocumentationURL() string + func (i *IssueImportResponse) GetID() int + func (i *IssueImportResponse) GetImportIssuesURL() string + func (i *IssueImportResponse) GetMessage() string + func (i *IssueImportResponse) GetRepositoryURL() string + func (i *IssueImportResponse) GetStatus() string + func (i *IssueImportResponse) GetURL() string + func (i *IssueImportResponse) GetUpdatedAt() Timestamp + type IssueImportService service + 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, issue *IssueImportRequest) (*IssueImportResponse, *Response, error) + type IssueListByRepoOptions struct + Assignee string + Creator string + Direction string + Labels []string + Mentioned string + Milestone string + Since time.Time + Sort string + State string + type IssueListCommentsOptions struct + Direction *string + Since *time.Time + Sort *string + func (i *IssueListCommentsOptions) GetDirection() string + func (i *IssueListCommentsOptions) GetSince() time.Time + func (i *IssueListCommentsOptions) GetSort() string + type IssueListOptions struct + Direction string + Filter string + Labels []string + Since time.Time + Sort string + State string + type IssueRequest struct + Assignee *string + Assignees *[]string + Body *string + Labels *[]string + Milestone *int + State *string + StateReason *string + Title *string + func (i *IssueRequest) GetAssignee() string + func (i *IssueRequest) GetAssignees() []string + func (i *IssueRequest) GetBody() string + func (i *IssueRequest) GetLabels() []string + func (i *IssueRequest) GetMilestone() int + func (i *IssueRequest) GetState() string + func (i *IssueRequest) GetStateReason() string + func (i *IssueRequest) GetTitle() string + type IssueStats struct + ClosedIssues *int + OpenIssues *int + TotalIssues *int + func (i *IssueStats) GetClosedIssues() int + func (i *IssueStats) GetOpenIssues() int + func (i *IssueStats) GetTotalIssues() int + func (s IssueStats) String() string + type IssuesEvent struct + Action *string + Assignee *User + Changes *EditChange + Installation *Installation + Issue *Issue + Label *Label + Milestone *Milestone + Org *Organization + Repo *Repository + Sender *User + func (i *IssuesEvent) GetAction() string + func (i *IssuesEvent) GetAssignee() *User + func (i *IssuesEvent) GetChanges() *EditChange + func (i *IssuesEvent) GetInstallation() *Installation + func (i *IssuesEvent) GetIssue() *Issue + func (i *IssuesEvent) GetLabel() *Label + func (i *IssuesEvent) GetMilestone() *Milestone + func (i *IssuesEvent) GetOrg() *Organization + func (i *IssuesEvent) GetRepo() *Repository + func (i *IssuesEvent) GetSender() *User + type IssuesSearchResult struct + IncompleteResults *bool + Issues []*Issue + Total *int + func (i *IssuesSearchResult) GetIncompleteResults() bool + func (i *IssuesSearchResult) GetTotal() int + type IssuesService service + func (s *IssuesService) AddAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*Issue, *Response, error) + func (s *IssuesService) AddLabelsToIssue(ctx context.Context, owner string, repo string, number int, labels []string) ([]*Label, *Response, error) + func (s *IssuesService) Create(ctx context.Context, owner string, repo string, issue *IssueRequest) (*Issue, *Response, error) + func (s *IssuesService) CreateComment(ctx context.Context, owner string, repo string, number int, ...) (*IssueComment, *Response, error) + func (s *IssuesService) CreateLabel(ctx context.Context, owner string, repo string, label *Label) (*Label, *Response, error) + func (s *IssuesService) CreateMilestone(ctx context.Context, owner string, repo string, milestone *Milestone) (*Milestone, *Response, error) + func (s *IssuesService) DeleteComment(ctx context.Context, owner string, repo string, commentID int64) (*Response, error) + func (s *IssuesService) DeleteLabel(ctx context.Context, owner string, repo string, name string) (*Response, error) + func (s *IssuesService) DeleteMilestone(ctx context.Context, owner string, repo string, number int) (*Response, error) + func (s *IssuesService) Edit(ctx context.Context, owner string, repo string, number int, ...) (*Issue, *Response, error) + func (s *IssuesService) EditComment(ctx context.Context, owner string, repo string, commentID int64, ...) (*IssueComment, *Response, error) + func (s *IssuesService) EditLabel(ctx context.Context, owner string, repo string, name string, label *Label) (*Label, *Response, error) + func (s *IssuesService) EditMilestone(ctx context.Context, owner string, repo string, number int, ...) (*Milestone, *Response, error) + func (s *IssuesService) Get(ctx context.Context, owner string, repo string, number int) (*Issue, *Response, error) + func (s *IssuesService) GetComment(ctx context.Context, owner string, 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 string, repo string, name string) (*Label, *Response, error) + func (s *IssuesService) GetMilestone(ctx context.Context, owner string, repo string, number int) (*Milestone, *Response, error) + func (s *IssuesService) IsAssignee(ctx context.Context, owner, repo, user string) (bool, *Response, error) + func (s *IssuesService) List(ctx context.Context, all bool, opts *IssueListOptions) ([]*Issue, *Response, error) + func (s *IssuesService) ListAssignees(ctx context.Context, owner, repo string, opts *ListOptions) ([]*User, *Response, error) + func (s *IssuesService) ListByOrg(ctx context.Context, org string, opts *IssueListOptions) ([]*Issue, *Response, error) + func (s *IssuesService) ListByRepo(ctx context.Context, owner string, repo string, opts *IssueListByRepoOptions) ([]*Issue, *Response, error) + func (s *IssuesService) ListComments(ctx context.Context, owner string, repo string, number int, ...) ([]*IssueComment, *Response, error) + func (s *IssuesService) ListIssueEvents(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*IssueEvent, *Response, error) + func (s *IssuesService) ListIssueTimeline(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*Timeline, *Response, error) + func (s *IssuesService) ListLabels(ctx context.Context, owner string, repo string, opts *ListOptions) ([]*Label, *Response, error) + func (s *IssuesService) ListLabelsByIssue(ctx context.Context, owner string, repo string, number int, opts *ListOptions) ([]*Label, *Response, error) + func (s *IssuesService) ListLabelsForMilestone(ctx context.Context, owner string, repo string, number int, opts *ListOptions) ([]*Label, *Response, error) + func (s *IssuesService) ListMilestones(ctx context.Context, owner string, repo string, opts *MilestoneListOptions) ([]*Milestone, *Response, error) + func (s *IssuesService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *ListOptions) ([]*IssueEvent, *Response, error) + func (s *IssuesService) Lock(ctx context.Context, owner string, repo string, number int, ...) (*Response, error) + func (s *IssuesService) RemoveAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*Issue, *Response, error) + func (s *IssuesService) RemoveLabelForIssue(ctx context.Context, owner string, repo string, number int, label string) (*Response, error) + func (s *IssuesService) RemoveLabelsForIssue(ctx context.Context, owner string, 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 string, repo string, number int, labels []string) ([]*Label, *Response, error) + func (s *IssuesService) Unlock(ctx context.Context, owner string, repo string, number int) (*Response, error) + type JITRunnerConfig struct + EncodedJITConfig *string + Runner *Runner + func (j *JITRunnerConfig) GetEncodedJITConfig() string + func (j *JITRunnerConfig) GetRunner() *Runner + type Jobs struct + Jobs []*WorkflowJob + TotalCount *int + func (j *Jobs) GetTotalCount() int + type Key struct + AddedBy *string + CreatedAt *Timestamp + ID *int64 + Key *string + LastUsed *Timestamp + ReadOnly *bool + Title *string + URL *string + Verified *bool + func (k *Key) GetAddedBy() string + func (k *Key) GetCreatedAt() Timestamp + func (k *Key) GetID() int64 + func (k *Key) GetKey() string + func (k *Key) GetLastUsed() Timestamp + func (k *Key) GetReadOnly() bool + func (k *Key) GetTitle() string + func (k *Key) GetURL() string + func (k *Key) GetVerified() bool + func (k Key) String() string + type Label struct + Color *string + Default *bool + Description *string + ID *int64 + Name *string + NodeID *string + URL *string + func (l *Label) GetColor() string + func (l *Label) GetDefault() bool + func (l *Label) GetDescription() string + func (l *Label) GetID() int64 + func (l *Label) GetName() string + func (l *Label) GetNodeID() string + func (l *Label) GetURL() string + func (l Label) String() string + type LabelEvent struct + Action *string + Changes *EditChange + Installation *Installation + Label *Label + Org *Organization + Repo *Repository + Sender *User + func (l *LabelEvent) GetAction() string + func (l *LabelEvent) GetChanges() *EditChange + func (l *LabelEvent) GetInstallation() *Installation + func (l *LabelEvent) GetLabel() *Label + func (l *LabelEvent) GetOrg() *Organization + func (l *LabelEvent) GetRepo() *Repository + func (l *LabelEvent) GetSender() *User + type LabelResult struct + Color *string + Default *bool + Description *string + ID *int64 + Name *string + Score *float64 + URL *string + func (l *LabelResult) GetColor() string + func (l *LabelResult) GetDefault() bool + func (l *LabelResult) GetDescription() string + func (l *LabelResult) GetID() int64 + func (l *LabelResult) GetName() string + func (l *LabelResult) GetScore() *float64 + func (l *LabelResult) GetURL() string + func (l LabelResult) String() string + type LabelsSearchResult struct + IncompleteResults *bool + Labels []*LabelResult + Total *int + func (l *LabelsSearchResult) GetIncompleteResults() bool + func (l *LabelsSearchResult) GetTotal() int + type LargeFile struct + OID *string + Path *string + RefName *string + Size *int + func (f LargeFile) String() string + func (l *LargeFile) GetOID() string + func (l *LargeFile) GetPath() string + func (l *LargeFile) GetRefName() string + func (l *LargeFile) GetSize() int + type License struct + Body *string + Conditions *[]string + Description *string + Featured *bool + HTMLURL *string + Implementation *string + Key *string + Limitations *[]string + Name *string + Permissions *[]string + SPDXID *string + URL *string + func (l *License) GetBody() string + func (l *License) GetConditions() []string + func (l *License) GetDescription() string + func (l *License) GetFeatured() bool + func (l *License) GetHTMLURL() string + func (l *License) GetImplementation() string + func (l *License) GetKey() string + func (l *License) GetLimitations() []string + func (l *License) GetName() string + func (l *License) GetPermissions() []string + func (l *License) GetSPDXID() string + func (l *License) GetURL() string + func (l License) String() string + type LicensesService service + func (s *LicensesService) Get(ctx context.Context, licenseName string) (*License, *Response, error) + func (s *LicensesService) List(ctx context.Context) ([]*License, *Response, error) + type LinearHistoryRequirementEnforcementLevelChanges struct + From *string + func (l *LinearHistoryRequirementEnforcementLevelChanges) GetFrom() string + type ListAlertsOptions struct + Direction *string + Ecosystem *string + Package *string + Scope *string + Severity *string + Sort *string + State *string + func (l *ListAlertsOptions) GetDirection() string + func (l *ListAlertsOptions) GetEcosystem() string + func (l *ListAlertsOptions) GetPackage() string + func (l *ListAlertsOptions) GetScope() string + func (l *ListAlertsOptions) GetSeverity() string + func (l *ListAlertsOptions) GetSort() string + func (l *ListAlertsOptions) GetState() string + type ListArtifactsOptions struct + Name *string + func (l *ListArtifactsOptions) GetName() string + type ListCheckRunsOptions struct + AppID *int64 + CheckName *string + Filter *string + Status *string + func (l *ListCheckRunsOptions) GetAppID() int64 + func (l *ListCheckRunsOptions) GetCheckName() string + func (l *ListCheckRunsOptions) GetFilter() string + func (l *ListCheckRunsOptions) GetStatus() string + type ListCheckRunsResults struct + CheckRuns []*CheckRun + Total *int + func (l *ListCheckRunsResults) GetTotal() int + type ListCheckSuiteOptions struct + AppID *int + CheckName *string + func (l *ListCheckSuiteOptions) GetAppID() int + func (l *ListCheckSuiteOptions) GetCheckName() string + type ListCheckSuiteResults struct + CheckSuites []*CheckSuite + Total *int + func (l *ListCheckSuiteResults) GetTotal() int + type ListCodespaces struct + Codespaces []*Codespace + TotalCount *int + func (l *ListCodespaces) GetTotalCount() int + type ListCodespacesOptions struct + RepositoryID int64 + type ListCollaboratorsOptions struct + Affiliation string + Permission string + type ListCommentReactionOptions struct + Content string + type ListContributorsOptions struct + Anon string + type ListCopilotSeatsResponse struct + Seats []*CopilotSeatDetails + TotalSeats int64 + type ListCursorOptions struct + After string + Before string + Cursor string + First int + Last int + Page string + PerPage int + type ListCustomDeploymentRuleIntegrationsResponse struct + AvailableIntegrations []*CustomDeploymentProtectionRuleApp + TotalCount *int + func (l *ListCustomDeploymentRuleIntegrationsResponse) GetTotalCount() int + type ListDeploymentProtectionRuleResponse struct + ProtectionRules []*CustomDeploymentProtectionRule + TotalCount *int + func (l *ListDeploymentProtectionRuleResponse) GetTotalCount() int + type ListEnterpriseRunnerGroupOptions struct + VisibleToOrganization string + type ListExternalGroupsOptions struct + DisplayName *string + func (l *ListExternalGroupsOptions) GetDisplayName() string + type ListFineGrainedPATOptions struct + Direction string + LastUsedAfter string + LastUsedBefore string + Owner []string + Permission string + Repository string + Sort string + type ListGlobalSecurityAdvisoriesOptions struct + Affects *string + CVEID *string + CWEs []string + Ecosystem *string + GHSAID *string + IsWithdrawn *bool + Modified *string + Published *string + Severity *string + Type *string + Updated *string + func (l *ListGlobalSecurityAdvisoriesOptions) GetAffects() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetCVEID() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetEcosystem() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetGHSAID() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetIsWithdrawn() bool + func (l *ListGlobalSecurityAdvisoriesOptions) GetModified() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetPublished() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetSeverity() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetType() string + func (l *ListGlobalSecurityAdvisoriesOptions) GetUpdated() string + type ListIDPGroupsOptions struct + Query string + type ListMembersOptions struct + Filter string + PublicOnly bool + Role string + type ListOptions struct + Page int + PerPage int + type ListOrgMembershipsOptions struct + State string + type ListOrgRunnerGroupOptions struct + VisibleToRepository string + type ListOrganizations struct + Organizations []*Organization + TotalCount *int + func (l *ListOrganizations) GetTotalCount() int + type ListOutsideCollaboratorsOptions struct + Filter string + type ListRepositories struct + Repositories []*Repository + TotalCount *int + func (l *ListRepositories) GetTotalCount() int + type ListRepositorySecurityAdvisoriesOptions struct + Direction string + Sort string + State string + type ListRunnersOptions struct + Name *string + func (l *ListRunnersOptions) GetName() string + type ListSCIMProvisionedIdentitiesOptions struct + Count *int + Filter *string + StartIndex *int + func (l *ListSCIMProvisionedIdentitiesOptions) GetCount() int + func (l *ListSCIMProvisionedIdentitiesOptions) GetFilter() string + func (l *ListSCIMProvisionedIdentitiesOptions) GetStartIndex() int + type ListWorkflowJobsOptions struct + Filter string + type ListWorkflowRunsOptions struct + Actor string + Branch string + CheckSuiteID int64 + Created string + Event string + ExcludePullRequests bool + HeadSHA string + Status string + type Location struct + EndColumn *int + EndLine *int + Path *string + StartColumn *int + StartLine *int + func (l *Location) GetEndColumn() int + func (l *Location) GetEndLine() int + func (l *Location) GetPath() string + func (l *Location) GetStartColumn() int + func (l *Location) GetStartLine() int + type LockBranch struct + Enabled *bool + func (l *LockBranch) GetEnabled() bool + type LockIssueOptions struct + LockReason string + type MarkdownOptions struct + Context string + Mode string + type MarkdownService service + func (s *MarkdownService) Render(ctx context.Context, text string, opts *MarkdownOptions) (string, *Response, error) + type MarketplacePendingChange struct + EffectiveDate *Timestamp + ID *int64 + Plan *MarketplacePlan + UnitCount *int + func (m *MarketplacePendingChange) GetEffectiveDate() Timestamp + func (m *MarketplacePendingChange) GetID() int64 + func (m *MarketplacePendingChange) GetPlan() *MarketplacePlan + func (m *MarketplacePendingChange) GetUnitCount() int + type MarketplacePlan struct + AccountsURL *string + Bullets *[]string + Description *string + HasFreeTrial *bool + ID *int64 + MonthlyPriceInCents *int + Name *string + Number *int + PriceModel *string + State *string + URL *string + UnitName *string + YearlyPriceInCents *int + func (m *MarketplacePlan) GetAccountsURL() string + func (m *MarketplacePlan) GetBullets() []string + func (m *MarketplacePlan) GetDescription() string + func (m *MarketplacePlan) GetHasFreeTrial() bool + func (m *MarketplacePlan) GetID() int64 + func (m *MarketplacePlan) GetMonthlyPriceInCents() int + func (m *MarketplacePlan) GetName() string + func (m *MarketplacePlan) GetNumber() int + func (m *MarketplacePlan) GetPriceModel() string + func (m *MarketplacePlan) GetState() string + func (m *MarketplacePlan) GetURL() string + func (m *MarketplacePlan) GetUnitName() string + func (m *MarketplacePlan) GetYearlyPriceInCents() int + type MarketplacePlanAccount struct + ID *int64 + Login *string + MarketplacePendingChange *MarketplacePendingChange + MarketplacePurchase *MarketplacePurchase + OrganizationBillingEmail *string + Type *string + URL *string + func (m *MarketplacePlanAccount) GetID() int64 + func (m *MarketplacePlanAccount) GetLogin() string + func (m *MarketplacePlanAccount) GetMarketplacePendingChange() *MarketplacePendingChange + func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase + func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string + func (m *MarketplacePlanAccount) GetType() string + func (m *MarketplacePlanAccount) GetURL() string + type MarketplacePurchase struct + Account *MarketplacePurchaseAccount + BillingCycle *string + FreeTrialEndsOn *Timestamp + NextBillingDate *Timestamp + OnFreeTrial *bool + Plan *MarketplacePlan + UnitCount *int + UpdatedAt *Timestamp + func (m *MarketplacePurchase) GetAccount() *MarketplacePurchaseAccount + func (m *MarketplacePurchase) GetBillingCycle() string + func (m *MarketplacePurchase) GetFreeTrialEndsOn() Timestamp + func (m *MarketplacePurchase) GetNextBillingDate() Timestamp + func (m *MarketplacePurchase) GetOnFreeTrial() bool + func (m *MarketplacePurchase) GetPlan() *MarketplacePlan + func (m *MarketplacePurchase) GetUnitCount() int + func (m *MarketplacePurchase) GetUpdatedAt() Timestamp + type MarketplacePurchaseAccount struct + Email *string + ID *int64 + Login *string + NodeID *string + OrganizationBillingEmail *string + Type *string + URL *string + func (m *MarketplacePurchaseAccount) GetEmail() string + func (m *MarketplacePurchaseAccount) GetID() int64 + func (m *MarketplacePurchaseAccount) GetLogin() string + func (m *MarketplacePurchaseAccount) GetNodeID() string + func (m *MarketplacePurchaseAccount) GetOrganizationBillingEmail() string + func (m *MarketplacePurchaseAccount) GetType() string + func (m *MarketplacePurchaseAccount) GetURL() string + type MarketplacePurchaseEvent struct + Action *string + EffectiveDate *Timestamp + Installation *Installation + MarketplacePurchase *MarketplacePurchase + Org *Organization + PreviousMarketplacePurchase *MarketplacePurchase + Sender *User + func (m *MarketplacePurchaseEvent) GetAction() string + func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp + func (m *MarketplacePurchaseEvent) GetInstallation() *Installation + func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase + func (m *MarketplacePurchaseEvent) GetOrg() *Organization + func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase + func (m *MarketplacePurchaseEvent) GetSender() *User + type MarketplaceService struct + Stubbed bool + func (s *MarketplaceService) GetPlanAccountForAccount(ctx context.Context, accountID int64) (*MarketplacePlanAccount, *Response, error) + func (s *MarketplaceService) ListMarketplacePurchasesForUser(ctx context.Context, opts *ListOptions) ([]*MarketplacePurchase, *Response, error) + func (s *MarketplaceService) ListPlanAccountsForPlan(ctx context.Context, planID int64, opts *ListOptions) ([]*MarketplacePlanAccount, *Response, error) + func (s *MarketplaceService) ListPlans(ctx context.Context, opts *ListOptions) ([]*MarketplacePlan, *Response, error) + type Match struct + Indices []int + Text *string + func (m *Match) GetText() string + type MemberChanges struct + Permission *MemberChangesPermission + RoleName *MemberChangesRoleName + func (m *MemberChanges) GetPermission() *MemberChangesPermission + func (m *MemberChanges) GetRoleName() *MemberChangesRoleName + type MemberChangesPermission struct + From *string + To *string + func (m *MemberChangesPermission) GetFrom() string + func (m *MemberChangesPermission) GetTo() string + type MemberChangesRoleName struct + From *string + To *string + func (m *MemberChangesRoleName) GetFrom() string + func (m *MemberChangesRoleName) GetTo() string + type MemberEvent struct + Action *string + Changes *MemberChanges + Installation *Installation + Member *User + Org *Organization + Repo *Repository + Sender *User + func (m *MemberEvent) GetAction() string + func (m *MemberEvent) GetChanges() *MemberChanges + func (m *MemberEvent) GetInstallation() *Installation + func (m *MemberEvent) GetMember() *User + func (m *MemberEvent) GetOrg() *Organization + func (m *MemberEvent) GetRepo() *Repository + func (m *MemberEvent) GetSender() *User + type Membership struct + Organization *Organization + OrganizationURL *string + Role *string + State *string + URL *string + User *User + func (m *Membership) GetOrganization() *Organization + func (m *Membership) GetOrganizationURL() string + func (m *Membership) GetRole() string + func (m *Membership) GetState() string + func (m *Membership) GetURL() string + func (m *Membership) GetUser() *User + func (m Membership) String() string + type MembershipEvent struct + Action *string + Installation *Installation + Member *User + Org *Organization + Scope *string + Sender *User + Team *Team + func (m *MembershipEvent) GetAction() string + func (m *MembershipEvent) GetInstallation() *Installation + func (m *MembershipEvent) GetMember() *User + func (m *MembershipEvent) GetOrg() *Organization + func (m *MembershipEvent) GetScope() string + func (m *MembershipEvent) GetSender() *User + func (m *MembershipEvent) GetTeam() *Team + type MergeGroup struct + BaseRef *string + BaseSHA *string + HeadCommit *Commit + HeadRef *string + HeadSHA *string + func (m *MergeGroup) GetBaseRef() string + func (m *MergeGroup) GetBaseSHA() string + func (m *MergeGroup) GetHeadCommit() *Commit + func (m *MergeGroup) GetHeadRef() string + func (m *MergeGroup) GetHeadSHA() string + type MergeGroupEvent struct + Action *string + Installation *Installation + MergeGroup *MergeGroup + Org *Organization + Repo *Repository + Sender *User + func (m *MergeGroupEvent) GetAction() string + func (m *MergeGroupEvent) GetInstallation() *Installation + func (m *MergeGroupEvent) GetMergeGroup() *MergeGroup + func (m *MergeGroupEvent) GetOrg() *Organization + func (m *MergeGroupEvent) GetRepo() *Repository + func (m *MergeGroupEvent) GetSender() *User + type MergeQueueRuleParameters struct + CheckResponseTimeoutMinutes int + GroupingStrategy string + MaxEntriesToBuild int + MaxEntriesToMerge int + MergeMethod string + MinEntriesToMerge int + MinEntriesToMergeWaitMinutes int + type Message struct + Text *string + func (m *Message) GetText() string + type MessageSigner interface + Sign func(w io.Writer, r io.Reader) error + type MessageSignerFunc func(w io.Writer, r io.Reader) error + func (f MessageSignerFunc) Sign(w io.Writer, r io.Reader) error + type MetaEvent struct + Action *string + Hook *Hook + HookID *int64 + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (m *MetaEvent) GetAction() string + func (m *MetaEvent) GetHook() *Hook + func (m *MetaEvent) GetHookID() int64 + func (m *MetaEvent) GetInstallation() *Installation + func (m *MetaEvent) GetOrg() *Organization + func (m *MetaEvent) GetRepo() *Repository + func (m *MetaEvent) GetSender() *User + type MetaService service + func (s *MetaService) Get(ctx context.Context) (*APIMeta, *Response, error) + func (s *MetaService) Octocat(ctx context.Context, message string) (string, *Response, error) + func (s *MetaService) Zen(ctx context.Context) (string, *Response, error) + type Metric struct + HTMLURL *string + Key *string + Name *string + NodeID *string + SPDXID *string + URL *string + func (m *Metric) GetHTMLURL() string + func (m *Metric) GetKey() string + func (m *Metric) GetName() string + func (m *Metric) GetNodeID() string + func (m *Metric) GetSPDXID() string + func (m *Metric) GetURL() string + type Migration struct + CreatedAt *string + ExcludeAttachments *bool + GUID *string + ID *int64 + LockRepositories *bool + Repositories []*Repository + State *string + URL *string + UpdatedAt *string + func (m *Migration) GetCreatedAt() string + func (m *Migration) GetExcludeAttachments() bool + func (m *Migration) GetGUID() string + func (m *Migration) GetID() int64 + func (m *Migration) GetLockRepositories() bool + func (m *Migration) GetState() string + func (m *Migration) GetURL() string + func (m *Migration) GetUpdatedAt() string + func (m Migration) String() string + type MigrationOptions struct + ExcludeAttachments bool + LockRepositories bool + type MigrationService service + func (s *MigrationService) CancelImport(ctx context.Context, owner, repo string) (*Response, error) + func (s *MigrationService) CommitAuthors(ctx context.Context, owner, repo string) ([]*SourceImportAuthor, *Response, error) + func (s *MigrationService) DeleteMigration(ctx context.Context, org string, id int64) (*Response, error) + func (s *MigrationService) DeleteUserMigration(ctx context.Context, id int64) (*Response, error) + func (s *MigrationService) ImportProgress(ctx context.Context, owner, repo string) (*Import, *Response, error) + func (s *MigrationService) LargeFiles(ctx context.Context, owner, repo string) ([]*LargeFile, *Response, error) + func (s *MigrationService) ListMigrations(ctx context.Context, org string, opts *ListOptions) ([]*Migration, *Response, error) + func (s *MigrationService) ListUserMigrations(ctx context.Context, opts *ListOptions) ([]*UserMigration, *Response, error) + func (s *MigrationService) MapCommitAuthor(ctx context.Context, owner, repo string, id int64, author *SourceImportAuthor) (*SourceImportAuthor, *Response, error) + func (s *MigrationService) MigrationArchiveURL(ctx context.Context, org string, id int64) (url string, err error) + func (s *MigrationService) MigrationStatus(ctx context.Context, org string, id int64) (*Migration, *Response, error) + func (s *MigrationService) SetLFSPreference(ctx context.Context, owner, repo string, in *Import) (*Import, *Response, error) + func (s *MigrationService) StartImport(ctx context.Context, owner, repo string, in *Import) (*Import, *Response, error) + func (s *MigrationService) StartMigration(ctx context.Context, org string, repos []string, opts *MigrationOptions) (*Migration, *Response, error) + func (s *MigrationService) StartUserMigration(ctx context.Context, repos []string, opts *UserMigrationOptions) (*UserMigration, *Response, error) + func (s *MigrationService) UnlockRepo(ctx context.Context, org string, id int64, repo string) (*Response, error) + func (s *MigrationService) UnlockUserRepo(ctx context.Context, id int64, repo string) (*Response, error) + func (s *MigrationService) UpdateImport(ctx context.Context, owner, repo string, in *Import) (*Import, *Response, error) + func (s *MigrationService) UserMigrationArchiveURL(ctx context.Context, id int64) (string, error) + func (s *MigrationService) UserMigrationStatus(ctx context.Context, id int64) (*UserMigration, *Response, error) + type Milestone struct + ClosedAt *Timestamp + ClosedIssues *int + CreatedAt *Timestamp + Creator *User + Description *string + DueOn *Timestamp + HTMLURL *string + ID *int64 + LabelsURL *string + NodeID *string + Number *int + OpenIssues *int + State *string + Title *string + URL *string + UpdatedAt *Timestamp + func (m *Milestone) GetClosedAt() Timestamp + func (m *Milestone) GetClosedIssues() int + func (m *Milestone) GetCreatedAt() Timestamp + func (m *Milestone) GetCreator() *User + func (m *Milestone) GetDescription() string + func (m *Milestone) GetDueOn() Timestamp + func (m *Milestone) GetHTMLURL() string + func (m *Milestone) GetID() int64 + func (m *Milestone) GetLabelsURL() string + func (m *Milestone) GetNodeID() string + func (m *Milestone) GetNumber() int + func (m *Milestone) GetOpenIssues() int + func (m *Milestone) GetState() string + func (m *Milestone) GetTitle() string + func (m *Milestone) GetURL() string + func (m *Milestone) GetUpdatedAt() Timestamp + func (m Milestone) String() string + type MilestoneEvent struct + Action *string + Changes *EditChange + Installation *Installation + Milestone *Milestone + Org *Organization + Repo *Repository + Sender *User + func (m *MilestoneEvent) GetAction() string + func (m *MilestoneEvent) GetChanges() *EditChange + func (m *MilestoneEvent) GetInstallation() *Installation + func (m *MilestoneEvent) GetMilestone() *Milestone + func (m *MilestoneEvent) GetOrg() *Organization + func (m *MilestoneEvent) GetRepo() *Repository + func (m *MilestoneEvent) GetSender() *User + type MilestoneListOptions struct + Direction string + Sort string + State string + type MilestoneStats struct + ClosedMilestones *int + OpenMilestones *int + TotalMilestones *int + func (m *MilestoneStats) GetClosedMilestones() int + func (m *MilestoneStats) GetOpenMilestones() int + func (m *MilestoneStats) GetTotalMilestones() int + func (s MilestoneStats) String() string + type MinutesUsedBreakdown = map[string]int + type MostRecentInstance struct + AnalysisKey *string + Category *string + Classifications []string + CommitSHA *string + Environment *string + HTMLURL *string + Location *Location + Message *Message + Ref *string + State *string + func (m *MostRecentInstance) GetAnalysisKey() string + func (m *MostRecentInstance) GetCategory() string + func (m *MostRecentInstance) GetCommitSHA() string + func (m *MostRecentInstance) GetEnvironment() string + func (m *MostRecentInstance) GetHTMLURL() string + func (m *MostRecentInstance) GetLocation() *Location + func (m *MostRecentInstance) GetMessage() *Message + func (m *MostRecentInstance) GetRef() string + func (m *MostRecentInstance) GetState() string + type NewPullRequest struct + Base *string + Body *string + Draft *bool + Head *string + HeadRepo *string + Issue *int + MaintainerCanModify *bool + Title *string + func (n *NewPullRequest) GetBase() string + func (n *NewPullRequest) GetBody() string + func (n *NewPullRequest) GetDraft() bool + func (n *NewPullRequest) GetHead() string + func (n *NewPullRequest) GetHeadRepo() string + func (n *NewPullRequest) GetIssue() int + func (n *NewPullRequest) GetMaintainerCanModify() bool + func (n *NewPullRequest) GetTitle() string + type NewTeam struct + Description *string + LDAPDN *string + Maintainers []string + Name string + NotificationSetting *string + ParentTeamID *int64 + Permission *string + Privacy *string + RepoNames []string + func (n *NewTeam) GetDescription() string + func (n *NewTeam) GetLDAPDN() string + func (n *NewTeam) GetNotificationSetting() string + func (n *NewTeam) GetParentTeamID() int64 + func (n *NewTeam) GetPermission() string + func (n *NewTeam) GetPrivacy() string + func (s NewTeam) String() string + type Notification struct + ID *string + LastReadAt *Timestamp + Reason *string + Repository *Repository + Subject *NotificationSubject + URL *string + Unread *bool + UpdatedAt *Timestamp + func (n *Notification) GetID() string + func (n *Notification) GetLastReadAt() Timestamp + func (n *Notification) GetReason() string + func (n *Notification) GetRepository() *Repository + func (n *Notification) GetSubject() *NotificationSubject + func (n *Notification) GetURL() string + func (n *Notification) GetUnread() bool + func (n *Notification) GetUpdatedAt() Timestamp + type NotificationListOptions struct + All bool + Before time.Time + Participating bool + Since time.Time + type NotificationSubject struct + LatestCommentURL *string + Title *string + Type *string + URL *string + func (n *NotificationSubject) GetLatestCommentURL() string + func (n *NotificationSubject) GetTitle() string + func (n *NotificationSubject) GetType() string + func (n *NotificationSubject) GetURL() string + type OAuthAPP struct + ClientID *string + Name *string + URL *string + func (o *OAuthAPP) GetClientID() string + func (o *OAuthAPP) GetName() string + func (o *OAuthAPP) GetURL() string + func (s OAuthAPP) String() string + type OIDCSubjectClaimCustomTemplate struct + IncludeClaimKeys []string + UseDefault *bool + func (o *OIDCSubjectClaimCustomTemplate) GetUseDefault() bool + type OrgBlockEvent struct + Action *string + BlockedUser *User + Installation *Installation + Organization *Organization + Sender *User + func (o *OrgBlockEvent) GetAction() string + func (o *OrgBlockEvent) GetBlockedUser() *User + func (o *OrgBlockEvent) GetInstallation() *Installation + func (o *OrgBlockEvent) GetOrganization() *Organization + func (o *OrgBlockEvent) GetSender() *User + type OrgRequiredWorkflow struct + CreatedAt *Timestamp + ID *int64 + Name *string + Path *string + Ref *string + Repository *Repository + Scope *string + SelectedRepositoriesURL *string + State *string + UpdatedAt *Timestamp + func (o *OrgRequiredWorkflow) GetCreatedAt() Timestamp + func (o *OrgRequiredWorkflow) GetID() int64 + func (o *OrgRequiredWorkflow) GetName() string + func (o *OrgRequiredWorkflow) GetPath() string + func (o *OrgRequiredWorkflow) GetRef() string + func (o *OrgRequiredWorkflow) GetRepository() *Repository + func (o *OrgRequiredWorkflow) GetScope() string + func (o *OrgRequiredWorkflow) GetSelectedRepositoriesURL() string + func (o *OrgRequiredWorkflow) GetState() string + func (o *OrgRequiredWorkflow) GetUpdatedAt() Timestamp + type OrgRequiredWorkflows struct + RequiredWorkflows []*OrgRequiredWorkflow + TotalCount *int + func (o *OrgRequiredWorkflows) GetTotalCount() int + type OrgStats struct + DisabledOrgs *int + TotalOrgs *int + TotalTeamMembers *int + TotalTeams *int + func (o *OrgStats) GetDisabledOrgs() int + func (o *OrgStats) GetTotalOrgs() int + func (o *OrgStats) GetTotalTeamMembers() int + func (o *OrgStats) GetTotalTeams() int + func (s OrgStats) String() string + type Organization struct + AdvancedSecurityEnabledForNewRepos *bool + AvatarURL *string + BillingEmail *string + Blog *string + Collaborators *int + Company *string + CreatedAt *Timestamp + DefaultRepoPermission *string + DefaultRepoSettings *string + DependabotAlertsEnabledForNewRepos *bool + DependabotSecurityUpdatesEnabledForNewRepos *bool + DependencyGraphEnabledForNewRepos *bool + Description *string + DiskUsage *int + Email *string + EventsURL *string + Followers *int + Following *int + HTMLURL *string + HasOrganizationProjects *bool + HasRepositoryProjects *bool + HooksURL *string + ID *int64 + IsVerified *bool + IssuesURL *string + Location *string + Login *string + MembersAllowedRepositoryCreationType *string + MembersCanCreateInternalRepos *bool + MembersCanCreatePages *bool + MembersCanCreatePrivatePages *bool + MembersCanCreatePrivateRepos *bool + MembersCanCreatePublicPages *bool + MembersCanCreatePublicRepos *bool + MembersCanCreateRepos *bool + MembersCanForkPrivateRepos *bool + MembersURL *string + Name *string + NodeID *string + OwnedPrivateRepos *int64 + Plan *Plan + PrivateGists *int + PublicGists *int + PublicMembersURL *string + PublicRepos *int + ReposURL *string + SecretScanningEnabledForNewRepos *bool + SecretScanningPushProtectionEnabledForNewRepos *bool + SecretScanningValidityChecksEnabled *bool + TotalPrivateRepos *int64 + TwitterUsername *string + TwoFactorRequirementEnabled *bool + Type *string + URL *string + UpdatedAt *Timestamp + WebCommitSignoffRequired *bool + func (o *Organization) GetAdvancedSecurityEnabledForNewRepos() bool + func (o *Organization) GetAvatarURL() string + func (o *Organization) GetBillingEmail() string + func (o *Organization) GetBlog() string + func (o *Organization) GetCollaborators() int + func (o *Organization) GetCompany() string + func (o *Organization) GetCreatedAt() Timestamp + func (o *Organization) GetDefaultRepoPermission() string + func (o *Organization) GetDefaultRepoSettings() string + func (o *Organization) GetDependabotAlertsEnabledForNewRepos() bool + func (o *Organization) GetDependabotSecurityUpdatesEnabledForNewRepos() bool + func (o *Organization) GetDependencyGraphEnabledForNewRepos() bool + func (o *Organization) GetDescription() string + func (o *Organization) GetDiskUsage() int + func (o *Organization) GetEmail() string + func (o *Organization) GetEventsURL() string + func (o *Organization) GetFollowers() int + func (o *Organization) GetFollowing() int + func (o *Organization) GetHTMLURL() string + func (o *Organization) GetHasOrganizationProjects() bool + func (o *Organization) GetHasRepositoryProjects() bool + func (o *Organization) GetHooksURL() string + func (o *Organization) GetID() int64 + func (o *Organization) GetIsVerified() bool + func (o *Organization) GetIssuesURL() string + func (o *Organization) GetLocation() string + func (o *Organization) GetLogin() string + func (o *Organization) GetMembersAllowedRepositoryCreationType() string + func (o *Organization) GetMembersCanCreateInternalRepos() bool + func (o *Organization) GetMembersCanCreatePages() bool + func (o *Organization) GetMembersCanCreatePrivatePages() bool + func (o *Organization) GetMembersCanCreatePrivateRepos() bool + func (o *Organization) GetMembersCanCreatePublicPages() bool + func (o *Organization) GetMembersCanCreatePublicRepos() bool + func (o *Organization) GetMembersCanCreateRepos() bool + func (o *Organization) GetMembersCanForkPrivateRepos() bool + func (o *Organization) GetMembersURL() string + func (o *Organization) GetName() string + func (o *Organization) GetNodeID() string + func (o *Organization) GetOwnedPrivateRepos() int64 + func (o *Organization) GetPlan() *Plan + func (o *Organization) GetPrivateGists() int + func (o *Organization) GetPublicGists() int + func (o *Organization) GetPublicMembersURL() string + func (o *Organization) GetPublicRepos() int + func (o *Organization) GetReposURL() string + func (o *Organization) GetSecretScanningEnabledForNewRepos() bool + func (o *Organization) GetSecretScanningPushProtectionEnabledForNewRepos() bool + func (o *Organization) GetSecretScanningValidityChecksEnabled() bool + func (o *Organization) GetTotalPrivateRepos() int64 + func (o *Organization) GetTwitterUsername() string + func (o *Organization) GetTwoFactorRequirementEnabled() bool + func (o *Organization) GetType() string + func (o *Organization) GetURL() string + func (o *Organization) GetUpdatedAt() Timestamp + func (o *Organization) GetWebCommitSignoffRequired() bool + func (o Organization) String() string + type OrganizationCustomRepoRoles struct + CustomRepoRoles []*CustomRepoRoles + TotalCount *int + func (o *OrganizationCustomRepoRoles) GetTotalCount() int + type OrganizationCustomRoles struct + CustomRepoRoles []*CustomOrgRoles + TotalCount *int + func (o *OrganizationCustomRoles) GetTotalCount() int + type OrganizationEvent struct + Action *string + Installation *Installation + Invitation *Invitation + Membership *Membership + Organization *Organization + Sender *User + func (o *OrganizationEvent) GetAction() string + func (o *OrganizationEvent) GetInstallation() *Installation + func (o *OrganizationEvent) GetInvitation() *Invitation + func (o *OrganizationEvent) GetMembership() *Membership + func (o *OrganizationEvent) GetOrganization() *Organization + func (o *OrganizationEvent) GetSender() *User + type OrganizationInstallations struct + Installations []*Installation + TotalCount *int + func (o *OrganizationInstallations) GetTotalCount() int + type OrganizationsListOptions struct + Since int64 + type OrganizationsService service + func (s *OrganizationsService) AddSecurityManagerTeam(ctx context.Context, org, team string) (*Response, error) + func (s *OrganizationsService) AssignOrgRoleToTeam(ctx context.Context, org, teamSlug string, roleID int64) (*Response, error) + func (s *OrganizationsService) AssignOrgRoleToUser(ctx context.Context, org, username string, roleID int64) (*Response, error) + func (s *OrganizationsService) AttachCodeSecurityConfigurationsToRepositories(ctx context.Context, org string, id int64, scope string, repoIDs []int64) (*Response, error) + func (s *OrganizationsService) BlockUser(ctx context.Context, org string, user string) (*Response, error) + func (s *OrganizationsService) CancelInvite(ctx context.Context, org string, invitationID int64) (*Response, error) + func (s *OrganizationsService) ConcealMembership(ctx context.Context, org, user string) (*Response, error) + func (s *OrganizationsService) ConvertMemberToOutsideCollaborator(ctx context.Context, org string, user string) (*Response, error) + func (s *OrganizationsService) CreateCodeSecurityConfiguration(ctx context.Context, org string, c *CodeSecurityConfiguration) (*CodeSecurityConfiguration, *Response, error) + func (s *OrganizationsService) CreateCustomOrgRole(ctx context.Context, org string, opts *CreateOrUpdateOrgRoleOptions) (*CustomOrgRoles, *Response, error) + func (s *OrganizationsService) CreateCustomRepoRole(ctx context.Context, org string, opts *CreateOrUpdateCustomRepoRoleOptions) (*CustomRepoRoles, *Response, error) + func (s *OrganizationsService) CreateHook(ctx context.Context, org string, hook *Hook) (*Hook, *Response, error) + func (s *OrganizationsService) CreateOrUpdateCustomProperties(ctx context.Context, org string, properties []*CustomProperty) ([]*CustomProperty, *Response, error) + func (s *OrganizationsService) CreateOrUpdateCustomProperty(ctx context.Context, org, customPropertyName string, property *CustomProperty) (*CustomProperty, *Response, error) + func (s *OrganizationsService) CreateOrUpdateRepoCustomPropertyValues(ctx context.Context, org string, repoNames []string, ...) (*Response, error) + func (s *OrganizationsService) CreateOrgInvitation(ctx context.Context, org string, opts *CreateOrgInvitationOptions) (*Invitation, *Response, error) + func (s *OrganizationsService) CreateOrganizationRuleset(ctx context.Context, org string, rs *Ruleset) (*Ruleset, *Response, error) + func (s *OrganizationsService) Delete(ctx context.Context, org string) (*Response, error) + func (s *OrganizationsService) DeleteCodeSecurityConfiguration(ctx context.Context, org string, id int64) (*Response, error) + func (s *OrganizationsService) DeleteCustomOrgRole(ctx context.Context, org string, roleID int64) (*Response, error) + func (s *OrganizationsService) DeleteCustomRepoRole(ctx context.Context, org string, roleID int64) (*Response, error) + func (s *OrganizationsService) DeleteHook(ctx context.Context, org string, id int64) (*Response, error) + func (s *OrganizationsService) DeleteOrganizationRuleset(ctx context.Context, org string, rulesetID int64) (*Response, error) + func (s *OrganizationsService) DeletePackage(ctx context.Context, org, packageType, packageName string) (*Response, error) + func (s *OrganizationsService) DetachCodeSecurityConfigurationsFromRepositories(ctx context.Context, org string, repoIDs []int64) (*Response, error) + func (s *OrganizationsService) Edit(ctx context.Context, name string, org *Organization) (*Organization, *Response, error) + func (s *OrganizationsService) EditActionsAllowed(ctx context.Context, org string, actionsAllowed ActionsAllowed) (*ActionsAllowed, *Response, error) + func (s *OrganizationsService) EditActionsPermissions(ctx context.Context, org string, actionsPermissions ActionsPermissions) (*ActionsPermissions, *Response, error) + func (s *OrganizationsService) EditHook(ctx context.Context, org string, id int64, hook *Hook) (*Hook, *Response, error) + func (s *OrganizationsService) EditHookConfiguration(ctx context.Context, org string, id int64, config *HookConfig) (*HookConfig, *Response, error) + func (s *OrganizationsService) EditOrgMembership(ctx context.Context, user, org string, membership *Membership) (*Membership, *Response, error) + func (s *OrganizationsService) Get(ctx context.Context, org string) (*Organization, *Response, error) + func (s *OrganizationsService) GetActionsAllowed(ctx context.Context, org string) (*ActionsAllowed, *Response, error) + func (s *OrganizationsService) GetActionsPermissions(ctx context.Context, org string) (*ActionsPermissions, *Response, error) + func (s *OrganizationsService) GetAllCustomProperties(ctx context.Context, org string) ([]*CustomProperty, *Response, error) + func (s *OrganizationsService) GetAllOrganizationRulesets(ctx context.Context, org string) ([]*Ruleset, *Response, error) + func (s *OrganizationsService) GetAuditLog(ctx context.Context, org string, opts *GetAuditLogOptions) ([]*AuditEntry, *Response, error) + func (s *OrganizationsService) GetByID(ctx context.Context, id int64) (*Organization, *Response, error) + func (s *OrganizationsService) GetCodeSecurityConfiguration(ctx context.Context, org string, id int64) (*CodeSecurityConfiguration, *Response, error) + func (s *OrganizationsService) GetCodeSecurityConfigurationForRepository(ctx context.Context, org, repo string) (*RepositoryCodeSecurityConfiguration, *Response, error) + func (s *OrganizationsService) GetCodeSecurityConfigurations(ctx context.Context, org string) ([]*CodeSecurityConfiguration, *Response, error) + func (s *OrganizationsService) GetCustomProperty(ctx context.Context, org, name string) (*CustomProperty, *Response, error) + func (s *OrganizationsService) GetCustomRepoRole(ctx context.Context, org string, roleID int64) (*CustomRepoRoles, *Response, error) + func (s *OrganizationsService) GetDefaultCodeSecurityConfigurations(ctx context.Context, org string) ([]*CodeSecurityConfiguration, *Response, error) + func (s *OrganizationsService) GetHook(ctx context.Context, org string, id int64) (*Hook, *Response, error) + func (s *OrganizationsService) GetHookConfiguration(ctx context.Context, org string, id int64) (*HookConfig, *Response, error) + func (s *OrganizationsService) GetHookDelivery(ctx context.Context, owner string, hookID, deliveryID int64) (*HookDelivery, *Response, error) + func (s *OrganizationsService) GetOrgMembership(ctx context.Context, user, org string) (*Membership, *Response, error) + func (s *OrganizationsService) GetOrgRole(ctx context.Context, org string, roleID int64) (*CustomOrgRoles, *Response, error) + func (s *OrganizationsService) GetOrganizationRuleset(ctx context.Context, org string, rulesetID int64) (*Ruleset, *Response, error) + func (s *OrganizationsService) GetPackage(ctx context.Context, org, packageType, packageName string) (*Package, *Response, error) + func (s *OrganizationsService) GetRepositoriesForCodeSecurityConfiguration(ctx context.Context, org string, id int64) ([]*Repository, *Response, error) + func (s *OrganizationsService) IsBlocked(ctx context.Context, org string, user string) (bool, *Response, error) + func (s *OrganizationsService) IsMember(ctx context.Context, org, user string) (bool, *Response, error) + func (s *OrganizationsService) IsPublicMember(ctx context.Context, org, user string) (bool, *Response, error) + func (s *OrganizationsService) List(ctx context.Context, user string, opts *ListOptions) ([]*Organization, *Response, error) + func (s *OrganizationsService) ListAll(ctx context.Context, opts *OrganizationsListOptions) ([]*Organization, *Response, error) + func (s *OrganizationsService) ListAttestations(ctx context.Context, org, subjectDigest string, opts *ListOptions) (*AttestationsResponse, *Response, error) + func (s *OrganizationsService) ListBlockedUsers(ctx context.Context, org string, opts *ListOptions) ([]*User, *Response, error) + func (s *OrganizationsService) ListCredentialAuthorizations(ctx context.Context, org string, opts *CredentialAuthorizationsListOptions) ([]*CredentialAuthorization, *Response, error) + func (s *OrganizationsService) ListCustomPropertyValues(ctx context.Context, org string, opts *ListOptions) ([]*RepoCustomPropertyValue, *Response, error) + func (s *OrganizationsService) ListCustomRepoRoles(ctx context.Context, org string) (*OrganizationCustomRepoRoles, *Response, error) + func (s *OrganizationsService) ListFailedOrgInvitations(ctx context.Context, org string, opts *ListOptions) ([]*Invitation, *Response, error) + func (s *OrganizationsService) ListFineGrainedPersonalAccessTokens(ctx context.Context, org string, opts *ListFineGrainedPATOptions) ([]*PersonalAccessToken, *Response, error) + func (s *OrganizationsService) ListHookDeliveries(ctx context.Context, org string, id int64, opts *ListCursorOptions) ([]*HookDelivery, *Response, error) + func (s *OrganizationsService) ListHooks(ctx context.Context, org string, opts *ListOptions) ([]*Hook, *Response, error) + func (s *OrganizationsService) ListInstallations(ctx context.Context, org string, opts *ListOptions) (*OrganizationInstallations, *Response, error) + func (s *OrganizationsService) ListMembers(ctx context.Context, org string, opts *ListMembersOptions) ([]*User, *Response, error) + func (s *OrganizationsService) ListOrgInvitationTeams(ctx context.Context, org, invitationID string, opts *ListOptions) ([]*Team, *Response, error) + func (s *OrganizationsService) ListOrgMemberships(ctx context.Context, opts *ListOrgMembershipsOptions) ([]*Membership, *Response, error) + func (s *OrganizationsService) ListOutsideCollaborators(ctx context.Context, org string, opts *ListOutsideCollaboratorsOptions) ([]*User, *Response, error) + func (s *OrganizationsService) ListPackages(ctx context.Context, org string, opts *PackageListOptions) ([]*Package, *Response, error) + func (s *OrganizationsService) ListPendingOrgInvitations(ctx context.Context, org string, opts *ListOptions) ([]*Invitation, *Response, error) + func (s *OrganizationsService) ListRoles(ctx context.Context, org string) (*OrganizationCustomRoles, *Response, error) + func (s *OrganizationsService) ListSecurityManagerTeams(ctx context.Context, org string) ([]*Team, *Response, error) + func (s *OrganizationsService) ListTeamsAssignedToOrgRole(ctx context.Context, org string, roleID int64, opts *ListOptions) ([]*Team, *Response, error) + func (s *OrganizationsService) ListUsersAssignedToOrgRole(ctx context.Context, org string, roleID int64, opts *ListOptions) ([]*User, *Response, error) + func (s *OrganizationsService) PackageDeleteVersion(ctx context.Context, org, packageType, packageName string, ...) (*Response, error) + func (s *OrganizationsService) PackageGetAllVersions(ctx context.Context, org, packageType, packageName string, ...) ([]*PackageVersion, *Response, error) + func (s *OrganizationsService) PackageGetVersion(ctx context.Context, org, packageType, packageName string, ...) (*PackageVersion, *Response, error) + func (s *OrganizationsService) PackageRestoreVersion(ctx context.Context, org, packageType, packageName string, ...) (*Response, error) + func (s *OrganizationsService) PingHook(ctx context.Context, org string, id int64) (*Response, error) + func (s *OrganizationsService) PublicizeMembership(ctx context.Context, org, user string) (*Response, error) + func (s *OrganizationsService) RedeliverHookDelivery(ctx context.Context, owner string, hookID, deliveryID int64) (*HookDelivery, *Response, error) + func (s *OrganizationsService) RemoveCredentialAuthorization(ctx context.Context, org string, credentialID int64) (*Response, error) + func (s *OrganizationsService) RemoveCustomProperty(ctx context.Context, org, customPropertyName string) (*Response, error) + func (s *OrganizationsService) RemoveMember(ctx context.Context, org, user string) (*Response, error) + func (s *OrganizationsService) RemoveOrgMembership(ctx context.Context, user, org string) (*Response, error) + func (s *OrganizationsService) RemoveOrgRoleFromTeam(ctx context.Context, org, teamSlug string, roleID int64) (*Response, error) + func (s *OrganizationsService) RemoveOrgRoleFromUser(ctx context.Context, org, username string, roleID int64) (*Response, error) + func (s *OrganizationsService) RemoveOutsideCollaborator(ctx context.Context, org string, user string) (*Response, error) + func (s *OrganizationsService) RemoveSecurityManagerTeam(ctx context.Context, org, team string) (*Response, error) + func (s *OrganizationsService) RestorePackage(ctx context.Context, org, packageType, packageName string) (*Response, error) + func (s *OrganizationsService) ReviewPersonalAccessTokenRequest(ctx context.Context, org string, requestID int64, ...) (*Response, error) + func (s *OrganizationsService) SetDefaultCodeSecurityConfiguration(ctx context.Context, org string, id int64, newReposParam string) (*CodeSecurityConfigurationWithDefaultForNewRepos, *Response, error) + func (s *OrganizationsService) UnblockUser(ctx context.Context, org string, user string) (*Response, error) + func (s *OrganizationsService) UpdateCodeSecurityConfiguration(ctx context.Context, org string, id int64, c *CodeSecurityConfiguration) (*CodeSecurityConfiguration, *Response, error) + func (s *OrganizationsService) UpdateCustomOrgRole(ctx context.Context, org string, roleID int64, ...) (*CustomOrgRoles, *Response, error) + func (s *OrganizationsService) UpdateCustomRepoRole(ctx context.Context, org string, roleID int64, ...) (*CustomRepoRoles, *Response, error) + func (s *OrganizationsService) UpdateOrganizationRuleset(ctx context.Context, org string, rulesetID int64, rs *Ruleset) (*Ruleset, *Response, error) + type OwnerInfo struct + Org *User + User *User + func (o *OwnerInfo) GetOrg() *User + func (o *OwnerInfo) GetUser() *User + type PRLink struct + HRef *string + func (p *PRLink) GetHRef() string + type PRLinks struct + Comments *PRLink + Commits *PRLink + HTML *PRLink + Issue *PRLink + ReviewComment *PRLink + ReviewComments *PRLink + Self *PRLink + Statuses *PRLink + func (p *PRLinks) GetComments() *PRLink + func (p *PRLinks) GetCommits() *PRLink + func (p *PRLinks) GetHTML() *PRLink + func (p *PRLinks) GetIssue() *PRLink + func (p *PRLinks) GetReviewComment() *PRLink + func (p *PRLinks) GetReviewComments() *PRLink + func (p *PRLinks) GetSelf() *PRLink + func (p *PRLinks) GetStatuses() *PRLink + type Package struct + CreatedAt *Timestamp + HTMLURL *string + ID *int64 + Name *string + Owner *User + PackageType *string + PackageVersion *PackageVersion + Registry *PackageRegistry + Repository *Repository + URL *string + UpdatedAt *Timestamp + VersionCount *int64 + Visibility *string + func (p *Package) GetCreatedAt() Timestamp + func (p *Package) GetHTMLURL() string + func (p *Package) GetID() int64 + func (p *Package) GetName() string + func (p *Package) GetOwner() *User + func (p *Package) GetPackageType() string + func (p *Package) GetPackageVersion() *PackageVersion + func (p *Package) GetRegistry() *PackageRegistry + func (p *Package) GetRepository() *Repository + func (p *Package) GetURL() string + func (p *Package) GetUpdatedAt() Timestamp + func (p *Package) GetVersionCount() int64 + func (p *Package) GetVisibility() string + func (p Package) String() string + type PackageBilling struct + IncludedGigabytesBandwidth float64 + TotalGigabytesBandwidthUsed int + TotalPaidGigabytesBandwidthUsed int + type PackageContainerMetadata struct + Tags []string + func (r PackageContainerMetadata) String() string + type PackageEvent struct + Action *string + Installation *Installation + Org *Organization + Package *Package + Repo *Repository + Sender *User + func (p *PackageEvent) GetAction() string + func (p *PackageEvent) GetInstallation() *Installation + func (p *PackageEvent) GetOrg() *Organization + func (p *PackageEvent) GetPackage() *Package + func (p *PackageEvent) GetRepo() *Repository + func (p *PackageEvent) GetSender() *User + type PackageFile struct + Author *User + ContentType *string + CreatedAt *Timestamp + DownloadURL *string + ID *int64 + MD5 *string + Name *string + SHA1 *string + SHA256 *string + Size *int64 + State *string + UpdatedAt *Timestamp + func (p *PackageFile) GetAuthor() *User + func (p *PackageFile) GetContentType() string + func (p *PackageFile) GetCreatedAt() Timestamp + func (p *PackageFile) GetDownloadURL() string + func (p *PackageFile) GetID() int64 + func (p *PackageFile) GetMD5() string + func (p *PackageFile) GetName() string + func (p *PackageFile) GetSHA1() string + func (p *PackageFile) GetSHA256() string + func (p *PackageFile) GetSize() int64 + func (p *PackageFile) GetState() string + func (p *PackageFile) GetUpdatedAt() Timestamp + func (pf PackageFile) String() string + type PackageListOptions struct + PackageType *string + State *string + Visibility *string + func (p *PackageListOptions) GetPackageType() string + func (p *PackageListOptions) GetState() string + func (p *PackageListOptions) GetVisibility() string + type PackageMetadata struct + Container *PackageContainerMetadata + PackageType *string + func (p *PackageMetadata) GetContainer() *PackageContainerMetadata + func (p *PackageMetadata) GetPackageType() string + func (r PackageMetadata) String() string + type PackageRegistry struct + AboutURL *string + Name *string + Type *string + URL *string + Vendor *string + func (p *PackageRegistry) GetAboutURL() string + func (p *PackageRegistry) GetName() string + func (p *PackageRegistry) GetType() string + func (p *PackageRegistry) GetURL() string + func (p *PackageRegistry) GetVendor() string + func (r PackageRegistry) String() string + type PackageRelease struct + Author *User + CreatedAt *Timestamp + Draft *bool + HTMLURL *string + ID *int64 + Name *string + Prerelease *bool + PublishedAt *Timestamp + TagName *string + TargetCommitish *string + URL *string + func (p *PackageRelease) GetAuthor() *User + func (p *PackageRelease) GetCreatedAt() Timestamp + func (p *PackageRelease) GetDraft() bool + func (p *PackageRelease) GetHTMLURL() string + func (p *PackageRelease) GetID() int64 + func (p *PackageRelease) GetName() string + func (p *PackageRelease) GetPrerelease() bool + func (p *PackageRelease) GetPublishedAt() Timestamp + func (p *PackageRelease) GetTagName() string + func (p *PackageRelease) GetTargetCommitish() string + func (p *PackageRelease) GetURL() string + func (r PackageRelease) String() string + type PackageVersion struct + Author *User + Body *string + BodyHTML *string + CreatedAt *Timestamp + Draft *bool + HTMLURL *string + ID *int64 + InstallationCommand *string + Manifest *string + Metadata *PackageMetadata + Name *string + PackageFiles []*PackageFile + PackageHTMLURL *string + Prerelease *bool + Release *PackageRelease + Summary *string + TagName *string + TargetCommitish *string + TargetOID *string + URL *string + UpdatedAt *Timestamp + Version *string + func (p *PackageVersion) GetAuthor() *User + func (p *PackageVersion) GetBody() string + func (p *PackageVersion) GetBodyHTML() string + func (p *PackageVersion) GetCreatedAt() Timestamp + func (p *PackageVersion) GetDraft() bool + func (p *PackageVersion) GetHTMLURL() string + func (p *PackageVersion) GetID() int64 + func (p *PackageVersion) GetInstallationCommand() string + func (p *PackageVersion) GetManifest() string + func (p *PackageVersion) GetMetadata() *PackageMetadata + func (p *PackageVersion) GetName() string + func (p *PackageVersion) GetPackageHTMLURL() string + func (p *PackageVersion) GetPrerelease() bool + func (p *PackageVersion) GetRelease() *PackageRelease + func (p *PackageVersion) GetSummary() string + func (p *PackageVersion) GetTagName() string + func (p *PackageVersion) GetTargetCommitish() string + func (p *PackageVersion) GetTargetOID() string + func (p *PackageVersion) GetURL() string + func (p *PackageVersion) GetUpdatedAt() Timestamp + func (p *PackageVersion) GetVersion() string + func (pv PackageVersion) String() string + type Page struct + Action *string + HTMLURL *string + PageName *string + SHA *string + Summary *string + Title *string + func (p *Page) GetAction() string + func (p *Page) GetHTMLURL() string + func (p *Page) GetPageName() string + func (p *Page) GetSHA() string + func (p *Page) GetSummary() string + func (p *Page) GetTitle() string + type PageBuildEvent struct + Build *PagesBuild + ID *int64 + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (p *PageBuildEvent) GetBuild() *PagesBuild + func (p *PageBuildEvent) GetID() int64 + func (p *PageBuildEvent) GetInstallation() *Installation + func (p *PageBuildEvent) GetOrg() *Organization + func (p *PageBuildEvent) GetRepo() *Repository + func (p *PageBuildEvent) GetSender() *User + type PageStats struct + TotalPages *int + func (p *PageStats) GetTotalPages() int + func (s PageStats) String() string + type Pages struct + BuildType *string + CNAME *string + Custom404 *bool + HTMLURL *string + HTTPSCertificate *PagesHTTPSCertificate + HTTPSEnforced *bool + Public *bool + Source *PagesSource + Status *string + URL *string + func (p *Pages) GetBuildType() string + func (p *Pages) GetCNAME() string + func (p *Pages) GetCustom404() bool + func (p *Pages) GetHTMLURL() string + func (p *Pages) GetHTTPSCertificate() *PagesHTTPSCertificate + func (p *Pages) GetHTTPSEnforced() bool + func (p *Pages) GetPublic() bool + func (p *Pages) GetSource() *PagesSource + func (p *Pages) GetStatus() string + func (p *Pages) GetURL() string + type PagesBuild struct + Commit *string + CreatedAt *Timestamp + Duration *int + Error *PagesError + Pusher *User + Status *string + URL *string + UpdatedAt *Timestamp + func (p *PagesBuild) GetCommit() string + func (p *PagesBuild) GetCreatedAt() Timestamp + func (p *PagesBuild) GetDuration() int + func (p *PagesBuild) GetError() *PagesError + func (p *PagesBuild) GetPusher() *User + func (p *PagesBuild) GetStatus() string + func (p *PagesBuild) GetURL() string + func (p *PagesBuild) GetUpdatedAt() Timestamp + type PagesDomain struct + CAAError *string + DNSResolves *bool + EnforcesHTTPS *bool + HTTPSError *string + HasCNAMERecord *bool + HasMXRecordsPresent *bool + Host *string + IsARecord *bool + IsApexDomain *bool + IsCNAMEToFastly *bool + IsCNAMEToGithubUserDomain *bool + IsCNAMEToPagesDotGithubDotCom *bool + IsCloudflareIP *bool + IsFastlyIP *bool + IsHTTPSEligible *bool + IsNonGithubPagesIPPresent *bool + IsOldIPAddress *bool + IsPagesDomain *bool + IsPointedToGithubPagesIP *bool + IsProxied *bool + IsServedByPages *bool + IsValid *bool + IsValidDomain *bool + Nameservers *string + Reason *string + RespondsToHTTPS *bool + ShouldBeARecord *bool + URI *string + func (p *PagesDomain) GetCAAError() string + func (p *PagesDomain) GetDNSResolves() bool + func (p *PagesDomain) GetEnforcesHTTPS() bool + func (p *PagesDomain) GetHTTPSError() string + func (p *PagesDomain) GetHasCNAMERecord() bool + func (p *PagesDomain) GetHasMXRecordsPresent() bool + func (p *PagesDomain) GetHost() string + func (p *PagesDomain) GetIsARecord() bool + func (p *PagesDomain) GetIsApexDomain() bool + func (p *PagesDomain) GetIsCNAMEToFastly() bool + func (p *PagesDomain) GetIsCNAMEToGithubUserDomain() bool + func (p *PagesDomain) GetIsCNAMEToPagesDotGithubDotCom() bool + func (p *PagesDomain) GetIsCloudflareIP() bool + func (p *PagesDomain) GetIsFastlyIP() bool + func (p *PagesDomain) GetIsHTTPSEligible() bool + func (p *PagesDomain) GetIsNonGithubPagesIPPresent() bool + func (p *PagesDomain) GetIsOldIPAddress() bool + func (p *PagesDomain) GetIsPagesDomain() bool + func (p *PagesDomain) GetIsPointedToGithubPagesIP() bool + func (p *PagesDomain) GetIsProxied() bool + func (p *PagesDomain) GetIsServedByPages() bool + func (p *PagesDomain) GetIsValid() bool + func (p *PagesDomain) GetIsValidDomain() bool + func (p *PagesDomain) GetNameservers() string + func (p *PagesDomain) GetReason() string + func (p *PagesDomain) GetRespondsToHTTPS() bool + func (p *PagesDomain) GetShouldBeARecord() bool + func (p *PagesDomain) GetURI() string + type PagesError struct + Message *string + func (p *PagesError) GetMessage() string + type PagesHTTPSCertificate struct + Description *string + Domains []string + ExpiresAt *string + State *string + func (p *PagesHTTPSCertificate) GetDescription() string + func (p *PagesHTTPSCertificate) GetExpiresAt() string + func (p *PagesHTTPSCertificate) GetState() string + type PagesHealthCheckResponse struct + AltDomain *PagesDomain + Domain *PagesDomain + func (p *PagesHealthCheckResponse) GetAltDomain() *PagesDomain + func (p *PagesHealthCheckResponse) GetDomain() *PagesDomain + type PagesSource struct + Branch *string + Path *string + func (p *PagesSource) GetBranch() string + func (p *PagesSource) GetPath() string + type PagesUpdate struct + BuildType *string + CNAME *string + HTTPSEnforced *bool + Public *bool + Source *PagesSource + func (p *PagesUpdate) GetBuildType() string + func (p *PagesUpdate) GetCNAME() string + func (p *PagesUpdate) GetHTTPSEnforced() bool + func (p *PagesUpdate) GetPublic() bool + func (p *PagesUpdate) GetSource() *PagesSource + type PendingDeployment struct + CurrentUserCanApprove *bool + Environment *PendingDeploymentEnvironment + Reviewers []*RequiredReviewer + WaitTimer *int64 + WaitTimerStartedAt *Timestamp + func (p *PendingDeployment) GetCurrentUserCanApprove() bool + func (p *PendingDeployment) GetEnvironment() *PendingDeploymentEnvironment + func (p *PendingDeployment) GetWaitTimer() int64 + func (p *PendingDeployment) GetWaitTimerStartedAt() Timestamp + type PendingDeploymentEnvironment struct + HTMLURL *string + ID *int64 + Name *string + NodeID *string + URL *string + func (p *PendingDeploymentEnvironment) GetHTMLURL() string + func (p *PendingDeploymentEnvironment) GetID() int64 + func (p *PendingDeploymentEnvironment) GetName() string + func (p *PendingDeploymentEnvironment) GetNodeID() string + func (p *PendingDeploymentEnvironment) GetURL() string + type PendingDeploymentsRequest struct + Comment string + EnvironmentIDs []int64 + State string + type PersonalAccessToken struct + AccessGrantedAt *Timestamp + ID *int64 + Owner *User + Permissions *PersonalAccessTokenPermissions + RepositoriesURL *string + RepositorySelection *string + TokenExpired *bool + TokenExpiresAt *Timestamp + TokenLastUsedAt *Timestamp + func (p *PersonalAccessToken) GetAccessGrantedAt() Timestamp + func (p *PersonalAccessToken) GetID() int64 + func (p *PersonalAccessToken) GetOwner() *User + func (p *PersonalAccessToken) GetPermissions() *PersonalAccessTokenPermissions + func (p *PersonalAccessToken) GetRepositoriesURL() string + func (p *PersonalAccessToken) GetRepositorySelection() string + func (p *PersonalAccessToken) GetTokenExpired() bool + func (p *PersonalAccessToken) GetTokenExpiresAt() Timestamp + func (p *PersonalAccessToken) GetTokenLastUsedAt() Timestamp + type PersonalAccessTokenPermissions struct + Org map[string]string + Other map[string]string + Repo map[string]string + func (p *PersonalAccessTokenPermissions) GetOrg() map[string]string + func (p *PersonalAccessTokenPermissions) GetOther() map[string]string + func (p *PersonalAccessTokenPermissions) GetRepo() map[string]string + type PersonalAccessTokenRequest struct + CreatedAt *Timestamp + ID *int64 + Org *Organization + Owner *User + PermissionsAdded *PersonalAccessTokenPermissions + PermissionsResult *PersonalAccessTokenPermissions + PermissionsUpgraded *PersonalAccessTokenPermissions + Repositories []*Repository + RepositoryCount *int64 + RepositorySelection *string + TokenExpired *bool + TokenExpiresAt *Timestamp + TokenLastUsedAt *Timestamp + func (p *PersonalAccessTokenRequest) GetCreatedAt() Timestamp + func (p *PersonalAccessTokenRequest) GetID() int64 + func (p *PersonalAccessTokenRequest) GetOrg() *Organization + func (p *PersonalAccessTokenRequest) GetOwner() *User + func (p *PersonalAccessTokenRequest) GetPermissionsAdded() *PersonalAccessTokenPermissions + func (p *PersonalAccessTokenRequest) GetPermissionsResult() *PersonalAccessTokenPermissions + func (p *PersonalAccessTokenRequest) GetPermissionsUpgraded() *PersonalAccessTokenPermissions + func (p *PersonalAccessTokenRequest) GetRepositoryCount() int64 + func (p *PersonalAccessTokenRequest) GetRepositorySelection() string + func (p *PersonalAccessTokenRequest) GetTokenExpired() bool + func (p *PersonalAccessTokenRequest) GetTokenExpiresAt() Timestamp + func (p *PersonalAccessTokenRequest) GetTokenLastUsedAt() Timestamp + type PersonalAccessTokenRequestEvent struct + Action *string + Installation *Installation + Org *Organization + PersonalAccessTokenRequest *PersonalAccessTokenRequest + Sender *User + func (p *PersonalAccessTokenRequestEvent) GetAction() string + func (p *PersonalAccessTokenRequestEvent) GetInstallation() *Installation + func (p *PersonalAccessTokenRequestEvent) GetOrg() *Organization + func (p *PersonalAccessTokenRequestEvent) GetPersonalAccessTokenRequest() *PersonalAccessTokenRequest + func (p *PersonalAccessTokenRequestEvent) GetSender() *User + type PingEvent struct + Hook *Hook + HookID *int64 + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + Zen *string + func (p *PingEvent) GetHook() *Hook + func (p *PingEvent) GetHookID() int64 + func (p *PingEvent) GetInstallation() *Installation + func (p *PingEvent) GetOrg() *Organization + func (p *PingEvent) GetRepo() *Repository + func (p *PingEvent) GetSender() *User + func (p *PingEvent) GetZen() string + type Plan struct + Collaborators *int + FilledSeats *int + Name *string + PrivateRepos *int64 + Seats *int + Space *int + func (p *Plan) GetCollaborators() int + func (p *Plan) GetFilledSeats() int + func (p *Plan) GetName() string + func (p *Plan) GetPrivateRepos() int64 + func (p *Plan) GetSeats() int + func (p *Plan) GetSpace() int + func (p Plan) String() string + type PreReceiveHook struct + ConfigURL *string + Enforcement *string + ID *int64 + Name *string + func (p *PreReceiveHook) GetConfigURL() string + func (p *PreReceiveHook) GetEnforcement() string + func (p *PreReceiveHook) GetID() int64 + func (p *PreReceiveHook) GetName() string + func (p PreReceiveHook) String() string + type PreferenceList struct + AutoTriggerChecks []*AutoTriggerCheck + type ProjectBody struct + From *string + func (p *ProjectBody) GetFrom() string + type ProjectCardChange struct + Note *ProjectCardNote + func (p *ProjectCardChange) GetNote() *ProjectCardNote + type ProjectCardNote struct + From *string + func (p *ProjectCardNote) GetFrom() string + type ProjectChange struct + Body *ProjectBody + Name *ProjectName + func (p *ProjectChange) GetBody() *ProjectBody + func (p *ProjectChange) GetName() *ProjectName + type ProjectColumnChange struct + Name *ProjectColumnName + func (p *ProjectColumnChange) GetName() *ProjectColumnName + type ProjectColumnName struct + From *string + func (p *ProjectColumnName) GetFrom() string + type ProjectName struct + From *string + func (p *ProjectName) GetFrom() string + type ProjectV2 struct + Body *string + ClosedAt *Timestamp + ColumnsURL *string + CreatedAt *Timestamp + Creator *User + DeletedAt *Timestamp + DeletedBy *User + Description *string + HTMLURL *string + ID *int64 + Name *string + NodeID *string + Number *int + OrganizationPermission *string + Owner *User + OwnerURL *string + Private *bool + Public *bool + ShortDescription *string + State *string + Title *string + URL *string + UpdatedAt *Timestamp + func (p *ProjectV2) GetBody() string + func (p *ProjectV2) GetClosedAt() Timestamp + func (p *ProjectV2) GetColumnsURL() string + func (p *ProjectV2) GetCreatedAt() Timestamp + func (p *ProjectV2) GetCreator() *User + func (p *ProjectV2) GetDeletedAt() Timestamp + func (p *ProjectV2) GetDeletedBy() *User + func (p *ProjectV2) GetDescription() string + func (p *ProjectV2) GetHTMLURL() string + func (p *ProjectV2) GetID() int64 + func (p *ProjectV2) GetName() string + func (p *ProjectV2) GetNodeID() string + func (p *ProjectV2) GetNumber() int + func (p *ProjectV2) GetOrganizationPermission() string + func (p *ProjectV2) GetOwner() *User + func (p *ProjectV2) GetOwnerURL() string + func (p *ProjectV2) GetPrivate() bool + func (p *ProjectV2) GetPublic() bool + func (p *ProjectV2) GetShortDescription() string + func (p *ProjectV2) GetState() string + func (p *ProjectV2) GetTitle() string + func (p *ProjectV2) GetURL() string + func (p *ProjectV2) GetUpdatedAt() Timestamp + type ProjectV2Event struct + Action *string + Installation *Installation + Org *Organization + ProjectsV2 *ProjectV2 + Sender *User + func (p *ProjectV2Event) GetAction() string + func (p *ProjectV2Event) GetInstallation() *Installation + func (p *ProjectV2Event) GetOrg() *Organization + func (p *ProjectV2Event) GetProjectsV2() *ProjectV2 + func (p *ProjectV2Event) GetSender() *User + type ProjectV2Item struct + ArchivedAt *Timestamp + ContentNodeID *string + ContentType *string + CreatedAt *Timestamp + Creator *User + ID *int64 + NodeID *string + ProjectNodeID *string + UpdatedAt *Timestamp + func (p *ProjectV2Item) GetArchivedAt() Timestamp + func (p *ProjectV2Item) GetContentNodeID() string + func (p *ProjectV2Item) GetContentType() string + func (p *ProjectV2Item) GetCreatedAt() Timestamp + func (p *ProjectV2Item) GetCreator() *User + func (p *ProjectV2Item) GetID() int64 + func (p *ProjectV2Item) GetNodeID() string + func (p *ProjectV2Item) GetProjectNodeID() string + func (p *ProjectV2Item) GetUpdatedAt() Timestamp + type ProjectV2ItemChange struct + ArchivedAt *ArchivedAt + func (p *ProjectV2ItemChange) GetArchivedAt() *ArchivedAt + type ProjectV2ItemEvent struct + Action *string + Changes *ProjectV2ItemChange + Installation *Installation + Org *Organization + ProjectV2Item *ProjectV2Item + Sender *User + func (p *ProjectV2ItemEvent) GetAction() string + func (p *ProjectV2ItemEvent) GetChanges() *ProjectV2ItemChange + func (p *ProjectV2ItemEvent) GetInstallation() *Installation + func (p *ProjectV2ItemEvent) GetOrg() *Organization + func (p *ProjectV2ItemEvent) GetProjectV2Item() *ProjectV2Item + func (p *ProjectV2ItemEvent) GetSender() *User + type Protection struct + AllowDeletions *AllowDeletions + AllowForcePushes *AllowForcePushes + AllowForkSyncing *AllowForkSyncing + BlockCreations *BlockCreations + EnforceAdmins *AdminEnforcement + LockBranch *LockBranch + RequireLinearHistory *RequireLinearHistory + RequiredConversationResolution *RequiredConversationResolution + RequiredPullRequestReviews *PullRequestReviewsEnforcement + RequiredSignatures *SignaturesProtectedBranch + RequiredStatusChecks *RequiredStatusChecks + Restrictions *BranchRestrictions + URL *string + func (p *Protection) GetAllowDeletions() *AllowDeletions + func (p *Protection) GetAllowForcePushes() *AllowForcePushes + func (p *Protection) GetAllowForkSyncing() *AllowForkSyncing + func (p *Protection) GetBlockCreations() *BlockCreations + func (p *Protection) GetEnforceAdmins() *AdminEnforcement + func (p *Protection) GetLockBranch() *LockBranch + func (p *Protection) GetRequireLinearHistory() *RequireLinearHistory + func (p *Protection) GetRequiredConversationResolution() *RequiredConversationResolution + func (p *Protection) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcement + func (p *Protection) GetRequiredSignatures() *SignaturesProtectedBranch + func (p *Protection) GetRequiredStatusChecks() *RequiredStatusChecks + func (p *Protection) GetRestrictions() *BranchRestrictions + func (p *Protection) GetURL() string + type ProtectionChanges struct + AdminEnforced *AdminEnforcedChanges + AllowDeletionsEnforcementLevel *AllowDeletionsEnforcementLevelChanges + AuthorizedActorNames *AuthorizedActorNames + AuthorizedActorsOnly *AuthorizedActorsOnly + AuthorizedDismissalActorsOnly *AuthorizedDismissalActorsOnlyChanges + CreateProtected *CreateProtectedChanges + DismissStaleReviewsOnPush *DismissStaleReviewsOnPushChanges + LinearHistoryRequirementEnforcementLevel *LinearHistoryRequirementEnforcementLevelChanges + PullRequestReviewsEnforcementLevel *PullRequestReviewsEnforcementLevelChanges + RequireCodeOwnerReview *RequireCodeOwnerReviewChanges + RequiredConversationResolutionLevel *RequiredConversationResolutionLevelChanges + RequiredDeploymentsEnforcementLevel *RequiredDeploymentsEnforcementLevelChanges + RequiredStatusChecks *RequiredStatusChecksChanges + RequiredStatusChecksEnforcementLevel *RequiredStatusChecksEnforcementLevelChanges + SignatureRequirementEnforcementLevel *SignatureRequirementEnforcementLevelChanges + func (p *ProtectionChanges) GetAdminEnforced() *AdminEnforcedChanges + func (p *ProtectionChanges) GetAllowDeletionsEnforcementLevel() *AllowDeletionsEnforcementLevelChanges + func (p *ProtectionChanges) GetAuthorizedActorNames() *AuthorizedActorNames + func (p *ProtectionChanges) GetAuthorizedActorsOnly() *AuthorizedActorsOnly + func (p *ProtectionChanges) GetAuthorizedDismissalActorsOnly() *AuthorizedDismissalActorsOnlyChanges + func (p *ProtectionChanges) GetCreateProtected() *CreateProtectedChanges + func (p *ProtectionChanges) GetDismissStaleReviewsOnPush() *DismissStaleReviewsOnPushChanges + func (p *ProtectionChanges) GetLinearHistoryRequirementEnforcementLevel() *LinearHistoryRequirementEnforcementLevelChanges + func (p *ProtectionChanges) GetPullRequestReviewsEnforcementLevel() *PullRequestReviewsEnforcementLevelChanges + func (p *ProtectionChanges) GetRequireCodeOwnerReview() *RequireCodeOwnerReviewChanges + func (p *ProtectionChanges) GetRequiredConversationResolutionLevel() *RequiredConversationResolutionLevelChanges + func (p *ProtectionChanges) GetRequiredDeploymentsEnforcementLevel() *RequiredDeploymentsEnforcementLevelChanges + func (p *ProtectionChanges) GetRequiredStatusChecks() *RequiredStatusChecksChanges + func (p *ProtectionChanges) GetRequiredStatusChecksEnforcementLevel() *RequiredStatusChecksEnforcementLevelChanges + func (p *ProtectionChanges) GetSignatureRequirementEnforcementLevel() *SignatureRequirementEnforcementLevelChanges + type ProtectionRequest struct + AllowDeletions *bool + AllowForcePushes *bool + AllowForkSyncing *bool + BlockCreations *bool + EnforceAdmins bool + LockBranch *bool + RequireLinearHistory *bool + RequiredConversationResolution *bool + RequiredPullRequestReviews *PullRequestReviewsEnforcementRequest + RequiredStatusChecks *RequiredStatusChecks + Restrictions *BranchRestrictionsRequest + func (p *ProtectionRequest) GetAllowDeletions() bool + func (p *ProtectionRequest) GetAllowForcePushes() bool + func (p *ProtectionRequest) GetAllowForkSyncing() bool + func (p *ProtectionRequest) GetBlockCreations() bool + func (p *ProtectionRequest) GetLockBranch() bool + func (p *ProtectionRequest) GetRequireLinearHistory() bool + func (p *ProtectionRequest) GetRequiredConversationResolution() bool + func (p *ProtectionRequest) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcementRequest + func (p *ProtectionRequest) GetRequiredStatusChecks() *RequiredStatusChecks + func (p *ProtectionRequest) GetRestrictions() *BranchRestrictionsRequest + type ProtectionRule struct + ID *int64 + NodeID *string + PreventSelfReview *bool + Reviewers []*RequiredReviewer + Type *string + WaitTimer *int + func (p *ProtectionRule) GetID() int64 + func (p *ProtectionRule) GetNodeID() string + func (p *ProtectionRule) GetPreventSelfReview() bool + func (p *ProtectionRule) GetType() string + func (p *ProtectionRule) GetWaitTimer() int + type PublicEvent struct + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (p *PublicEvent) GetInstallation() *Installation + func (p *PublicEvent) GetOrg() *Organization + func (p *PublicEvent) GetRepo() *Repository + func (p *PublicEvent) GetSender() *User + type PublicKey struct + Key *string + KeyID *string + func (p *PublicKey) GetKey() string + func (p *PublicKey) GetKeyID() string + func (p *PublicKey) UnmarshalJSON(data []byte) error + type PullRequest struct + ActiveLockReason *string + Additions *int + Assignee *User + Assignees []*User + AuthorAssociation *string + AutoMerge *PullRequestAutoMerge + Base *PullRequestBranch + Body *string + ChangedFiles *int + ClosedAt *Timestamp + Comments *int + CommentsURL *string + Commits *int + CommitsURL *string + CreatedAt *Timestamp + Deletions *int + DiffURL *string + Draft *bool + HTMLURL *string + Head *PullRequestBranch + ID *int64 + IssueURL *string + Labels []*Label + Links *PRLinks + Locked *bool + MaintainerCanModify *bool + MergeCommitSHA *string + Mergeable *bool + MergeableState *string + Merged *bool + MergedAt *Timestamp + MergedBy *User + Milestone *Milestone + NodeID *string + Number *int + PatchURL *string + Rebaseable *bool + RequestedReviewers []*User + RequestedTeams []*Team + ReviewCommentURL *string + ReviewComments *int + ReviewCommentsURL *string + State *string + StatusesURL *string + Title *string + URL *string + UpdatedAt *Timestamp + User *User + func (p *PullRequest) GetActiveLockReason() string + func (p *PullRequest) GetAdditions() int + func (p *PullRequest) GetAssignee() *User + func (p *PullRequest) GetAuthorAssociation() string + func (p *PullRequest) GetAutoMerge() *PullRequestAutoMerge + func (p *PullRequest) GetBase() *PullRequestBranch + func (p *PullRequest) GetBody() string + func (p *PullRequest) GetChangedFiles() int + func (p *PullRequest) GetClosedAt() Timestamp + func (p *PullRequest) GetComments() int + func (p *PullRequest) GetCommentsURL() string + func (p *PullRequest) GetCommits() int + func (p *PullRequest) GetCommitsURL() string + func (p *PullRequest) GetCreatedAt() Timestamp + func (p *PullRequest) GetDeletions() int + func (p *PullRequest) GetDiffURL() string + func (p *PullRequest) GetDraft() bool + func (p *PullRequest) GetHTMLURL() string + func (p *PullRequest) GetHead() *PullRequestBranch + func (p *PullRequest) GetID() int64 + func (p *PullRequest) GetIssueURL() string + func (p *PullRequest) GetLinks() *PRLinks + func (p *PullRequest) GetLocked() bool + func (p *PullRequest) GetMaintainerCanModify() bool + func (p *PullRequest) GetMergeCommitSHA() string + func (p *PullRequest) GetMergeable() bool + func (p *PullRequest) GetMergeableState() string + func (p *PullRequest) GetMerged() bool + func (p *PullRequest) GetMergedAt() Timestamp + func (p *PullRequest) GetMergedBy() *User + func (p *PullRequest) GetMilestone() *Milestone + func (p *PullRequest) GetNodeID() string + func (p *PullRequest) GetNumber() int + func (p *PullRequest) GetPatchURL() string + func (p *PullRequest) GetRebaseable() bool + func (p *PullRequest) GetReviewCommentURL() string + func (p *PullRequest) GetReviewComments() int + func (p *PullRequest) GetReviewCommentsURL() string + func (p *PullRequest) GetState() string + func (p *PullRequest) GetStatusesURL() string + func (p *PullRequest) GetTitle() string + func (p *PullRequest) GetURL() string + func (p *PullRequest) GetUpdatedAt() Timestamp + func (p *PullRequest) GetUser() *User + func (p PullRequest) String() string + type PullRequestAutoMerge struct + CommitMessage *string + CommitTitle *string + EnabledBy *User + MergeMethod *string + func (p *PullRequestAutoMerge) GetCommitMessage() string + func (p *PullRequestAutoMerge) GetCommitTitle() string + func (p *PullRequestAutoMerge) GetEnabledBy() *User + func (p *PullRequestAutoMerge) GetMergeMethod() string + type PullRequestBranch struct + Label *string + Ref *string + Repo *Repository + SHA *string + User *User + func (p *PullRequestBranch) GetLabel() string + func (p *PullRequestBranch) GetRef() string + func (p *PullRequestBranch) GetRepo() *Repository + func (p *PullRequestBranch) GetSHA() string + func (p *PullRequestBranch) GetUser() *User + type PullRequestBranchUpdateOptions struct + ExpectedHeadSHA *string + func (p *PullRequestBranchUpdateOptions) GetExpectedHeadSHA() string + type PullRequestBranchUpdateResponse struct + Message *string + URL *string + func (p *PullRequestBranchUpdateResponse) GetMessage() string + func (p *PullRequestBranchUpdateResponse) GetURL() string + type PullRequestComment struct + AuthorAssociation *string + Body *string + CommitID *string + CreatedAt *Timestamp + DiffHunk *string + HTMLURL *string + ID *int64 + InReplyTo *int64 + Line *int + NodeID *string + OriginalCommitID *string + OriginalLine *int + OriginalPosition *int + OriginalStartLine *int + Path *string + Position *int + PullRequestReviewID *int64 + PullRequestURL *string + Reactions *Reactions + Side *string + StartLine *int + StartSide *string + SubjectType *string + URL *string + UpdatedAt *Timestamp + User *User + func (p *PullRequestComment) GetAuthorAssociation() string + func (p *PullRequestComment) GetBody() string + func (p *PullRequestComment) GetCommitID() string + func (p *PullRequestComment) GetCreatedAt() Timestamp + func (p *PullRequestComment) GetDiffHunk() string + func (p *PullRequestComment) GetHTMLURL() string + func (p *PullRequestComment) GetID() int64 + func (p *PullRequestComment) GetInReplyTo() int64 + func (p *PullRequestComment) GetLine() int + func (p *PullRequestComment) GetNodeID() string + func (p *PullRequestComment) GetOriginalCommitID() string + func (p *PullRequestComment) GetOriginalLine() int + func (p *PullRequestComment) GetOriginalPosition() int + func (p *PullRequestComment) GetOriginalStartLine() int + func (p *PullRequestComment) GetPath() string + func (p *PullRequestComment) GetPosition() int + func (p *PullRequestComment) GetPullRequestReviewID() int64 + func (p *PullRequestComment) GetPullRequestURL() string + func (p *PullRequestComment) GetReactions() *Reactions + func (p *PullRequestComment) GetSide() string + func (p *PullRequestComment) GetStartLine() int + func (p *PullRequestComment) GetStartSide() string + func (p *PullRequestComment) GetSubjectType() string + func (p *PullRequestComment) GetURL() string + func (p *PullRequestComment) GetUpdatedAt() Timestamp + func (p *PullRequestComment) GetUser() *User + func (p PullRequestComment) String() string + type PullRequestEvent struct + Action *string + After *string + Assignee *User + Before *string + Changes *EditChange + Installation *Installation + Label *Label + Number *int + Organization *Organization + PerformedViaGithubApp *App + PullRequest *PullRequest + Repo *Repository + RequestedReviewer *User + RequestedTeam *Team + Sender *User + func (p *PullRequestEvent) GetAction() string + func (p *PullRequestEvent) GetAfter() string + func (p *PullRequestEvent) GetAssignee() *User + func (p *PullRequestEvent) GetBefore() string + func (p *PullRequestEvent) GetChanges() *EditChange + func (p *PullRequestEvent) GetInstallation() *Installation + func (p *PullRequestEvent) GetLabel() *Label + func (p *PullRequestEvent) GetNumber() int + func (p *PullRequestEvent) GetOrganization() *Organization + func (p *PullRequestEvent) GetPerformedViaGithubApp() *App + func (p *PullRequestEvent) GetPullRequest() *PullRequest + func (p *PullRequestEvent) GetRepo() *Repository + func (p *PullRequestEvent) GetRequestedReviewer() *User + func (p *PullRequestEvent) GetRequestedTeam() *Team + func (p *PullRequestEvent) GetSender() *User + type PullRequestLinks struct + DiffURL *string + HTMLURL *string + MergedAt *Timestamp + PatchURL *string + URL *string + func (p *PullRequestLinks) GetDiffURL() string + func (p *PullRequestLinks) GetHTMLURL() string + func (p *PullRequestLinks) GetMergedAt() Timestamp + func (p *PullRequestLinks) GetPatchURL() string + func (p *PullRequestLinks) GetURL() string + type PullRequestListCommentsOptions struct + Direction string + Since time.Time + Sort string + type PullRequestListOptions struct + Base string + Direction string + Head string + Sort string + State string + type PullRequestMergeResult struct + Merged *bool + Message *string + SHA *string + func (p *PullRequestMergeResult) GetMerged() bool + func (p *PullRequestMergeResult) GetMessage() string + func (p *PullRequestMergeResult) GetSHA() string + type PullRequestOptions struct + CommitTitle string + DontDefaultIfBlank bool + MergeMethod string + SHA string + type PullRequestReview struct + AuthorAssociation *string + Body *string + CommitID *string + HTMLURL *string + ID *int64 + NodeID *string + PullRequestURL *string + State *string + SubmittedAt *Timestamp + User *User + func (p *PullRequestReview) GetAuthorAssociation() string + func (p *PullRequestReview) GetBody() string + func (p *PullRequestReview) GetCommitID() string + func (p *PullRequestReview) GetHTMLURL() string + func (p *PullRequestReview) GetID() int64 + func (p *PullRequestReview) GetNodeID() string + func (p *PullRequestReview) GetPullRequestURL() string + func (p *PullRequestReview) GetState() string + func (p *PullRequestReview) GetSubmittedAt() Timestamp + func (p *PullRequestReview) GetUser() *User + func (p PullRequestReview) String() string + type PullRequestReviewCommentEvent struct + Action *string + Changes *EditChange + Comment *PullRequestComment + Installation *Installation + Org *Organization + PullRequest *PullRequest + Repo *Repository + Sender *User + func (p *PullRequestReviewCommentEvent) GetAction() string + func (p *PullRequestReviewCommentEvent) GetChanges() *EditChange + func (p *PullRequestReviewCommentEvent) GetComment() *PullRequestComment + func (p *PullRequestReviewCommentEvent) GetInstallation() *Installation + func (p *PullRequestReviewCommentEvent) GetOrg() *Organization + func (p *PullRequestReviewCommentEvent) GetPullRequest() *PullRequest + func (p *PullRequestReviewCommentEvent) GetRepo() *Repository + func (p *PullRequestReviewCommentEvent) GetSender() *User + type PullRequestReviewDismissalRequest struct + Message *string + func (p *PullRequestReviewDismissalRequest) GetMessage() string + func (r PullRequestReviewDismissalRequest) String() string + type PullRequestReviewEvent struct + Action *string + Installation *Installation + Organization *Organization + PullRequest *PullRequest + Repo *Repository + Review *PullRequestReview + Sender *User + func (p *PullRequestReviewEvent) GetAction() string + func (p *PullRequestReviewEvent) GetInstallation() *Installation + func (p *PullRequestReviewEvent) GetOrganization() *Organization + func (p *PullRequestReviewEvent) GetPullRequest() *PullRequest + func (p *PullRequestReviewEvent) GetRepo() *Repository + func (p *PullRequestReviewEvent) GetReview() *PullRequestReview + func (p *PullRequestReviewEvent) GetSender() *User + type PullRequestReviewRequest struct + Body *string + Comments []*DraftReviewComment + CommitID *string + Event *string + NodeID *string + func (p *PullRequestReviewRequest) GetBody() string + func (p *PullRequestReviewRequest) GetCommitID() string + func (p *PullRequestReviewRequest) GetEvent() string + func (p *PullRequestReviewRequest) GetNodeID() string + func (r PullRequestReviewRequest) String() string + type PullRequestReviewThreadEvent struct + Action *string + Installation *Installation + Org *Organization + PullRequest *PullRequest + Repo *Repository + Sender *User + Thread *PullRequestThread + func (p *PullRequestReviewThreadEvent) GetAction() string + func (p *PullRequestReviewThreadEvent) GetInstallation() *Installation + func (p *PullRequestReviewThreadEvent) GetOrg() *Organization + func (p *PullRequestReviewThreadEvent) GetPullRequest() *PullRequest + func (p *PullRequestReviewThreadEvent) GetRepo() *Repository + func (p *PullRequestReviewThreadEvent) GetSender() *User + func (p *PullRequestReviewThreadEvent) GetThread() *PullRequestThread + type PullRequestReviewsEnforcement struct + BypassPullRequestAllowances *BypassPullRequestAllowances + DismissStaleReviews bool + DismissalRestrictions *DismissalRestrictions + RequireCodeOwnerReviews bool + RequireLastPushApproval bool + RequiredApprovingReviewCount int + func (p *PullRequestReviewsEnforcement) GetBypassPullRequestAllowances() *BypassPullRequestAllowances + func (p *PullRequestReviewsEnforcement) GetDismissalRestrictions() *DismissalRestrictions + type PullRequestReviewsEnforcementLevelChanges struct + From *string + func (p *PullRequestReviewsEnforcementLevelChanges) GetFrom() string + type PullRequestReviewsEnforcementRequest struct + BypassPullRequestAllowancesRequest *BypassPullRequestAllowancesRequest + DismissStaleReviews bool + DismissalRestrictionsRequest *DismissalRestrictionsRequest + RequireCodeOwnerReviews bool + RequireLastPushApproval *bool + RequiredApprovingReviewCount int + func (p *PullRequestReviewsEnforcementRequest) GetBypassPullRequestAllowancesRequest() *BypassPullRequestAllowancesRequest + func (p *PullRequestReviewsEnforcementRequest) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest + func (p *PullRequestReviewsEnforcementRequest) GetRequireLastPushApproval() bool + type PullRequestReviewsEnforcementUpdate struct + BypassPullRequestAllowancesRequest *BypassPullRequestAllowancesRequest + DismissStaleReviews *bool + DismissalRestrictionsRequest *DismissalRestrictionsRequest + RequireCodeOwnerReviews *bool + RequireLastPushApproval *bool + RequiredApprovingReviewCount int + func (p *PullRequestReviewsEnforcementUpdate) GetBypassPullRequestAllowancesRequest() *BypassPullRequestAllowancesRequest + func (p *PullRequestReviewsEnforcementUpdate) GetDismissStaleReviews() bool + func (p *PullRequestReviewsEnforcementUpdate) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest + func (p *PullRequestReviewsEnforcementUpdate) GetRequireCodeOwnerReviews() bool + func (p *PullRequestReviewsEnforcementUpdate) GetRequireLastPushApproval() bool + type PullRequestRuleParameters struct + DismissStaleReviewsOnPush bool + RequireCodeOwnerReview bool + RequireLastPushApproval bool + RequiredApprovingReviewCount int + RequiredReviewThreadResolution bool + type PullRequestTargetEvent struct + Action *string + After *string + Assignee *User + Before *string + Changes *EditChange + Installation *Installation + Label *Label + Number *int + Organization *Organization + PerformedViaGithubApp *App + PullRequest *PullRequest + Repo *Repository + RequestedReviewer *User + RequestedTeam *Team + Sender *User + func (p *PullRequestTargetEvent) GetAction() string + func (p *PullRequestTargetEvent) GetAfter() string + func (p *PullRequestTargetEvent) GetAssignee() *User + func (p *PullRequestTargetEvent) GetBefore() string + func (p *PullRequestTargetEvent) GetChanges() *EditChange + func (p *PullRequestTargetEvent) GetInstallation() *Installation + func (p *PullRequestTargetEvent) GetLabel() *Label + func (p *PullRequestTargetEvent) GetNumber() int + func (p *PullRequestTargetEvent) GetOrganization() *Organization + func (p *PullRequestTargetEvent) GetPerformedViaGithubApp() *App + func (p *PullRequestTargetEvent) GetPullRequest() *PullRequest + func (p *PullRequestTargetEvent) GetRepo() *Repository + func (p *PullRequestTargetEvent) GetRequestedReviewer() *User + func (p *PullRequestTargetEvent) GetRequestedTeam() *Team + func (p *PullRequestTargetEvent) GetSender() *User + type PullRequestThread struct + Comments []*PullRequestComment + ID *int64 + NodeID *string + func (p *PullRequestThread) GetID() int64 + func (p *PullRequestThread) GetNodeID() string + func (p PullRequestThread) String() string + type PullRequestsService service + func (s *PullRequestsService) Create(ctx context.Context, owner string, repo string, pull *NewPullRequest) (*PullRequest, *Response, error) + func (s *PullRequestsService) CreateComment(ctx context.Context, owner, repo string, number int, ...) (*PullRequestComment, *Response, error) + func (s *PullRequestsService) CreateCommentInReplyTo(ctx context.Context, owner, repo string, number int, body string, ...) (*PullRequestComment, *Response, error) + func (s *PullRequestsService) CreateReview(ctx context.Context, owner, repo string, number int, ...) (*PullRequestReview, *Response, error) + func (s *PullRequestsService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*Response, error) + func (s *PullRequestsService) DeletePendingReview(ctx context.Context, owner, repo string, number int, reviewID int64) (*PullRequestReview, *Response, error) + func (s *PullRequestsService) DismissReview(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*PullRequestReview, *Response, error) + func (s *PullRequestsService) Edit(ctx context.Context, owner string, repo string, number int, pull *PullRequest) (*PullRequest, *Response, error) + func (s *PullRequestsService) EditComment(ctx context.Context, owner, repo string, commentID int64, ...) (*PullRequestComment, *Response, error) + func (s *PullRequestsService) Get(ctx context.Context, owner string, repo string, number int) (*PullRequest, *Response, error) + func (s *PullRequestsService) GetComment(ctx context.Context, owner, repo string, commentID int64) (*PullRequestComment, *Response, error) + func (s *PullRequestsService) GetRaw(ctx context.Context, owner string, repo string, number int, opts RawOptions) (string, *Response, error) + func (s *PullRequestsService) GetReview(ctx context.Context, owner, repo string, number int, reviewID int64) (*PullRequestReview, *Response, error) + func (s *PullRequestsService) IsMerged(ctx context.Context, owner string, repo string, number int) (bool, *Response, error) + func (s *PullRequestsService) List(ctx context.Context, owner string, repo string, opts *PullRequestListOptions) ([]*PullRequest, *Response, error) + func (s *PullRequestsService) ListComments(ctx context.Context, owner, repo string, number int, ...) ([]*PullRequestComment, *Response, error) + func (s *PullRequestsService) ListCommits(ctx context.Context, owner string, repo string, number int, opts *ListOptions) ([]*RepositoryCommit, *Response, error) + func (s *PullRequestsService) ListFiles(ctx context.Context, owner string, repo string, number int, opts *ListOptions) ([]*CommitFile, *Response, error) + func (s *PullRequestsService) ListPullRequestsWithCommit(ctx context.Context, owner, repo, sha string, opts *ListOptions) ([]*PullRequest, *Response, error) + func (s *PullRequestsService) ListReviewComments(ctx context.Context, owner, repo string, number int, reviewID int64, ...) ([]*PullRequestComment, *Response, error) + func (s *PullRequestsService) ListReviewers(ctx context.Context, owner, repo string, number int, opts *ListOptions) (*Reviewers, *Response, error) + func (s *PullRequestsService) ListReviews(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*PullRequestReview, *Response, error) + func (s *PullRequestsService) Merge(ctx context.Context, owner string, repo string, number int, ...) (*PullRequestMergeResult, *Response, error) + func (s *PullRequestsService) RemoveReviewers(ctx context.Context, owner, repo string, number int, ...) (*Response, error) + func (s *PullRequestsService) RequestReviewers(ctx context.Context, owner, repo string, number int, ...) (*PullRequest, *Response, error) + func (s *PullRequestsService) SubmitReview(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*PullRequestReview, *Response, error) + func (s *PullRequestsService) UpdateBranch(ctx context.Context, owner, repo string, number int, ...) (*PullRequestBranchUpdateResponse, *Response, error) + func (s *PullRequestsService) UpdateReview(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*PullRequestReview, *Response, error) + type PullStats struct + MergablePulls *int + MergedPulls *int + TotalPulls *int + UnmergablePulls *int + func (p *PullStats) GetMergablePulls() int + func (p *PullStats) GetMergedPulls() int + func (p *PullStats) GetTotalPulls() int + func (p *PullStats) GetUnmergablePulls() int + func (s PullStats) String() string + type PunchCard struct + Commits *int + Day *int + Hour *int + func (p *PunchCard) GetCommits() int + func (p *PunchCard) GetDay() int + func (p *PunchCard) GetHour() int + type PushEvent struct + Action *string + After *string + BaseRef *string + Before *string + Commits []*HeadCommit + Compare *string + Created *bool + Deleted *bool + DistinctSize *int + Forced *bool + Head *string + HeadCommit *HeadCommit + Installation *Installation + Organization *Organization + PushID *int64 + Pusher *CommitAuthor + Ref *string + Repo *PushEventRepository + Sender *User + Size *int + func (p *PushEvent) GetAction() string + func (p *PushEvent) GetAfter() string + func (p *PushEvent) GetBaseRef() string + func (p *PushEvent) GetBefore() string + func (p *PushEvent) GetCommits() []*HeadCommit + func (p *PushEvent) GetCompare() string + func (p *PushEvent) GetCreated() bool + func (p *PushEvent) GetDeleted() bool + func (p *PushEvent) GetDistinctSize() int + func (p *PushEvent) GetForced() bool + func (p *PushEvent) GetHead() string + func (p *PushEvent) GetHeadCommit() *HeadCommit + func (p *PushEvent) GetInstallation() *Installation + func (p *PushEvent) GetOrganization() *Organization + func (p *PushEvent) GetPushID() int64 + func (p *PushEvent) GetPusher() *CommitAuthor + func (p *PushEvent) GetRef() string + func (p *PushEvent) GetRepo() *PushEventRepository + func (p *PushEvent) GetSender() *User + func (p *PushEvent) GetSize() int + func (p PushEvent) String() string + type PushEventRepoOwner struct + Email *string + Name *string + func (p *PushEventRepoOwner) GetEmail() string + func (p *PushEventRepoOwner) GetName() string + type PushEventRepository struct + ArchiveURL *string + Archived *bool + CloneURL *string + CreatedAt *Timestamp + CustomProperties map[string]interface{} + DefaultBranch *string + Description *string + Disabled *bool + Fork *bool + ForksCount *int + FullName *string + GitURL *string + HTMLURL *string + HasDownloads *bool + HasIssues *bool + HasPages *bool + HasWiki *bool + Homepage *string + ID *int64 + Language *string + MasterBranch *string + Name *string + NodeID *string + OpenIssuesCount *int + Organization *string + Owner *User + Private *bool + PullsURL *string + PushedAt *Timestamp + SSHURL *string + SVNURL *string + Size *int + StargazersCount *int + StatusesURL *string + Topics []string + URL *string + UpdatedAt *Timestamp + WatchersCount *int + func (p *PushEventRepository) GetArchiveURL() string + func (p *PushEventRepository) GetArchived() bool + func (p *PushEventRepository) GetCloneURL() string + func (p *PushEventRepository) GetCreatedAt() Timestamp + func (p *PushEventRepository) GetDefaultBranch() string + func (p *PushEventRepository) GetDescription() string + func (p *PushEventRepository) GetDisabled() bool + func (p *PushEventRepository) GetFork() bool + func (p *PushEventRepository) GetForksCount() int + func (p *PushEventRepository) GetFullName() string + func (p *PushEventRepository) GetGitURL() string + func (p *PushEventRepository) GetHTMLURL() string + func (p *PushEventRepository) GetHasDownloads() bool + func (p *PushEventRepository) GetHasIssues() bool + func (p *PushEventRepository) GetHasPages() bool + func (p *PushEventRepository) GetHasWiki() bool + func (p *PushEventRepository) GetHomepage() string + func (p *PushEventRepository) GetID() int64 + func (p *PushEventRepository) GetLanguage() string + func (p *PushEventRepository) GetMasterBranch() string + func (p *PushEventRepository) GetName() string + func (p *PushEventRepository) GetNodeID() string + func (p *PushEventRepository) GetOpenIssuesCount() int + func (p *PushEventRepository) GetOrganization() string + func (p *PushEventRepository) GetOwner() *User + func (p *PushEventRepository) GetPrivate() bool + func (p *PushEventRepository) GetPullsURL() string + func (p *PushEventRepository) GetPushedAt() Timestamp + func (p *PushEventRepository) GetSSHURL() string + func (p *PushEventRepository) GetSVNURL() string + func (p *PushEventRepository) GetSize() int + func (p *PushEventRepository) GetStargazersCount() int + func (p *PushEventRepository) GetStatusesURL() string + func (p *PushEventRepository) GetURL() string + func (p *PushEventRepository) GetUpdatedAt() Timestamp + func (p *PushEventRepository) GetWatchersCount() int + type Rate struct + Limit int + Remaining int + Reset Timestamp + func (r Rate) String() string + type RateLimitCategory uint8 + const ActionsRunnerRegistrationCategory + const AuditLogCategory + const Categories + const CodeScanningUploadCategory + const CodeSearchCategory + const CoreCategory + const DependencySnapshotsCategory + const GraphqlCategory + const IntegrationManifestCategory + const ScimCategory + const SearchCategory + const SourceImportCategory + func GetRateLimitCategory(method, path string) RateLimitCategory + type RateLimitError struct + Message string + Rate Rate + Response *http.Response + func (r *RateLimitError) Error() string + func (r *RateLimitError) Is(target error) bool + type RateLimitService service + func (s *RateLimitService) Get(ctx context.Context) (*RateLimits, *Response, error) + type RateLimits struct + ActionsRunnerRegistration *Rate + AuditLog *Rate + CodeScanningUpload *Rate + CodeSearch *Rate + Core *Rate + DependencySnapshots *Rate + GraphQL *Rate + IntegrationManifest *Rate + SCIM *Rate + Search *Rate + SourceImport *Rate + func (r *RateLimits) GetActionsRunnerRegistration() *Rate + func (r *RateLimits) GetAuditLog() *Rate + func (r *RateLimits) GetCodeScanningUpload() *Rate + func (r *RateLimits) GetCodeSearch() *Rate + func (r *RateLimits) GetCore() *Rate + func (r *RateLimits) GetDependencySnapshots() *Rate + func (r *RateLimits) GetGraphQL() *Rate + func (r *RateLimits) GetIntegrationManifest() *Rate + func (r *RateLimits) GetSCIM() *Rate + func (r *RateLimits) GetSearch() *Rate + func (r *RateLimits) GetSourceImport() *Rate + func (r RateLimits) String() string + type RawOptions struct + Type RawType + type RawType uint8 + const Diff + const Patch + type Reaction struct + Content *string + ID *int64 + NodeID *string + User *User + func (r *Reaction) GetContent() string + func (r *Reaction) GetID() int64 + func (r *Reaction) GetNodeID() string + func (r *Reaction) GetUser() *User + func (r Reaction) String() string + type Reactions struct + Confused *int + Eyes *int + Heart *int + Hooray *int + Laugh *int + MinusOne *int + PlusOne *int + Rocket *int + TotalCount *int + URL *string + func (r *Reactions) GetConfused() int + func (r *Reactions) GetEyes() int + func (r *Reactions) GetHeart() int + func (r *Reactions) GetHooray() int + func (r *Reactions) GetLaugh() int + func (r *Reactions) GetMinusOne() int + func (r *Reactions) GetPlusOne() int + func (r *Reactions) GetRocket() int + func (r *Reactions) GetTotalCount() int + func (r *Reactions) GetURL() string + type ReactionsService service + func (s *ReactionsService) CreateCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*Reaction, *Response, error) + func (s *ReactionsService) CreateIssueCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*Reaction, *Response, error) + func (s *ReactionsService) CreateIssueReaction(ctx context.Context, owner, repo string, number int, content string) (*Reaction, *Response, error) + func (s *ReactionsService) CreatePullRequestCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*Reaction, *Response, error) + func (s *ReactionsService) CreateReleaseReaction(ctx context.Context, owner, repo string, releaseID int64, content string) (*Reaction, *Response, error) + func (s *ReactionsService) CreateTeamDiscussionCommentReaction(ctx context.Context, teamID int64, discussionNumber, commentNumber int, ...) (*Reaction, *Response, error) + func (s *ReactionsService) CreateTeamDiscussionReaction(ctx context.Context, teamID int64, discussionNumber int, content string) (*Reaction, *Response, error) + func (s *ReactionsService) DeleteCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*Response, error) + func (s *ReactionsService) DeleteCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*Response, error) + func (s *ReactionsService) DeleteIssueCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*Response, error) + func (s *ReactionsService) DeleteIssueCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*Response, error) + func (s *ReactionsService) DeleteIssueReaction(ctx context.Context, owner, repo string, issueNumber int, reactionID int64) (*Response, error) + func (s *ReactionsService) DeleteIssueReactionByID(ctx context.Context, repoID, issueNumber int, reactionID int64) (*Response, error) + func (s *ReactionsService) DeletePullRequestCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*Response, error) + func (s *ReactionsService) DeletePullRequestCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*Response, error) + func (s *ReactionsService) DeleteTeamDiscussionCommentReaction(ctx context.Context, org, teamSlug string, discussionNumber, commentNumber int, ...) (*Response, error) + func (s *ReactionsService) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID(ctx context.Context, orgID, teamID, discussionNumber, commentNumber int, ...) (*Response, error) + func (s *ReactionsService) DeleteTeamDiscussionReaction(ctx context.Context, org, teamSlug string, discussionNumber int, ...) (*Response, error) + func (s *ReactionsService) DeleteTeamDiscussionReactionByOrgIDAndTeamID(ctx context.Context, orgID, teamID, discussionNumber int, reactionID int64) (*Response, error) + func (s *ReactionsService) ListCommentReactions(ctx context.Context, owner, repo string, id int64, ...) ([]*Reaction, *Response, error) + func (s *ReactionsService) ListIssueCommentReactions(ctx context.Context, owner, repo string, id int64, opts *ListOptions) ([]*Reaction, *Response, error) + func (s *ReactionsService) ListIssueReactions(ctx context.Context, owner, repo string, number int, opts *ListOptions) ([]*Reaction, *Response, error) + func (s *ReactionsService) ListPullRequestCommentReactions(ctx context.Context, owner, repo string, id int64, opts *ListOptions) ([]*Reaction, *Response, error) + func (s *ReactionsService) ListTeamDiscussionCommentReactions(ctx context.Context, teamID int64, discussionNumber, commentNumber int, ...) ([]*Reaction, *Response, error) + func (s *ReactionsService) ListTeamDiscussionReactions(ctx context.Context, teamID int64, discussionNumber int, opts *ListOptions) ([]*Reaction, *Response, error) + type Reference struct + NodeID *string + Object *GitObject + Ref *string + URL *string + func (r *Reference) GetNodeID() string + func (r *Reference) GetObject() *GitObject + func (r *Reference) GetRef() string + func (r *Reference) GetURL() string + func (r Reference) String() string + type ReferenceListOptions struct + Ref string + type ReferencedWorkflow struct + Path *string + Ref *string + SHA *string + func (r *ReferencedWorkflow) GetPath() string + func (r *ReferencedWorkflow) GetRef() string + func (r *ReferencedWorkflow) GetSHA() string + type RegistrationToken struct + ExpiresAt *Timestamp + Token *string + func (r *RegistrationToken) GetExpiresAt() Timestamp + func (r *RegistrationToken) GetToken() string + type ReleaseAsset struct + BrowserDownloadURL *string + ContentType *string + CreatedAt *Timestamp + DownloadCount *int + ID *int64 + Label *string + Name *string + NodeID *string + Size *int + State *string + URL *string + UpdatedAt *Timestamp + Uploader *User + func (r *ReleaseAsset) GetBrowserDownloadURL() string + func (r *ReleaseAsset) GetContentType() string + func (r *ReleaseAsset) GetCreatedAt() Timestamp + func (r *ReleaseAsset) GetDownloadCount() int + func (r *ReleaseAsset) GetID() int64 + func (r *ReleaseAsset) GetLabel() string + func (r *ReleaseAsset) GetName() string + func (r *ReleaseAsset) GetNodeID() string + func (r *ReleaseAsset) GetSize() int + func (r *ReleaseAsset) GetState() string + func (r *ReleaseAsset) GetURL() string + func (r *ReleaseAsset) GetUpdatedAt() Timestamp + func (r *ReleaseAsset) GetUploader() *User + func (r ReleaseAsset) String() string + type ReleaseEvent struct + Action *string + Installation *Installation + Org *Organization + Release *RepositoryRelease + Repo *Repository + Sender *User + func (r *ReleaseEvent) GetAction() string + func (r *ReleaseEvent) GetInstallation() *Installation + func (r *ReleaseEvent) GetOrg() *Organization + func (r *ReleaseEvent) GetRelease() *RepositoryRelease + func (r *ReleaseEvent) GetRepo() *Repository + func (r *ReleaseEvent) GetSender() *User + type RemoveToken struct + ExpiresAt *Timestamp + Token *string + func (r *RemoveToken) GetExpiresAt() Timestamp + func (r *RemoveToken) GetToken() string + type Rename struct + From *string + To *string + func (r *Rename) GetFrom() string + func (r *Rename) GetTo() string + func (r Rename) String() string + type RenameOrgResponse struct + Message *string + URL *string + func (r *RenameOrgResponse) GetMessage() string + func (r *RenameOrgResponse) GetURL() string + type RepoAdvisoryCredit struct + Login *string + Type *string + func (r *RepoAdvisoryCredit) GetLogin() string + func (r *RepoAdvisoryCredit) GetType() string + type RepoAdvisoryCreditDetailed struct + State *string + Type *string + User *User + func (r *RepoAdvisoryCreditDetailed) GetState() string + func (r *RepoAdvisoryCreditDetailed) GetType() string + func (r *RepoAdvisoryCreditDetailed) GetUser() *User + type RepoCustomPropertyValue struct + Properties []*CustomPropertyValue + RepositoryFullName string + RepositoryID int64 + RepositoryName string + type RepoDependencies struct + DownloadLocation *string + FilesAnalyzed *bool + LicenseConcluded *string + LicenseDeclared *string + Name *string + SPDXID *string + VersionInfo *string + func (r *RepoDependencies) GetDownloadLocation() string + func (r *RepoDependencies) GetFilesAnalyzed() bool + func (r *RepoDependencies) GetLicenseConcluded() string + func (r *RepoDependencies) GetLicenseDeclared() string + func (r *RepoDependencies) GetName() string + func (r *RepoDependencies) GetSPDXID() string + func (r *RepoDependencies) GetVersionInfo() string + type RepoMergeUpstreamRequest struct + Branch *string + func (r *RepoMergeUpstreamRequest) GetBranch() string + type RepoMergeUpstreamResult struct + BaseBranch *string + MergeType *string + Message *string + func (r *RepoMergeUpstreamResult) GetBaseBranch() string + func (r *RepoMergeUpstreamResult) GetMergeType() string + func (r *RepoMergeUpstreamResult) GetMessage() string + type RepoName struct + From *string + func (r *RepoName) GetFrom() string + type RepoRequiredWorkflow struct + BadgeURL *string + CreatedAt *Timestamp + HTMLURL *string + ID *int64 + Name *string + NodeID *string + Path *string + SourceRepository *Repository + State *string + URL *string + UpdatedAt *Timestamp + func (r *RepoRequiredWorkflow) GetBadgeURL() string + func (r *RepoRequiredWorkflow) GetCreatedAt() Timestamp + func (r *RepoRequiredWorkflow) GetHTMLURL() string + func (r *RepoRequiredWorkflow) GetID() int64 + func (r *RepoRequiredWorkflow) GetName() string + func (r *RepoRequiredWorkflow) GetNodeID() string + func (r *RepoRequiredWorkflow) GetPath() string + func (r *RepoRequiredWorkflow) GetSourceRepository() *Repository + func (r *RepoRequiredWorkflow) GetState() string + func (r *RepoRequiredWorkflow) GetURL() string + func (r *RepoRequiredWorkflow) GetUpdatedAt() Timestamp + type RepoRequiredWorkflows struct + RequiredWorkflows []*RepoRequiredWorkflow + TotalCount *int + func (r *RepoRequiredWorkflows) GetTotalCount() int + type RepoStats struct + ForkRepos *int + OrgRepos *int + RootRepos *int + TotalPushes *int + TotalRepos *int + TotalWikis *int + func (r *RepoStats) GetForkRepos() int + func (r *RepoStats) GetOrgRepos() int + func (r *RepoStats) GetRootRepos() int + func (r *RepoStats) GetTotalPushes() int + func (r *RepoStats) GetTotalRepos() int + func (r *RepoStats) GetTotalWikis() int + func (s RepoStats) String() string + type RepoStatus struct + AvatarURL *string + Context *string + CreatedAt *Timestamp + Creator *User + Description *string + ID *int64 + NodeID *string + State *string + TargetURL *string + URL *string + UpdatedAt *Timestamp + func (r *RepoStatus) GetAvatarURL() string + func (r *RepoStatus) GetContext() string + func (r *RepoStatus) GetCreatedAt() Timestamp + func (r *RepoStatus) GetCreator() *User + func (r *RepoStatus) GetDescription() string + func (r *RepoStatus) GetID() int64 + func (r *RepoStatus) GetNodeID() string + func (r *RepoStatus) GetState() string + func (r *RepoStatus) GetTargetURL() string + func (r *RepoStatus) GetURL() string + func (r *RepoStatus) GetUpdatedAt() Timestamp + func (r RepoStatus) String() string + type RepositoriesSearchResult struct + IncompleteResults *bool + Repositories []*Repository + Total *int + func (r *RepositoriesSearchResult) GetIncompleteResults() bool + func (r *RepositoriesSearchResult) GetTotal() int + type RepositoriesService service + func (s *RepositoriesService) AddAdminEnforcement(ctx context.Context, owner, repo, branch string) (*AdminEnforcement, *Response, error) + func (s *RepositoriesService) AddAppRestrictions(ctx context.Context, owner, repo, branch string, apps []string) ([]*App, *Response, error) + func (s *RepositoriesService) AddAutolink(ctx context.Context, owner, repo string, opts *AutolinkOptions) (*Autolink, *Response, error) + func (s *RepositoriesService) AddCollaborator(ctx context.Context, owner, repo, user string, ...) (*CollaboratorInvitation, *Response, error) + func (s *RepositoriesService) AddTeamRestrictions(ctx context.Context, owner, repo, branch string, teams []string) ([]*Team, *Response, error) + func (s *RepositoriesService) AddUserRestrictions(ctx context.Context, owner, repo, branch string, users []string) ([]*User, *Response, error) + func (s *RepositoriesService) CompareCommits(ctx context.Context, owner, repo string, base, head string, opts *ListOptions) (*CommitsComparison, *Response, error) + func (s *RepositoriesService) CompareCommitsRaw(ctx context.Context, owner, repo, base, head string, opts RawOptions) (string, *Response, error) + func (s *RepositoriesService) Create(ctx context.Context, org string, repo *Repository) (*Repository, *Response, error) + func (s *RepositoriesService) CreateComment(ctx context.Context, owner, repo, sha string, comment *RepositoryComment) (*RepositoryComment, *Response, error) + func (s *RepositoriesService) CreateCustomDeploymentProtectionRule(ctx context.Context, owner, repo, environment string, ...) (*CustomDeploymentProtectionRule, *Response, error) + func (s *RepositoriesService) CreateDeployment(ctx context.Context, owner, repo string, request *DeploymentRequest) (*Deployment, *Response, error) + func (s *RepositoriesService) CreateDeploymentBranchPolicy(ctx context.Context, owner, repo, environment string, ...) (*DeploymentBranchPolicy, *Response, error) + func (s *RepositoriesService) CreateDeploymentStatus(ctx context.Context, owner, repo string, deployment int64, ...) (*DeploymentStatus, *Response, error) + func (s *RepositoriesService) CreateFile(ctx context.Context, owner, repo, path string, ...) (*RepositoryContentResponse, *Response, error) + func (s *RepositoriesService) CreateFork(ctx context.Context, owner, repo string, opts *RepositoryCreateForkOptions) (*Repository, *Response, error) + func (s *RepositoriesService) CreateFromTemplate(ctx context.Context, templateOwner, templateRepo string, ...) (*Repository, *Response, error) + func (s *RepositoriesService) CreateHook(ctx context.Context, owner, repo string, hook *Hook) (*Hook, *Response, error) + func (s *RepositoriesService) CreateKey(ctx context.Context, owner string, repo string, key *Key) (*Key, *Response, error) + func (s *RepositoriesService) CreateOrUpdateCustomProperties(ctx context.Context, org, repo string, ...) (*Response, error) + func (s *RepositoriesService) CreateRelease(ctx context.Context, owner, repo string, release *RepositoryRelease) (*RepositoryRelease, *Response, error) + func (s *RepositoriesService) CreateRuleset(ctx context.Context, owner, repo string, rs *Ruleset) (*Ruleset, *Response, error) + func (s *RepositoriesService) CreateStatus(ctx context.Context, owner, repo, ref string, status *RepoStatus) (*RepoStatus, *Response, error) + func (s *RepositoriesService) CreateTagProtection(ctx context.Context, owner, repo, pattern string) (*TagProtection, *Response, error) + func (s *RepositoriesService) CreateUpdateEnvironment(ctx context.Context, owner, repo, name string, ...) (*Environment, *Response, error) + func (s *RepositoriesService) Delete(ctx context.Context, owner, repo string) (*Response, error) + func (s *RepositoriesService) DeleteAutolink(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeleteComment(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeleteDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*Response, error) + func (s *RepositoriesService) DeleteDeploymentBranchPolicy(ctx context.Context, owner, repo, environment string, branchPolicyID int64) (*Response, error) + func (s *RepositoriesService) DeleteEnvironment(ctx context.Context, owner, repo, name string) (*Response, error) + func (s *RepositoriesService) DeleteFile(ctx context.Context, owner, repo, path string, ...) (*RepositoryContentResponse, *Response, error) + func (s *RepositoriesService) DeleteHook(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeleteInvitation(ctx context.Context, owner, repo string, invitationID int64) (*Response, error) + func (s *RepositoriesService) DeleteKey(ctx context.Context, owner string, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeletePreReceiveHook(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeleteRelease(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeleteReleaseAsset(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) DeleteRuleset(ctx context.Context, owner, repo string, rulesetID int64) (*Response, error) + func (s *RepositoriesService) DeleteTagProtection(ctx context.Context, owner, repo string, tagProtectionID int64) (*Response, error) + func (s *RepositoriesService) DisableAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*Response, error) + func (s *RepositoriesService) DisableCustomDeploymentProtectionRule(ctx context.Context, owner, repo, environment string, protectionRuleID int64) (*Response, error) + func (s *RepositoriesService) DisableDismissalRestrictions(ctx context.Context, owner, repo, branch string) (*PullRequestReviewsEnforcement, *Response, error) + func (s *RepositoriesService) DisableLFS(ctx context.Context, owner, repo string) (*Response, error) + func (s *RepositoriesService) DisablePages(ctx context.Context, owner, repo string) (*Response, error) + func (s *RepositoriesService) DisablePrivateReporting(ctx context.Context, owner, repo string) (*Response, error) + func (s *RepositoriesService) DisableVulnerabilityAlerts(ctx context.Context, owner, repository string) (*Response, error) + func (s *RepositoriesService) Dispatch(ctx context.Context, owner, repo string, opts DispatchRequestOptions) (*Repository, *Response, error) + func (s *RepositoriesService) DownloadContents(ctx context.Context, owner, repo, filepath string, ...) (io.ReadCloser, *Response, error) + func (s *RepositoriesService) DownloadContentsWithMeta(ctx context.Context, owner, repo, filepath string, ...) (io.ReadCloser, *RepositoryContent, *Response, error) + func (s *RepositoriesService) DownloadReleaseAsset(ctx context.Context, owner, repo string, id int64, ...) (rc io.ReadCloser, redirectURL string, err error) + func (s *RepositoriesService) Edit(ctx context.Context, owner, repo string, repository *Repository) (*Repository, *Response, error) + func (s *RepositoriesService) EditActionsAccessLevel(ctx context.Context, owner, repo string, ...) (*Response, error) + func (s *RepositoriesService) EditActionsAllowed(ctx context.Context, org, repo string, actionsAllowed ActionsAllowed) (*ActionsAllowed, *Response, error) + func (s *RepositoriesService) EditActionsPermissions(ctx context.Context, owner, repo string, ...) (*ActionsPermissionsRepository, *Response, error) + func (s *RepositoriesService) EditDefaultWorkflowPermissions(ctx context.Context, owner, repo string, ...) (*DefaultWorkflowPermissionRepository, *Response, error) + func (s *RepositoriesService) EditHook(ctx context.Context, owner, repo string, id int64, hook *Hook) (*Hook, *Response, error) + func (s *RepositoriesService) EditHookConfiguration(ctx context.Context, owner, repo string, id int64, config *HookConfig) (*HookConfig, *Response, error) + func (s *RepositoriesService) EditRelease(ctx context.Context, owner, repo string, id int64, release *RepositoryRelease) (*RepositoryRelease, *Response, error) + func (s *RepositoriesService) EditReleaseAsset(ctx context.Context, owner, repo string, id int64, release *ReleaseAsset) (*ReleaseAsset, *Response, error) + func (s *RepositoriesService) EnableAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*Response, error) + func (s *RepositoriesService) EnableLFS(ctx context.Context, owner, repo string) (*Response, error) + func (s *RepositoriesService) EnablePages(ctx context.Context, owner, repo string, pages *Pages) (*Pages, *Response, error) + func (s *RepositoriesService) EnablePrivateReporting(ctx context.Context, owner, repo string) (*Response, error) + func (s *RepositoriesService) EnableVulnerabilityAlerts(ctx context.Context, owner, repository string) (*Response, error) + func (s *RepositoriesService) GenerateReleaseNotes(ctx context.Context, owner, repo string, opts *GenerateNotesOptions) (*RepositoryReleaseNotes, *Response, error) + func (s *RepositoriesService) Get(ctx context.Context, owner, repo string) (*Repository, *Response, error) + func (s *RepositoriesService) GetActionsAccessLevel(ctx context.Context, owner, repo string) (*RepositoryActionsAccessLevel, *Response, error) + func (s *RepositoriesService) GetActionsAllowed(ctx context.Context, org, repo string) (*ActionsAllowed, *Response, error) + func (s *RepositoriesService) GetActionsPermissions(ctx context.Context, owner, repo string) (*ActionsPermissionsRepository, *Response, error) + func (s *RepositoriesService) GetAdminEnforcement(ctx context.Context, owner, repo, branch string) (*AdminEnforcement, *Response, error) + func (s *RepositoriesService) GetAllCustomPropertyValues(ctx context.Context, org, repo string) ([]*CustomPropertyValue, *Response, error) + func (s *RepositoriesService) GetAllDeploymentProtectionRules(ctx context.Context, owner, repo, environment string) (*ListDeploymentProtectionRuleResponse, *Response, error) + func (s *RepositoriesService) GetAllRulesets(ctx context.Context, owner, repo string, includesParents bool) ([]*Ruleset, *Response, error) + func (s *RepositoriesService) GetArchiveLink(ctx context.Context, owner, repo string, archiveformat ArchiveFormat, ...) (*url.URL, *Response, error) + func (s *RepositoriesService) GetAutolink(ctx context.Context, owner, repo string, id int64) (*Autolink, *Response, error) + func (s *RepositoriesService) GetAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*AutomatedSecurityFixes, *Response, error) + func (s *RepositoriesService) GetBranch(ctx context.Context, owner, repo, branch string, maxRedirects int) (*Branch, *Response, error) + func (s *RepositoriesService) GetBranchProtection(ctx context.Context, owner, repo, branch string) (*Protection, *Response, error) + func (s *RepositoriesService) GetByID(ctx context.Context, id int64) (*Repository, *Response, error) + func (s *RepositoriesService) GetCodeOfConduct(ctx context.Context, owner, repo string) (*CodeOfConduct, *Response, error) + func (s *RepositoriesService) GetCodeownersErrors(ctx context.Context, owner, repo string, opts *GetCodeownersErrorsOptions) (*CodeownersErrors, *Response, error) + func (s *RepositoriesService) GetCombinedStatus(ctx context.Context, owner, repo, ref string, opts *ListOptions) (*CombinedStatus, *Response, error) + func (s *RepositoriesService) GetComment(ctx context.Context, owner, repo string, id int64) (*RepositoryComment, *Response, error) + func (s *RepositoriesService) GetCommit(ctx context.Context, owner, repo, sha string, opts *ListOptions) (*RepositoryCommit, *Response, error) + func (s *RepositoriesService) GetCommitRaw(ctx context.Context, owner string, repo string, sha string, opts RawOptions) (string, *Response, error) + func (s *RepositoriesService) GetCommitSHA1(ctx context.Context, owner, repo, ref, lastSHA string) (string, *Response, error) + func (s *RepositoriesService) GetCommunityHealthMetrics(ctx context.Context, owner, repo string) (*CommunityHealthMetrics, *Response, error) + func (s *RepositoriesService) GetContents(ctx context.Context, owner, repo, path string, ...) (fileContent *RepositoryContent, directoryContent []*RepositoryContent, ...) + func (s *RepositoriesService) GetCustomDeploymentProtectionRule(ctx context.Context, owner, repo, environment string, protectionRuleID int64) (*CustomDeploymentProtectionRule, *Response, error) + func (s *RepositoriesService) GetDefaultWorkflowPermissions(ctx context.Context, owner, repo string) (*DefaultWorkflowPermissionRepository, *Response, error) + func (s *RepositoriesService) GetDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*Deployment, *Response, error) + func (s *RepositoriesService) GetDeploymentBranchPolicy(ctx context.Context, owner, repo, environment string, branchPolicyID int64) (*DeploymentBranchPolicy, *Response, error) + func (s *RepositoriesService) GetDeploymentStatus(ctx context.Context, owner, repo string, ...) (*DeploymentStatus, *Response, error) + func (s *RepositoriesService) GetEnvironment(ctx context.Context, owner, repo, name string) (*Environment, *Response, error) + func (s *RepositoriesService) GetHook(ctx context.Context, owner, repo string, id int64) (*Hook, *Response, error) + func (s *RepositoriesService) GetHookConfiguration(ctx context.Context, owner, repo string, id int64) (*HookConfig, *Response, error) + func (s *RepositoriesService) GetHookDelivery(ctx context.Context, owner, repo string, hookID, deliveryID int64) (*HookDelivery, *Response, error) + func (s *RepositoriesService) GetKey(ctx context.Context, owner string, repo string, id int64) (*Key, *Response, error) + func (s *RepositoriesService) GetLatestPagesBuild(ctx context.Context, owner, repo string) (*PagesBuild, *Response, error) + func (s *RepositoriesService) GetLatestRelease(ctx context.Context, owner, repo string) (*RepositoryRelease, *Response, error) + func (s *RepositoriesService) GetPageBuild(ctx context.Context, owner, repo string, id int64) (*PagesBuild, *Response, error) + func (s *RepositoriesService) GetPageHealthCheck(ctx context.Context, owner, repo string) (*PagesHealthCheckResponse, *Response, error) + func (s *RepositoriesService) GetPagesInfo(ctx context.Context, owner, repo string) (*Pages, *Response, error) + func (s *RepositoriesService) GetPermissionLevel(ctx context.Context, owner, repo, user string) (*RepositoryPermissionLevel, *Response, error) + func (s *RepositoriesService) GetPreReceiveHook(ctx context.Context, owner, repo string, id int64) (*PreReceiveHook, *Response, error) + func (s *RepositoriesService) GetPullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string) (*PullRequestReviewsEnforcement, *Response, error) + func (s *RepositoriesService) GetReadme(ctx context.Context, owner, repo string, opts *RepositoryContentGetOptions) (*RepositoryContent, *Response, error) + func (s *RepositoriesService) GetRelease(ctx context.Context, owner, repo string, id int64) (*RepositoryRelease, *Response, error) + func (s *RepositoriesService) GetReleaseAsset(ctx context.Context, owner, repo string, id int64) (*ReleaseAsset, *Response, error) + func (s *RepositoriesService) GetReleaseByTag(ctx context.Context, owner, repo, tag string) (*RepositoryRelease, *Response, error) + func (s *RepositoriesService) GetRequiredStatusChecks(ctx context.Context, owner, repo, branch string) (*RequiredStatusChecks, *Response, error) + func (s *RepositoriesService) GetRulesForBranch(ctx context.Context, owner, repo, branch string) ([]*RepositoryRule, *Response, error) + func (s *RepositoriesService) GetRuleset(ctx context.Context, owner, repo string, rulesetID int64, includesParents bool) (*Ruleset, *Response, error) + func (s *RepositoriesService) GetSignaturesProtectedBranch(ctx context.Context, owner, repo, branch string) (*SignaturesProtectedBranch, *Response, error) + func (s *RepositoriesService) GetVulnerabilityAlerts(ctx context.Context, owner, repository string) (bool, *Response, error) + func (s *RepositoriesService) IsCollaborator(ctx context.Context, owner, repo, user string) (bool, *Response, error) + func (s *RepositoriesService) IsPrivateReportingEnabled(ctx context.Context, owner, repo string) (bool, *Response, error) + func (s *RepositoriesService) License(ctx context.Context, owner, repo string) (*RepositoryLicense, *Response, error) + func (s *RepositoriesService) List(ctx context.Context, user string, opts *RepositoryListOptions) ([]*Repository, *Response, error) + func (s *RepositoriesService) ListAll(ctx context.Context, opts *RepositoryListAllOptions) ([]*Repository, *Response, error) + func (s *RepositoriesService) ListAllTopics(ctx context.Context, owner, repo string) ([]string, *Response, error) + func (s *RepositoriesService) ListAppRestrictions(ctx context.Context, owner, repo, branch string) ([]*App, *Response, error) + func (s *RepositoriesService) ListApps(ctx context.Context, owner, repo, branch string) ([]*App, *Response, error) + func (s *RepositoriesService) ListAttestations(ctx context.Context, owner, repo, subjectDigest string, opts *ListOptions) (*AttestationsResponse, *Response, error) + func (s *RepositoriesService) ListAutolinks(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Autolink, *Response, error) + func (s *RepositoriesService) ListBranches(ctx context.Context, owner string, repo string, opts *BranchListOptions) ([]*Branch, *Response, error) + func (s *RepositoriesService) ListBranchesHeadCommit(ctx context.Context, owner, repo, sha string) ([]*BranchCommit, *Response, error) + func (s *RepositoriesService) ListByAuthenticatedUser(ctx context.Context, opts *RepositoryListByAuthenticatedUserOptions) ([]*Repository, *Response, error) + func (s *RepositoriesService) ListByOrg(ctx context.Context, org string, opts *RepositoryListByOrgOptions) ([]*Repository, *Response, error) + func (s *RepositoriesService) ListByUser(ctx context.Context, user string, opts *RepositoryListByUserOptions) ([]*Repository, *Response, error) + func (s *RepositoriesService) ListCodeFrequency(ctx context.Context, owner, repo string) ([]*WeeklyStats, *Response, error) + func (s *RepositoriesService) ListCollaborators(ctx context.Context, owner, repo string, opts *ListCollaboratorsOptions) ([]*User, *Response, error) + func (s *RepositoriesService) ListComments(ctx context.Context, owner, repo string, opts *ListOptions) ([]*RepositoryComment, *Response, error) + func (s *RepositoriesService) ListCommitActivity(ctx context.Context, owner, repo string) ([]*WeeklyCommitActivity, *Response, error) + func (s *RepositoriesService) ListCommitComments(ctx context.Context, owner, repo, sha string, opts *ListOptions) ([]*RepositoryComment, *Response, error) + func (s *RepositoriesService) ListCommits(ctx context.Context, owner, repo string, opts *CommitsListOptions) ([]*RepositoryCommit, *Response, error) + func (s *RepositoriesService) ListContributors(ctx context.Context, owner string, repository string, ...) ([]*Contributor, *Response, error) + func (s *RepositoriesService) ListContributorsStats(ctx context.Context, owner, repo string) ([]*ContributorStats, *Response, error) + func (s *RepositoriesService) ListCustomDeploymentRuleIntegrations(ctx context.Context, owner, repo, environment string) (*ListCustomDeploymentRuleIntegrationsResponse, *Response, error) + func (s *RepositoriesService) ListDeploymentBranchPolicies(ctx context.Context, owner, repo, environment string) (*DeploymentBranchPolicyResponse, *Response, error) + func (s *RepositoriesService) ListDeploymentStatuses(ctx context.Context, owner, repo string, deployment int64, opts *ListOptions) ([]*DeploymentStatus, *Response, error) + func (s *RepositoriesService) ListDeployments(ctx context.Context, owner, repo string, opts *DeploymentsListOptions) ([]*Deployment, *Response, error) + func (s *RepositoriesService) ListEnvironments(ctx context.Context, owner, repo string, opts *EnvironmentListOptions) (*EnvResponse, *Response, error) + func (s *RepositoriesService) ListForks(ctx context.Context, owner, repo string, opts *RepositoryListForksOptions) ([]*Repository, *Response, error) + func (s *RepositoriesService) ListHookDeliveries(ctx context.Context, owner, repo string, id int64, opts *ListCursorOptions) ([]*HookDelivery, *Response, error) + func (s *RepositoriesService) ListHooks(ctx context.Context, owner, repo string, opts *ListOptions) ([]*Hook, *Response, error) + func (s *RepositoriesService) ListInvitations(ctx context.Context, owner, repo string, opts *ListOptions) ([]*RepositoryInvitation, *Response, error) + func (s *RepositoriesService) ListKeys(ctx context.Context, owner string, repo string, opts *ListOptions) ([]*Key, *Response, error) + func (s *RepositoriesService) ListLanguages(ctx context.Context, owner string, repo string) (map[string]int, *Response, error) + func (s *RepositoriesService) ListPagesBuilds(ctx context.Context, owner, repo string, opts *ListOptions) ([]*PagesBuild, *Response, error) + func (s *RepositoriesService) ListParticipation(ctx context.Context, owner, repo string) (*RepositoryParticipation, *Response, error) + func (s *RepositoriesService) ListPreReceiveHooks(ctx context.Context, owner, repo string, opts *ListOptions) ([]*PreReceiveHook, *Response, error) + func (s *RepositoriesService) ListPunchCard(ctx context.Context, owner, repo string) ([]*PunchCard, *Response, error) + func (s *RepositoriesService) ListReleaseAssets(ctx context.Context, owner, repo string, id int64, opts *ListOptions) ([]*ReleaseAsset, *Response, error) + func (s *RepositoriesService) ListReleases(ctx context.Context, owner, repo string, opts *ListOptions) ([]*RepositoryRelease, *Response, error) + func (s *RepositoriesService) ListRequiredStatusChecksContexts(ctx context.Context, owner, repo, branch string) (contexts []string, resp *Response, err error) + func (s *RepositoriesService) ListStatuses(ctx context.Context, owner, repo, ref string, opts *ListOptions) ([]*RepoStatus, *Response, error) + func (s *RepositoriesService) ListTagProtection(ctx context.Context, owner, repo string) ([]*TagProtection, *Response, error) + func (s *RepositoriesService) ListTags(ctx context.Context, owner string, repo string, opts *ListOptions) ([]*RepositoryTag, *Response, error) + func (s *RepositoriesService) ListTeamRestrictions(ctx context.Context, owner, repo, branch string) ([]*Team, *Response, error) + func (s *RepositoriesService) ListTeams(ctx context.Context, owner string, repo string, opts *ListOptions) ([]*Team, *Response, error) + func (s *RepositoriesService) ListTrafficClones(ctx context.Context, owner, repo string, opts *TrafficBreakdownOptions) (*TrafficClones, *Response, error) + func (s *RepositoriesService) ListTrafficPaths(ctx context.Context, owner, repo string) ([]*TrafficPath, *Response, error) + func (s *RepositoriesService) ListTrafficReferrers(ctx context.Context, owner, repo string) ([]*TrafficReferrer, *Response, error) + func (s *RepositoriesService) ListTrafficViews(ctx context.Context, owner, repo string, opts *TrafficBreakdownOptions) (*TrafficViews, *Response, error) + func (s *RepositoriesService) ListUserRestrictions(ctx context.Context, owner, repo, branch string) ([]*User, *Response, error) + func (s *RepositoriesService) Merge(ctx context.Context, owner, repo string, request *RepositoryMergeRequest) (*RepositoryCommit, *Response, error) + func (s *RepositoriesService) MergeUpstream(ctx context.Context, owner, repo string, request *RepoMergeUpstreamRequest) (*RepoMergeUpstreamResult, *Response, error) + func (s *RepositoriesService) OptionalSignaturesOnProtectedBranch(ctx context.Context, owner, repo, branch string) (*Response, error) + func (s *RepositoriesService) PingHook(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) RedeliverHookDelivery(ctx context.Context, owner, repo string, hookID, deliveryID int64) (*HookDelivery, *Response, error) + func (s *RepositoriesService) RemoveAdminEnforcement(ctx context.Context, owner, repo, branch string) (*Response, error) + func (s *RepositoriesService) RemoveAppRestrictions(ctx context.Context, owner, repo, branch string, apps []string) ([]*App, *Response, error) + func (s *RepositoriesService) RemoveBranchProtection(ctx context.Context, owner, repo, branch string) (*Response, error) + func (s *RepositoriesService) RemoveCollaborator(ctx context.Context, owner, repo, user string) (*Response, error) + func (s *RepositoriesService) RemovePullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string) (*Response, error) + func (s *RepositoriesService) RemoveRequiredStatusChecks(ctx context.Context, owner, repo, branch string) (*Response, error) + func (s *RepositoriesService) RemoveTeamRestrictions(ctx context.Context, owner, repo, branch string, teams []string) ([]*Team, *Response, error) + func (s *RepositoriesService) RemoveUserRestrictions(ctx context.Context, owner, repo, branch string, users []string) ([]*User, *Response, error) + func (s *RepositoriesService) RenameBranch(ctx context.Context, owner, repo, branch, newName string) (*Branch, *Response, error) + func (s *RepositoriesService) ReplaceAllTopics(ctx context.Context, owner, repo string, topics []string) ([]string, *Response, error) + func (s *RepositoriesService) ReplaceAppRestrictions(ctx context.Context, owner, repo, branch string, apps []string) ([]*App, *Response, error) + func (s *RepositoriesService) ReplaceTeamRestrictions(ctx context.Context, owner, repo, branch string, teams []string) ([]*Team, *Response, error) + func (s *RepositoriesService) ReplaceUserRestrictions(ctx context.Context, owner, repo, branch string, users []string) ([]*User, *Response, error) + func (s *RepositoriesService) RequestPageBuild(ctx context.Context, owner, repo string) (*PagesBuild, *Response, error) + func (s *RepositoriesService) RequireSignaturesOnProtectedBranch(ctx context.Context, owner, repo, branch string) (*SignaturesProtectedBranch, *Response, error) + func (s *RepositoriesService) Subscribe(ctx context.Context, owner, repo, event, callback string, secret []byte) (*Response, error) + func (s *RepositoriesService) TestHook(ctx context.Context, owner, repo string, id int64) (*Response, error) + func (s *RepositoriesService) Transfer(ctx context.Context, owner, repo string, transfer TransferRequest) (*Repository, *Response, error) + func (s *RepositoriesService) Unsubscribe(ctx context.Context, owner, repo, event, callback string, secret []byte) (*Response, error) + func (s *RepositoriesService) UpdateBranchProtection(ctx context.Context, owner, repo, branch string, preq *ProtectionRequest) (*Protection, *Response, error) + func (s *RepositoriesService) UpdateComment(ctx context.Context, owner, repo string, id int64, comment *RepositoryComment) (*RepositoryComment, *Response, error) + func (s *RepositoriesService) UpdateDeploymentBranchPolicy(ctx context.Context, owner, repo, environment string, branchPolicyID int64, ...) (*DeploymentBranchPolicy, *Response, error) + func (s *RepositoriesService) UpdateFile(ctx context.Context, owner, repo, path string, ...) (*RepositoryContentResponse, *Response, error) + func (s *RepositoriesService) UpdateInvitation(ctx context.Context, owner, repo string, invitationID int64, ...) (*RepositoryInvitation, *Response, error) + func (s *RepositoriesService) UpdatePages(ctx context.Context, owner, repo string, opts *PagesUpdate) (*Response, error) + func (s *RepositoriesService) UpdatePreReceiveHook(ctx context.Context, owner, repo string, id int64, hook *PreReceiveHook) (*PreReceiveHook, *Response, error) + func (s *RepositoriesService) UpdatePullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string, ...) (*PullRequestReviewsEnforcement, *Response, error) + func (s *RepositoriesService) UpdateRequiredStatusChecks(ctx context.Context, owner, repo, branch string, ...) (*RequiredStatusChecks, *Response, error) + func (s *RepositoriesService) UpdateRuleset(ctx context.Context, owner, repo string, rulesetID int64, rs *Ruleset) (*Ruleset, *Response, error) + func (s *RepositoriesService) UpdateRulesetNoBypassActor(ctx context.Context, owner, repo string, rulesetID int64, rs *Ruleset) (*Ruleset, *Response, error) + func (s *RepositoriesService) UploadReleaseAsset(ctx context.Context, owner, repo string, id int64, opts *UploadOptions, ...) (*ReleaseAsset, *Response, error) + type Repository struct + AllowAutoMerge *bool + AllowForking *bool + AllowMergeCommit *bool + AllowRebaseMerge *bool + AllowSquashMerge *bool + AllowUpdateBranch *bool + ArchiveURL *string + Archived *bool + AssigneesURL *string + AutoInit *bool + BlobsURL *string + BranchesURL *string + CloneURL *string + CodeOfConduct *CodeOfConduct + CollaboratorsURL *string + CommentsURL *string + CommitsURL *string + CompareURL *string + ContentsURL *string + ContributorsURL *string + CreatedAt *Timestamp + CustomProperties map[string]interface{} + DefaultBranch *string + DeleteBranchOnMerge *bool + DeploymentsURL *string + Description *string + Disabled *bool + DownloadsURL *string + EventsURL *string + Fork *bool + ForksCount *int + ForksURL *string + FullName *string + GitCommitsURL *string + GitRefsURL *string + GitTagsURL *string + GitURL *string + GitignoreTemplate *string + HTMLURL *string + HasDiscussions *bool + HasDownloads *bool + HasIssues *bool + HasPages *bool + HasProjects *bool + HasWiki *bool + Homepage *string + HooksURL *string + ID *int64 + IsTemplate *bool + IssueCommentURL *string + IssueEventsURL *string + IssuesURL *string + KeysURL *string + LabelsURL *string + Language *string + LanguagesURL *string + License *License + LicenseTemplate *string + MasterBranch *string + MergeCommitMessage *string + MergeCommitTitle *string + MergesURL *string + MilestonesURL *string + MirrorURL *string + Name *string + NetworkCount *int + NodeID *string + NotificationsURL *string + OpenIssues *int + OpenIssuesCount *int + Organization *Organization + Owner *User + Parent *Repository + Permissions map[string]bool + Private *bool + PullsURL *string + PushedAt *Timestamp + ReleasesURL *string + RoleName *string + SSHURL *string + SVNURL *string + SecurityAndAnalysis *SecurityAndAnalysis + Size *int + Source *Repository + SquashMergeCommitMessage *string + SquashMergeCommitTitle *string + StargazersCount *int + StargazersURL *string + StatusesURL *string + SubscribersCount *int + SubscribersURL *string + SubscriptionURL *string + TagsURL *string + TeamID *int64 + TeamsURL *string + TemplateRepository *Repository + TextMatches []*TextMatch + Topics []string + TreesURL *string + URL *string + UpdatedAt *Timestamp + UseSquashPRTitleAsDefault *bool + Visibility *string + Watchers *int + WatchersCount *int + WebCommitSignoffRequired *bool + func (r *Repository) GetAllowAutoMerge() bool + func (r *Repository) GetAllowForking() bool + func (r *Repository) GetAllowMergeCommit() bool + func (r *Repository) GetAllowRebaseMerge() bool + func (r *Repository) GetAllowSquashMerge() bool + func (r *Repository) GetAllowUpdateBranch() bool + func (r *Repository) GetArchiveURL() string + func (r *Repository) GetArchived() bool + func (r *Repository) GetAssigneesURL() string + func (r *Repository) GetAutoInit() bool + func (r *Repository) GetBlobsURL() string + func (r *Repository) GetBranchesURL() string + func (r *Repository) GetCloneURL() string + func (r *Repository) GetCodeOfConduct() *CodeOfConduct + func (r *Repository) GetCollaboratorsURL() string + func (r *Repository) GetCommentsURL() string + func (r *Repository) GetCommitsURL() string + func (r *Repository) GetCompareURL() string + func (r *Repository) GetContentsURL() string + func (r *Repository) GetContributorsURL() string + func (r *Repository) GetCreatedAt() Timestamp + func (r *Repository) GetDefaultBranch() string + func (r *Repository) GetDeleteBranchOnMerge() bool + func (r *Repository) GetDeploymentsURL() string + func (r *Repository) GetDescription() string + func (r *Repository) GetDisabled() bool + func (r *Repository) GetDownloadsURL() string + func (r *Repository) GetEventsURL() string + func (r *Repository) GetFork() bool + func (r *Repository) GetForksCount() int + func (r *Repository) GetForksURL() string + func (r *Repository) GetFullName() string + func (r *Repository) GetGitCommitsURL() string + func (r *Repository) GetGitRefsURL() string + func (r *Repository) GetGitTagsURL() string + func (r *Repository) GetGitURL() string + func (r *Repository) GetGitignoreTemplate() string + func (r *Repository) GetHTMLURL() string + func (r *Repository) GetHasDiscussions() bool + func (r *Repository) GetHasDownloads() bool + func (r *Repository) GetHasIssues() bool + func (r *Repository) GetHasPages() bool + func (r *Repository) GetHasProjects() bool + func (r *Repository) GetHasWiki() bool + func (r *Repository) GetHomepage() string + func (r *Repository) GetHooksURL() string + func (r *Repository) GetID() int64 + func (r *Repository) GetIsTemplate() bool + func (r *Repository) GetIssueCommentURL() string + func (r *Repository) GetIssueEventsURL() string + func (r *Repository) GetIssuesURL() string + func (r *Repository) GetKeysURL() string + func (r *Repository) GetLabelsURL() string + func (r *Repository) GetLanguage() string + func (r *Repository) GetLanguagesURL() string + func (r *Repository) GetLicense() *License + func (r *Repository) GetLicenseTemplate() string + func (r *Repository) GetMasterBranch() string + func (r *Repository) GetMergeCommitMessage() string + func (r *Repository) GetMergeCommitTitle() string + func (r *Repository) GetMergesURL() string + func (r *Repository) GetMilestonesURL() string + func (r *Repository) GetMirrorURL() string + func (r *Repository) GetName() string + func (r *Repository) GetNetworkCount() int + func (r *Repository) GetNodeID() string + func (r *Repository) GetNotificationsURL() string + func (r *Repository) GetOpenIssues() int + func (r *Repository) GetOpenIssuesCount() int + func (r *Repository) GetOrganization() *Organization + func (r *Repository) GetOwner() *User + func (r *Repository) GetParent() *Repository + func (r *Repository) GetPermissions() map[string]bool + func (r *Repository) GetPrivate() bool + func (r *Repository) GetPullsURL() string + func (r *Repository) GetPushedAt() Timestamp + func (r *Repository) GetReleasesURL() string + func (r *Repository) GetRoleName() string + func (r *Repository) GetSSHURL() string + func (r *Repository) GetSVNURL() string + func (r *Repository) GetSecurityAndAnalysis() *SecurityAndAnalysis + func (r *Repository) GetSize() int + func (r *Repository) GetSource() *Repository + func (r *Repository) GetSquashMergeCommitMessage() string + func (r *Repository) GetSquashMergeCommitTitle() string + func (r *Repository) GetStargazersCount() int + func (r *Repository) GetStargazersURL() string + func (r *Repository) GetStatusesURL() string + func (r *Repository) GetSubscribersCount() int + func (r *Repository) GetSubscribersURL() string + func (r *Repository) GetSubscriptionURL() string + func (r *Repository) GetTagsURL() string + func (r *Repository) GetTeamID() int64 + func (r *Repository) GetTeamsURL() string + func (r *Repository) GetTemplateRepository() *Repository + func (r *Repository) GetTreesURL() string + func (r *Repository) GetURL() string + func (r *Repository) GetUpdatedAt() Timestamp + func (r *Repository) GetUseSquashPRTitleAsDefault() bool + func (r *Repository) GetVisibility() string + func (r *Repository) GetWatchers() int + func (r *Repository) GetWatchersCount() int + func (r *Repository) GetWebCommitSignoffRequired() bool + func (r Repository) String() string + type RepositoryActionsAccessLevel struct + AccessLevel *string + func (r *RepositoryActionsAccessLevel) GetAccessLevel() string + type RepositoryActiveCommitters struct + AdvancedSecurityCommitters *int + AdvancedSecurityCommittersBreakdown []*AdvancedSecurityCommittersBreakdown + Name *string + func (r *RepositoryActiveCommitters) GetAdvancedSecurityCommitters() int + func (r *RepositoryActiveCommitters) GetName() string + type RepositoryAddCollaboratorOptions struct + Permission string + type RepositoryCodeSecurityConfiguration struct + Configuration *CodeSecurityConfiguration + State *string + func (r *RepositoryCodeSecurityConfiguration) GetConfiguration() *CodeSecurityConfiguration + func (r *RepositoryCodeSecurityConfiguration) GetState() string + type RepositoryComment struct + Body *string + CommitID *string + CreatedAt *Timestamp + HTMLURL *string + ID *int64 + NodeID *string + Path *string + Position *int + Reactions *Reactions + URL *string + UpdatedAt *Timestamp + User *User + func (r *RepositoryComment) GetBody() string + func (r *RepositoryComment) GetCommitID() string + func (r *RepositoryComment) GetCreatedAt() Timestamp + func (r *RepositoryComment) GetHTMLURL() string + func (r *RepositoryComment) GetID() int64 + func (r *RepositoryComment) GetNodeID() string + func (r *RepositoryComment) GetPath() string + func (r *RepositoryComment) GetPosition() int + func (r *RepositoryComment) GetReactions() *Reactions + func (r *RepositoryComment) GetURL() string + func (r *RepositoryComment) GetUpdatedAt() Timestamp + func (r *RepositoryComment) GetUser() *User + func (r RepositoryComment) String() string + type RepositoryCommit struct + Author *User + CommentsURL *string + Commit *Commit + Committer *User + Files []*CommitFile + HTMLURL *string + NodeID *string + Parents []*Commit + SHA *string + Stats *CommitStats + URL *string + func (r *RepositoryCommit) GetAuthor() *User + func (r *RepositoryCommit) GetCommentsURL() string + func (r *RepositoryCommit) GetCommit() *Commit + func (r *RepositoryCommit) GetCommitter() *User + func (r *RepositoryCommit) GetHTMLURL() string + func (r *RepositoryCommit) GetNodeID() string + func (r *RepositoryCommit) GetSHA() string + func (r *RepositoryCommit) GetStats() *CommitStats + func (r *RepositoryCommit) GetURL() string + func (r RepositoryCommit) String() string + type RepositoryContent struct + Content *string + DownloadURL *string + Encoding *string + GitURL *string + HTMLURL *string + Name *string + Path *string + SHA *string + Size *int + SubmoduleGitURL *string + Target *string + Type *string + URL *string + func (r *RepositoryContent) GetContent() (string, error) + func (r *RepositoryContent) GetDownloadURL() string + func (r *RepositoryContent) GetEncoding() string + func (r *RepositoryContent) GetGitURL() string + func (r *RepositoryContent) GetHTMLURL() string + func (r *RepositoryContent) GetName() string + func (r *RepositoryContent) GetPath() string + func (r *RepositoryContent) GetSHA() string + func (r *RepositoryContent) GetSize() int + func (r *RepositoryContent) GetSubmoduleGitURL() string + func (r *RepositoryContent) GetTarget() string + func (r *RepositoryContent) GetType() string + func (r *RepositoryContent) GetURL() string + func (r RepositoryContent) String() string + type RepositoryContentFileOptions struct + Author *CommitAuthor + Branch *string + Committer *CommitAuthor + Content []byte + Message *string + SHA *string + func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor + func (r *RepositoryContentFileOptions) GetBranch() string + func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor + func (r *RepositoryContentFileOptions) GetMessage() string + func (r *RepositoryContentFileOptions) GetSHA() string + type RepositoryContentGetOptions struct + Ref string + type RepositoryContentResponse struct + Content *RepositoryContent + func (r *RepositoryContentResponse) GetContent() *RepositoryContent + type RepositoryCreateForkOptions struct + DefaultBranchOnly bool + Name string + Organization string + type RepositoryDispatchEvent struct + Action *string + Branch *string + ClientPayload json.RawMessage + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (r *RepositoryDispatchEvent) GetAction() string + func (r *RepositoryDispatchEvent) GetBranch() string + func (r *RepositoryDispatchEvent) GetInstallation() *Installation + func (r *RepositoryDispatchEvent) GetOrg() *Organization + func (r *RepositoryDispatchEvent) GetRepo() *Repository + func (r *RepositoryDispatchEvent) GetSender() *User + type RepositoryEvent struct + Action *string + Changes *EditChange + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (r *RepositoryEvent) GetAction() string + func (r *RepositoryEvent) GetChanges() *EditChange + func (r *RepositoryEvent) GetInstallation() *Installation + func (r *RepositoryEvent) GetOrg() *Organization + func (r *RepositoryEvent) GetRepo() *Repository + func (r *RepositoryEvent) GetSender() *User + type RepositoryImportEvent struct + Org *Organization + Repo *Repository + Sender *User + Status *string + func (r *RepositoryImportEvent) GetOrg() *Organization + func (r *RepositoryImportEvent) GetRepo() *Repository + func (r *RepositoryImportEvent) GetSender() *User + func (r *RepositoryImportEvent) GetStatus() string + type RepositoryInvitation struct + CreatedAt *Timestamp + Expired *bool + HTMLURL *string + ID *int64 + Invitee *User + Inviter *User + Permissions *string + Repo *Repository + URL *string + func (r *RepositoryInvitation) GetCreatedAt() Timestamp + func (r *RepositoryInvitation) GetExpired() bool + func (r *RepositoryInvitation) GetHTMLURL() string + func (r *RepositoryInvitation) GetID() int64 + func (r *RepositoryInvitation) GetInvitee() *User + func (r *RepositoryInvitation) GetInviter() *User + func (r *RepositoryInvitation) GetPermissions() string + func (r *RepositoryInvitation) GetRepo() *Repository + func (r *RepositoryInvitation) GetURL() string + type RepositoryLicense struct + Content *string + DownloadURL *string + Encoding *string + GitURL *string + HTMLURL *string + License *License + Name *string + Path *string + SHA *string + Size *int + Type *string + URL *string + func (l RepositoryLicense) String() string + func (r *RepositoryLicense) GetContent() string + func (r *RepositoryLicense) GetDownloadURL() string + func (r *RepositoryLicense) GetEncoding() string + func (r *RepositoryLicense) GetGitURL() string + func (r *RepositoryLicense) GetHTMLURL() string + func (r *RepositoryLicense) GetLicense() *License + func (r *RepositoryLicense) GetName() string + func (r *RepositoryLicense) GetPath() string + func (r *RepositoryLicense) GetSHA() string + func (r *RepositoryLicense) GetSize() int + func (r *RepositoryLicense) GetType() string + func (r *RepositoryLicense) GetURL() string + type RepositoryListAllOptions struct + Since int64 + type RepositoryListByAuthenticatedUserOptions struct + Affiliation string + Direction string + Sort string + Type string + Visibility string + type RepositoryListByOrgOptions struct + Direction string + Sort string + Type string + type RepositoryListByUserOptions struct + Direction string + Sort string + Type string + type RepositoryListForksOptions struct + Sort string + type RepositoryListOptions struct + Affiliation string + Direction string + Sort string + Type string + Visibility string + type RepositoryMergeRequest struct + Base *string + CommitMessage *string + Head *string + func (r *RepositoryMergeRequest) GetBase() string + func (r *RepositoryMergeRequest) GetCommitMessage() string + func (r *RepositoryMergeRequest) GetHead() string + type RepositoryParticipation struct + All []int + Owner []int + func (r RepositoryParticipation) String() string + type RepositoryPermissionLevel struct + Permission *string + RoleName *string + User *User + func (r *RepositoryPermissionLevel) GetPermission() string + func (r *RepositoryPermissionLevel) GetRoleName() string + func (r *RepositoryPermissionLevel) GetUser() *User + type RepositoryRelease struct + Assets []*ReleaseAsset + AssetsURL *string + Author *User + Body *string + CreatedAt *Timestamp + DiscussionCategoryName *string + Draft *bool + GenerateReleaseNotes *bool + HTMLURL *string + ID *int64 + MakeLatest *string + Name *string + NodeID *string + Prerelease *bool + PublishedAt *Timestamp + TagName *string + TarballURL *string + TargetCommitish *string + URL *string + UploadURL *string + ZipballURL *string + func (r *RepositoryRelease) GetAssetsURL() string + func (r *RepositoryRelease) GetAuthor() *User + func (r *RepositoryRelease) GetBody() string + func (r *RepositoryRelease) GetCreatedAt() Timestamp + func (r *RepositoryRelease) GetDiscussionCategoryName() string + func (r *RepositoryRelease) GetDraft() bool + func (r *RepositoryRelease) GetGenerateReleaseNotes() bool + func (r *RepositoryRelease) GetHTMLURL() string + func (r *RepositoryRelease) GetID() int64 + func (r *RepositoryRelease) GetMakeLatest() string + func (r *RepositoryRelease) GetName() string + func (r *RepositoryRelease) GetNodeID() string + func (r *RepositoryRelease) GetPrerelease() bool + func (r *RepositoryRelease) GetPublishedAt() Timestamp + func (r *RepositoryRelease) GetTagName() string + func (r *RepositoryRelease) GetTarballURL() string + func (r *RepositoryRelease) GetTargetCommitish() string + func (r *RepositoryRelease) GetURL() string + func (r *RepositoryRelease) GetUploadURL() string + func (r *RepositoryRelease) GetZipballURL() string + func (r RepositoryRelease) String() string + type RepositoryReleaseNotes struct + Body string + Name string + type RepositoryRule struct + Parameters *json.RawMessage + RulesetID int64 + RulesetSource string + RulesetSourceType string + Type string + func NewBranchNamePatternRule(params *RulePatternParameters) (rule *RepositoryRule) + func NewCommitAuthorEmailPatternRule(params *RulePatternParameters) (rule *RepositoryRule) + func NewCommitMessagePatternRule(params *RulePatternParameters) (rule *RepositoryRule) + func NewCommitterEmailPatternRule(params *RulePatternParameters) (rule *RepositoryRule) + func NewCreationRule() (rule *RepositoryRule) + func NewDeletionRule() (rule *RepositoryRule) + func NewFileExtensionRestrictionRule(params *RuleFileExtensionRestrictionParameters) (rule *RepositoryRule) + func NewFilePathRestrictionRule(params *RuleFileParameters) (rule *RepositoryRule) + func NewMaxFilePathLengthRule(params *RuleMaxFilePathLengthParameters) (rule *RepositoryRule) + func NewMaxFileSizeRule(params *RuleMaxFileSizeParameters) (rule *RepositoryRule) + func NewMergeQueueRule(params *MergeQueueRuleParameters) (rule *RepositoryRule) + func NewNonFastForwardRule() (rule *RepositoryRule) + func NewPullRequestRule(params *PullRequestRuleParameters) (rule *RepositoryRule) + func NewRequiredCodeScanningRule(params *RequiredCodeScanningRuleParameters) (rule *RepositoryRule) + func NewRequiredDeploymentsRule(params *RequiredDeploymentEnvironmentsRuleParameters) (rule *RepositoryRule) + func NewRequiredLinearHistoryRule() (rule *RepositoryRule) + func NewRequiredSignaturesRule() (rule *RepositoryRule) + func NewRequiredStatusChecksRule(params *RequiredStatusChecksRuleParameters) (rule *RepositoryRule) + func NewRequiredWorkflowsRule(params *RequiredWorkflowsRuleParameters) (rule *RepositoryRule) + func NewTagNamePatternRule(params *RulePatternParameters) (rule *RepositoryRule) + func NewUpdateRule(params *UpdateAllowsFetchAndMergeRuleParameters) (rule *RepositoryRule) + func (r *RepositoryRule) GetParameters() json.RawMessage + func (r *RepositoryRule) UnmarshalJSON(data []byte) error + type RepositoryRuleset struct + BypassActors []*BypassActor + Conditions json.RawMessage + CreatedAt *Timestamp + CurrentUserCanBypass *string + Enforcement string + ID int64 + Links *RepositoryRulesetLink + Name string + NodeID *string + Rules []*RepositoryRulesetRule + Source string + SourceType *string + Target *string + UpdatedAt *Timestamp + func (r *RepositoryRuleset) GetCreatedAt() Timestamp + func (r *RepositoryRuleset) GetCurrentUserCanBypass() string + func (r *RepositoryRuleset) GetLinks() *RepositoryRulesetLink + func (r *RepositoryRuleset) GetNodeID() string + func (r *RepositoryRuleset) GetSourceType() string + func (r *RepositoryRuleset) GetTarget() string + func (r *RepositoryRuleset) GetUpdatedAt() Timestamp + type RepositoryRulesetCodeScanningRule struct + Parameters *RuleCodeScanningParameters + Type string + func (r *RepositoryRulesetCodeScanningRule) GetParameters() *RuleCodeScanningParameters + type RepositoryRulesetEditedChanges struct + Conditions *RepositoryRulesetEditedConditions + Enforcement *RepositoryRulesetEditedSource + Name *RepositoryRulesetEditedSource + Rules *RepositoryRulesetEditedRules + func (r *RepositoryRulesetEditedChanges) GetConditions() *RepositoryRulesetEditedConditions + func (r *RepositoryRulesetEditedChanges) GetEnforcement() *RepositoryRulesetEditedSource + func (r *RepositoryRulesetEditedChanges) GetName() *RepositoryRulesetEditedSource + func (r *RepositoryRulesetEditedChanges) GetRules() *RepositoryRulesetEditedRules + type RepositoryRulesetEditedConditions struct + Added []*RepositoryRulesetRefCondition + Deleted []*RepositoryRulesetRefCondition + Updated []*RepositoryRulesetEditedUpdatedConditions + type RepositoryRulesetEditedRuleChanges struct + Configuration *RepositoryRulesetEditedSources + Pattern *RepositoryRulesetEditedSources + RuleType *RepositoryRulesetEditedSources + func (r *RepositoryRulesetEditedRuleChanges) GetConfiguration() *RepositoryRulesetEditedSources + func (r *RepositoryRulesetEditedRuleChanges) GetPattern() *RepositoryRulesetEditedSources + func (r *RepositoryRulesetEditedRuleChanges) GetRuleType() *RepositoryRulesetEditedSources + type RepositoryRulesetEditedRules struct + Added []*RepositoryRulesetRule + Deleted []*RepositoryRulesetRule + Updated []*RepositoryRulesetUpdatedRules + type RepositoryRulesetEditedSource struct + From *string + func (r *RepositoryRulesetEditedSource) GetFrom() string + type RepositoryRulesetEditedSources struct + From []string + type RepositoryRulesetEditedUpdatedConditions struct + Changes *RepositoryRulesetUpdatedConditionsEdited + Condition *RepositoryRulesetRefCondition + func (r *RepositoryRulesetEditedUpdatedConditions) GetChanges() *RepositoryRulesetUpdatedConditionsEdited + func (r *RepositoryRulesetEditedUpdatedConditions) GetCondition() *RepositoryRulesetRefCondition + type RepositoryRulesetEvent struct + Action *string + Changes *RepositoryRulesetEditedChanges + Enterprise *Enterprise + Installation *Installation + Organization *Organization + Repository *Repository + RepositoryRuleset *RepositoryRuleset + Sender *User + func (r *RepositoryRulesetEvent) GetAction() string + func (r *RepositoryRulesetEvent) GetChanges() *RepositoryRulesetEditedChanges + func (r *RepositoryRulesetEvent) GetEnterprise() *Enterprise + func (r *RepositoryRulesetEvent) GetInstallation() *Installation + func (r *RepositoryRulesetEvent) GetOrganization() *Organization + func (r *RepositoryRulesetEvent) GetRepository() *Repository + func (r *RepositoryRulesetEvent) GetRepositoryRuleset() *RepositoryRuleset + func (r *RepositoryRulesetEvent) GetSender() *User + type RepositoryRulesetFileExtensionRestrictionRule struct + Parameters *RuleFileExtensionRestrictionParameters + Type string + func (r *RepositoryRulesetFileExtensionRestrictionRule) GetParameters() *RuleFileExtensionRestrictionParameters + type RepositoryRulesetFilePathRestrictionRule struct + Parameters *RuleFileParameters + Type string + func (r *RepositoryRulesetFilePathRestrictionRule) GetParameters() *RuleFileParameters + type RepositoryRulesetLink struct + HTML *RulesetLink + Self *RulesetLink + func (r *RepositoryRulesetLink) GetHTML() *RulesetLink + func (r *RepositoryRulesetLink) GetSelf() *RulesetLink + type RepositoryRulesetMaxFilePathLengthRule struct + Parameters *RuleMaxFilePathLengthParameters + Type string + func (r *RepositoryRulesetMaxFilePathLengthRule) GetParameters() *RuleMaxFilePathLengthParameters + type RepositoryRulesetMaxFileSizeRule struct + Parameters *RuleMaxFileSizeParameters + Type string + func (r *RepositoryRulesetMaxFileSizeRule) GetParameters() *RuleMaxFileSizeParameters + type RepositoryRulesetMergeQueueRule struct + Parameters *MergeQueueRuleParameters + Type string + func (r *RepositoryRulesetMergeQueueRule) GetParameters() *MergeQueueRuleParameters + type RepositoryRulesetPatternRule struct + Parameters *RulePatternParameters + Type string + func (r *RepositoryRulesetPatternRule) GetParameters() *RulePatternParameters + type RepositoryRulesetPullRequestRule struct + Parameters *PullRequestRuleParameters + Type string + func (r *RepositoryRulesetPullRequestRule) GetParameters() *PullRequestRuleParameters + type RepositoryRulesetRefCondition struct + RefName *RulesetRefConditionParameters + func (r *RepositoryRulesetRefCondition) GetRefName() *RulesetRefConditionParameters + type RepositoryRulesetRequiredDeploymentsRule struct + Parameters *RequiredDeploymentEnvironmentsRuleParameters + Type string + func (r *RepositoryRulesetRequiredDeploymentsRule) GetParameters() *RequiredDeploymentEnvironmentsRuleParameters + type RepositoryRulesetRequiredStatusChecksRule struct + Parameters *RequiredStatusChecksRuleParameters + Type string + func (r *RepositoryRulesetRequiredStatusChecksRule) GetParameters() *RequiredStatusChecksRuleParameters + type RepositoryRulesetRule struct + BranchNamePattern *RepositoryRulesetPatternRule + CodeScanning *RepositoryRulesetCodeScanningRule + CommitAuthorEmailPattern *RepositoryRulesetPatternRule + CommitMessagePattern *RepositoryRulesetPatternRule + CommitterEmailPattern *RepositoryRulesetPatternRule + Creation *RepositoryRulesetRuleType + Deletion *RepositoryRulesetRuleType + FileExtensionRestriction *RepositoryRulesetFileExtensionRestrictionRule + FilePathRestriction *RepositoryRulesetFilePathRestrictionRule + MaxFilePathLength *RepositoryRulesetMaxFilePathLengthRule + MaxFileSize *RepositoryRulesetMaxFileSizeRule + MergeQueue *RepositoryRulesetMergeQueueRule + NonFastForward *RepositoryRulesetRuleType + PullRequest *RepositoryRulesetPullRequestRule + RequiredDeployments *RepositoryRulesetRequiredDeploymentsRule + RequiredLinearHistory *RepositoryRulesetRuleType + RequiredSignatures *RepositoryRulesetRuleType + RequiredStatusChecks *RepositoryRulesetRequiredStatusChecksRule + TagNamePattern *RepositoryRulesetPatternRule + Update *RepositoryRulesetUpdateRule + Workflows *RepositoryRulesetWorkflowsRule + func (r *RepositoryRulesetRule) GetBranchNamePattern() *RepositoryRulesetPatternRule + func (r *RepositoryRulesetRule) GetCodeScanning() *RepositoryRulesetCodeScanningRule + func (r *RepositoryRulesetRule) GetCommitAuthorEmailPattern() *RepositoryRulesetPatternRule + func (r *RepositoryRulesetRule) GetCommitMessagePattern() *RepositoryRulesetPatternRule + func (r *RepositoryRulesetRule) GetCommitterEmailPattern() *RepositoryRulesetPatternRule + func (r *RepositoryRulesetRule) GetCreation() *RepositoryRulesetRuleType + func (r *RepositoryRulesetRule) GetDeletion() *RepositoryRulesetRuleType + func (r *RepositoryRulesetRule) GetFileExtensionRestriction() *RepositoryRulesetFileExtensionRestrictionRule + func (r *RepositoryRulesetRule) GetFilePathRestriction() *RepositoryRulesetFilePathRestrictionRule + func (r *RepositoryRulesetRule) GetMaxFilePathLength() *RepositoryRulesetMaxFilePathLengthRule + func (r *RepositoryRulesetRule) GetMaxFileSize() *RepositoryRulesetMaxFileSizeRule + func (r *RepositoryRulesetRule) GetMergeQueue() *RepositoryRulesetMergeQueueRule + func (r *RepositoryRulesetRule) GetNonFastForward() *RepositoryRulesetRuleType + func (r *RepositoryRulesetRule) GetPullRequest() *RepositoryRulesetPullRequestRule + func (r *RepositoryRulesetRule) GetRequiredDeployments() *RepositoryRulesetRequiredDeploymentsRule + func (r *RepositoryRulesetRule) GetRequiredLinearHistory() *RepositoryRulesetRuleType + func (r *RepositoryRulesetRule) GetRequiredSignatures() *RepositoryRulesetRuleType + func (r *RepositoryRulesetRule) GetRequiredStatusChecks() *RepositoryRulesetRequiredStatusChecksRule + func (r *RepositoryRulesetRule) GetTagNamePattern() *RepositoryRulesetPatternRule + func (r *RepositoryRulesetRule) GetUpdate() *RepositoryRulesetUpdateRule + func (r *RepositoryRulesetRule) GetWorkflows() *RepositoryRulesetWorkflowsRule + type RepositoryRulesetRuleType struct + Type string + type RepositoryRulesetUpdateRule struct + Parameters *UpdateAllowsFetchAndMergeRuleParameters + Type string + func (r *RepositoryRulesetUpdateRule) GetParameters() *UpdateAllowsFetchAndMergeRuleParameters + type RepositoryRulesetUpdatedConditionsEdited struct + ConditionType *RepositoryRulesetEditedSource + Exclude *RepositoryRulesetEditedSources + Include *RepositoryRulesetEditedSources + Target *RepositoryRulesetEditedSource + func (r *RepositoryRulesetUpdatedConditionsEdited) GetConditionType() *RepositoryRulesetEditedSource + func (r *RepositoryRulesetUpdatedConditionsEdited) GetExclude() *RepositoryRulesetEditedSources + func (r *RepositoryRulesetUpdatedConditionsEdited) GetInclude() *RepositoryRulesetEditedSources + func (r *RepositoryRulesetUpdatedConditionsEdited) GetTarget() *RepositoryRulesetEditedSource + type RepositoryRulesetUpdatedRules struct + Changes *RepositoryRulesetEditedRuleChanges + Rule *RepositoryRulesetRule + func (r *RepositoryRulesetUpdatedRules) GetChanges() *RepositoryRulesetEditedRuleChanges + func (r *RepositoryRulesetUpdatedRules) GetRule() *RepositoryRulesetRule + type RepositoryRulesetWorkflowsRule struct + Parameters *RequiredWorkflowsRuleParameters + Type string + func (r *RepositoryRulesetWorkflowsRule) GetParameters() *RequiredWorkflowsRuleParameters + type RepositoryTag struct + Commit *Commit + Name *string + TarballURL *string + ZipballURL *string + func (r *RepositoryTag) GetCommit() *Commit + func (r *RepositoryTag) GetName() string + func (r *RepositoryTag) GetTarballURL() string + func (r *RepositoryTag) GetZipballURL() string + type RepositoryVulnerabilityAlert struct + AffectedPackageName *string + AffectedRange *string + CreatedAt *Timestamp + DismissReason *string + DismissedAt *Timestamp + Dismisser *User + ExternalIdentifier *string + ExternalReference *string + FixedIn *string + GitHubSecurityAdvisoryID *string + ID *int64 + Severity *string + func (r *RepositoryVulnerabilityAlert) GetAffectedPackageName() string + func (r *RepositoryVulnerabilityAlert) GetAffectedRange() string + func (r *RepositoryVulnerabilityAlert) GetCreatedAt() Timestamp + func (r *RepositoryVulnerabilityAlert) GetDismissReason() string + func (r *RepositoryVulnerabilityAlert) GetDismissedAt() Timestamp + func (r *RepositoryVulnerabilityAlert) GetDismisser() *User + func (r *RepositoryVulnerabilityAlert) GetExternalIdentifier() string + func (r *RepositoryVulnerabilityAlert) GetExternalReference() string + func (r *RepositoryVulnerabilityAlert) GetFixedIn() string + func (r *RepositoryVulnerabilityAlert) GetGitHubSecurityAdvisoryID() string + func (r *RepositoryVulnerabilityAlert) GetID() int64 + func (r *RepositoryVulnerabilityAlert) GetSeverity() string + type RepositoryVulnerabilityAlertEvent struct + Action *string + Alert *RepositoryVulnerabilityAlert + Installation *Installation + Org *Organization + Repository *Repository + Sender *User + func (r *RepositoryVulnerabilityAlertEvent) GetAction() string + func (r *RepositoryVulnerabilityAlertEvent) GetAlert() *RepositoryVulnerabilityAlert + func (r *RepositoryVulnerabilityAlertEvent) GetInstallation() *Installation + func (r *RepositoryVulnerabilityAlertEvent) GetOrg() *Organization + func (r *RepositoryVulnerabilityAlertEvent) GetRepository() *Repository + func (r *RepositoryVulnerabilityAlertEvent) GetSender() *User + type RequestOption func(req *http.Request) + func WithVersion(version string) RequestOption + type RequestedAction struct + Identifier string + type RequireCodeOwnerReviewChanges struct + From *bool + func (r *RequireCodeOwnerReviewChanges) GetFrom() bool + type RequireLinearHistory struct + Enabled bool + type RequiredCodeScanningRuleParameters struct + RequiredCodeScanningTools []*RuleRequiredCodeScanningTool + type RequiredConversationResolution struct + Enabled bool + type RequiredConversationResolutionLevelChanges struct + From *string + func (r *RequiredConversationResolutionLevelChanges) GetFrom() string + type RequiredDeploymentEnvironmentsRuleParameters struct + RequiredDeploymentEnvironments []string + type RequiredDeploymentsEnforcementLevelChanges struct + From *string + func (r *RequiredDeploymentsEnforcementLevelChanges) GetFrom() string + type RequiredReviewer struct + Reviewer interface{} + Type *string + func (r *RequiredReviewer) GetType() string + func (r *RequiredReviewer) UnmarshalJSON(data []byte) error + type RequiredStatusCheck struct + AppID *int64 + Context string + func (r *RequiredStatusCheck) GetAppID() int64 + type RequiredStatusChecks struct + Checks *[]*RequiredStatusCheck + Contexts *[]string + ContextsURL *string + Strict bool + URL *string + func (r *RequiredStatusChecks) GetChecks() []*RequiredStatusCheck + func (r *RequiredStatusChecks) GetContexts() []string + func (r *RequiredStatusChecks) GetContextsURL() string + func (r *RequiredStatusChecks) GetURL() string + type RequiredStatusChecksChanges struct + From []string + type RequiredStatusChecksEnforcementLevelChanges struct + From *string + func (r *RequiredStatusChecksEnforcementLevelChanges) GetFrom() string + type RequiredStatusChecksRequest struct + Checks []*RequiredStatusCheck + Contexts []string + Strict *bool + func (r *RequiredStatusChecksRequest) GetStrict() bool + type RequiredStatusChecksRuleParameters struct + DoNotEnforceOnCreate *bool + RequiredStatusChecks []RuleRequiredStatusChecks + StrictRequiredStatusChecksPolicy bool + func (r *RequiredStatusChecksRuleParameters) GetDoNotEnforceOnCreate() bool + type RequiredWorkflowSelectedRepos struct + Repositories []*Repository + TotalCount *int + func (r *RequiredWorkflowSelectedRepos) GetTotalCount() int + type RequiredWorkflowsRuleParameters struct + DoNotEnforceOnCreate bool + RequiredWorkflows []*RuleRequiredWorkflow + type Response struct + After string + Before string + Cursor string + FirstPage int + LastPage int + NextPage int + NextPageToken string + PrevPage int + Rate Rate + TokenExpiration Timestamp + type ReviewCustomDeploymentProtectionRuleRequest struct + Comment string + EnvironmentName string + State string + type ReviewPersonalAccessTokenRequestOptions struct + Action string + Reason *string + func (r *ReviewPersonalAccessTokenRequestOptions) GetReason() string + type Reviewers struct + Teams []*Team + Users []*User + type ReviewersRequest struct + NodeID *string + Reviewers []string + TeamReviewers []string + func (r *ReviewersRequest) GetNodeID() string + type Rule struct + Description *string + FullDescription *string + Help *string + ID *string + Name *string + SecuritySeverityLevel *string + Severity *string + Tags []string + func (r *Rule) GetDescription() string + func (r *Rule) GetFullDescription() string + func (r *Rule) GetHelp() string + func (r *Rule) GetID() string + func (r *Rule) GetName() string + func (r *Rule) GetSecuritySeverityLevel() string + func (r *Rule) GetSeverity() string + type RuleCodeScanningParameters struct + CodeScanningTools []*CodeScanningTool + type RuleFileExtensionRestrictionParameters struct + RestrictedFileExtensions []string + type RuleFileParameters struct + RestrictedFilePaths *[]string + func (r *RuleFileParameters) GetRestrictedFilePaths() []string + type RuleMaxFilePathLengthParameters struct + MaxFilePathLength int + type RuleMaxFileSizeParameters struct + MaxFileSize int64 + type RulePatternParameters struct + Name *string + Negate *bool + Operator string + Pattern string + func (r *RulePatternParameters) GetName() string + func (r *RulePatternParameters) GetNegate() bool + type RuleRequiredCodeScanningTool struct + AlertsThreshold string + SecurityAlertsThreshold string + Tool string + type RuleRequiredStatusChecks struct + Context string + IntegrationID *int64 + func (r *RuleRequiredStatusChecks) GetIntegrationID() int64 + type RuleRequiredWorkflow struct + Path string + Ref *string + RepositoryID *int64 + Sha *string + func (r *RuleRequiredWorkflow) GetRef() string + func (r *RuleRequiredWorkflow) GetRepositoryID() int64 + func (r *RuleRequiredWorkflow) GetSha() string + type Ruleset struct + BypassActors []*BypassActor + Conditions *RulesetConditions + CreatedAt *Timestamp + Enforcement string + ID *int64 + Links *RulesetLinks + Name string + NodeID *string + Rules []*RepositoryRule + Source string + SourceType *string + Target *string + UpdatedAt *Timestamp + func (r *Ruleset) GetConditions() *RulesetConditions + func (r *Ruleset) GetCreatedAt() Timestamp + func (r *Ruleset) GetID() int64 + func (r *Ruleset) GetLinks() *RulesetLinks + func (r *Ruleset) GetNodeID() string + func (r *Ruleset) GetSourceType() string + func (r *Ruleset) GetTarget() string + func (r *Ruleset) GetUpdatedAt() Timestamp + type RulesetConditions struct + RefName *RulesetRefConditionParameters + RepositoryID *RulesetRepositoryIDsConditionParameters + RepositoryName *RulesetRepositoryNamesConditionParameters + RepositoryProperty *RulesetRepositoryPropertyConditionParameters + func (r *RulesetConditions) GetRefName() *RulesetRefConditionParameters + func (r *RulesetConditions) GetRepositoryID() *RulesetRepositoryIDsConditionParameters + func (r *RulesetConditions) GetRepositoryName() *RulesetRepositoryNamesConditionParameters + func (r *RulesetConditions) GetRepositoryProperty() *RulesetRepositoryPropertyConditionParameters + type RulesetLink struct + HRef *string + func (r *RulesetLink) GetHRef() string + type RulesetLinks struct + Self *RulesetLink + func (r *RulesetLinks) GetSelf() *RulesetLink + type RulesetRefConditionParameters struct + Exclude []string + Include []string + type RulesetRepositoryIDsConditionParameters struct + RepositoryIDs []int64 + type RulesetRepositoryNamesConditionParameters struct + Exclude []string + Include []string + Protected *bool + func (r *RulesetRepositoryNamesConditionParameters) GetProtected() bool + type RulesetRepositoryPropertyConditionParameters struct + Exclude []RulesetRepositoryPropertyTargetParameters + Include []RulesetRepositoryPropertyTargetParameters + type RulesetRepositoryPropertyTargetParameters struct + Name string + Source *string + Values []string + func (r *RulesetRepositoryPropertyTargetParameters) GetSource() string + type Runner struct + Busy *bool + ID *int64 + Labels []*RunnerLabels + Name *string + OS *string + Status *string + func (r *Runner) GetBusy() bool + func (r *Runner) GetID() int64 + func (r *Runner) GetName() string + func (r *Runner) GetOS() string + func (r *Runner) GetStatus() string + type RunnerApplicationDownload struct + Architecture *string + DownloadURL *string + Filename *string + OS *string + SHA256Checksum *string + TempDownloadToken *string + func (r *RunnerApplicationDownload) GetArchitecture() string + func (r *RunnerApplicationDownload) GetDownloadURL() string + func (r *RunnerApplicationDownload) GetFilename() string + func (r *RunnerApplicationDownload) GetOS() string + func (r *RunnerApplicationDownload) GetSHA256Checksum() string + func (r *RunnerApplicationDownload) GetTempDownloadToken() string + type RunnerGroup struct + AllowsPublicRepositories *bool + Default *bool + ID *int64 + Inherited *bool + Name *string + RestrictedToWorkflows *bool + RunnersURL *string + SelectedRepositoriesURL *string + SelectedWorkflows []string + Visibility *string + WorkflowRestrictionsReadOnly *bool + func (r *RunnerGroup) GetAllowsPublicRepositories() bool + func (r *RunnerGroup) GetDefault() bool + func (r *RunnerGroup) GetID() int64 + func (r *RunnerGroup) GetInherited() bool + func (r *RunnerGroup) GetName() string + func (r *RunnerGroup) GetRestrictedToWorkflows() bool + func (r *RunnerGroup) GetRunnersURL() string + func (r *RunnerGroup) GetSelectedRepositoriesURL() string + func (r *RunnerGroup) GetVisibility() string + func (r *RunnerGroup) GetWorkflowRestrictionsReadOnly() bool + type RunnerGroups struct + RunnerGroups []*RunnerGroup + TotalCount int + type RunnerLabels struct + ID *int64 + Name *string + Type *string + func (r *RunnerLabels) GetID() int64 + func (r *RunnerLabels) GetName() string + func (r *RunnerLabels) GetType() string + type Runners struct + Runners []*Runner + TotalCount int + type SARIFUpload struct + AnalysesURL *string + ProcessingStatus *string + func (s *SARIFUpload) GetAnalysesURL() string + func (s *SARIFUpload) GetProcessingStatus() string + type SBOM struct + SBOM *SBOMInfo + func (s *SBOM) GetSBOM() *SBOMInfo + func (s SBOM) String() string + type SBOMInfo struct + CreationInfo *CreationInfo + DataLicense *string + DocumentDescribes []string + DocumentNamespace *string + Name *string + Packages []*RepoDependencies + SPDXID *string + SPDXVersion *string + func (s *SBOMInfo) GetCreationInfo() *CreationInfo + func (s *SBOMInfo) GetDataLicense() string + func (s *SBOMInfo) GetDocumentNamespace() string + func (s *SBOMInfo) GetName() string + func (s *SBOMInfo) GetSPDXID() string + func (s *SBOMInfo) GetSPDXVersion() string + type SCIMMeta struct + Created *Timestamp + LastModified *Timestamp + Location *string + ResourceType *string + func (s *SCIMMeta) GetCreated() Timestamp + func (s *SCIMMeta) GetLastModified() Timestamp + func (s *SCIMMeta) GetLocation() string + func (s *SCIMMeta) GetResourceType() string + type SCIMProvisionedIdentities struct + ItemsPerPage *int + Resources []*SCIMUserAttributes + Schemas []string + StartIndex *int + TotalResults *int + func (s *SCIMProvisionedIdentities) GetItemsPerPage() int + func (s *SCIMProvisionedIdentities) GetStartIndex() int + func (s *SCIMProvisionedIdentities) GetTotalResults() int + type SCIMService service + func (s *SCIMService) DeleteSCIMUserFromOrg(ctx context.Context, org, scimUserID string) (*Response, error) + func (s *SCIMService) GetSCIMProvisioningInfoForUser(ctx context.Context, org, scimUserID string) (*SCIMUserAttributes, *Response, error) + func (s *SCIMService) ListSCIMProvisionedIdentities(ctx context.Context, org string, opts *ListSCIMProvisionedIdentitiesOptions) (*SCIMProvisionedIdentities, *Response, error) + func (s *SCIMService) ProvisionAndInviteSCIMUser(ctx context.Context, org string, opts *SCIMUserAttributes) (*SCIMUserAttributes, *Response, error) + func (s *SCIMService) UpdateAttributeForSCIMUser(ctx context.Context, org, scimUserID string, ...) (*Response, error) + func (s *SCIMService) UpdateProvisionedOrgMembership(ctx context.Context, org, scimUserID string, opts *SCIMUserAttributes) (*Response, error) + type SCIMUserAttributes struct + Active *bool + DisplayName *string + Emails []*SCIMUserEmail + ExternalID *string + Groups []string + ID *string + Meta *SCIMMeta + Name SCIMUserName + Schemas []string + UserName string + func (s *SCIMUserAttributes) GetActive() bool + func (s *SCIMUserAttributes) GetDisplayName() string + func (s *SCIMUserAttributes) GetExternalID() string + func (s *SCIMUserAttributes) GetID() string + func (s *SCIMUserAttributes) GetMeta() *SCIMMeta + type SCIMUserEmail struct + Primary *bool + Type *string + Value string + func (s *SCIMUserEmail) GetPrimary() bool + func (s *SCIMUserEmail) GetType() string + type SCIMUserName struct + FamilyName string + Formatted *string + GivenName string + func (s *SCIMUserName) GetFormatted() string + type SSHSigningKey struct + CreatedAt *Timestamp + ID *int64 + Key *string + Title *string + func (k SSHSigningKey) String() string + func (s *SSHSigningKey) GetCreatedAt() Timestamp + func (s *SSHSigningKey) GetID() int64 + func (s *SSHSigningKey) GetKey() string + func (s *SSHSigningKey) GetTitle() string + type SarifAnalysis struct + CheckoutURI *string + CommitSHA *string + Ref *string + Sarif *string + StartedAt *Timestamp + ToolName *string + func (s *SarifAnalysis) GetCheckoutURI() string + func (s *SarifAnalysis) GetCommitSHA() string + func (s *SarifAnalysis) GetRef() string + func (s *SarifAnalysis) GetSarif() string + func (s *SarifAnalysis) GetStartedAt() Timestamp + func (s *SarifAnalysis) GetToolName() string + type SarifID struct + ID *string + URL *string + func (s *SarifID) GetID() string + func (s *SarifID) GetURL() string + type ScanningAnalysis struct + AnalysisKey *string + Category *string + CommitSHA *string + CreatedAt *Timestamp + Deletable *bool + Environment *string + Error *string + ID *int64 + Ref *string + ResultsCount *int + RulesCount *int + SarifID *string + Tool *Tool + URL *string + Warning *string + func (s *ScanningAnalysis) GetAnalysisKey() string + func (s *ScanningAnalysis) GetCategory() string + func (s *ScanningAnalysis) GetCommitSHA() string + func (s *ScanningAnalysis) GetCreatedAt() Timestamp + func (s *ScanningAnalysis) GetDeletable() bool + func (s *ScanningAnalysis) GetEnvironment() string + func (s *ScanningAnalysis) GetError() string + func (s *ScanningAnalysis) GetID() int64 + func (s *ScanningAnalysis) GetRef() string + func (s *ScanningAnalysis) GetResultsCount() int + func (s *ScanningAnalysis) GetRulesCount() int + func (s *ScanningAnalysis) GetSarifID() string + func (s *ScanningAnalysis) GetTool() *Tool + func (s *ScanningAnalysis) GetURL() string + func (s *ScanningAnalysis) GetWarning() string + type Scope string + const ScopeAdminGPGKey + const ScopeAdminOrg + const ScopeAdminOrgHook + const ScopeAdminPublicKey + const ScopeAdminRepoHook + const ScopeDeleteRepo + const ScopeGist + const ScopeNone + const ScopeNotifications + const ScopePublicRepo + const ScopeReadGPGKey + const ScopeReadOrg + const ScopeReadPublicKey + const ScopeReadRepoHook + const ScopeRepo + const ScopeRepoDeployment + const ScopeRepoStatus + const ScopeSecurityEvents + const ScopeUser + const ScopeUserEmail + const ScopeUserFollow + const ScopeWriteGPGKey + const ScopeWriteOrg + const ScopeWritePublicKey + const ScopeWriteRepoHook + type SearchOptions struct + Order string + Sort string + TextMatch bool + type SearchService service + func (s *SearchService) Code(ctx context.Context, query string, opts *SearchOptions) (*CodeSearchResult, *Response, error) + func (s *SearchService) Commits(ctx context.Context, query string, opts *SearchOptions) (*CommitsSearchResult, *Response, error) + func (s *SearchService) Issues(ctx context.Context, query string, opts *SearchOptions) (*IssuesSearchResult, *Response, error) + func (s *SearchService) Labels(ctx context.Context, repoID int64, query string, opts *SearchOptions) (*LabelsSearchResult, *Response, error) + func (s *SearchService) Repositories(ctx context.Context, query string, opts *SearchOptions) (*RepositoriesSearchResult, *Response, error) + func (s *SearchService) Topics(ctx context.Context, query string, opts *SearchOptions) (*TopicsSearchResult, *Response, error) + func (s *SearchService) Users(ctx context.Context, query string, opts *SearchOptions) (*UsersSearchResult, *Response, error) + type SeatAssignments struct + SeatsCreated int + type SeatCancellations struct + SeatsCancelled int + type Secret struct + CreatedAt Timestamp + Name string + SelectedRepositoriesURL string + UpdatedAt Timestamp + Visibility string + type SecretScanning struct + Status *string + func (s *SecretScanning) GetStatus() string + func (s SecretScanning) String() string + type SecretScanningAlert struct + CreatedAt *Timestamp + HTMLURL *string + LocationsURL *string + Number *int + PushProtectionBypassed *bool + PushProtectionBypassedAt *Timestamp + PushProtectionBypassedBy *User + Repository *Repository + Resolution *string + ResolutionComment *string + ResolvedAt *Timestamp + ResolvedBy *User + Secret *string + SecretType *string + SecretTypeDisplayName *string + State *string + URL *string + UpdatedAt *Timestamp + func (s *SecretScanningAlert) GetCreatedAt() Timestamp + func (s *SecretScanningAlert) GetHTMLURL() string + func (s *SecretScanningAlert) GetLocationsURL() string + func (s *SecretScanningAlert) GetNumber() int + func (s *SecretScanningAlert) GetPushProtectionBypassed() bool + func (s *SecretScanningAlert) GetPushProtectionBypassedAt() Timestamp + func (s *SecretScanningAlert) GetPushProtectionBypassedBy() *User + func (s *SecretScanningAlert) GetRepository() *Repository + func (s *SecretScanningAlert) GetResolution() string + func (s *SecretScanningAlert) GetResolutionComment() string + func (s *SecretScanningAlert) GetResolvedAt() Timestamp + func (s *SecretScanningAlert) GetResolvedBy() *User + func (s *SecretScanningAlert) GetSecret() string + func (s *SecretScanningAlert) GetSecretType() string + func (s *SecretScanningAlert) GetSecretTypeDisplayName() string + func (s *SecretScanningAlert) GetState() string + func (s *SecretScanningAlert) GetURL() string + func (s *SecretScanningAlert) GetUpdatedAt() Timestamp + type SecretScanningAlertEvent struct + Action *string + Alert *SecretScanningAlert + Enterprise *Enterprise + Installation *Installation + Organization *Organization + Repo *Repository + Sender *User + func (s *SecretScanningAlertEvent) GetAction() string + func (s *SecretScanningAlertEvent) GetAlert() *SecretScanningAlert + func (s *SecretScanningAlertEvent) GetEnterprise() *Enterprise + func (s *SecretScanningAlertEvent) GetInstallation() *Installation + func (s *SecretScanningAlertEvent) GetOrganization() *Organization + func (s *SecretScanningAlertEvent) GetRepo() *Repository + func (s *SecretScanningAlertEvent) GetSender() *User + type SecretScanningAlertListOptions struct + Resolution string + SecretType string + State string + type SecretScanningAlertLocation struct + Details *SecretScanningAlertLocationDetails + Type *string + func (s *SecretScanningAlertLocation) GetDetails() *SecretScanningAlertLocationDetails + func (s *SecretScanningAlertLocation) GetType() string + type SecretScanningAlertLocationDetails struct + BlobSHA *string + BlobURL *string + CommitSHA *string + CommitURL *string + EndColumn *int + EndLine *int + Path *string + PullRequestCommentURL *string + StartColumn *int + Startline *int + func (s *SecretScanningAlertLocationDetails) GetBlobSHA() string + func (s *SecretScanningAlertLocationDetails) GetBlobURL() string + func (s *SecretScanningAlertLocationDetails) GetCommitSHA() string + func (s *SecretScanningAlertLocationDetails) GetCommitURL() string + func (s *SecretScanningAlertLocationDetails) GetEndColumn() int + func (s *SecretScanningAlertLocationDetails) GetEndLine() int + func (s *SecretScanningAlertLocationDetails) GetPath() string + func (s *SecretScanningAlertLocationDetails) GetPullRequestCommentURL() string + func (s *SecretScanningAlertLocationDetails) GetStartColumn() int + func (s *SecretScanningAlertLocationDetails) GetStartline() int + type SecretScanningAlertLocationEvent struct + Action *string + Alert *SecretScanningAlert + Installation *Installation + Location *SecretScanningAlertLocation + Organization *Organization + Repo *Repository + Sender *User + func (s *SecretScanningAlertLocationEvent) GetAction() string + func (s *SecretScanningAlertLocationEvent) GetAlert() *SecretScanningAlert + func (s *SecretScanningAlertLocationEvent) GetInstallation() *Installation + func (s *SecretScanningAlertLocationEvent) GetLocation() *SecretScanningAlertLocation + func (s *SecretScanningAlertLocationEvent) GetOrganization() *Organization + func (s *SecretScanningAlertLocationEvent) GetRepo() *Repository + func (s *SecretScanningAlertLocationEvent) GetSender() *User + type SecretScanningAlertUpdateOptions struct + Resolution *string + ResolutionComment *string + State string + func (s *SecretScanningAlertUpdateOptions) GetResolution() string + func (s *SecretScanningAlertUpdateOptions) GetResolutionComment() string + type SecretScanningPushProtection struct + Status *string + func (s *SecretScanningPushProtection) GetStatus() string + func (s SecretScanningPushProtection) String() string + type SecretScanningService service + func (s *SecretScanningService) GetAlert(ctx context.Context, owner, repo string, number int64) (*SecretScanningAlert, *Response, error) + func (s *SecretScanningService) ListAlertsForEnterprise(ctx context.Context, enterprise string, opts *SecretScanningAlertListOptions) ([]*SecretScanningAlert, *Response, error) + func (s *SecretScanningService) ListAlertsForOrg(ctx context.Context, org string, opts *SecretScanningAlertListOptions) ([]*SecretScanningAlert, *Response, error) + func (s *SecretScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, opts *SecretScanningAlertListOptions) ([]*SecretScanningAlert, *Response, error) + func (s *SecretScanningService) ListLocationsForAlert(ctx context.Context, owner, repo string, number int64, opts *ListOptions) ([]*SecretScanningAlertLocation, *Response, error) + func (s *SecretScanningService) UpdateAlert(ctx context.Context, owner, repo string, number int64, ...) (*SecretScanningAlert, *Response, error) + type SecretScanningValidityChecks struct + Status *string + func (s *SecretScanningValidityChecks) GetStatus() string + type Secrets struct + Secrets []*Secret + TotalCount int + type SecurityAdvisoriesService service + func (s *SecurityAdvisoriesService) CreateTemporaryPrivateFork(ctx context.Context, owner, repo, ghsaID string) (*Repository, *Response, error) + func (s *SecurityAdvisoriesService) GetGlobalSecurityAdvisories(ctx context.Context, ghsaID string) (*GlobalSecurityAdvisory, *Response, error) + func (s *SecurityAdvisoriesService) ListGlobalSecurityAdvisories(ctx context.Context, opts *ListGlobalSecurityAdvisoriesOptions) ([]*GlobalSecurityAdvisory, *Response, error) + func (s *SecurityAdvisoriesService) ListRepositorySecurityAdvisories(ctx context.Context, owner, repo string, ...) ([]*SecurityAdvisory, *Response, error) + func (s *SecurityAdvisoriesService) ListRepositorySecurityAdvisoriesForOrg(ctx context.Context, org string, opt *ListRepositorySecurityAdvisoriesOptions) ([]*SecurityAdvisory, *Response, error) + func (s *SecurityAdvisoriesService) RequestCVE(ctx context.Context, owner, repo, ghsaID string) (*Response, error) + type SecurityAdvisory struct + Author *User + CVEID *string + CVSS *AdvisoryCVSS + CWEIDs []string + CWEs []*AdvisoryCWEs + ClosedAt *Timestamp + CollaboratingTeams []*Team + CollaboratingUsers []*User + CreatedAt *Timestamp + Credits []*RepoAdvisoryCredit + CreditsDetailed []*RepoAdvisoryCreditDetailed + Description *string + GHSAID *string + HTMLURL *string + Identifiers []*AdvisoryIdentifier + PrivateFork *Repository + PublishedAt *Timestamp + Publisher *User + References []*AdvisoryReference + Severity *string + State *string + Submission *SecurityAdvisorySubmission + Summary *string + URL *string + UpdatedAt *Timestamp + Vulnerabilities []*AdvisoryVulnerability + WithdrawnAt *Timestamp + func (s *SecurityAdvisory) GetAuthor() *User + func (s *SecurityAdvisory) GetCVEID() string + func (s *SecurityAdvisory) GetCVSS() *AdvisoryCVSS + func (s *SecurityAdvisory) GetClosedAt() Timestamp + func (s *SecurityAdvisory) GetCreatedAt() Timestamp + func (s *SecurityAdvisory) GetDescription() string + func (s *SecurityAdvisory) GetGHSAID() string + func (s *SecurityAdvisory) GetHTMLURL() string + func (s *SecurityAdvisory) GetPrivateFork() *Repository + func (s *SecurityAdvisory) GetPublishedAt() Timestamp + func (s *SecurityAdvisory) GetPublisher() *User + func (s *SecurityAdvisory) GetSeverity() string + func (s *SecurityAdvisory) GetState() string + func (s *SecurityAdvisory) GetSubmission() *SecurityAdvisorySubmission + func (s *SecurityAdvisory) GetSummary() string + func (s *SecurityAdvisory) GetURL() string + func (s *SecurityAdvisory) GetUpdatedAt() Timestamp + func (s *SecurityAdvisory) GetWithdrawnAt() Timestamp + type SecurityAdvisoryEvent struct + Action *string + Enterprise *Enterprise + Installation *Installation + Organization *Organization + Repository *Repository + SecurityAdvisory *SecurityAdvisory + Sender *User + func (s *SecurityAdvisoryEvent) GetAction() string + func (s *SecurityAdvisoryEvent) GetEnterprise() *Enterprise + func (s *SecurityAdvisoryEvent) GetInstallation() *Installation + func (s *SecurityAdvisoryEvent) GetOrganization() *Organization + func (s *SecurityAdvisoryEvent) GetRepository() *Repository + func (s *SecurityAdvisoryEvent) GetSecurityAdvisory() *SecurityAdvisory + func (s *SecurityAdvisoryEvent) GetSender() *User + type SecurityAdvisorySubmission struct + Accepted *bool + func (s *SecurityAdvisorySubmission) GetAccepted() bool + type SecurityAndAnalysis struct + AdvancedSecurity *AdvancedSecurity + DependabotSecurityUpdates *DependabotSecurityUpdates + SecretScanning *SecretScanning + SecretScanningPushProtection *SecretScanningPushProtection + SecretScanningValidityChecks *SecretScanningValidityChecks + func (s *SecurityAndAnalysis) GetAdvancedSecurity() *AdvancedSecurity + func (s *SecurityAndAnalysis) GetDependabotSecurityUpdates() *DependabotSecurityUpdates + func (s *SecurityAndAnalysis) GetSecretScanning() *SecretScanning + func (s *SecurityAndAnalysis) GetSecretScanningPushProtection() *SecretScanningPushProtection + func (s *SecurityAndAnalysis) GetSecretScanningValidityChecks() *SecretScanningValidityChecks + func (s SecurityAndAnalysis) String() string + type SecurityAndAnalysisChange struct + From *SecurityAndAnalysisChangeFrom + func (s *SecurityAndAnalysisChange) GetFrom() *SecurityAndAnalysisChangeFrom + type SecurityAndAnalysisChangeFrom struct + SecurityAndAnalysis *SecurityAndAnalysis + func (s *SecurityAndAnalysisChangeFrom) GetSecurityAndAnalysis() *SecurityAndAnalysis + type SecurityAndAnalysisEvent struct + Changes *SecurityAndAnalysisChange + Enterprise *Enterprise + Installation *Installation + Organization *Organization + Repository *Repository + Sender *User + func (s *SecurityAndAnalysisEvent) GetChanges() *SecurityAndAnalysisChange + func (s *SecurityAndAnalysisEvent) GetEnterprise() *Enterprise + func (s *SecurityAndAnalysisEvent) GetInstallation() *Installation + func (s *SecurityAndAnalysisEvent) GetOrganization() *Organization + func (s *SecurityAndAnalysisEvent) GetRepository() *Repository + func (s *SecurityAndAnalysisEvent) GetSender() *User + type SelectedRepoIDs []int64 + type SelectedReposList struct + Repositories []*Repository + TotalCount *int + func (s *SelectedReposList) GetTotalCount() int + type SetOrgAccessRunnerGroupRequest struct + SelectedOrganizationIDs []int64 + type SetRepoAccessRunnerGroupRequest struct + SelectedRepositoryIDs []int64 + type SetRunnerGroupRunnersRequest struct + Runners []int64 + type SignatureRequirementEnforcementLevelChanges struct + From *string + func (s *SignatureRequirementEnforcementLevelChanges) GetFrom() string + type SignatureVerification struct + Payload *string + Reason *string + Signature *string + Verified *bool + func (s *SignatureVerification) GetPayload() string + func (s *SignatureVerification) GetReason() string + func (s *SignatureVerification) GetSignature() string + func (s *SignatureVerification) GetVerified() bool + type SignaturesProtectedBranch struct + Enabled *bool + URL *string + func (s *SignaturesProtectedBranch) GetEnabled() bool + func (s *SignaturesProtectedBranch) GetURL() string + type Source struct + Actor *User + ID *int64 + Issue *Issue + Type *string + URL *string + func (s *Source) GetActor() *User + func (s *Source) GetID() int64 + func (s *Source) GetIssue() *Issue + func (s *Source) GetType() string + func (s *Source) GetURL() string + type SourceImportAuthor struct + Email *string + ID *int64 + ImportURL *string + Name *string + RemoteID *string + RemoteName *string + URL *string + func (a SourceImportAuthor) String() string + func (s *SourceImportAuthor) GetEmail() string + func (s *SourceImportAuthor) GetID() int64 + func (s *SourceImportAuthor) GetImportURL() string + func (s *SourceImportAuthor) GetName() string + func (s *SourceImportAuthor) GetRemoteID() string + func (s *SourceImportAuthor) GetRemoteName() string + func (s *SourceImportAuthor) GetURL() string + type SponsorshipChanges struct + PrivacyLevel *string + Tier *SponsorshipTier + func (s *SponsorshipChanges) GetPrivacyLevel() string + func (s *SponsorshipChanges) GetTier() *SponsorshipTier + type SponsorshipEvent struct + Action *string + Changes *SponsorshipChanges + EffectiveDate *string + Installation *Installation + Organization *Organization + Repository *Repository + Sender *User + func (s *SponsorshipEvent) GetAction() string + func (s *SponsorshipEvent) GetChanges() *SponsorshipChanges + func (s *SponsorshipEvent) GetEffectiveDate() string + func (s *SponsorshipEvent) GetInstallation() *Installation + func (s *SponsorshipEvent) GetOrganization() *Organization + func (s *SponsorshipEvent) GetRepository() *Repository + func (s *SponsorshipEvent) GetSender() *User + type SponsorshipTier struct + From *string + func (s *SponsorshipTier) GetFrom() string + type StarEvent struct + Action *string + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + StarredAt *Timestamp + func (s *StarEvent) GetAction() string + func (s *StarEvent) GetInstallation() *Installation + func (s *StarEvent) GetOrg() *Organization + func (s *StarEvent) GetRepo() *Repository + func (s *StarEvent) GetSender() *User + func (s *StarEvent) GetStarredAt() Timestamp + type Stargazer struct + StarredAt *Timestamp + User *User + func (s *Stargazer) GetStarredAt() Timestamp + func (s *Stargazer) GetUser() *User + type StarredRepository struct + Repository *Repository + StarredAt *Timestamp + func (s *StarredRepository) GetRepository() *Repository + func (s *StarredRepository) GetStarredAt() Timestamp + type StatusEvent struct + Branches []*Branch + Commit *RepositoryCommit + Context *string + CreatedAt *Timestamp + Description *string + ID *int64 + Installation *Installation + Name *string + Org *Organization + Repo *Repository + SHA *string + Sender *User + State *string + TargetURL *string + UpdatedAt *Timestamp + func (s *StatusEvent) GetCommit() *RepositoryCommit + func (s *StatusEvent) GetContext() string + func (s *StatusEvent) GetCreatedAt() Timestamp + func (s *StatusEvent) GetDescription() string + func (s *StatusEvent) GetID() int64 + func (s *StatusEvent) GetInstallation() *Installation + func (s *StatusEvent) GetName() string + func (s *StatusEvent) GetOrg() *Organization + func (s *StatusEvent) GetRepo() *Repository + func (s *StatusEvent) GetSHA() string + func (s *StatusEvent) GetSender() *User + func (s *StatusEvent) GetState() string + func (s *StatusEvent) GetTargetURL() string + func (s *StatusEvent) GetUpdatedAt() Timestamp + type StorageBilling struct + DaysLeftInBillingCycle int + EstimatedPaidStorageForMonth float64 + EstimatedStorageForMonth float64 + type Subscription struct + CreatedAt *Timestamp + Ignored *bool + Reason *string + RepositoryURL *string + Subscribed *bool + ThreadURL *string + URL *string + func (s *Subscription) GetCreatedAt() Timestamp + func (s *Subscription) GetIgnored() bool + func (s *Subscription) GetReason() string + func (s *Subscription) GetRepositoryURL() string + func (s *Subscription) GetSubscribed() bool + func (s *Subscription) GetThreadURL() string + func (s *Subscription) GetURL() string + type Tag struct + Message *string + NodeID *string + Object *GitObject + SHA *string + Tag *string + Tagger *CommitAuthor + URL *string + Verification *SignatureVerification + func (t *Tag) GetMessage() string + func (t *Tag) GetNodeID() string + func (t *Tag) GetObject() *GitObject + func (t *Tag) GetSHA() string + func (t *Tag) GetTag() string + func (t *Tag) GetTagger() *CommitAuthor + func (t *Tag) GetURL() string + func (t *Tag) GetVerification() *SignatureVerification + type TagProtection struct + ID *int64 + Pattern *string + func (t *TagProtection) GetID() int64 + func (t *TagProtection) GetPattern() string + type TaskStep struct + CompletedAt *Timestamp + Conclusion *string + Name *string + Number *int64 + StartedAt *Timestamp + Status *string + func (t *TaskStep) GetCompletedAt() Timestamp + func (t *TaskStep) GetConclusion() string + func (t *TaskStep) GetName() string + func (t *TaskStep) GetNumber() int64 + func (t *TaskStep) GetStartedAt() Timestamp + func (t *TaskStep) GetStatus() string + type Team struct + Assignment *string + Description *string + HTMLURL *string + ID *int64 + LDAPDN *string + MembersCount *int + MembersURL *string + Name *string + NodeID *string + Organization *Organization + Parent *Team + Permission *string + Permissions map[string]bool + Privacy *string + ReposCount *int + RepositoriesURL *string + Slug *string + URL *string + func (t *Team) GetAssignment() string + func (t *Team) GetDescription() string + func (t *Team) GetHTMLURL() string + func (t *Team) GetID() int64 + func (t *Team) GetLDAPDN() string + func (t *Team) GetMembersCount() int + func (t *Team) GetMembersURL() string + func (t *Team) GetName() string + func (t *Team) GetNodeID() string + func (t *Team) GetOrganization() *Organization + func (t *Team) GetParent() *Team + func (t *Team) GetPermission() string + func (t *Team) GetPermissions() map[string]bool + func (t *Team) GetPrivacy() string + func (t *Team) GetReposCount() int + func (t *Team) GetRepositoriesURL() string + func (t *Team) GetSlug() string + func (t *Team) GetURL() string + func (t Team) String() string + type TeamAddEvent struct + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + Team *Team + func (t *TeamAddEvent) GetInstallation() *Installation + func (t *TeamAddEvent) GetOrg() *Organization + func (t *TeamAddEvent) GetRepo() *Repository + func (t *TeamAddEvent) GetSender() *User + func (t *TeamAddEvent) GetTeam() *Team + type TeamAddTeamMembershipOptions struct + Role string + type TeamAddTeamRepoOptions struct + Permission string + type TeamChange struct + Description *TeamDescription + Name *TeamName + Privacy *TeamPrivacy + Repository *TeamRepository + func (t *TeamChange) GetDescription() *TeamDescription + func (t *TeamChange) GetName() *TeamName + func (t *TeamChange) GetPrivacy() *TeamPrivacy + func (t *TeamChange) GetRepository() *TeamRepository + type TeamDescription struct + From *string + func (t *TeamDescription) GetFrom() string + type TeamDiscussion struct + Author *User + Body *string + BodyHTML *string + BodyVersion *string + CommentsCount *int + CommentsURL *string + CreatedAt *Timestamp + HTMLURL *string + LastEditedAt *Timestamp + NodeID *string + Number *int + Pinned *bool + Private *bool + Reactions *Reactions + TeamURL *string + Title *string + URL *string + UpdatedAt *Timestamp + func (d TeamDiscussion) String() string + func (t *TeamDiscussion) GetAuthor() *User + func (t *TeamDiscussion) GetBody() string + func (t *TeamDiscussion) GetBodyHTML() string + func (t *TeamDiscussion) GetBodyVersion() string + func (t *TeamDiscussion) GetCommentsCount() int + func (t *TeamDiscussion) GetCommentsURL() string + func (t *TeamDiscussion) GetCreatedAt() Timestamp + func (t *TeamDiscussion) GetHTMLURL() string + func (t *TeamDiscussion) GetLastEditedAt() Timestamp + func (t *TeamDiscussion) GetNodeID() string + func (t *TeamDiscussion) GetNumber() int + func (t *TeamDiscussion) GetPinned() bool + func (t *TeamDiscussion) GetPrivate() bool + func (t *TeamDiscussion) GetReactions() *Reactions + func (t *TeamDiscussion) GetTeamURL() string + func (t *TeamDiscussion) GetTitle() string + func (t *TeamDiscussion) GetURL() string + func (t *TeamDiscussion) GetUpdatedAt() Timestamp + type TeamEvent struct + Action *string + Changes *TeamChange + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + Team *Team + func (t *TeamEvent) GetAction() string + func (t *TeamEvent) GetChanges() *TeamChange + func (t *TeamEvent) GetInstallation() *Installation + func (t *TeamEvent) GetOrg() *Organization + func (t *TeamEvent) GetRepo() *Repository + func (t *TeamEvent) GetSender() *User + func (t *TeamEvent) GetTeam() *Team + type TeamLDAPMapping struct + Description *string + ID *int64 + LDAPDN *string + MembersURL *string + Name *string + Permission *string + Privacy *string + RepositoriesURL *string + Slug *string + URL *string + func (m TeamLDAPMapping) String() string + func (t *TeamLDAPMapping) GetDescription() string + func (t *TeamLDAPMapping) GetID() int64 + func (t *TeamLDAPMapping) GetLDAPDN() string + func (t *TeamLDAPMapping) GetMembersURL() string + func (t *TeamLDAPMapping) GetName() string + func (t *TeamLDAPMapping) GetPermission() string + func (t *TeamLDAPMapping) GetPrivacy() string + func (t *TeamLDAPMapping) GetRepositoriesURL() string + func (t *TeamLDAPMapping) GetSlug() string + func (t *TeamLDAPMapping) GetURL() string + type TeamListTeamMembersOptions struct + Role string + type TeamName struct + From *string + func (t *TeamName) GetFrom() string + type TeamPermissions struct + From *TeamPermissionsFrom + func (t *TeamPermissions) GetFrom() *TeamPermissionsFrom + type TeamPermissionsFrom struct + Admin *bool + Pull *bool + Push *bool + func (t *TeamPermissionsFrom) GetAdmin() bool + func (t *TeamPermissionsFrom) GetPull() bool + func (t *TeamPermissionsFrom) GetPush() bool + type TeamPrivacy struct + From *string + func (t *TeamPrivacy) GetFrom() string + type TeamProjectOptions struct + Permission *string + func (t *TeamProjectOptions) GetPermission() string + type TeamRepository struct + Permissions *TeamPermissions + func (t *TeamRepository) GetPermissions() *TeamPermissions + type TeamsService service + func (s *TeamsService) AddTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string, ...) (*Membership, *Response, error) + func (s *TeamsService) AddTeamMembershipBySlug(ctx context.Context, org, slug, user string, ...) (*Membership, *Response, error) + func (s *TeamsService) AddTeamProjectByID(ctx context.Context, orgID, teamID, projectID int64, opts *TeamProjectOptions) (*Response, error) + func (s *TeamsService) AddTeamProjectBySlug(ctx context.Context, org, slug string, projectID int64, ...) (*Response, error) + func (s *TeamsService) AddTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string, ...) (*Response, error) + func (s *TeamsService) AddTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string, ...) (*Response, error) + func (s *TeamsService) CreateCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber int, ...) (*DiscussionComment, *Response, error) + func (s *TeamsService) CreateCommentBySlug(ctx context.Context, org, slug string, discsusionNumber int, ...) (*DiscussionComment, *Response, error) + func (s *TeamsService) CreateDiscussionByID(ctx context.Context, orgID, teamID int64, discussion TeamDiscussion) (*TeamDiscussion, *Response, error) + func (s *TeamsService) CreateDiscussionBySlug(ctx context.Context, org, slug string, discussion TeamDiscussion) (*TeamDiscussion, *Response, error) + func (s *TeamsService) CreateOrUpdateIDPGroupConnectionsByID(ctx context.Context, orgID, teamID int64, opts IDPGroupList) (*IDPGroupList, *Response, error) + func (s *TeamsService) CreateOrUpdateIDPGroupConnectionsBySlug(ctx context.Context, org, slug string, opts IDPGroupList) (*IDPGroupList, *Response, error) + func (s *TeamsService) CreateTeam(ctx context.Context, org string, team NewTeam) (*Team, *Response, error) + func (s *TeamsService) DeleteCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int) (*Response, error) + func (s *TeamsService) DeleteCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int) (*Response, error) + func (s *TeamsService) DeleteDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int) (*Response, error) + func (s *TeamsService) DeleteDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int) (*Response, error) + func (s *TeamsService) DeleteTeamByID(ctx context.Context, orgID, teamID int64) (*Response, error) + func (s *TeamsService) DeleteTeamBySlug(ctx context.Context, org, slug string) (*Response, error) + func (s *TeamsService) EditCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int, ...) (*DiscussionComment, *Response, error) + func (s *TeamsService) EditCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int, ...) (*DiscussionComment, *Response, error) + func (s *TeamsService) EditDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int, ...) (*TeamDiscussion, *Response, error) + func (s *TeamsService) EditDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int, ...) (*TeamDiscussion, *Response, error) + func (s *TeamsService) EditTeamByID(ctx context.Context, orgID, teamID int64, team NewTeam, removeParent bool) (*Team, *Response, error) + func (s *TeamsService) EditTeamBySlug(ctx context.Context, org, slug string, team NewTeam, removeParent bool) (*Team, *Response, error) + func (s *TeamsService) GetCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int) (*DiscussionComment, *Response, error) + func (s *TeamsService) GetCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int) (*DiscussionComment, *Response, error) + func (s *TeamsService) GetDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int) (*TeamDiscussion, *Response, error) + func (s *TeamsService) GetDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int) (*TeamDiscussion, *Response, error) + func (s *TeamsService) GetExternalGroup(ctx context.Context, org string, groupID int64) (*ExternalGroup, *Response, error) + func (s *TeamsService) GetTeamByID(ctx context.Context, orgID, teamID int64) (*Team, *Response, error) + func (s *TeamsService) GetTeamBySlug(ctx context.Context, org, slug string) (*Team, *Response, error) + func (s *TeamsService) GetTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string) (*Membership, *Response, error) + func (s *TeamsService) GetTeamMembershipBySlug(ctx context.Context, org, slug, user string) (*Membership, *Response, error) + func (s *TeamsService) IsTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string) (*Repository, *Response, error) + func (s *TeamsService) IsTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string) (*Repository, *Response, error) + func (s *TeamsService) ListChildTeamsByParentID(ctx context.Context, orgID, teamID int64, opts *ListOptions) ([]*Team, *Response, error) + func (s *TeamsService) ListChildTeamsByParentSlug(ctx context.Context, org, slug string, opts *ListOptions) ([]*Team, *Response, error) + func (s *TeamsService) ListCommentsByID(ctx context.Context, orgID, teamID int64, discussionNumber int, ...) ([]*DiscussionComment, *Response, error) + func (s *TeamsService) ListCommentsBySlug(ctx context.Context, org, slug string, discussionNumber int, ...) ([]*DiscussionComment, *Response, error) + func (s *TeamsService) ListDiscussionsByID(ctx context.Context, orgID, teamID int64, opts *DiscussionListOptions) ([]*TeamDiscussion, *Response, error) + func (s *TeamsService) ListDiscussionsBySlug(ctx context.Context, org, slug string, opts *DiscussionListOptions) ([]*TeamDiscussion, *Response, error) + func (s *TeamsService) ListExternalGroups(ctx context.Context, org string, opts *ListExternalGroupsOptions) (*ExternalGroupList, *Response, error) + func (s *TeamsService) ListExternalGroupsForTeamBySlug(ctx context.Context, org, slug string) (*ExternalGroupList, *Response, error) + func (s *TeamsService) ListIDPGroupsForTeamByID(ctx context.Context, orgID, teamID int64) (*IDPGroupList, *Response, error) + func (s *TeamsService) ListIDPGroupsForTeamBySlug(ctx context.Context, org, slug string) (*IDPGroupList, *Response, error) + func (s *TeamsService) ListIDPGroupsInOrganization(ctx context.Context, org string, opts *ListIDPGroupsOptions) (*IDPGroupList, *Response, error) + func (s *TeamsService) ListPendingTeamInvitationsByID(ctx context.Context, orgID, teamID int64, opts *ListOptions) ([]*Invitation, *Response, error) + func (s *TeamsService) ListPendingTeamInvitationsBySlug(ctx context.Context, org, slug string, opts *ListOptions) ([]*Invitation, *Response, error) + func (s *TeamsService) ListTeamMembersByID(ctx context.Context, orgID, teamID int64, opts *TeamListTeamMembersOptions) ([]*User, *Response, error) + func (s *TeamsService) ListTeamMembersBySlug(ctx context.Context, org, slug string, opts *TeamListTeamMembersOptions) ([]*User, *Response, error) + func (s *TeamsService) ListTeamProjectsByID(ctx context.Context, orgID, teamID int64) ([]*ProjectV2, *Response, error) + func (s *TeamsService) ListTeamProjectsBySlug(ctx context.Context, org, slug string) ([]*ProjectV2, *Response, error) + func (s *TeamsService) ListTeamReposByID(ctx context.Context, orgID, teamID int64, opts *ListOptions) ([]*Repository, *Response, error) + func (s *TeamsService) ListTeamReposBySlug(ctx context.Context, org, slug string, opts *ListOptions) ([]*Repository, *Response, error) + func (s *TeamsService) ListTeams(ctx context.Context, org string, opts *ListOptions) ([]*Team, *Response, error) + func (s *TeamsService) ListUserTeams(ctx context.Context, opts *ListOptions) ([]*Team, *Response, error) + func (s *TeamsService) RemoveConnectedExternalGroup(ctx context.Context, org, slug string) (*Response, error) + func (s *TeamsService) RemoveTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string) (*Response, error) + func (s *TeamsService) RemoveTeamMembershipBySlug(ctx context.Context, org, slug, user string) (*Response, error) + func (s *TeamsService) RemoveTeamProjectByID(ctx context.Context, orgID, teamID, projectID int64) (*Response, error) + func (s *TeamsService) RemoveTeamProjectBySlug(ctx context.Context, org, slug string, projectID int64) (*Response, error) + func (s *TeamsService) RemoveTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string) (*Response, error) + func (s *TeamsService) RemoveTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string) (*Response, error) + func (s *TeamsService) ReviewTeamProjectsByID(ctx context.Context, orgID, teamID, projectID int64) (*ProjectV2, *Response, error) + func (s *TeamsService) ReviewTeamProjectsBySlug(ctx context.Context, org, slug string, projectID int64) (*ProjectV2, *Response, error) + func (s *TeamsService) UpdateConnectedExternalGroup(ctx context.Context, org, slug string, eg *ExternalGroup) (*ExternalGroup, *Response, error) + type TemplateRepoRequest struct + Description *string + IncludeAllBranches *bool + Name *string + Owner *string + Private *bool + func (t *TemplateRepoRequest) GetDescription() string + func (t *TemplateRepoRequest) GetIncludeAllBranches() bool + func (t *TemplateRepoRequest) GetName() string + func (t *TemplateRepoRequest) GetOwner() string + func (t *TemplateRepoRequest) GetPrivate() bool + type TextMatch struct + Fragment *string + Matches []*Match + ObjectType *string + ObjectURL *string + Property *string + func (t *TextMatch) GetFragment() string + func (t *TextMatch) GetObjectType() string + func (t *TextMatch) GetObjectURL() string + func (t *TextMatch) GetProperty() string + func (tm TextMatch) String() string + type Timeline struct + Actor *User + Assignee *User + Assigner *User + Author *CommitAuthor + Body *string + CommitID *string + CommitURL *string + Committer *CommitAuthor + CreatedAt *Timestamp + Event *string + ID *int64 + Label *Label + Message *string + Milestone *Milestone + Parents []*Commit + PerformedViaGithubApp *App + Rename *Rename + RequestedTeam *Team + Requester *User + Reviewer *User + SHA *string + Source *Source + State *string + SubmittedAt *Timestamp + URL *string + User *User + func (t *Timeline) GetActor() *User + func (t *Timeline) GetAssignee() *User + func (t *Timeline) GetAssigner() *User + func (t *Timeline) GetAuthor() *CommitAuthor + func (t *Timeline) GetBody() string + func (t *Timeline) GetCommitID() string + func (t *Timeline) GetCommitURL() string + func (t *Timeline) GetCommitter() *CommitAuthor + func (t *Timeline) GetCreatedAt() Timestamp + func (t *Timeline) GetEvent() string + func (t *Timeline) GetID() int64 + func (t *Timeline) GetLabel() *Label + func (t *Timeline) GetMessage() string + func (t *Timeline) GetMilestone() *Milestone + func (t *Timeline) GetPerformedViaGithubApp() *App + func (t *Timeline) GetRename() *Rename + func (t *Timeline) GetRequestedTeam() *Team + func (t *Timeline) GetRequester() *User + func (t *Timeline) GetReviewer() *User + func (t *Timeline) GetSHA() string + func (t *Timeline) GetSource() *Source + func (t *Timeline) GetState() string + func (t *Timeline) GetSubmittedAt() Timestamp + func (t *Timeline) GetURL() string + func (t *Timeline) GetUser() *User + type Timestamp struct + func (t *Timestamp) GetTime() *time.Time + func (t *Timestamp) UnmarshalJSON(data []byte) (err error) + func (t Timestamp) Equal(u Timestamp) bool + func (t Timestamp) String() string + type Tool struct + GUID *string + Name *string + Version *string + func (t *Tool) GetGUID() string + func (t *Tool) GetName() string + func (t *Tool) GetVersion() string + type TopicResult struct + CreatedAt *Timestamp + CreatedBy *string + Curated *bool + Description *string + DisplayName *string + Featured *bool + Name *string + Score *float64 + ShortDescription *string + UpdatedAt *string + func (t *TopicResult) GetCreatedAt() Timestamp + func (t *TopicResult) GetCreatedBy() string + func (t *TopicResult) GetCurated() bool + func (t *TopicResult) GetDescription() string + func (t *TopicResult) GetDisplayName() string + func (t *TopicResult) GetFeatured() bool + func (t *TopicResult) GetName() string + func (t *TopicResult) GetScore() *float64 + func (t *TopicResult) GetShortDescription() string + func (t *TopicResult) GetUpdatedAt() string + type TopicsSearchResult struct + IncompleteResults *bool + Topics []*TopicResult + Total *int + func (t *TopicsSearchResult) GetIncompleteResults() bool + func (t *TopicsSearchResult) GetTotal() int + type TotalCacheUsage struct + TotalActiveCachesCount int + TotalActiveCachesUsageSizeInBytes int64 + type TrafficBreakdownOptions struct + Per string + type TrafficClones struct + Clones []*TrafficData + Count *int + Uniques *int + func (t *TrafficClones) GetCount() int + func (t *TrafficClones) GetUniques() int + type TrafficData struct + Count *int + Timestamp *Timestamp + Uniques *int + func (t *TrafficData) GetCount() int + func (t *TrafficData) GetTimestamp() Timestamp + func (t *TrafficData) GetUniques() int + type TrafficPath struct + Count *int + Path *string + Title *string + Uniques *int + func (t *TrafficPath) GetCount() int + func (t *TrafficPath) GetPath() string + func (t *TrafficPath) GetTitle() string + func (t *TrafficPath) GetUniques() int + type TrafficReferrer struct + Count *int + Referrer *string + Uniques *int + func (t *TrafficReferrer) GetCount() int + func (t *TrafficReferrer) GetReferrer() string + func (t *TrafficReferrer) GetUniques() int + type TrafficViews struct + Count *int + Uniques *int + Views []*TrafficData + func (t *TrafficViews) GetCount() int + func (t *TrafficViews) GetUniques() int + type TransferRequest struct + NewName *string + NewOwner string + TeamID []int64 + func (t *TransferRequest) GetNewName() string + type Tree struct + Entries []*TreeEntry + SHA *string + Truncated *bool + func (t *Tree) GetSHA() string + func (t *Tree) GetTruncated() bool + func (t Tree) String() string + type TreeEntry struct + Content *string + Mode *string + Path *string + SHA *string + Size *int + Type *string + URL *string + func (t *TreeEntry) GetContent() string + func (t *TreeEntry) GetMode() string + func (t *TreeEntry) GetPath() string + func (t *TreeEntry) GetSHA() string + func (t *TreeEntry) GetSize() int + func (t *TreeEntry) GetType() string + func (t *TreeEntry) GetURL() string + func (t *TreeEntry) MarshalJSON() ([]byte, error) + func (t TreeEntry) String() string + type TwoFactorAuthError ErrorResponse + func (r *TwoFactorAuthError) Error() string + type UnauthenticatedRateLimitedTransport struct + ClientID string + ClientSecret string + Transport http.RoundTripper + func (t *UnauthenticatedRateLimitedTransport) Client() *http.Client + func (t *UnauthenticatedRateLimitedTransport) RoundTrip(req *http.Request) (*http.Response, error) + type UpdateAllowsFetchAndMergeRuleParameters struct + UpdateAllowsFetchAndMerge bool + type UpdateAttributeForSCIMUserOperations struct + Op string + Path *string + Value json.RawMessage + func (u *UpdateAttributeForSCIMUserOperations) GetPath() string + type UpdateAttributeForSCIMUserOptions struct + Operations UpdateAttributeForSCIMUserOperations + Schemas []string + type UpdateCheckRunOptions struct + Actions []*CheckRunAction + CompletedAt *Timestamp + Conclusion *string + DetailsURL *string + ExternalID *string + Name string + Output *CheckRunOutput + Status *string + func (u *UpdateCheckRunOptions) GetCompletedAt() Timestamp + func (u *UpdateCheckRunOptions) GetConclusion() string + func (u *UpdateCheckRunOptions) GetDetailsURL() string + func (u *UpdateCheckRunOptions) GetExternalID() string + func (u *UpdateCheckRunOptions) GetOutput() *CheckRunOutput + func (u *UpdateCheckRunOptions) GetStatus() string + type UpdateDefaultSetupConfigurationOptions struct + Languages []string + QuerySuite *string + State string + func (u *UpdateDefaultSetupConfigurationOptions) GetQuerySuite() string + type UpdateDefaultSetupConfigurationResponse struct + RunID *int64 + RunURL *string + func (u *UpdateDefaultSetupConfigurationResponse) GetRunID() int64 + func (u *UpdateDefaultSetupConfigurationResponse) GetRunURL() string + type UpdateEnterpriseRunnerGroupRequest struct + AllowsPublicRepositories *bool + Name *string + RestrictedToWorkflows *bool + SelectedWorkflows []string + Visibility *string + func (u *UpdateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool + func (u *UpdateEnterpriseRunnerGroupRequest) GetName() string + func (u *UpdateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool + func (u *UpdateEnterpriseRunnerGroupRequest) GetVisibility() string + type UpdateRunnerGroupRequest struct + AllowsPublicRepositories *bool + Name *string + RestrictedToWorkflows *bool + SelectedWorkflows []string + Visibility *string + func (u *UpdateRunnerGroupRequest) GetAllowsPublicRepositories() bool + func (u *UpdateRunnerGroupRequest) GetName() string + func (u *UpdateRunnerGroupRequest) GetRestrictedToWorkflows() bool + func (u *UpdateRunnerGroupRequest) GetVisibility() string + type UploadOptions struct + Label string + MediaType string + Name string + type User struct + Assignment *string + AvatarURL *string + Bio *string + Blog *string + Collaborators *int + Company *string + CreatedAt *Timestamp + DiskUsage *int + Email *string + EventsURL *string + Followers *int + FollowersURL *string + Following *int + FollowingURL *string + GistsURL *string + GravatarID *string + HTMLURL *string + Hireable *bool + ID *int64 + InheritedFrom *Team + LdapDn *string + Location *string + Login *string + Name *string + NodeID *string + OrganizationsURL *string + OwnedPrivateRepos *int64 + Permissions map[string]bool + Plan *Plan + PrivateGists *int + PublicGists *int + PublicRepos *int + ReceivedEventsURL *string + ReposURL *string + RoleName *string + SiteAdmin *bool + StarredURL *string + SubscriptionsURL *string + SuspendedAt *Timestamp + TextMatches []*TextMatch + TotalPrivateRepos *int64 + TwitterUsername *string + TwoFactorAuthentication *bool + Type *string + URL *string + UpdatedAt *Timestamp + func (u *User) GetAssignment() string + func (u *User) GetAvatarURL() string + func (u *User) GetBio() string + func (u *User) GetBlog() string + func (u *User) GetCollaborators() int + func (u *User) GetCompany() string + func (u *User) GetCreatedAt() Timestamp + func (u *User) GetDiskUsage() int + func (u *User) GetEmail() string + func (u *User) GetEventsURL() string + func (u *User) GetFollowers() int + func (u *User) GetFollowersURL() string + func (u *User) GetFollowing() int + func (u *User) GetFollowingURL() string + func (u *User) GetGistsURL() string + func (u *User) GetGravatarID() string + func (u *User) GetHTMLURL() string + func (u *User) GetHireable() bool + func (u *User) GetID() int64 + func (u *User) GetInheritedFrom() *Team + func (u *User) GetLdapDn() string + func (u *User) GetLocation() string + func (u *User) GetLogin() string + func (u *User) GetName() string + func (u *User) GetNodeID() string + func (u *User) GetOrganizationsURL() string + func (u *User) GetOwnedPrivateRepos() int64 + func (u *User) GetPermissions() map[string]bool + func (u *User) GetPlan() *Plan + func (u *User) GetPrivateGists() int + func (u *User) GetPublicGists() int + func (u *User) GetPublicRepos() int + func (u *User) GetReceivedEventsURL() string + func (u *User) GetReposURL() string + func (u *User) GetRoleName() string + func (u *User) GetSiteAdmin() bool + func (u *User) GetStarredURL() string + func (u *User) GetSubscriptionsURL() string + func (u *User) GetSuspendedAt() Timestamp + func (u *User) GetTotalPrivateRepos() int64 + func (u *User) GetTwitterUsername() string + func (u *User) GetTwoFactorAuthentication() bool + func (u *User) GetType() string + func (u *User) GetURL() string + func (u *User) GetUpdatedAt() Timestamp + func (u User) String() string + type UserAuthorization struct + App *OAuthAPP + CreatedAt *Timestamp + Fingerprint *string + HashedToken *string + ID *int64 + Note *string + NoteURL *string + Scopes []string + Token *string + TokenLastEight *string + URL *string + UpdatedAt *Timestamp + func (u *UserAuthorization) GetApp() *OAuthAPP + func (u *UserAuthorization) GetCreatedAt() Timestamp + func (u *UserAuthorization) GetFingerprint() string + func (u *UserAuthorization) GetHashedToken() string + func (u *UserAuthorization) GetID() int64 + func (u *UserAuthorization) GetNote() string + func (u *UserAuthorization) GetNoteURL() string + func (u *UserAuthorization) GetToken() string + func (u *UserAuthorization) GetTokenLastEight() string + func (u *UserAuthorization) GetURL() string + func (u *UserAuthorization) GetUpdatedAt() Timestamp + type UserContext struct + Message *string + Octicon *string + func (u *UserContext) GetMessage() string + func (u *UserContext) GetOcticon() string + type UserEmail struct + Email *string + Primary *bool + Verified *bool + Visibility *string + func (u *UserEmail) GetEmail() string + func (u *UserEmail) GetPrimary() bool + func (u *UserEmail) GetVerified() bool + func (u *UserEmail) GetVisibility() string + type UserEvent struct + Action *string + Enterprise *Enterprise + Installation *Installation + Sender *User + User *User + func (u *UserEvent) GetAction() string + func (u *UserEvent) GetEnterprise() *Enterprise + func (u *UserEvent) GetInstallation() *Installation + func (u *UserEvent) GetSender() *User + func (u *UserEvent) GetUser() *User + type UserLDAPMapping struct + AvatarURL *string + EventsURL *string + FollowersURL *string + FollowingURL *string + GistsURL *string + GravatarID *string + ID *int64 + LDAPDN *string + Login *string + OrganizationsURL *string + ReceivedEventsURL *string + ReposURL *string + SiteAdmin *bool + StarredURL *string + SubscriptionsURL *string + Type *string + URL *string + func (m UserLDAPMapping) String() string + func (u *UserLDAPMapping) GetAvatarURL() string + func (u *UserLDAPMapping) GetEventsURL() string + func (u *UserLDAPMapping) GetFollowersURL() string + func (u *UserLDAPMapping) GetFollowingURL() string + func (u *UserLDAPMapping) GetGistsURL() string + func (u *UserLDAPMapping) GetGravatarID() string + func (u *UserLDAPMapping) GetID() int64 + func (u *UserLDAPMapping) GetLDAPDN() string + func (u *UserLDAPMapping) GetLogin() string + func (u *UserLDAPMapping) GetOrganizationsURL() string + func (u *UserLDAPMapping) GetReceivedEventsURL() string + func (u *UserLDAPMapping) GetReposURL() string + func (u *UserLDAPMapping) GetSiteAdmin() bool + func (u *UserLDAPMapping) GetStarredURL() string + func (u *UserLDAPMapping) GetSubscriptionsURL() string + func (u *UserLDAPMapping) GetType() string + func (u *UserLDAPMapping) GetURL() string + type UserListOptions struct + Since int64 + type UserMigration struct + CreatedAt *string + ExcludeAttachments *bool + GUID *string + ID *int64 + LockRepositories *bool + Repositories []*Repository + State *string + URL *string + UpdatedAt *string + func (m UserMigration) String() string + func (u *UserMigration) GetCreatedAt() string + func (u *UserMigration) GetExcludeAttachments() bool + func (u *UserMigration) GetGUID() string + func (u *UserMigration) GetID() int64 + func (u *UserMigration) GetLockRepositories() bool + func (u *UserMigration) GetState() string + func (u *UserMigration) GetURL() string + func (u *UserMigration) GetUpdatedAt() string + type UserMigrationOptions struct + ExcludeAttachments bool + LockRepositories bool + type UserStats struct + AdminUsers *int + SuspendedUsers *int + TotalUsers *int + func (s UserStats) String() string + func (u *UserStats) GetAdminUsers() int + func (u *UserStats) GetSuspendedUsers() int + func (u *UserStats) GetTotalUsers() int + type UserSuspendOptions struct + Reason *string + func (u *UserSuspendOptions) GetReason() string + type UsersSearchResult struct + IncompleteResults *bool + Total *int + Users []*User + func (u *UsersSearchResult) GetIncompleteResults() bool + func (u *UsersSearchResult) GetTotal() int + type UsersService service + func (s *UsersService) AcceptInvitation(ctx context.Context, invitationID int64) (*Response, error) + func (s *UsersService) AddEmails(ctx context.Context, emails []string) ([]*UserEmail, *Response, error) + func (s *UsersService) BlockUser(ctx context.Context, user string) (*Response, error) + func (s *UsersService) CreateGPGKey(ctx context.Context, armoredPublicKey string) (*GPGKey, *Response, error) + func (s *UsersService) CreateKey(ctx context.Context, key *Key) (*Key, *Response, error) + func (s *UsersService) CreateSSHSigningKey(ctx context.Context, key *Key) (*SSHSigningKey, *Response, error) + func (s *UsersService) DeclineInvitation(ctx context.Context, invitationID int64) (*Response, error) + func (s *UsersService) DeleteEmails(ctx context.Context, emails []string) (*Response, error) + func (s *UsersService) DeleteGPGKey(ctx context.Context, id int64) (*Response, error) + func (s *UsersService) DeleteKey(ctx context.Context, id int64) (*Response, error) + func (s *UsersService) DeletePackage(ctx context.Context, user, packageType, packageName string) (*Response, error) + func (s *UsersService) DeleteSSHSigningKey(ctx context.Context, id int64) (*Response, error) + func (s *UsersService) DemoteSiteAdmin(ctx context.Context, user string) (*Response, error) + func (s *UsersService) Edit(ctx context.Context, user *User) (*User, *Response, error) + func (s *UsersService) Follow(ctx context.Context, user string) (*Response, error) + func (s *UsersService) Get(ctx context.Context, user string) (*User, *Response, error) + func (s *UsersService) GetByID(ctx context.Context, id int64) (*User, *Response, error) + func (s *UsersService) GetGPGKey(ctx context.Context, id int64) (*GPGKey, *Response, error) + func (s *UsersService) GetHovercard(ctx context.Context, user string, opts *HovercardOptions) (*Hovercard, *Response, error) + func (s *UsersService) GetKey(ctx context.Context, id int64) (*Key, *Response, error) + func (s *UsersService) GetPackage(ctx context.Context, user, packageType, packageName string) (*Package, *Response, error) + func (s *UsersService) GetSSHSigningKey(ctx context.Context, id int64) (*SSHSigningKey, *Response, error) + func (s *UsersService) IsBlocked(ctx context.Context, user string) (bool, *Response, error) + func (s *UsersService) IsFollowing(ctx context.Context, user, target string) (bool, *Response, error) + func (s *UsersService) ListAll(ctx context.Context, opts *UserListOptions) ([]*User, *Response, error) + func (s *UsersService) ListAttestations(ctx context.Context, user, subjectDigest string, opts *ListOptions) (*AttestationsResponse, *Response, error) + func (s *UsersService) ListBlockedUsers(ctx context.Context, opts *ListOptions) ([]*User, *Response, error) + func (s *UsersService) ListEmails(ctx context.Context, opts *ListOptions) ([]*UserEmail, *Response, error) + func (s *UsersService) ListFollowers(ctx context.Context, user string, opts *ListOptions) ([]*User, *Response, error) + func (s *UsersService) ListFollowing(ctx context.Context, user string, opts *ListOptions) ([]*User, *Response, error) + func (s *UsersService) ListGPGKeys(ctx context.Context, user string, opts *ListOptions) ([]*GPGKey, *Response, error) + func (s *UsersService) ListInvitations(ctx context.Context, opts *ListOptions) ([]*RepositoryInvitation, *Response, error) + func (s *UsersService) ListKeys(ctx context.Context, user string, opts *ListOptions) ([]*Key, *Response, error) + func (s *UsersService) ListPackages(ctx context.Context, user string, opts *PackageListOptions) ([]*Package, *Response, error) + func (s *UsersService) ListSSHSigningKeys(ctx context.Context, user string, opts *ListOptions) ([]*SSHSigningKey, *Response, error) + func (s *UsersService) PackageDeleteVersion(ctx context.Context, user, packageType, packageName string, ...) (*Response, error) + func (s *UsersService) PackageGetAllVersions(ctx context.Context, user, packageType, packageName string, ...) ([]*PackageVersion, *Response, error) + func (s *UsersService) PackageGetVersion(ctx context.Context, user, packageType, packageName string, ...) (*PackageVersion, *Response, error) + func (s *UsersService) PackageRestoreVersion(ctx context.Context, user, packageType, packageName string, ...) (*Response, error) + func (s *UsersService) PromoteSiteAdmin(ctx context.Context, user string) (*Response, error) + func (s *UsersService) RestorePackage(ctx context.Context, user, packageType, packageName string) (*Response, error) + func (s *UsersService) SetEmailVisibility(ctx context.Context, visibility string) ([]*UserEmail, *Response, error) + func (s *UsersService) Suspend(ctx context.Context, user string, opts *UserSuspendOptions) (*Response, error) + func (s *UsersService) UnblockUser(ctx context.Context, user string) (*Response, error) + func (s *UsersService) Unfollow(ctx context.Context, user string) (*Response, error) + func (s *UsersService) Unsuspend(ctx context.Context, user string) (*Response, error) + type VulnerabilityPackage struct + Ecosystem *string + Name *string + func (v *VulnerabilityPackage) GetEcosystem() string + func (v *VulnerabilityPackage) GetName() string + type WatchEvent struct + Action *string + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + func (w *WatchEvent) GetAction() string + func (w *WatchEvent) GetInstallation() *Installation + func (w *WatchEvent) GetOrg() *Organization + func (w *WatchEvent) GetRepo() *Repository + func (w *WatchEvent) GetSender() *User + type WebHookAuthor = CommitAuthor + type WebHookCommit = HeadCommit + type WebHookPayload = PushEvent + type WeeklyCommitActivity struct + Days []int + Total *int + Week *Timestamp + func (w *WeeklyCommitActivity) GetTotal() int + func (w *WeeklyCommitActivity) GetWeek() Timestamp + func (w WeeklyCommitActivity) String() string + type WeeklyStats struct + Additions *int + Commits *int + Deletions *int + Week *Timestamp + func (w *WeeklyStats) GetAdditions() int + func (w *WeeklyStats) GetCommits() int + func (w *WeeklyStats) GetDeletions() int + func (w *WeeklyStats) GetWeek() Timestamp + func (w WeeklyStats) String() string + type Workflow struct + BadgeURL *string + CreatedAt *Timestamp + HTMLURL *string + ID *int64 + Name *string + NodeID *string + Path *string + State *string + URL *string + UpdatedAt *Timestamp + func (w *Workflow) GetBadgeURL() string + func (w *Workflow) GetCreatedAt() Timestamp + func (w *Workflow) GetHTMLURL() string + func (w *Workflow) GetID() int64 + func (w *Workflow) GetName() string + func (w *Workflow) GetNodeID() string + func (w *Workflow) GetPath() string + func (w *Workflow) GetState() string + func (w *Workflow) GetURL() string + func (w *Workflow) GetUpdatedAt() Timestamp + type WorkflowBill struct + TotalMS *int64 + func (w *WorkflowBill) GetTotalMS() int64 + type WorkflowBillMap map[string]*WorkflowBill + type WorkflowDispatchEvent struct + Inputs json.RawMessage + Installation *Installation + Org *Organization + Ref *string + Repo *Repository + Sender *User + Workflow *string + func (w *WorkflowDispatchEvent) GetInstallation() *Installation + func (w *WorkflowDispatchEvent) GetOrg() *Organization + func (w *WorkflowDispatchEvent) GetRef() string + func (w *WorkflowDispatchEvent) GetRepo() *Repository + func (w *WorkflowDispatchEvent) GetSender() *User + func (w *WorkflowDispatchEvent) GetWorkflow() string + type WorkflowJob struct + CheckRunURL *string + CompletedAt *Timestamp + Conclusion *string + CreatedAt *Timestamp + HTMLURL *string + HeadBranch *string + HeadSHA *string + ID *int64 + Labels []string + Name *string + NodeID *string + RunAttempt *int64 + RunID *int64 + RunURL *string + RunnerGroupID *int64 + RunnerGroupName *string + RunnerID *int64 + RunnerName *string + StartedAt *Timestamp + Status *string + Steps []*TaskStep + URL *string + WorkflowName *string + func (w *WorkflowJob) GetCheckRunURL() string + func (w *WorkflowJob) GetCompletedAt() Timestamp + func (w *WorkflowJob) GetConclusion() string + func (w *WorkflowJob) GetCreatedAt() Timestamp + func (w *WorkflowJob) GetHTMLURL() string + func (w *WorkflowJob) GetHeadBranch() string + func (w *WorkflowJob) GetHeadSHA() string + func (w *WorkflowJob) GetID() int64 + func (w *WorkflowJob) GetName() string + func (w *WorkflowJob) GetNodeID() string + func (w *WorkflowJob) GetRunAttempt() int64 + func (w *WorkflowJob) GetRunID() int64 + func (w *WorkflowJob) GetRunURL() string + func (w *WorkflowJob) GetRunnerGroupID() int64 + func (w *WorkflowJob) GetRunnerGroupName() string + func (w *WorkflowJob) GetRunnerID() int64 + func (w *WorkflowJob) GetRunnerName() string + func (w *WorkflowJob) GetStartedAt() Timestamp + func (w *WorkflowJob) GetStatus() string + func (w *WorkflowJob) GetURL() string + func (w *WorkflowJob) GetWorkflowName() string + type WorkflowJobEvent struct + Action *string + Deployment *Deployment + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + WorkflowJob *WorkflowJob + func (w *WorkflowJobEvent) GetAction() string + func (w *WorkflowJobEvent) GetDeployment() *Deployment + func (w *WorkflowJobEvent) GetInstallation() *Installation + func (w *WorkflowJobEvent) GetOrg() *Organization + func (w *WorkflowJobEvent) GetRepo() *Repository + func (w *WorkflowJobEvent) GetSender() *User + func (w *WorkflowJobEvent) GetWorkflowJob() *WorkflowJob + type WorkflowJobRun struct + Conclusion *string + CreatedAt *Timestamp + Environment *string + HTMLURL *string + ID *int64 + Name *string + Status *string + UpdatedAt *Timestamp + func (w *WorkflowJobRun) GetConclusion() string + func (w *WorkflowJobRun) GetCreatedAt() Timestamp + func (w *WorkflowJobRun) GetEnvironment() string + func (w *WorkflowJobRun) GetHTMLURL() string + func (w *WorkflowJobRun) GetID() int64 + func (w *WorkflowJobRun) GetName() string + func (w *WorkflowJobRun) GetStatus() string + func (w *WorkflowJobRun) GetUpdatedAt() Timestamp + type WorkflowRun struct + Actor *User + ArtifactsURL *string + CancelURL *string + CheckSuiteID *int64 + CheckSuiteNodeID *string + CheckSuiteURL *string + Conclusion *string + CreatedAt *Timestamp + DisplayTitle *string + Event *string + HTMLURL *string + HeadBranch *string + HeadCommit *HeadCommit + HeadRepository *Repository + HeadSHA *string + ID *int64 + JobsURL *string + LogsURL *string + Name *string + NodeID *string + Path *string + PreviousAttemptURL *string + PullRequests []*PullRequest + ReferencedWorkflows []*ReferencedWorkflow + Repository *Repository + RerunURL *string + RunAttempt *int + RunNumber *int + RunStartedAt *Timestamp + Status *string + TriggeringActor *User + URL *string + UpdatedAt *Timestamp + WorkflowID *int64 + WorkflowURL *string + func (w *WorkflowRun) GetActor() *User + func (w *WorkflowRun) GetArtifactsURL() string + func (w *WorkflowRun) GetCancelURL() string + func (w *WorkflowRun) GetCheckSuiteID() int64 + func (w *WorkflowRun) GetCheckSuiteNodeID() string + func (w *WorkflowRun) GetCheckSuiteURL() string + func (w *WorkflowRun) GetConclusion() string + func (w *WorkflowRun) GetCreatedAt() Timestamp + func (w *WorkflowRun) GetDisplayTitle() string + func (w *WorkflowRun) GetEvent() string + func (w *WorkflowRun) GetHTMLURL() string + func (w *WorkflowRun) GetHeadBranch() string + func (w *WorkflowRun) GetHeadCommit() *HeadCommit + func (w *WorkflowRun) GetHeadRepository() *Repository + func (w *WorkflowRun) GetHeadSHA() string + func (w *WorkflowRun) GetID() int64 + func (w *WorkflowRun) GetJobsURL() string + func (w *WorkflowRun) GetLogsURL() string + func (w *WorkflowRun) GetName() string + func (w *WorkflowRun) GetNodeID() string + func (w *WorkflowRun) GetPath() string + func (w *WorkflowRun) GetPreviousAttemptURL() string + func (w *WorkflowRun) GetRepository() *Repository + func (w *WorkflowRun) GetRerunURL() string + func (w *WorkflowRun) GetRunAttempt() int + func (w *WorkflowRun) GetRunNumber() int + func (w *WorkflowRun) GetRunStartedAt() Timestamp + func (w *WorkflowRun) GetStatus() string + func (w *WorkflowRun) GetTriggeringActor() *User + func (w *WorkflowRun) GetURL() string + func (w *WorkflowRun) GetUpdatedAt() Timestamp + func (w *WorkflowRun) GetWorkflowID() int64 + func (w *WorkflowRun) GetWorkflowURL() string + type WorkflowRunAttemptOptions struct + ExcludePullRequests *bool + func (w *WorkflowRunAttemptOptions) GetExcludePullRequests() bool + type WorkflowRunBill struct + JobRuns []*WorkflowRunJobRun + Jobs *int + TotalMS *int64 + func (w *WorkflowRunBill) GetJobs() int + func (w *WorkflowRunBill) GetTotalMS() int64 + type WorkflowRunBillMap map[string]*WorkflowRunBill + type WorkflowRunEvent struct + Action *string + Installation *Installation + Org *Organization + Repo *Repository + Sender *User + Workflow *Workflow + WorkflowRun *WorkflowRun + func (w *WorkflowRunEvent) GetAction() string + func (w *WorkflowRunEvent) GetInstallation() *Installation + func (w *WorkflowRunEvent) GetOrg() *Organization + func (w *WorkflowRunEvent) GetRepo() *Repository + func (w *WorkflowRunEvent) GetSender() *User + func (w *WorkflowRunEvent) GetWorkflow() *Workflow + func (w *WorkflowRunEvent) GetWorkflowRun() *WorkflowRun + type WorkflowRunJobRun struct + DurationMS *int64 + JobID *int + func (w *WorkflowRunJobRun) GetDurationMS() int64 + func (w *WorkflowRunJobRun) GetJobID() int + type WorkflowRunUsage struct + Billable *WorkflowRunBillMap + RunDurationMS *int64 + func (w *WorkflowRunUsage) GetBillable() *WorkflowRunBillMap + func (w *WorkflowRunUsage) GetRunDurationMS() int64 + type WorkflowRuns struct + TotalCount *int + WorkflowRuns []*WorkflowRun + func (w *WorkflowRuns) GetTotalCount() int + type WorkflowUsage struct + Billable *WorkflowBillMap + func (w *WorkflowUsage) GetBillable() *WorkflowBillMap + type Workflows struct + TotalCount *int + Workflows []*Workflow + func (w *Workflows) GetTotalCount() int Other modules containing this package github.com/google/go-github github.com/google/go-github/v18 github.com/google/go-github/v19 github.com/google/go-github/v20 github.com/google/go-github/v21 github.com/google/go-github/v22 github.com/google/go-github/v23 github.com/google/go-github/v24 github.com/google/go-github/v25 github.com/google/go-github/v26 github.com/google/go-github/v27 github.com/google/go-github/v28 github.com/google/go-github/v29 github.com/google/go-github/v30 github.com/google/go-github/v31 github.com/google/go-github/v32 github.com/google/go-github/v33 github.com/google/go-github/v34 github.com/google/go-github/v35 github.com/google/go-github/v36 github.com/google/go-github/v37 github.com/google/go-github/v38 github.com/google/go-github/v39 github.com/google/go-github/v40 github.com/google/go-github/v41 github.com/google/go-github/v42 github.com/google/go-github/v43 github.com/google/go-github/v44 github.com/google/go-github/v45 github.com/google/go-github/v46 github.com/google/go-github/v47 github.com/google/go-github/v48 github.com/google/go-github/v49 github.com/google/go-github/v50 github.com/google/go-github/v51 github.com/google/go-github/v52 github.com/google/go-github/v53 github.com/google/go-github/v54 github.com/google/go-github/v55 github.com/google/go-github/v56 github.com/google/go-github/v57 github.com/google/go-github/v58 github.com/google/go-github/v59 github.com/google/go-github/v60 github.com/google/go-github/v61 github.com/google/go-github/v62 github.com/google/go-github/v63 github.com/google/go-github/v64 github.com/google/go-github/v65 github.com/google/go-github/v66 github.com/google/go-github/v67