Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockActionsService
- func (m *MockActionsService) AddEnabledReposInOrg(ctx context.Context, owner string, repositoryID int64) (*github.Response, error)
- func (m *MockActionsService) AddRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID int64) (*github.Response, error)
- func (m *MockActionsService) AddRunnerGroupRunners(ctx context.Context, org string, groupID, runnerID int64) (*github.Response, error)
- func (m *MockActionsService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
- func (m *MockActionsService) CancelWorkflowRunByID(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
- func (m *MockActionsService) CreateOrUpdateEnvSecret(ctx context.Context, repoID int, env string, eSecret *github.EncryptedSecret) (*github.Response, error)
- func (m *MockActionsService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *github.EncryptedSecret) (*github.Response, error)
- func (m *MockActionsService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *github.EncryptedSecret) (*github.Response, error)
- func (m *MockActionsService) CreateOrganizationRegistrationToken(ctx context.Context, owner string) (*github.RegistrationToken, *github.Response, error)
- func (m *MockActionsService) CreateOrganizationRemoveToken(ctx context.Context, owner string) (*github.RemoveToken, *github.Response, error)
- func (m *MockActionsService) CreateOrganizationRunnerGroup(ctx context.Context, org string, createReq github.CreateRunnerGroupRequest) (*github.RunnerGroup, *github.Response, error)
- func (m *MockActionsService) CreateRegistrationToken(ctx context.Context, owner, repo string) (*github.RegistrationToken, *github.Response, error)
- func (m *MockActionsService) CreateRemoveToken(ctx context.Context, owner, repo string) (*github.RemoveToken, *github.Response, error)
- func (m *MockActionsService) CreateWorkflowDispatchEventByFileName(ctx context.Context, owner, repo, workflowFileName string, ...) (*github.Response, error)
- func (m *MockActionsService) CreateWorkflowDispatchEventByID(ctx context.Context, owner, repo string, workflowID int64, ...) (*github.Response, error)
- func (m *MockActionsService) DeleteArtifact(ctx context.Context, owner, repo string, artifactID int64) (*github.Response, error)
- func (m *MockActionsService) DeleteEnvSecret(ctx context.Context, repoID int, env, secretName string) (*github.Response, error)
- func (m *MockActionsService) DeleteOrgSecret(ctx context.Context, org, name string) (*github.Response, error)
- func (m *MockActionsService) DeleteOrganizationRunnerGroup(ctx context.Context, org string, groupID int64) (*github.Response, error)
- func (m *MockActionsService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*github.Response, error)
- func (m *MockActionsService) DeleteWorkflowRun(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
- func (m *MockActionsService) DeleteWorkflowRunLogs(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
- func (m *MockActionsService) DisableWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.Response, error)
- func (m *MockActionsService) DisableWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*github.Response, error)
- func (m *MockActionsService) DownloadArtifact(ctx context.Context, owner, repo string, artifactID int64, ...) (*url.URL, *github.Response, error)
- func (m *MockActionsService) EXPECT() *MockActionsServiceMockRecorder
- func (m *MockActionsService) EnableWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.Response, error)
- func (m *MockActionsService) EnableWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*github.Response, error)
- func (m *MockActionsService) GetArtifact(ctx context.Context, owner, repo string, artifactID int64) (*github.Artifact, *github.Response, error)
- func (m *MockActionsService) GetEnvPublicKey(ctx context.Context, repoID int, env string) (*github.PublicKey, *github.Response, error)
- func (m *MockActionsService) GetEnvSecret(ctx context.Context, repoID int, env, secretName string) (*github.Secret, *github.Response, error)
- func (m *MockActionsService) GetOrgPublicKey(ctx context.Context, org string) (*github.PublicKey, *github.Response, error)
- func (m *MockActionsService) GetOrgSecret(ctx context.Context, org, name string) (*github.Secret, *github.Response, error)
- func (m *MockActionsService) GetOrganizationRunner(ctx context.Context, owner string, runnerID int64) (*github.Runner, *github.Response, error)
- func (m *MockActionsService) GetOrganizationRunnerGroup(ctx context.Context, org string, groupID int64) (*github.RunnerGroup, *github.Response, error)
- func (m *MockActionsService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*github.PublicKey, *github.Response, error)
- func (m *MockActionsService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*github.Secret, *github.Response, error)
- func (m *MockActionsService) GetRunner(ctx context.Context, owner, repo string, runnerID int64) (*github.Runner, *github.Response, error)
- func (m *MockActionsService) GetWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.Workflow, *github.Response, error)
- func (m *MockActionsService) GetWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*github.Workflow, *github.Response, error)
- func (m *MockActionsService) GetWorkflowJobByID(ctx context.Context, owner, repo string, jobID int64) (*github.WorkflowJob, *github.Response, error)
- func (m *MockActionsService) GetWorkflowJobLogs(ctx context.Context, owner, repo string, jobID int64, followRedirects bool) (*url.URL, *github.Response, error)
- func (m *MockActionsService) GetWorkflowRunAttempt(ctx context.Context, owner, repo string, runID int64, attemptNumber int, ...) (*github.WorkflowRun, *github.Response, error)
- func (m *MockActionsService) GetWorkflowRunByID(ctx context.Context, owner, repo string, runID int64) (*github.WorkflowRun, *github.Response, error)
- func (m *MockActionsService) GetWorkflowRunLogs(ctx context.Context, owner, repo string, runID int64, followRedirects bool) (*url.URL, *github.Response, error)
- func (m *MockActionsService) GetWorkflowRunUsageByID(ctx context.Context, owner, repo string, runID int64) (*github.WorkflowRunUsage, *github.Response, error)
- func (m *MockActionsService) GetWorkflowUsageByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.WorkflowUsage, *github.Response, error)
- func (m *MockActionsService) GetWorkflowUsageByID(ctx context.Context, owner, repo string, workflowID int64) (*github.WorkflowUsage, *github.Response, error)
- func (m *MockActionsService) ListArtifacts(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.ArtifactList, *github.Response, error)
- func (m *MockActionsService) ListEnabledReposInOrg(ctx context.Context, owner string, opts *github.ListOptions) (*github.ActionsEnabledOnOrgRepos, *github.Response, error)
- func (m *MockActionsService) ListEnvSecrets(ctx context.Context, repoID int, env string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
- func (m *MockActionsService) ListOrgSecrets(ctx context.Context, org string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
- func (m *MockActionsService) ListOrganizationRunnerApplicationDownloads(ctx context.Context, owner string) ([]*github.RunnerApplicationDownload, *github.Response, error)
- func (m *MockActionsService) ListOrganizationRunnerGroups(ctx context.Context, org string, opts *github.ListOrgRunnerGroupOptions) (*github.RunnerGroups, *github.Response, error)
- func (m *MockActionsService) ListOrganizationRunners(ctx context.Context, owner string, opts *github.ListOptions) (*github.Runners, *github.Response, error)
- func (m *MockActionsService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
- func (m *MockActionsService) ListRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, opts *github.ListOptions) (*github.ListRepositories, *github.Response, error)
- func (m *MockActionsService) ListRepositoryWorkflowRuns(ctx context.Context, owner, repo string, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
- func (m *MockActionsService) ListRunnerApplicationDownloads(ctx context.Context, owner, repo string) ([]*github.RunnerApplicationDownload, *github.Response, error)
- func (m *MockActionsService) ListRunnerGroupRunners(ctx context.Context, org string, groupID int64, opts *github.ListOptions) (*github.Runners, *github.Response, error)
- func (m *MockActionsService) ListRunners(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Runners, *github.Response, error)
- func (m *MockActionsService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *github.ListOptions) (*github.SelectedReposList, *github.Response, error)
- func (m *MockActionsService) ListWorkflowJobs(ctx context.Context, owner, repo string, runID int64, ...) (*github.Jobs, *github.Response, error)
- func (m *MockActionsService) ListWorkflowRunArtifacts(ctx context.Context, owner, repo string, runID int64, opts *github.ListOptions) (*github.ArtifactList, *github.Response, error)
- func (m *MockActionsService) ListWorkflowRunsByFileName(ctx context.Context, owner, repo, workflowFileName string, ...) (*github.WorkflowRuns, *github.Response, error)
- func (m *MockActionsService) ListWorkflowRunsByID(ctx context.Context, owner, repo string, workflowID int64, ...) (*github.WorkflowRuns, *github.Response, error)
- func (m *MockActionsService) ListWorkflows(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Workflows, *github.Response, error)
- func (m *MockActionsService) PendingDeployments(ctx context.Context, owner, repo string, runID int64, ...) ([]*github.Deployment, *github.Response, error)
- func (m *MockActionsService) RemoveEnabledRepoInOrg(ctx context.Context, owner string, repositoryID int64) (*github.Response, error)
- func (m *MockActionsService) RemoveOrganizationRunner(ctx context.Context, owner string, runnerID int64) (*github.Response, error)
- func (m *MockActionsService) RemoveRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID int64) (*github.Response, error)
- func (m *MockActionsService) RemoveRunner(ctx context.Context, owner, repo string, runnerID int64) (*github.Response, error)
- func (m *MockActionsService) RemoveRunnerGroupRunners(ctx context.Context, org string, groupID, runnerID int64) (*github.Response, error)
- func (m *MockActionsService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
- func (m *MockActionsService) RerunFailedJobsByID(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
- func (m *MockActionsService) RerunJobByID(ctx context.Context, owner, repo string, jobID int64) (*github.Response, error)
- func (m *MockActionsService) RerunWorkflowByID(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
- func (m *MockActionsService) SetEnabledReposInOrg(ctx context.Context, owner string, repositoryIDs []int64) (*github.Response, error)
- func (m *MockActionsService) SetRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, ...) (*github.Response, error)
- func (m *MockActionsService) SetRunnerGroupRunners(ctx context.Context, org string, groupID int64, ...) (*github.Response, error)
- func (m *MockActionsService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ids github.SelectedRepoIDs) (*github.Response, error)
- func (m *MockActionsService) UpdateOrganizationRunnerGroup(ctx context.Context, org string, groupID int64, ...) (*github.RunnerGroup, *github.Response, error)
- type MockActionsServiceMockRecorder
- func (mr *MockActionsServiceMockRecorder) AddEnabledReposInOrg(ctx, owner, repositoryID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) AddRepositoryAccessRunnerGroup(ctx, org, groupID, repoID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) AddRunnerGroupRunners(ctx, org, groupID, runnerID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) AddSelectedRepoToOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CancelWorkflowRunByID(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateOrUpdateEnvSecret(ctx, repoID, env, eSecret interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateOrUpdateOrgSecret(ctx, org, eSecret interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateOrUpdateRepoSecret(ctx, owner, repo, eSecret interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateOrganizationRegistrationToken(ctx, owner interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateOrganizationRemoveToken(ctx, owner interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateOrganizationRunnerGroup(ctx, org, createReq interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateRegistrationToken(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateRemoveToken(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateWorkflowDispatchEventByFileName(ctx, owner, repo, workflowFileName, event interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) CreateWorkflowDispatchEventByID(ctx, owner, repo, workflowID, event interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteArtifact(ctx, owner, repo, artifactID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteEnvSecret(ctx, repoID, env, secretName interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteOrgSecret(ctx, org, name interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteOrganizationRunnerGroup(ctx, org, groupID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteWorkflowRun(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DeleteWorkflowRunLogs(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DisableWorkflowByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DisableWorkflowByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) DownloadArtifact(ctx, owner, repo, artifactID, followRedirects interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) EnableWorkflowByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) EnableWorkflowByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetArtifact(ctx, owner, repo, artifactID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetEnvPublicKey(ctx, repoID, env interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetEnvSecret(ctx, repoID, env, secretName interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetOrgPublicKey(ctx, org interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetOrgSecret(ctx, org, name interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetOrganizationRunner(ctx, owner, runnerID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetOrganizationRunnerGroup(ctx, org, groupID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetRepoPublicKey(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetRunner(ctx, owner, repo, runnerID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowJobByID(ctx, owner, repo, jobID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowJobLogs(ctx, owner, repo, jobID, followRedirects interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowRunAttempt(ctx, owner, repo, runID, attemptNumber, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowRunByID(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowRunLogs(ctx, owner, repo, runID, followRedirects interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowRunUsageByID(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowUsageByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) GetWorkflowUsageByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListArtifacts(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListEnabledReposInOrg(ctx, owner, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListEnvSecrets(ctx, repoID, env, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListOrgSecrets(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListOrganizationRunnerApplicationDownloads(ctx, owner interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListOrganizationRunnerGroups(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListOrganizationRunners(ctx, owner, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListRepoSecrets(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListRepositoryAccessRunnerGroup(ctx, org, groupID, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListRepositoryWorkflowRuns(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListRunnerApplicationDownloads(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListRunnerGroupRunners(ctx, org, groupID, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListRunners(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListSelectedReposForOrgSecret(ctx, org, name, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListWorkflowJobs(ctx, owner, repo, runID, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListWorkflowRunArtifacts(ctx, owner, repo, runID, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListWorkflowRunsByFileName(ctx, owner, repo, workflowFileName, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListWorkflowRunsByID(ctx, owner, repo, workflowID, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) ListWorkflows(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) PendingDeployments(ctx, owner, repo, runID, request interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RemoveEnabledRepoInOrg(ctx, owner, repositoryID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RemoveOrganizationRunner(ctx, owner, runnerID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RemoveRepositoryAccessRunnerGroup(ctx, org, groupID, repoID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RemoveRunner(ctx, owner, repo, runnerID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RemoveRunnerGroupRunners(ctx, org, groupID, runnerID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RemoveSelectedRepoFromOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RerunFailedJobsByID(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RerunJobByID(ctx, owner, repo, jobID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) RerunWorkflowByID(ctx, owner, repo, runID interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) SetEnabledReposInOrg(ctx, owner, repositoryIDs interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) SetRepositoryAccessRunnerGroup(ctx, org, groupID, ids interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) SetRunnerGroupRunners(ctx, org, groupID, ids interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) SetSelectedReposForOrgSecret(ctx, org, name, ids interface{}) *gomock.Call
- func (mr *MockActionsServiceMockRecorder) UpdateOrganizationRunnerGroup(ctx, org, groupID, updateReq interface{}) *gomock.Call
- type MockActivityService
- func (m *MockActivityService) DeleteRepositorySubscription(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockActivityService) DeleteThreadSubscription(ctx context.Context, id string) (*github.Response, error)
- func (m *MockActivityService) EXPECT() *MockActivityServiceMockRecorder
- func (m *MockActivityService) GetRepositorySubscription(ctx context.Context, owner, repo string) (*github.Subscription, *github.Response, error)
- func (m *MockActivityService) GetThread(ctx context.Context, id string) (*github.Notification, *github.Response, error)
- func (m *MockActivityService) GetThreadSubscription(ctx context.Context, id string) (*github.Subscription, *github.Response, error)
- func (m *MockActivityService) IsStarred(ctx context.Context, owner, repo string) (bool, *github.Response, error)
- func (m *MockActivityService) ListEvents(ctx context.Context, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListEventsForOrganization(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListEventsForRepoNetwork(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListEventsPerformedByUser(ctx context.Context, user string, publicOnly bool, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListEventsReceivedByUser(ctx context.Context, user string, publicOnly bool, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListFeeds(ctx context.Context) (*github.Feeds, *github.Response, error)
- func (m *MockActivityService) ListIssueEventsForRepository(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
- func (m *MockActivityService) ListNotifications(ctx context.Context, opts *github.NotificationListOptions) ([]*github.Notification, *github.Response, error)
- func (m *MockActivityService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListRepositoryNotifications(ctx context.Context, owner, repo string, opts *github.NotificationListOptions) ([]*github.Notification, *github.Response, error)
- func (m *MockActivityService) ListStargazers(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Stargazer, *github.Response, error)
- func (m *MockActivityService) ListStarred(ctx context.Context, user string, opts *github.ActivityListStarredOptions) ([]*github.StarredRepository, *github.Response, error)
- func (m *MockActivityService) ListUserEventsForOrganization(ctx context.Context, org, user string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (m *MockActivityService) ListWatched(ctx context.Context, user string, opts *github.ListOptions) ([]*github.Repository, *github.Response, error)
- func (m *MockActivityService) ListWatchers(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (m *MockActivityService) MarkNotificationsRead(ctx context.Context, lastRead time.Time) (*github.Response, error)
- func (m *MockActivityService) MarkRepositoryNotificationsRead(ctx context.Context, owner, repo string, lastRead time.Time) (*github.Response, error)
- func (m *MockActivityService) MarkThreadRead(ctx context.Context, id string) (*github.Response, error)
- func (m *MockActivityService) SetRepositorySubscription(ctx context.Context, owner, repo string, subscription *github.Subscription) (*github.Subscription, *github.Response, error)
- func (m *MockActivityService) SetThreadSubscription(ctx context.Context, id string, subscription *github.Subscription) (*github.Subscription, *github.Response, error)
- func (m *MockActivityService) Star(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockActivityService) Unstar(ctx context.Context, owner, repo string) (*github.Response, error)
- type MockActivityServiceMockRecorder
- func (mr *MockActivityServiceMockRecorder) DeleteRepositorySubscription(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) DeleteThreadSubscription(ctx, id interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) GetRepositorySubscription(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) GetThread(ctx, id interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) GetThreadSubscription(ctx, id interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) IsStarred(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListEvents(ctx, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListEventsForOrganization(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListEventsForRepoNetwork(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListEventsPerformedByUser(ctx, user, publicOnly, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListEventsReceivedByUser(ctx, user, publicOnly, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListFeeds(ctx interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListIssueEventsForRepository(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListNotifications(ctx, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListRepositoryEvents(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListRepositoryNotifications(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListStargazers(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListStarred(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListUserEventsForOrganization(ctx, org, user, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListWatched(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) ListWatchers(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) MarkNotificationsRead(ctx, lastRead interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) MarkRepositoryNotificationsRead(ctx, owner, repo, lastRead interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) MarkThreadRead(ctx, id interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) SetRepositorySubscription(ctx, owner, repo, subscription interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) SetThreadSubscription(ctx, id, subscription interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) Star(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockActivityServiceMockRecorder) Unstar(ctx, owner, repo interface{}) *gomock.Call
- type MockAdminService
- func (m *MockAdminService) CreateOrg(ctx context.Context, org *github.Organization, admin string) (*github.Organization, *github.Response, error)
- func (m *MockAdminService) CreateUser(ctx context.Context, login, email string) (*github.User, *github.Response, error)
- func (m *MockAdminService) CreateUserImpersonation(ctx context.Context, username string, opts *github.ImpersonateUserOptions) (*github.UserAuthorization, *github.Response, error)
- func (m *MockAdminService) DeleteUser(ctx context.Context, username string) (*github.Response, error)
- func (m *MockAdminService) DeleteUserImpersonation(ctx context.Context, username string) (*github.Response, error)
- func (m *MockAdminService) EXPECT() *MockAdminServiceMockRecorder
- func (m *MockAdminService) GetAdminStats(ctx context.Context) (*github.AdminStats, *github.Response, error)
- func (m *MockAdminService) RenameOrg(ctx context.Context, org *github.Organization, newName string) (*github.RenameOrgResponse, *github.Response, error)
- func (m *MockAdminService) RenameOrgByName(ctx context.Context, org, newName string) (*github.RenameOrgResponse, *github.Response, error)
- func (m *MockAdminService) UpdateTeamLDAPMapping(ctx context.Context, team int64, mapping *github.TeamLDAPMapping) (*github.TeamLDAPMapping, *github.Response, error)
- func (m *MockAdminService) UpdateUserLDAPMapping(ctx context.Context, user string, mapping *github.UserLDAPMapping) (*github.UserLDAPMapping, *github.Response, error)
- type MockAdminServiceMockRecorder
- func (mr *MockAdminServiceMockRecorder) CreateOrg(ctx, org, admin interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) CreateUser(ctx, login, email interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) CreateUserImpersonation(ctx, username, opts interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) DeleteUser(ctx, username interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) DeleteUserImpersonation(ctx, username interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) GetAdminStats(ctx interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) RenameOrg(ctx, org, newName interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) RenameOrgByName(ctx, org, newName interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) UpdateTeamLDAPMapping(ctx, team, mapping interface{}) *gomock.Call
- func (mr *MockAdminServiceMockRecorder) UpdateUserLDAPMapping(ctx, user, mapping interface{}) *gomock.Call
- type MockAppsService
- func (m *MockAppsService) AddRepository(ctx context.Context, instID, repoID int64) (*github.Repository, *github.Response, error)
- func (m *MockAppsService) CompleteAppManifest(ctx context.Context, code string) (*github.AppConfig, *github.Response, error)
- func (m *MockAppsService) CreateAttachment(ctx context.Context, contentReferenceID int64, title, body string) (*github.Attachment, *github.Response, error)
- func (m *MockAppsService) CreateInstallationToken(ctx context.Context, id int64, opts *github.InstallationTokenOptions) (*github.InstallationToken, *github.Response, error)
- func (m *MockAppsService) DeleteInstallation(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockAppsService) EXPECT() *MockAppsServiceMockRecorder
- func (m *MockAppsService) FindOrganizationInstallation(ctx context.Context, org string) (*github.Installation, *github.Response, error)
- func (m *MockAppsService) FindRepositoryInstallation(ctx context.Context, owner, repo string) (*github.Installation, *github.Response, error)
- func (m *MockAppsService) FindRepositoryInstallationByID(ctx context.Context, id int64) (*github.Installation, *github.Response, error)
- func (m *MockAppsService) FindUserInstallation(ctx context.Context, user string) (*github.Installation, *github.Response, error)
- func (m *MockAppsService) Get(ctx context.Context, appSlug string) (*github.App, *github.Response, error)
- func (m *MockAppsService) GetHookConfig(ctx context.Context) (*github.HookConfig, *github.Response, error)
- func (m *MockAppsService) GetHookDelivery(ctx context.Context, deliveryID int64) (*github.HookDelivery, *github.Response, error)
- func (m *MockAppsService) GetInstallation(ctx context.Context, id int64) (*github.Installation, *github.Response, error)
- func (m *MockAppsService) ListHookDeliveries(ctx context.Context, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
- func (m *MockAppsService) ListInstallations(ctx context.Context, opts *github.ListOptions) ([]*github.Installation, *github.Response, error)
- func (m *MockAppsService) ListRepos(ctx context.Context, opts *github.ListOptions) (*github.ListRepositories, *github.Response, error)
- func (m *MockAppsService) ListUserInstallations(ctx context.Context, opts *github.ListOptions) ([]*github.Installation, *github.Response, error)
- func (m *MockAppsService) ListUserRepos(ctx context.Context, id int64, opts *github.ListOptions) (*github.ListRepositories, *github.Response, error)
- func (m *MockAppsService) RedeliverHookDelivery(ctx context.Context, deliveryID int64) (*github.HookDelivery, *github.Response, error)
- func (m *MockAppsService) RemoveRepository(ctx context.Context, instID, repoID int64) (*github.Response, error)
- func (m *MockAppsService) RevokeInstallationToken(ctx context.Context) (*github.Response, error)
- func (m *MockAppsService) SuspendInstallation(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockAppsService) UnsuspendInstallation(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockAppsService) UpdateHookConfig(ctx context.Context, config *github.HookConfig) (*github.HookConfig, *github.Response, error)
- type MockAppsServiceMockRecorder
- func (mr *MockAppsServiceMockRecorder) AddRepository(ctx, instID, repoID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) CompleteAppManifest(ctx, code interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) CreateAttachment(ctx, contentReferenceID, title, body interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) CreateInstallationToken(ctx, id, opts interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) DeleteInstallation(ctx, id interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) FindOrganizationInstallation(ctx, org interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) FindRepositoryInstallation(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) FindRepositoryInstallationByID(ctx, id interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) FindUserInstallation(ctx, user interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Get(ctx, appSlug interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetHookConfig(ctx interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetHookDelivery(ctx, deliveryID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetInstallation(ctx, id interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListHookDeliveries(ctx, opts interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListInstallations(ctx, opts interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListRepos(ctx, opts interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListUserInstallations(ctx, opts interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListUserRepos(ctx, id, opts interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) RedeliverHookDelivery(ctx, deliveryID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) RemoveRepository(ctx, instID, repoID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) RevokeInstallationToken(ctx interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) SuspendInstallation(ctx, id interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) UnsuspendInstallation(ctx, id interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) UpdateHookConfig(ctx, config interface{}) *gomock.Call
- type MockAuthorizationsService
- func (m *MockAuthorizationsService) Check(ctx context.Context, clientID, accessToken string) (*github.Authorization, *github.Response, error)
- func (m *MockAuthorizationsService) CreateImpersonation(ctx context.Context, username string, authReq *github.AuthorizationRequest) (*github.Authorization, *github.Response, error)
- func (m *MockAuthorizationsService) DeleteGrant(ctx context.Context, clientID, accessToken string) (*github.Response, error)
- func (m *MockAuthorizationsService) DeleteImpersonation(ctx context.Context, username string) (*github.Response, error)
- func (m *MockAuthorizationsService) EXPECT() *MockAuthorizationsServiceMockRecorder
- func (m *MockAuthorizationsService) Reset(ctx context.Context, clientID, accessToken string) (*github.Authorization, *github.Response, error)
- func (m *MockAuthorizationsService) Revoke(ctx context.Context, clientID, accessToken string) (*github.Response, error)
- type MockAuthorizationsServiceMockRecorder
- func (mr *MockAuthorizationsServiceMockRecorder) Check(ctx, clientID, accessToken interface{}) *gomock.Call
- func (mr *MockAuthorizationsServiceMockRecorder) CreateImpersonation(ctx, username, authReq interface{}) *gomock.Call
- func (mr *MockAuthorizationsServiceMockRecorder) DeleteGrant(ctx, clientID, accessToken interface{}) *gomock.Call
- func (mr *MockAuthorizationsServiceMockRecorder) DeleteImpersonation(ctx, username interface{}) *gomock.Call
- func (mr *MockAuthorizationsServiceMockRecorder) Reset(ctx, clientID, accessToken interface{}) *gomock.Call
- func (mr *MockAuthorizationsServiceMockRecorder) Revoke(ctx, clientID, accessToken interface{}) *gomock.Call
- type MockBillingService
- func (m *MockBillingService) EXPECT() *MockBillingServiceMockRecorder
- func (m *MockBillingService) GetActionsBillingOrg(ctx context.Context, org string) (*github.ActionBilling, *github.Response, error)
- func (m *MockBillingService) GetActionsBillingUser(ctx context.Context, user string) (*github.ActionBilling, *github.Response, error)
- func (m *MockBillingService) GetAdvancedSecurityActiveCommittersOrg(ctx context.Context, org string) (*github.ActiveCommitters, *github.Response, error)
- func (m *MockBillingService) GetPackagesBillingOrg(ctx context.Context, org string) (*github.PackageBilling, *github.Response, error)
- func (m *MockBillingService) GetPackagesBillingUser(ctx context.Context, user string) (*github.PackageBilling, *github.Response, error)
- func (m *MockBillingService) GetStorageBillingOrg(ctx context.Context, org string) (*github.StorageBilling, *github.Response, error)
- func (m *MockBillingService) GetStorageBillingUser(ctx context.Context, user string) (*github.StorageBilling, *github.Response, error)
- type MockBillingServiceMockRecorder
- func (mr *MockBillingServiceMockRecorder) GetActionsBillingOrg(ctx, org interface{}) *gomock.Call
- func (mr *MockBillingServiceMockRecorder) GetActionsBillingUser(ctx, user interface{}) *gomock.Call
- func (mr *MockBillingServiceMockRecorder) GetAdvancedSecurityActiveCommittersOrg(ctx, org interface{}) *gomock.Call
- func (mr *MockBillingServiceMockRecorder) GetPackagesBillingOrg(ctx, org interface{}) *gomock.Call
- func (mr *MockBillingServiceMockRecorder) GetPackagesBillingUser(ctx, user interface{}) *gomock.Call
- func (mr *MockBillingServiceMockRecorder) GetStorageBillingOrg(ctx, org interface{}) *gomock.Call
- func (mr *MockBillingServiceMockRecorder) GetStorageBillingUser(ctx, user interface{}) *gomock.Call
- type MockChecksService
- func (m *MockChecksService) CreateCheckRun(ctx context.Context, owner, repo string, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
- func (m *MockChecksService) CreateCheckSuite(ctx context.Context, owner, repo string, opts github.CreateCheckSuiteOptions) (*github.CheckSuite, *github.Response, error)
- func (m *MockChecksService) EXPECT() *MockChecksServiceMockRecorder
- func (m *MockChecksService) GetCheckRun(ctx context.Context, owner, repo string, checkRunID int64) (*github.CheckRun, *github.Response, error)
- func (m *MockChecksService) GetCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64) (*github.CheckSuite, *github.Response, error)
- func (m *MockChecksService) ListCheckRunAnnotations(ctx context.Context, owner, repo string, checkRunID int64, ...) ([]*github.CheckRunAnnotation, *github.Response, error)
- func (m *MockChecksService) ListCheckRunsCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64, ...) (*github.ListCheckRunsResults, *github.Response, error)
- func (m *MockChecksService) ListCheckRunsForRef(ctx context.Context, owner, repo, ref string, ...) (*github.ListCheckRunsResults, *github.Response, error)
- func (m *MockChecksService) ListCheckSuitesForRef(ctx context.Context, owner, repo, ref string, ...) (*github.ListCheckSuiteResults, *github.Response, error)
- func (m *MockChecksService) ReRequestCheckRun(ctx context.Context, owner, repo string, checkRunID int64) (*github.Response, error)
- func (m *MockChecksService) ReRequestCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64) (*github.Response, error)
- func (m *MockChecksService) SetCheckSuitePreferences(ctx context.Context, owner, repo string, ...) (*github.CheckSuitePreferenceResults, *github.Response, error)
- func (m *MockChecksService) UpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, ...) (*github.CheckRun, *github.Response, error)
- type MockChecksServiceMockRecorder
- func (mr *MockChecksServiceMockRecorder) CreateCheckRun(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) CreateCheckSuite(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) GetCheckRun(ctx, owner, repo, checkRunID interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) GetCheckSuite(ctx, owner, repo, checkSuiteID interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) ListCheckRunAnnotations(ctx, owner, repo, checkRunID, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) ListCheckRunsCheckSuite(ctx, owner, repo, checkSuiteID, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) ListCheckRunsForRef(ctx, owner, repo, ref, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) ListCheckSuitesForRef(ctx, owner, repo, ref, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) ReRequestCheckRun(ctx, owner, repo, checkRunID interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) ReRequestCheckSuite(ctx, owner, repo, checkSuiteID interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) SetCheckSuitePreferences(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockChecksServiceMockRecorder) UpdateCheckRun(ctx, owner, repo, checkRunID, opts interface{}) *gomock.Call
- type MockClientAPI
- func (m *MockClientAPI) APIMeta(ctx context.Context) (*github.APIMeta, *github.Response, error)
- func (m *MockClientAPI) Actions() gogithubmockable.ActionsService
- func (m *MockClientAPI) Activity() gogithubmockable.ActivityService
- func (m *MockClientAPI) Admin() gogithubmockable.AdminService
- func (m *MockClientAPI) Apps() gogithubmockable.AppsService
- func (m *MockClientAPI) Authorizations() gogithubmockable.AuthorizationsService
- func (m *MockClientAPI) BareDo(ctx context.Context, req *http.Request) (*github.Response, error)
- func (m *MockClientAPI) Billing() gogithubmockable.BillingService
- func (m *MockClientAPI) Checks() gogithubmockable.ChecksService
- func (m *MockClientAPI) Client() *http.Client
- func (m *MockClientAPI) CodeScanning() gogithubmockable.CodeScanningService
- func (m *MockClientAPI) Dependabot() gogithubmockable.DependabotService
- func (m *MockClientAPI) Do(ctx context.Context, req *http.Request, v interface{}) (*github.Response, error)
- func (m *MockClientAPI) EXPECT() *MockClientAPIMockRecorder
- func (m *MockClientAPI) Enterprise() gogithubmockable.EnterpriseService
- func (m *MockClientAPI) GetBaseURL() *url.URL
- func (m *MockClientAPI) GetCodeOfConduct(ctx context.Context, key string) (*github.CodeOfConduct, *github.Response, error)
- func (m *MockClientAPI) GetUploadURL() *url.URL
- func (m *MockClientAPI) GetUserAgent() string
- func (m *MockClientAPI) Gists() gogithubmockable.GistsService
- func (m *MockClientAPI) Git() gogithubmockable.GitService
- func (m *MockClientAPI) Gitignores() gogithubmockable.GitignoresService
- func (m *MockClientAPI) Interactions() gogithubmockable.InteractionsService
- func (m *MockClientAPI) IssueImport() gogithubmockable.IssueImportService
- func (m *MockClientAPI) Issues() gogithubmockable.IssuesService
- func (m *MockClientAPI) Licenses() gogithubmockable.LicensesService
- func (m *MockClientAPI) ListCodesOfConduct(ctx context.Context) ([]*github.CodeOfConduct, *github.Response, error)
- func (m *MockClientAPI) ListEmojis(ctx context.Context) (map[string]string, *github.Response, error)
- func (m *MockClientAPI) ListServiceHooks(ctx context.Context) ([]*github.ServiceHook, *github.Response, error)
- func (m *MockClientAPI) Markdown(ctx context.Context, text string, opts *github.MarkdownOptions) (string, *github.Response, error)
- func (m *MockClientAPI) Marketplace() gogithubmockable.MarketplaceService
- func (m *MockClientAPI) Migrations() gogithubmockable.MigrationsService
- func (m *MockClientAPI) NewFormRequest(urlStr string, body io.Reader) (*http.Request, error)
- func (m *MockClientAPI) NewRequest(method, urlStr string, body interface{}) (*http.Request, error)
- func (m *MockClientAPI) NewUploadRequest(urlStr string, reader io.Reader, size int64, mediaType string) (*http.Request, error)
- func (m *MockClientAPI) Octocat(ctx context.Context, message string) (string, *github.Response, error)
- func (m *MockClientAPI) Organizations() gogithubmockable.OrganizationsService
- func (m *MockClientAPI) Projects() gogithubmockable.ProjectsService
- func (m *MockClientAPI) PullRequests() gogithubmockable.PullRequestsService
- func (m *MockClientAPI) RateLimits(ctx context.Context) (*github.RateLimits, *github.Response, error)
- func (m *MockClientAPI) Reactions() gogithubmockable.ReactionsService
- func (m *MockClientAPI) Repositories() gogithubmockable.RepositoriesService
- func (m *MockClientAPI) SCIM() gogithubmockable.SCIMService
- func (m *MockClientAPI) Search() gogithubmockable.SearchService
- func (m *MockClientAPI) SecretScanning() gogithubmockable.SecretScanningService
- func (m *MockClientAPI) SetBaseURL(arg0 *url.URL)
- func (m *MockClientAPI) SetUploadURL(arg0 *url.URL)
- func (m *MockClientAPI) SetUserAgent(arg0 string)
- func (m *MockClientAPI) Teams() gogithubmockable.TeamsService
- func (m *MockClientAPI) Users() gogithubmockable.UsersService
- func (m *MockClientAPI) Zen(ctx context.Context) (string, *github.Response, error)
- type MockClientAPIMockRecorder
- func (mr *MockClientAPIMockRecorder) APIMeta(ctx interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Actions() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Activity() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Admin() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Apps() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Authorizations() *gomock.Call
- func (mr *MockClientAPIMockRecorder) BareDo(ctx, req interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Billing() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Checks() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Client() *gomock.Call
- func (mr *MockClientAPIMockRecorder) CodeScanning() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Dependabot() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Do(ctx, req, v interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Enterprise() *gomock.Call
- func (mr *MockClientAPIMockRecorder) GetBaseURL() *gomock.Call
- func (mr *MockClientAPIMockRecorder) GetCodeOfConduct(ctx, key interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) GetUploadURL() *gomock.Call
- func (mr *MockClientAPIMockRecorder) GetUserAgent() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Gists() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Git() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Gitignores() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Interactions() *gomock.Call
- func (mr *MockClientAPIMockRecorder) IssueImport() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Issues() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Licenses() *gomock.Call
- func (mr *MockClientAPIMockRecorder) ListCodesOfConduct(ctx interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) ListEmojis(ctx interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) ListServiceHooks(ctx interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Markdown(ctx, text, opts interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Marketplace() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Migrations() *gomock.Call
- func (mr *MockClientAPIMockRecorder) NewFormRequest(urlStr, body interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) NewRequest(method, urlStr, body interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) NewUploadRequest(urlStr, reader, size, mediaType interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Octocat(ctx, message interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Organizations() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Projects() *gomock.Call
- func (mr *MockClientAPIMockRecorder) PullRequests() *gomock.Call
- func (mr *MockClientAPIMockRecorder) RateLimits(ctx interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Reactions() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Repositories() *gomock.Call
- func (mr *MockClientAPIMockRecorder) SCIM() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Search() *gomock.Call
- func (mr *MockClientAPIMockRecorder) SecretScanning() *gomock.Call
- func (mr *MockClientAPIMockRecorder) SetBaseURL(arg0 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) SetUploadURL(arg0 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) SetUserAgent(arg0 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) Teams() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Users() *gomock.Call
- func (mr *MockClientAPIMockRecorder) Zen(ctx interface{}) *gomock.Call
- type MockCodeScanningService
- func (m *MockCodeScanningService) EXPECT() *MockCodeScanningServiceMockRecorder
- func (m *MockCodeScanningService) GetAlert(ctx context.Context, owner, repo string, id int64) (*github.Alert, *github.Response, error)
- func (m *MockCodeScanningService) GetAnalysis(ctx context.Context, owner, repo string, id int64) (*github.ScanningAnalysis, *github.Response, error)
- func (m *MockCodeScanningService) ListAlertsForOrg(ctx context.Context, org string, opts *github.AlertListOptions) ([]*github.Alert, *github.Response, error)
- func (m *MockCodeScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, opts *github.AlertListOptions) ([]*github.Alert, *github.Response, error)
- func (m *MockCodeScanningService) ListAnalysesForRepo(ctx context.Context, owner, repo string, opts *github.AnalysesListOptions) ([]*github.ScanningAnalysis, *github.Response, error)
- func (m *MockCodeScanningService) UploadSarif(ctx context.Context, owner, repo string, sarif *github.SarifAnalysis) (*github.SarifID, *github.Response, error)
- type MockCodeScanningServiceMockRecorder
- func (mr *MockCodeScanningServiceMockRecorder) GetAlert(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockCodeScanningServiceMockRecorder) GetAnalysis(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockCodeScanningServiceMockRecorder) ListAlertsForOrg(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockCodeScanningServiceMockRecorder) ListAlertsForRepo(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockCodeScanningServiceMockRecorder) ListAnalysesForRepo(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockCodeScanningServiceMockRecorder) UploadSarif(ctx, owner, repo, sarif interface{}) *gomock.Call
- type MockDependabotService
- func (m *MockDependabotService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
- func (m *MockDependabotService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *github.DependabotEncryptedSecret) (*github.Response, error)
- func (m *MockDependabotService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, ...) (*github.Response, error)
- func (m *MockDependabotService) DeleteOrgSecret(ctx context.Context, org, name string) (*github.Response, error)
- func (m *MockDependabotService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*github.Response, error)
- func (m *MockDependabotService) EXPECT() *MockDependabotServiceMockRecorder
- func (m *MockDependabotService) GetOrgPublicKey(ctx context.Context, org string) (*github.PublicKey, *github.Response, error)
- func (m *MockDependabotService) GetOrgSecret(ctx context.Context, org, name string) (*github.Secret, *github.Response, error)
- func (m *MockDependabotService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*github.PublicKey, *github.Response, error)
- func (m *MockDependabotService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*github.Secret, *github.Response, error)
- func (m *MockDependabotService) ListOrgSecrets(ctx context.Context, org string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
- func (m *MockDependabotService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
- func (m *MockDependabotService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *github.ListOptions) (*github.SelectedReposList, *github.Response, error)
- func (m *MockDependabotService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
- func (m *MockDependabotService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ...) (*github.Response, error)
- type MockDependabotServiceMockRecorder
- func (mr *MockDependabotServiceMockRecorder) AddSelectedRepoToOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) CreateOrUpdateOrgSecret(ctx, org, eSecret interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) CreateOrUpdateRepoSecret(ctx, owner, repo, eSecret interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) DeleteOrgSecret(ctx, org, name interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) DeleteRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) GetOrgPublicKey(ctx, org interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) GetOrgSecret(ctx, org, name interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) GetRepoPublicKey(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) GetRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) ListOrgSecrets(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) ListRepoSecrets(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) ListSelectedReposForOrgSecret(ctx, org, name, opts interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) RemoveSelectedRepoFromOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
- func (mr *MockDependabotServiceMockRecorder) SetSelectedReposForOrgSecret(ctx, org, name, ids interface{}) *gomock.Call
- type MockEnterpriseService
- func (m *MockEnterpriseService) CreateRegistrationToken(ctx context.Context, enterprise string) (*github.RegistrationToken, *github.Response, error)
- func (m *MockEnterpriseService) EXPECT() *MockEnterpriseServiceMockRecorder
- func (m *MockEnterpriseService) GetAuditLog(ctx context.Context, enterprise string, opts *github.GetAuditLogOptions) ([]*github.AuditEntry, *github.Response, error)
- func (m *MockEnterpriseService) ListRunnerApplicationDownloads(ctx context.Context, enterprise string) ([]*github.RunnerApplicationDownload, *github.Response, error)
- func (m *MockEnterpriseService) ListRunners(ctx context.Context, enterprise string, opts *github.ListOptions) (*github.Runners, *github.Response, error)
- func (m *MockEnterpriseService) RemoveRunner(ctx context.Context, enterprise string, runnerID int64) (*github.Response, error)
- type MockEnterpriseServiceMockRecorder
- func (mr *MockEnterpriseServiceMockRecorder) CreateRegistrationToken(ctx, enterprise interface{}) *gomock.Call
- func (mr *MockEnterpriseServiceMockRecorder) GetAuditLog(ctx, enterprise, opts interface{}) *gomock.Call
- func (mr *MockEnterpriseServiceMockRecorder) ListRunnerApplicationDownloads(ctx, enterprise interface{}) *gomock.Call
- func (mr *MockEnterpriseServiceMockRecorder) ListRunners(ctx, enterprise, opts interface{}) *gomock.Call
- func (mr *MockEnterpriseServiceMockRecorder) RemoveRunner(ctx, enterprise, runnerID interface{}) *gomock.Call
- type MockGistsService
- func (m *MockGistsService) Create(ctx context.Context, gist *github.Gist) (*github.Gist, *github.Response, error)
- func (m *MockGistsService) CreateComment(ctx context.Context, gistID string, comment *github.GistComment) (*github.GistComment, *github.Response, error)
- func (m *MockGistsService) Delete(ctx context.Context, id string) (*github.Response, error)
- func (m *MockGistsService) DeleteComment(ctx context.Context, gistID string, commentID int64) (*github.Response, error)
- func (m *MockGistsService) EXPECT() *MockGistsServiceMockRecorder
- func (m *MockGistsService) Edit(ctx context.Context, id string, gist *github.Gist) (*github.Gist, *github.Response, error)
- func (m *MockGistsService) EditComment(ctx context.Context, gistID string, commentID int64, ...) (*github.GistComment, *github.Response, error)
- func (m *MockGistsService) Fork(ctx context.Context, id string) (*github.Gist, *github.Response, error)
- func (m *MockGistsService) Get(ctx context.Context, id string) (*github.Gist, *github.Response, error)
- func (m *MockGistsService) GetComment(ctx context.Context, gistID string, commentID int64) (*github.GistComment, *github.Response, error)
- func (m *MockGistsService) GetRevision(ctx context.Context, id, sha string) (*github.Gist, *github.Response, error)
- func (m *MockGistsService) IsStarred(ctx context.Context, id string) (bool, *github.Response, error)
- func (m *MockGistsService) List(ctx context.Context, user string, opts *github.GistListOptions) ([]*github.Gist, *github.Response, error)
- func (m *MockGistsService) ListAll(ctx context.Context, opts *github.GistListOptions) ([]*github.Gist, *github.Response, error)
- func (m *MockGistsService) ListComments(ctx context.Context, gistID string, opts *github.ListOptions) ([]*github.GistComment, *github.Response, error)
- func (m *MockGistsService) ListCommits(ctx context.Context, id string, opts *github.ListOptions) ([]*github.GistCommit, *github.Response, error)
- func (m *MockGistsService) ListForks(ctx context.Context, id string, opts *github.ListOptions) ([]*github.GistFork, *github.Response, error)
- func (m *MockGistsService) ListStarred(ctx context.Context, opts *github.GistListOptions) ([]*github.Gist, *github.Response, error)
- func (m *MockGistsService) Star(ctx context.Context, id string) (*github.Response, error)
- func (m *MockGistsService) Unstar(ctx context.Context, id string) (*github.Response, error)
- type MockGistsServiceMockRecorder
- func (mr *MockGistsServiceMockRecorder) Create(ctx, gist interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) CreateComment(ctx, gistID, comment interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) Delete(ctx, id interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) DeleteComment(ctx, gistID, commentID interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) Edit(ctx, id, gist interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) EditComment(ctx, gistID, commentID, comment interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) Fork(ctx, id interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) Get(ctx, id interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) GetComment(ctx, gistID, commentID interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) GetRevision(ctx, id, sha interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) IsStarred(ctx, id interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) List(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) ListComments(ctx, gistID, opts interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) ListCommits(ctx, id, opts interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) ListForks(ctx, id, opts interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) ListStarred(ctx, opts interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) Star(ctx, id interface{}) *gomock.Call
- func (mr *MockGistsServiceMockRecorder) Unstar(ctx, id interface{}) *gomock.Call
- type MockGitService
- func (m *MockGitService) CreateBlob(ctx context.Context, owner, repo string, blob *github.Blob) (*github.Blob, *github.Response, error)
- func (m *MockGitService) CreateCommit(ctx context.Context, owner, repo string, commit *github.Commit) (*github.Commit, *github.Response, error)
- func (m *MockGitService) CreateRef(ctx context.Context, owner, repo string, ref *github.Reference) (*github.Reference, *github.Response, error)
- func (m *MockGitService) CreateTag(ctx context.Context, owner, repo string, tag *github.Tag) (*github.Tag, *github.Response, error)
- func (m *MockGitService) CreateTree(ctx context.Context, owner, repo, baseTree string, entries []*github.TreeEntry) (*github.Tree, *github.Response, error)
- func (m *MockGitService) DeleteRef(ctx context.Context, owner, repo, ref string) (*github.Response, error)
- func (m *MockGitService) EXPECT() *MockGitServiceMockRecorder
- func (m *MockGitService) GetBlob(ctx context.Context, owner, repo, sha string) (*github.Blob, *github.Response, error)
- func (m *MockGitService) GetBlobRaw(ctx context.Context, owner, repo, sha string) ([]uint8, *github.Response, error)
- func (m *MockGitService) GetCommit(ctx context.Context, owner, repo, sha string) (*github.Commit, *github.Response, error)
- func (m *MockGitService) GetRef(ctx context.Context, owner, repo, ref string) (*github.Reference, *github.Response, error)
- func (m *MockGitService) GetTag(ctx context.Context, owner, repo, sha string) (*github.Tag, *github.Response, error)
- func (m *MockGitService) GetTree(ctx context.Context, owner, repo, sha string, recursive bool) (*github.Tree, *github.Response, error)
- func (m *MockGitService) ListMatchingRefs(ctx context.Context, owner, repo string, opts *github.ReferenceListOptions) ([]*github.Reference, *github.Response, error)
- func (m *MockGitService) UpdateRef(ctx context.Context, owner, repo string, ref *github.Reference, force bool) (*github.Reference, *github.Response, error)
- type MockGitServiceMockRecorder
- func (mr *MockGitServiceMockRecorder) CreateBlob(ctx, owner, repo, blob interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) CreateCommit(ctx, owner, repo, commit interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) CreateRef(ctx, owner, repo, ref interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) CreateTag(ctx, owner, repo, tag interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) CreateTree(ctx, owner, repo, baseTree, entries interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) DeleteRef(ctx, owner, repo, ref interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GetBlob(ctx, owner, repo, sha interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GetBlobRaw(ctx, owner, repo, sha interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GetCommit(ctx, owner, repo, sha interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GetRef(ctx, owner, repo, ref interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GetTag(ctx, owner, repo, sha interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GetTree(ctx, owner, repo, sha, recursive interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) ListMatchingRefs(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) UpdateRef(ctx, owner, repo, ref, force interface{}) *gomock.Call
- type MockGitignoresService
- type MockGitignoresServiceMockRecorder
- type MockInteractionsService
- func (m *MockInteractionsService) EXPECT() *MockInteractionsServiceMockRecorder
- func (m *MockInteractionsService) GetRestrictionsForOrg(ctx context.Context, organization string) (*github.InteractionRestriction, *github.Response, error)
- func (m *MockInteractionsService) GetRestrictionsForRepo(ctx context.Context, owner, repo string) (*github.InteractionRestriction, *github.Response, error)
- func (m *MockInteractionsService) RemoveRestrictionsFromOrg(ctx context.Context, organization string) (*github.Response, error)
- func (m *MockInteractionsService) RemoveRestrictionsFromRepo(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockInteractionsService) UpdateRestrictionsForOrg(ctx context.Context, organization, limit string) (*github.InteractionRestriction, *github.Response, error)
- func (m *MockInteractionsService) UpdateRestrictionsForRepo(ctx context.Context, owner, repo, limit string) (*github.InteractionRestriction, *github.Response, error)
- type MockInteractionsServiceMockRecorder
- func (mr *MockInteractionsServiceMockRecorder) GetRestrictionsForOrg(ctx, organization interface{}) *gomock.Call
- func (mr *MockInteractionsServiceMockRecorder) GetRestrictionsForRepo(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockInteractionsServiceMockRecorder) RemoveRestrictionsFromOrg(ctx, organization interface{}) *gomock.Call
- func (mr *MockInteractionsServiceMockRecorder) RemoveRestrictionsFromRepo(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockInteractionsServiceMockRecorder) UpdateRestrictionsForOrg(ctx, organization, limit interface{}) *gomock.Call
- func (mr *MockInteractionsServiceMockRecorder) UpdateRestrictionsForRepo(ctx, owner, repo, limit interface{}) *gomock.Call
- type MockIssueImportService
- func (m *MockIssueImportService) CheckStatus(ctx context.Context, owner, repo string, issueID int64) (*github.IssueImportResponse, *github.Response, error)
- func (m *MockIssueImportService) CheckStatusSince(ctx context.Context, owner, repo string, since time.Time) ([]*github.IssueImportResponse, *github.Response, error)
- func (m *MockIssueImportService) Create(ctx context.Context, owner, repo string, issue *github.IssueImportRequest) (*github.IssueImportResponse, *github.Response, error)
- func (m *MockIssueImportService) EXPECT() *MockIssueImportServiceMockRecorder
- type MockIssueImportServiceMockRecorder
- func (mr *MockIssueImportServiceMockRecorder) CheckStatus(ctx, owner, repo, issueID interface{}) *gomock.Call
- func (mr *MockIssueImportServiceMockRecorder) CheckStatusSince(ctx, owner, repo, since interface{}) *gomock.Call
- func (mr *MockIssueImportServiceMockRecorder) Create(ctx, owner, repo, issue interface{}) *gomock.Call
- type MockIssuesService
- func (m *MockIssuesService) AddAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) AddLabelsToIssue(ctx context.Context, owner, repo string, number int, labels []string) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) Create(ctx context.Context, owner, repo string, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) CreateComment(ctx context.Context, owner, repo string, number int, ...) (*github.IssueComment, *github.Response, error)
- func (m *MockIssuesService) CreateLabel(ctx context.Context, owner, repo string, label *github.Label) (*github.Label, *github.Response, error)
- func (m *MockIssuesService) CreateMilestone(ctx context.Context, owner, repo string, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
- func (m *MockIssuesService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*github.Response, error)
- func (m *MockIssuesService) DeleteLabel(ctx context.Context, owner, repo, name string) (*github.Response, error)
- func (m *MockIssuesService) DeleteMilestone(ctx context.Context, owner, repo string, number int) (*github.Response, error)
- func (m *MockIssuesService) EXPECT() *MockIssuesServiceMockRecorder
- func (m *MockIssuesService) Edit(ctx context.Context, owner, repo string, number int, ...) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) EditComment(ctx context.Context, owner, repo string, commentID int64, ...) (*github.IssueComment, *github.Response, error)
- func (m *MockIssuesService) EditLabel(ctx context.Context, owner, repo, name string, label *github.Label) (*github.Label, *github.Response, error)
- func (m *MockIssuesService) EditMilestone(ctx context.Context, owner, repo string, number int, ...) (*github.Milestone, *github.Response, error)
- func (m *MockIssuesService) Get(ctx context.Context, owner, repo string, number int) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) GetComment(ctx context.Context, owner, repo string, commentID int64) (*github.IssueComment, *github.Response, error)
- func (m *MockIssuesService) GetEvent(ctx context.Context, owner, repo string, id int64) (*github.IssueEvent, *github.Response, error)
- func (m *MockIssuesService) GetLabel(ctx context.Context, owner, repo, name string) (*github.Label, *github.Response, error)
- func (m *MockIssuesService) GetMilestone(ctx context.Context, owner, repo string, number int) (*github.Milestone, *github.Response, error)
- func (m *MockIssuesService) IsAssignee(ctx context.Context, owner, repo, user string) (bool, *github.Response, error)
- func (m *MockIssuesService) List(ctx context.Context, all bool, opts *github.IssueListOptions) ([]*github.Issue, *github.Response, error)
- func (m *MockIssuesService) ListAssignees(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (m *MockIssuesService) ListByOrg(ctx context.Context, org string, opts *github.IssueListOptions) ([]*github.Issue, *github.Response, error)
- func (m *MockIssuesService) ListByRepo(ctx context.Context, owner, repo string, opts *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
- func (m *MockIssuesService) ListComments(ctx context.Context, owner, repo string, number int, ...) ([]*github.IssueComment, *github.Response, error)
- func (m *MockIssuesService) ListIssueEvents(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
- func (m *MockIssuesService) ListIssueTimeline(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Timeline, *github.Response, error)
- func (m *MockIssuesService) ListLabels(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) ListLabelsByIssue(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) ListLabelsForMilestone(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) ListMilestones(ctx context.Context, owner, repo string, opts *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
- func (m *MockIssuesService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
- func (m *MockIssuesService) Lock(ctx context.Context, owner, repo string, number int, ...) (*github.Response, error)
- func (m *MockIssuesService) RemoveAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) RemoveLabelForIssue(ctx context.Context, owner, repo string, number int, label string) (*github.Response, error)
- func (m *MockIssuesService) RemoveLabelsForIssue(ctx context.Context, owner, repo string, number int) (*github.Response, error)
- func (m *MockIssuesService) RemoveMilestone(ctx context.Context, owner, repo string, issueNumber int) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) ReplaceLabelsForIssue(ctx context.Context, owner, repo string, number int, labels []string) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) Unlock(ctx context.Context, owner, repo string, number int) (*github.Response, error)
- type MockIssuesServiceMockRecorder
- func (mr *MockIssuesServiceMockRecorder) AddAssignees(ctx, owner, repo, number, assignees interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) AddLabelsToIssue(ctx, owner, repo, number, labels interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Create(ctx, owner, repo, issue interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) CreateComment(ctx, owner, repo, number, comment interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) CreateLabel(ctx, owner, repo, label interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) CreateMilestone(ctx, owner, repo, milestone interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) DeleteComment(ctx, owner, repo, commentID interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) DeleteLabel(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) DeleteMilestone(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Edit(ctx, owner, repo, number, issue interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) EditComment(ctx, owner, repo, commentID, comment interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) EditLabel(ctx, owner, repo, name, label interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) EditMilestone(ctx, owner, repo, number, milestone interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Get(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) GetComment(ctx, owner, repo, commentID interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) GetEvent(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) GetLabel(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) GetMilestone(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) IsAssignee(ctx, owner, repo, user interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) List(ctx, all, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListAssignees(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListByOrg(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListByRepo(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListComments(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListIssueEvents(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListIssueTimeline(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListLabels(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListLabelsByIssue(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListLabelsForMilestone(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListMilestones(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListRepositoryEvents(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Lock(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) RemoveAssignees(ctx, owner, repo, number, assignees interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) RemoveLabelForIssue(ctx, owner, repo, number, label interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) RemoveLabelsForIssue(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) RemoveMilestone(ctx, owner, repo, issueNumber interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ReplaceLabelsForIssue(ctx, owner, repo, number, labels interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Unlock(ctx, owner, repo, number interface{}) *gomock.Call
- type MockLicensesService
- type MockLicensesServiceMockRecorder
- type MockMarketplaceService
- func (m *MockMarketplaceService) EXPECT() *MockMarketplaceServiceMockRecorder
- func (m *MockMarketplaceService) GetPlanAccountForAccount(ctx context.Context, accountID int64) (*github.MarketplacePlanAccount, *github.Response, error)
- func (m *MockMarketplaceService) ListMarketplacePurchasesForUser(ctx context.Context, opts *github.ListOptions) ([]*github.MarketplacePurchase, *github.Response, error)
- func (m *MockMarketplaceService) ListPlanAccountsForPlan(ctx context.Context, planID int64, opts *github.ListOptions) ([]*github.MarketplacePlanAccount, *github.Response, error)
- func (m *MockMarketplaceService) ListPlans(ctx context.Context, opts *github.ListOptions) ([]*github.MarketplacePlan, *github.Response, error)
- type MockMarketplaceServiceMockRecorder
- func (mr *MockMarketplaceServiceMockRecorder) GetPlanAccountForAccount(ctx, accountID interface{}) *gomock.Call
- func (mr *MockMarketplaceServiceMockRecorder) ListMarketplacePurchasesForUser(ctx, opts interface{}) *gomock.Call
- func (mr *MockMarketplaceServiceMockRecorder) ListPlanAccountsForPlan(ctx, planID, opts interface{}) *gomock.Call
- func (mr *MockMarketplaceServiceMockRecorder) ListPlans(ctx, opts interface{}) *gomock.Call
- type MockMigrationsService
- func (m *MockMigrationsService) CancelImport(arg0 context.Context, arg1, arg2 string) (*github.Response, error)
- func (m *MockMigrationsService) CommitAuthors(arg0 context.Context, arg1, arg2 string) ([]*github.SourceImportAuthor, *github.Response, error)
- func (m *MockMigrationsService) DeleteMigration(arg0 context.Context, arg1 string, arg2 int64) (*github.Response, error)
- func (m *MockMigrationsService) DeleteUserMigration(arg0 context.Context, arg1 int64) (*github.Response, error)
- func (m *MockMigrationsService) EXPECT() *MockMigrationsServiceMockRecorder
- func (m *MockMigrationsService) ImportProgress(arg0 context.Context, arg1, arg2 string) (*github.Import, *github.Response, error)
- func (m *MockMigrationsService) LargeFiles(arg0 context.Context, arg1, arg2 string) ([]*github.LargeFile, *github.Response, error)
- func (m *MockMigrationsService) ListMigrations(arg0 context.Context, arg1 string, arg2 *github.ListOptions) ([]*github.Migration, *github.Response, error)
- func (m *MockMigrationsService) ListUserMigrations(arg0 context.Context, arg1 *github.ListOptions) ([]*github.UserMigration, *github.Response, error)
- func (m *MockMigrationsService) MapCommitAuthor(arg0 context.Context, arg1, arg2 string, arg3 int64, ...) (*github.SourceImportAuthor, *github.Response, error)
- func (m *MockMigrationsService) MigrationArchiveURL(arg0 context.Context, arg1 string, arg2 int64) (string, error)
- func (m *MockMigrationsService) MigrationStatus(arg0 context.Context, arg1 string, arg2 int64) (*github.Migration, *github.Response, error)
- func (m *MockMigrationsService) SetLFSPreference(arg0 context.Context, arg1, arg2 string, arg3 *github.Import) (*github.Import, *github.Response, error)
- func (m *MockMigrationsService) StartImport(arg0 context.Context, arg1, arg2 string, arg3 *github.Import) (*github.Import, *github.Response, error)
- func (m *MockMigrationsService) StartMigration(arg0 context.Context, arg1 string, arg2 []string, ...) (*github.Migration, *github.Response, error)
- func (m *MockMigrationsService) StartUserMigration(arg0 context.Context, arg1 []string, arg2 *github.UserMigrationOptions) (*github.UserMigration, *github.Response, error)
- func (m *MockMigrationsService) UnlockRepo(arg0 context.Context, arg1 string, arg2 int64, arg3 string) (*github.Response, error)
- func (m *MockMigrationsService) UnlockUserRepo(arg0 context.Context, arg1 int64, arg2 string) (*github.Response, error)
- func (m *MockMigrationsService) UpdateImport(arg0 context.Context, arg1, arg2 string, arg3 *github.Import) (*github.Import, *github.Response, error)
- func (m *MockMigrationsService) UserMigrationArchiveURL(arg0 context.Context, arg1 int64) (string, error)
- func (m *MockMigrationsService) UserMigrationStatus(arg0 context.Context, arg1 int64) (*github.UserMigration, *github.Response, error)
- type MockMigrationsServiceMockRecorder
- func (mr *MockMigrationsServiceMockRecorder) CancelImport(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) CommitAuthors(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) DeleteMigration(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) DeleteUserMigration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) ImportProgress(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) LargeFiles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) ListMigrations(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) ListUserMigrations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) MapCommitAuthor(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) MigrationArchiveURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) MigrationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) SetLFSPreference(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) StartImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) StartMigration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) StartUserMigration(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) UnlockRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) UnlockUserRepo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) UpdateImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) UserMigrationArchiveURL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMigrationsServiceMockRecorder) UserMigrationStatus(arg0, arg1 interface{}) *gomock.Call
- type MockOrganizationsService
- func (m *MockOrganizationsService) BlockUser(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) ConcealMembership(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) ConvertMemberToOutsideCollaborator(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) CreateCustomRepoRole(ctx context.Context, org string, opts *github.CreateOrUpdateCustomRoleOptions) (*github.CustomRepoRoles, *github.Response, error)
- func (m *MockOrganizationsService) CreateHook(ctx context.Context, org string, hook *github.Hook) (*github.Hook, *github.Response, error)
- func (m *MockOrganizationsService) CreateOrgInvitation(ctx context.Context, org string, opts *github.CreateOrgInvitationOptions) (*github.Invitation, *github.Response, error)
- func (m *MockOrganizationsService) CreateProject(ctx context.Context, org string, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
- func (m *MockOrganizationsService) DeleteCustomRepoRole(ctx context.Context, org, roleID string) (*github.Response, error)
- func (m *MockOrganizationsService) DeleteHook(ctx context.Context, org string, id int64) (*github.Response, error)
- func (m *MockOrganizationsService) DeletePackage(ctx context.Context, org, packageType, packageName string) (*github.Response, error)
- func (m *MockOrganizationsService) EXPECT() *MockOrganizationsServiceMockRecorder
- func (m *MockOrganizationsService) Edit(ctx context.Context, name string, org *github.Organization) (*github.Organization, *github.Response, error)
- func (m *MockOrganizationsService) EditActionsAllowed(ctx context.Context, org string, actionsAllowed github.ActionsAllowed) (*github.ActionsAllowed, *github.Response, error)
- func (m *MockOrganizationsService) EditActionsPermissions(ctx context.Context, org string, actionsPermissions github.ActionsPermissions) (*github.ActionsPermissions, *github.Response, error)
- func (m *MockOrganizationsService) EditHook(ctx context.Context, org string, id int64, hook *github.Hook) (*github.Hook, *github.Response, error)
- func (m *MockOrganizationsService) EditOrgMembership(ctx context.Context, user, org string, membership *github.Membership) (*github.Membership, *github.Response, error)
- func (m *MockOrganizationsService) Get(ctx context.Context, org string) (*github.Organization, *github.Response, error)
- func (m *MockOrganizationsService) GetActionsAllowed(ctx context.Context, org string) (*github.ActionsAllowed, *github.Response, error)
- func (m *MockOrganizationsService) GetActionsPermissions(ctx context.Context, org string) (*github.ActionsPermissions, *github.Response, error)
- func (m *MockOrganizationsService) GetAuditLog(ctx context.Context, org string, opts *github.GetAuditLogOptions) ([]*github.AuditEntry, *github.Response, error)
- func (m *MockOrganizationsService) GetByID(ctx context.Context, id int64) (*github.Organization, *github.Response, error)
- func (m *MockOrganizationsService) GetHook(ctx context.Context, org string, id int64) (*github.Hook, *github.Response, error)
- func (m *MockOrganizationsService) GetHookDelivery(ctx context.Context, owner string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
- func (m *MockOrganizationsService) GetOrgMembership(ctx context.Context, user, org string) (*github.Membership, *github.Response, error)
- func (m *MockOrganizationsService) GetPackage(ctx context.Context, org, packageType, packageName string) (*github.Package, *github.Response, error)
- func (m *MockOrganizationsService) IsBlocked(ctx context.Context, org, user string) (bool, *github.Response, error)
- func (m *MockOrganizationsService) IsMember(ctx context.Context, org, user string) (bool, *github.Response, error)
- func (m *MockOrganizationsService) IsPublicMember(ctx context.Context, org, user string) (bool, *github.Response, error)
- func (m *MockOrganizationsService) List(ctx context.Context, user string, opts *github.ListOptions) ([]*github.Organization, *github.Response, error)
- func (m *MockOrganizationsService) ListAll(ctx context.Context, opts *github.OrganizationsListOptions) ([]*github.Organization, *github.Response, error)
- func (m *MockOrganizationsService) ListBlockedUsers(ctx context.Context, org string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (m *MockOrganizationsService) ListCustomRepoRoles(ctx context.Context, org string) (*github.OrganizationCustomRepoRoles, *github.Response, error)
- func (m *MockOrganizationsService) ListFailedOrgInvitations(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
- func (m *MockOrganizationsService) ListHookDeliveries(ctx context.Context, org string, id int64, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
- func (m *MockOrganizationsService) ListHooks(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Hook, *github.Response, error)
- func (m *MockOrganizationsService) ListInstallations(ctx context.Context, org string, opts *github.ListOptions) (*github.OrganizationInstallations, *github.Response, error)
- func (m *MockOrganizationsService) ListMembers(ctx context.Context, org string, opts *github.ListMembersOptions) ([]*github.User, *github.Response, error)
- func (m *MockOrganizationsService) ListOrgInvitationTeams(ctx context.Context, org, invitationID string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (m *MockOrganizationsService) ListOrgMemberships(ctx context.Context, opts *github.ListOrgMembershipsOptions) ([]*github.Membership, *github.Response, error)
- func (m *MockOrganizationsService) ListOutsideCollaborators(ctx context.Context, org string, opts *github.ListOutsideCollaboratorsOptions) ([]*github.User, *github.Response, error)
- func (m *MockOrganizationsService) ListPackages(ctx context.Context, org string, opts *github.PackageListOptions) ([]*github.Package, *github.Response, error)
- func (m *MockOrganizationsService) ListPendingOrgInvitations(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
- func (m *MockOrganizationsService) ListProjects(ctx context.Context, org string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
- func (m *MockOrganizationsService) PackageDeleteVersion(ctx context.Context, org, packageType, packageName string, ...) (*github.Response, error)
- func (m *MockOrganizationsService) PackageGetAllVersions(ctx context.Context, org, packageType, packageName string, ...) ([]*github.PackageVersion, *github.Response, error)
- func (m *MockOrganizationsService) PackageGetVersion(ctx context.Context, org, packageType, packageName string, ...) (*github.PackageVersion, *github.Response, error)
- func (m *MockOrganizationsService) PackageRestoreVersion(ctx context.Context, org, packageType, packageName string, ...) (*github.Response, error)
- func (m *MockOrganizationsService) PingHook(ctx context.Context, org string, id int64) (*github.Response, error)
- func (m *MockOrganizationsService) PublicizeMembership(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) RedeliverHookDelivery(ctx context.Context, owner string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
- func (m *MockOrganizationsService) RemoveMember(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) RemoveOrgMembership(ctx context.Context, user, org string) (*github.Response, error)
- func (m *MockOrganizationsService) RemoveOutsideCollaborator(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) RestorePackage(ctx context.Context, org, packageType, packageName string) (*github.Response, error)
- func (m *MockOrganizationsService) UnblockUser(ctx context.Context, org, user string) (*github.Response, error)
- func (m *MockOrganizationsService) UpdateCustomRepoRole(ctx context.Context, org, roleID string, ...) (*github.CustomRepoRoles, *github.Response, error)
- type MockOrganizationsServiceMockRecorder
- func (mr *MockOrganizationsServiceMockRecorder) BlockUser(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ConcealMembership(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ConvertMemberToOutsideCollaborator(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) CreateCustomRepoRole(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) CreateHook(ctx, org, hook interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) CreateOrgInvitation(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) CreateProject(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) DeleteCustomRepoRole(ctx, org, roleID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) DeleteHook(ctx, org, id interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) DeletePackage(ctx, org, packageType, packageName interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) Edit(ctx, name, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) EditActionsAllowed(ctx, org, actionsAllowed interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) EditActionsPermissions(ctx, org, actionsPermissions interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) EditHook(ctx, org, id, hook interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) EditOrgMembership(ctx, user, org, membership interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) Get(ctx, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetActionsAllowed(ctx, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetActionsPermissions(ctx, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetAuditLog(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetHook(ctx, org, id interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetHookDelivery(ctx, owner, hookID, deliveryID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetOrgMembership(ctx, user, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetPackage(ctx, org, packageType, packageName interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) IsBlocked(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) IsMember(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) IsPublicMember(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) List(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListBlockedUsers(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListCustomRepoRoles(ctx, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListFailedOrgInvitations(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListHookDeliveries(ctx, org, id, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListHooks(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListInstallations(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListMembers(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListOrgInvitationTeams(ctx, org, invitationID, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListOrgMemberships(ctx, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListOutsideCollaborators(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListPackages(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListPendingOrgInvitations(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListProjects(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) PackageDeleteVersion(ctx, org, packageType, packageName, packageVersionID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) PackageGetAllVersions(ctx, org, packageType, packageName, opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) PackageGetVersion(ctx, org, packageType, packageName, packageVersionID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) PackageRestoreVersion(ctx, org, packageType, packageName, packageVersionID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) PingHook(ctx, org, id interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) PublicizeMembership(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) RedeliverHookDelivery(ctx, owner, hookID, deliveryID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) RemoveMember(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) RemoveOrgMembership(ctx, user, org interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) RemoveOutsideCollaborator(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) RestorePackage(ctx, org, packageType, packageName interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) UnblockUser(ctx, org, user interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) UpdateCustomRepoRole(ctx, org, roleID, opts interface{}) *gomock.Call
- type MockProjectsService
- func (m *MockProjectsService) AddProjectCollaborator(ctx context.Context, id int64, username string, ...) (*github.Response, error)
- func (m *MockProjectsService) CreateProjectCard(ctx context.Context, columnID int64, opts *github.ProjectCardOptions) (*github.ProjectCard, *github.Response, error)
- func (m *MockProjectsService) CreateProjectColumn(ctx context.Context, projectID int64, opts *github.ProjectColumnOptions) (*github.ProjectColumn, *github.Response, error)
- func (m *MockProjectsService) DeleteProject(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockProjectsService) DeleteProjectCard(ctx context.Context, cardID int64) (*github.Response, error)
- func (m *MockProjectsService) DeleteProjectColumn(ctx context.Context, columnID int64) (*github.Response, error)
- func (m *MockProjectsService) EXPECT() *MockProjectsServiceMockRecorder
- func (m *MockProjectsService) GetProject(ctx context.Context, id int64) (*github.Project, *github.Response, error)
- func (m *MockProjectsService) GetProjectCard(ctx context.Context, cardID int64) (*github.ProjectCard, *github.Response, error)
- func (m *MockProjectsService) GetProjectColumn(ctx context.Context, id int64) (*github.ProjectColumn, *github.Response, error)
- func (m *MockProjectsService) ListProjectCards(ctx context.Context, columnID int64, opts *github.ProjectCardListOptions) ([]*github.ProjectCard, *github.Response, error)
- func (m *MockProjectsService) ListProjectCollaborators(ctx context.Context, id int64, opts *github.ListCollaboratorOptions) ([]*github.User, *github.Response, error)
- func (m *MockProjectsService) ListProjectColumns(ctx context.Context, projectID int64, opts *github.ListOptions) ([]*github.ProjectColumn, *github.Response, error)
- func (m *MockProjectsService) MoveProjectCard(ctx context.Context, cardID int64, opts *github.ProjectCardMoveOptions) (*github.Response, error)
- func (m *MockProjectsService) MoveProjectColumn(ctx context.Context, columnID int64, opts *github.ProjectColumnMoveOptions) (*github.Response, error)
- func (m *MockProjectsService) RemoveProjectCollaborator(ctx context.Context, id int64, username string) (*github.Response, error)
- func (m *MockProjectsService) ReviewProjectCollaboratorPermission(ctx context.Context, id int64, username string) (*github.ProjectPermissionLevel, *github.Response, error)
- func (m *MockProjectsService) UpdateProject(ctx context.Context, id int64, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
- func (m *MockProjectsService) UpdateProjectCard(ctx context.Context, cardID int64, opts *github.ProjectCardOptions) (*github.ProjectCard, *github.Response, error)
- func (m *MockProjectsService) UpdateProjectColumn(ctx context.Context, columnID int64, opts *github.ProjectColumnOptions) (*github.ProjectColumn, *github.Response, error)
- type MockProjectsServiceMockRecorder
- func (mr *MockProjectsServiceMockRecorder) AddProjectCollaborator(ctx, id, username, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) CreateProjectCard(ctx, columnID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) CreateProjectColumn(ctx, projectID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) DeleteProject(ctx, id interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) DeleteProjectCard(ctx, cardID interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) DeleteProjectColumn(ctx, columnID interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) GetProject(ctx, id interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) GetProjectCard(ctx, cardID interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) GetProjectColumn(ctx, id interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ListProjectCards(ctx, columnID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ListProjectCollaborators(ctx, id, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ListProjectColumns(ctx, projectID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) MoveProjectCard(ctx, cardID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) MoveProjectColumn(ctx, columnID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) RemoveProjectCollaborator(ctx, id, username interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ReviewProjectCollaboratorPermission(ctx, id, username interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) UpdateProject(ctx, id, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) UpdateProjectCard(ctx, cardID, opts interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) UpdateProjectColumn(ctx, columnID, opts interface{}) *gomock.Call
- type MockPullRequestsService
- func (m *MockPullRequestsService) Create(ctx context.Context, owner, repo string, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) CreateComment(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestComment, *github.Response, error)
- func (m *MockPullRequestsService) CreateCommentInReplyTo(ctx context.Context, owner, repo string, number int, body string, ...) (*github.PullRequestComment, *github.Response, error)
- func (m *MockPullRequestsService) CreateReview(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*github.Response, error)
- func (m *MockPullRequestsService) DeletePendingReview(ctx context.Context, owner, repo string, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) DismissReview(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) EXPECT() *MockPullRequestsServiceMockRecorder
- func (m *MockPullRequestsService) Edit(ctx context.Context, owner, repo string, number int, pull *github.PullRequest) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) EditComment(ctx context.Context, owner, repo string, commentID int64, ...) (*github.PullRequestComment, *github.Response, error)
- func (m *MockPullRequestsService) Get(ctx context.Context, owner, repo string, number int) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) GetComment(ctx context.Context, owner, repo string, commentID int64) (*github.PullRequestComment, *github.Response, error)
- func (m *MockPullRequestsService) GetRaw(ctx context.Context, owner, repo string, number int, opts github.RawOptions) (string, *github.Response, error)
- func (m *MockPullRequestsService) GetReview(ctx context.Context, owner, repo string, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) IsMerged(ctx context.Context, owner, repo string, number int) (bool, *github.Response, error)
- func (m *MockPullRequestsService) List(ctx context.Context, owner, repo string, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) ListComments(ctx context.Context, owner, repo string, number int, ...) ([]*github.PullRequestComment, *github.Response, error)
- func (m *MockPullRequestsService) ListCommits(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.RepositoryCommit, *github.Response, error)
- func (m *MockPullRequestsService) ListFiles(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
- func (m *MockPullRequestsService) ListPullRequestsWithCommit(ctx context.Context, owner, repo, sha string, ...) ([]*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) ListReviewComments(ctx context.Context, owner, repo string, number int, reviewID int64, ...) ([]*github.PullRequestComment, *github.Response, error)
- func (m *MockPullRequestsService) ListReviewers(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) (*github.Reviewers, *github.Response, error)
- func (m *MockPullRequestsService) ListReviews(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) Merge(ctx context.Context, owner, repo string, number int, commitMessage string, ...) (*github.PullRequestMergeResult, *github.Response, error)
- func (m *MockPullRequestsService) RemoveReviewers(ctx context.Context, owner, repo string, number int, ...) (*github.Response, error)
- func (m *MockPullRequestsService) RequestReviewers(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) SubmitReview(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) UpdateBranch(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestBranchUpdateResponse, *github.Response, error)
- func (m *MockPullRequestsService) UpdateReview(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error)
- type MockPullRequestsServiceMockRecorder
- func (mr *MockPullRequestsServiceMockRecorder) Create(ctx, owner, repo, pull interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) CreateComment(ctx, owner, repo, number, comment interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) CreateCommentInReplyTo(ctx, owner, repo, number, body, commentID interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) CreateReview(ctx, owner, repo, number, review interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) DeleteComment(ctx, owner, repo, commentID interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) DeletePendingReview(ctx, owner, repo, number, reviewID interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) DismissReview(ctx, owner, repo, number, reviewID, review interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) Edit(ctx, owner, repo, number, pull interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) EditComment(ctx, owner, repo, commentID, comment interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) Get(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) GetComment(ctx, owner, repo, commentID interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) GetRaw(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) GetReview(ctx, owner, repo, number, reviewID interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) IsMerged(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) List(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListComments(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListCommits(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListFiles(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListPullRequestsWithCommit(ctx, owner, repo, sha, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListReviewComments(ctx, owner, repo, number, reviewID, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListReviewers(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListReviews(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) Merge(ctx, owner, repo, number, commitMessage, options interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) RemoveReviewers(ctx, owner, repo, number, reviewers interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) RequestReviewers(ctx, owner, repo, number, reviewers interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) SubmitReview(ctx, owner, repo, number, reviewID, review interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) UpdateBranch(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) UpdateReview(ctx, owner, repo, number, reviewID, body interface{}) *gomock.Call
- type MockReactionsService
- func (m *MockReactionsService) CreateCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) CreateIssueCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) CreateIssueReaction(ctx context.Context, owner, repo string, number int, content string) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) CreatePullRequestCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) CreateReleaseReaction(ctx context.Context, owner, repo string, releaseID int64, content string) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) CreateTeamDiscussionCommentReaction(ctx context.Context, teamID int64, discussionNumber, commentNumber int, ...) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) CreateTeamDiscussionReaction(ctx context.Context, teamID int64, discussionNumber int, content string) (*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) DeleteCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeleteCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeleteIssueCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeleteIssueCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeleteIssueReaction(ctx context.Context, owner, repo string, issueNumber int, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeleteIssueReactionByID(ctx context.Context, repoID, issueNumber int, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeletePullRequestCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeletePullRequestCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) DeleteTeamDiscussionCommentReaction(ctx context.Context, org, teamSlug string, discussionNumber, commentNumber int, ...) (*github.Response, error)
- func (m *MockReactionsService) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID(ctx context.Context, orgID, teamID, discussionNumber, commentNumber int, ...) (*github.Response, error)
- func (m *MockReactionsService) DeleteTeamDiscussionReaction(ctx context.Context, org, teamSlug string, discussionNumber int, ...) (*github.Response, error)
- func (m *MockReactionsService) DeleteTeamDiscussionReactionByOrgIDAndTeamID(ctx context.Context, orgID, teamID, discussionNumber int, reactionID int64) (*github.Response, error)
- func (m *MockReactionsService) EXPECT() *MockReactionsServiceMockRecorder
- func (m *MockReactionsService) ListCommentReactions(ctx context.Context, owner, repo string, id int64, ...) ([]*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) ListIssueCommentReactions(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) ListIssueReactions(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) ListPullRequestCommentReactions(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) ListTeamDiscussionCommentReactions(ctx context.Context, teamID int64, discussionNumber, commentNumber int, ...) ([]*github.Reaction, *github.Response, error)
- func (m *MockReactionsService) ListTeamDiscussionReactions(ctx context.Context, teamID int64, discussionNumber int, ...) ([]*github.Reaction, *github.Response, error)
- type MockReactionsServiceMockRecorder
- func (mr *MockReactionsServiceMockRecorder) CreateCommentReaction(ctx, owner, repo, id, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) CreateIssueCommentReaction(ctx, owner, repo, id, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) CreateIssueReaction(ctx, owner, repo, number, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) CreatePullRequestCommentReaction(ctx, owner, repo, id, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) CreateReleaseReaction(ctx, owner, repo, releaseID, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) CreateTeamDiscussionCommentReaction(ctx, teamID, discussionNumber, commentNumber, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) CreateTeamDiscussionReaction(ctx, teamID, discussionNumber, content interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteCommentReaction(ctx, owner, repo, commentID, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteCommentReactionByID(ctx, repoID, commentID, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteIssueCommentReaction(ctx, owner, repo, commentID, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteIssueCommentReactionByID(ctx, repoID, commentID, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteIssueReaction(ctx, owner, repo, issueNumber, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteIssueReactionByID(ctx, repoID, issueNumber, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeletePullRequestCommentReaction(ctx, owner, repo, commentID, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeletePullRequestCommentReactionByID(ctx, repoID, commentID, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionCommentReaction(ctx, org, teamSlug, discussionNumber, commentNumber, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID(ctx, orgID, teamID, discussionNumber, commentNumber, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionReaction(ctx, org, teamSlug, discussionNumber, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionReactionByOrgIDAndTeamID(ctx, orgID, teamID, discussionNumber, reactionID interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) ListCommentReactions(ctx, owner, repo, id, opts interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) ListIssueCommentReactions(ctx, owner, repo, id, opts interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) ListIssueReactions(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) ListPullRequestCommentReactions(ctx, owner, repo, id, opts interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) ListTeamDiscussionCommentReactions(ctx, teamID, discussionNumber, commentNumber, opts interface{}) *gomock.Call
- func (mr *MockReactionsServiceMockRecorder) ListTeamDiscussionReactions(ctx, teamID, discussionNumber, opts interface{}) *gomock.Call
- type MockRepositoriesService
- func (m *MockRepositoriesService) AddAdminEnforcement(ctx context.Context, owner, repo, branch string) (*github.AdminEnforcement, *github.Response, error)
- func (m *MockRepositoriesService) AddAppRestrictions(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error)
- func (m *MockRepositoriesService) AddAutolink(ctx context.Context, owner, repo string, opts *github.AutolinkOptions) (*github.Autolink, *github.Response, error)
- func (m *MockRepositoriesService) AddCollaborator(ctx context.Context, owner, repo, user string, ...) (*github.CollaboratorInvitation, *github.Response, error)
- func (m *MockRepositoriesService) CompareCommits(ctx context.Context, owner, repo, base, head string, opts *github.ListOptions) (*github.CommitsComparison, *github.Response, error)
- func (m *MockRepositoriesService) CompareCommitsRaw(ctx context.Context, owner, repo, base, head string, opts github.RawOptions) (string, *github.Response, error)
- func (m *MockRepositoriesService) Create(ctx context.Context, org string, repo *github.Repository) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) CreateComment(ctx context.Context, owner, repo, sha string, ...) (*github.RepositoryComment, *github.Response, error)
- func (m *MockRepositoriesService) CreateDeployment(ctx context.Context, owner, repo string, request *github.DeploymentRequest) (*github.Deployment, *github.Response, error)
- func (m *MockRepositoriesService) CreateDeploymentStatus(ctx context.Context, owner, repo string, deployment int64, ...) (*github.DeploymentStatus, *github.Response, error)
- func (m *MockRepositoriesService) CreateFile(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContentResponse, *github.Response, error)
- func (m *MockRepositoriesService) CreateFork(ctx context.Context, owner, repo string, ...) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) CreateFromTemplate(ctx context.Context, templateOwner, templateRepo string, ...) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) CreateHook(ctx context.Context, owner, repo string, hook *github.Hook) (*github.Hook, *github.Response, error)
- func (m *MockRepositoriesService) CreateKey(ctx context.Context, owner, repo string, key *github.Key) (*github.Key, *github.Response, error)
- func (m *MockRepositoriesService) CreateProject(ctx context.Context, owner, repo string, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
- func (m *MockRepositoriesService) CreateRelease(ctx context.Context, owner, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockRepositoriesService) CreateStatus(ctx context.Context, owner, repo, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
- func (m *MockRepositoriesService) CreateTagProtection(ctx context.Context, owner, repo, pattern string) (*github.TagProtection, *github.Response, error)
- func (m *MockRepositoriesService) CreateUpdateEnvironment(ctx context.Context, owner, repo, name string, ...) (*github.Environment, *github.Response, error)
- func (m *MockRepositoriesService) Delete(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteAutolink(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteComment(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteEnvironment(ctx context.Context, owner, repo, name string) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteFile(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContentResponse, *github.Response, error)
- func (m *MockRepositoriesService) DeleteHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteInvitation(ctx context.Context, owner, repo string, invitationID int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteKey(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeletePreReceiveHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteRelease(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteReleaseAsset(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) DeleteTagProtection(ctx context.Context, owner, repo string, tagProtectionID int64) (*github.Response, error)
- func (m *MockRepositoriesService) DisableAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*github.Response, error)
- func (m *MockRepositoriesService) DisableDismissalRestrictions(ctx context.Context, owner, repo, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (m *MockRepositoriesService) DisableLFS(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockRepositoriesService) DisablePages(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockRepositoriesService) DisableVulnerabilityAlerts(ctx context.Context, owner, repository string) (*github.Response, error)
- func (m *MockRepositoriesService) Dispatch(ctx context.Context, owner, repo string, opts github.DispatchRequestOptions) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) DownloadContents(ctx context.Context, owner, repo, filepath string, ...) (io.ReadCloser, *github.Response, error)
- func (m *MockRepositoriesService) DownloadContentsWithMeta(ctx context.Context, owner, repo, filepath string, ...) (io.ReadCloser, *github.RepositoryContent, *github.Response, error)
- func (m *MockRepositoriesService) DownloadReleaseAsset(ctx context.Context, owner, repo string, id int64, ...) (io.ReadCloser, string, error)
- func (m *MockRepositoriesService) EXPECT() *MockRepositoriesServiceMockRecorder
- func (m *MockRepositoriesService) Edit(ctx context.Context, owner, repo string, repository *github.Repository) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) EditActionsAllowed(ctx context.Context, org, repo string, actionsAllowed github.ActionsAllowed) (*github.ActionsAllowed, *github.Response, error)
- func (m *MockRepositoriesService) EditActionsPermissions(ctx context.Context, owner, repo string, ...) (*github.ActionsPermissionsRepository, *github.Response, error)
- func (m *MockRepositoriesService) EditHook(ctx context.Context, owner, repo string, id int64, hook *github.Hook) (*github.Hook, *github.Response, error)
- func (m *MockRepositoriesService) EditRelease(ctx context.Context, owner, repo string, id int64, ...) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockRepositoriesService) EditReleaseAsset(ctx context.Context, owner, repo string, id int64, ...) (*github.ReleaseAsset, *github.Response, error)
- func (m *MockRepositoriesService) EnableAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*github.Response, error)
- func (m *MockRepositoriesService) EnableLFS(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockRepositoriesService) EnablePages(ctx context.Context, owner, repo string, pages *github.Pages) (*github.Pages, *github.Response, error)
- func (m *MockRepositoriesService) EnableVulnerabilityAlerts(ctx context.Context, owner, repository string) (*github.Response, error)
- func (m *MockRepositoriesService) GenerateReleaseNotes(ctx context.Context, owner, repo string, opts *github.GenerateNotesOptions) (*github.RepositoryReleaseNotes, *github.Response, error)
- func (m *MockRepositoriesService) Get(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) GetActionsAllowed(ctx context.Context, org, repo string) (*github.ActionsAllowed, *github.Response, error)
- func (m *MockRepositoriesService) GetActionsPermissions(ctx context.Context, owner, repo string) (*github.ActionsPermissionsRepository, *github.Response, error)
- func (m *MockRepositoriesService) GetAdminEnforcement(ctx context.Context, owner, repo, branch string) (*github.AdminEnforcement, *github.Response, error)
- func (m *MockRepositoriesService) GetArchiveLink(ctx context.Context, owner, repo string, archiveformat github.ArchiveFormat, ...) (*url.URL, *github.Response, error)
- func (m *MockRepositoriesService) GetAutolink(ctx context.Context, owner, repo string, id int64) (*github.Autolink, *github.Response, error)
- func (m *MockRepositoriesService) GetBranch(ctx context.Context, owner, repo, branch string, followRedirects bool) (*github.Branch, *github.Response, error)
- func (m *MockRepositoriesService) GetBranchProtection(ctx context.Context, owner, repo, branch string) (*github.Protection, *github.Response, error)
- func (m *MockRepositoriesService) GetByID(ctx context.Context, id int64) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) GetCodeOfConduct(ctx context.Context, owner, repo string) (*github.CodeOfConduct, *github.Response, error)
- func (m *MockRepositoriesService) GetCodeownersErrors(ctx context.Context, owner, repo string) (*github.CodeownersErrors, *github.Response, error)
- func (m *MockRepositoriesService) GetCombinedStatus(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
- func (m *MockRepositoriesService) GetComment(ctx context.Context, owner, repo string, id int64) (*github.RepositoryComment, *github.Response, error)
- func (m *MockRepositoriesService) GetCommit(ctx context.Context, owner, repo, sha string, opts *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)
- func (m *MockRepositoriesService) GetCommitRaw(ctx context.Context, owner, repo, sha string, opts github.RawOptions) (string, *github.Response, error)
- func (m *MockRepositoriesService) GetCommitSHA1(ctx context.Context, owner, repo, ref, lastSHA string) (string, *github.Response, error)
- func (m *MockRepositoriesService) GetCommunityHealthMetrics(ctx context.Context, owner, repo string) (*github.CommunityHealthMetrics, *github.Response, error)
- func (m *MockRepositoriesService) GetContents(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
- func (m *MockRepositoriesService) GetDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*github.Deployment, *github.Response, error)
- func (m *MockRepositoriesService) GetDeploymentStatus(ctx context.Context, owner, repo string, ...) (*github.DeploymentStatus, *github.Response, error)
- func (m *MockRepositoriesService) GetEnvironment(ctx context.Context, owner, repo, name string) (*github.Environment, *github.Response, error)
- func (m *MockRepositoriesService) GetHook(ctx context.Context, owner, repo string, id int64) (*github.Hook, *github.Response, error)
- func (m *MockRepositoriesService) GetHookDelivery(ctx context.Context, owner, repo string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
- func (m *MockRepositoriesService) GetKey(ctx context.Context, owner, repo string, id int64) (*github.Key, *github.Response, error)
- func (m *MockRepositoriesService) GetLatestPagesBuild(ctx context.Context, owner, repo string) (*github.PagesBuild, *github.Response, error)
- func (m *MockRepositoriesService) GetLatestRelease(ctx context.Context, owner, repo string) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockRepositoriesService) GetPageBuild(ctx context.Context, owner, repo string, id int64) (*github.PagesBuild, *github.Response, error)
- func (m *MockRepositoriesService) GetPagesInfo(ctx context.Context, owner, repo string) (*github.Pages, *github.Response, error)
- func (m *MockRepositoriesService) GetPermissionLevel(ctx context.Context, owner, repo, user string) (*github.RepositoryPermissionLevel, *github.Response, error)
- func (m *MockRepositoriesService) GetPreReceiveHook(ctx context.Context, owner, repo string, id int64) (*github.PreReceiveHook, *github.Response, error)
- func (m *MockRepositoriesService) GetPullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (m *MockRepositoriesService) GetReadme(ctx context.Context, owner, repo string, ...) (*github.RepositoryContent, *github.Response, error)
- func (m *MockRepositoriesService) GetRelease(ctx context.Context, owner, repo string, id int64) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockRepositoriesService) GetReleaseAsset(ctx context.Context, owner, repo string, id int64) (*github.ReleaseAsset, *github.Response, error)
- func (m *MockRepositoriesService) GetReleaseByTag(ctx context.Context, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockRepositoriesService) GetRequiredStatusChecks(ctx context.Context, owner, repo, branch string) (*github.RequiredStatusChecks, *github.Response, error)
- func (m *MockRepositoriesService) GetSignaturesProtectedBranch(ctx context.Context, owner, repo, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
- func (m *MockRepositoriesService) GetVulnerabilityAlerts(ctx context.Context, owner, repository string) (bool, *github.Response, error)
- func (m *MockRepositoriesService) IsCollaborator(ctx context.Context, owner, repo, user string) (bool, *github.Response, error)
- func (m *MockRepositoriesService) License(ctx context.Context, owner, repo string) (*github.RepositoryLicense, *github.Response, error)
- func (m *MockRepositoriesService) List(ctx context.Context, user string, opts *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) ListAll(ctx context.Context, opts *github.RepositoryListAllOptions) ([]*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) ListAllTopics(ctx context.Context, owner, repo string) ([]string, *github.Response, error)
- func (m *MockRepositoriesService) ListApps(ctx context.Context, owner, repo, branch string) ([]*github.App, *github.Response, error)
- func (m *MockRepositoriesService) ListAutolinks(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Autolink, *github.Response, error)
- func (m *MockRepositoriesService) ListBranches(ctx context.Context, owner, repo string, opts *github.BranchListOptions) ([]*github.Branch, *github.Response, error)
- func (m *MockRepositoriesService) ListBranchesHeadCommit(ctx context.Context, owner, repo, sha string) ([]*github.BranchCommit, *github.Response, error)
- func (m *MockRepositoriesService) ListByOrg(ctx context.Context, org string, opts *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) ListCodeFrequency(ctx context.Context, owner, repo string) ([]*github.WeeklyStats, *github.Response, error)
- func (m *MockRepositoriesService) ListCollaborators(ctx context.Context, owner, repo string, opts *github.ListCollaboratorsOptions) ([]*github.User, *github.Response, error)
- func (m *MockRepositoriesService) ListComments(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
- func (m *MockRepositoriesService) ListCommitActivity(ctx context.Context, owner, repo string) ([]*github.WeeklyCommitActivity, *github.Response, error)
- func (m *MockRepositoriesService) ListCommitComments(ctx context.Context, owner, repo, sha string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
- func (m *MockRepositoriesService) ListCommits(ctx context.Context, owner, repo string, opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
- func (m *MockRepositoriesService) ListContributors(ctx context.Context, owner, repository string, ...) ([]*github.Contributor, *github.Response, error)
- func (m *MockRepositoriesService) ListContributorsStats(ctx context.Context, owner, repo string) ([]*github.ContributorStats, *github.Response, error)
- func (m *MockRepositoriesService) ListDeploymentStatuses(ctx context.Context, owner, repo string, deployment int64, ...) ([]*github.DeploymentStatus, *github.Response, error)
- func (m *MockRepositoriesService) ListDeployments(ctx context.Context, owner, repo string, opts *github.DeploymentsListOptions) ([]*github.Deployment, *github.Response, error)
- func (m *MockRepositoriesService) ListEnvironments(ctx context.Context, owner, repo string, opts *github.EnvironmentListOptions) (*github.EnvResponse, *github.Response, error)
- func (m *MockRepositoriesService) ListForks(ctx context.Context, owner, repo string, ...) ([]*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) ListHookDeliveries(ctx context.Context, owner, repo string, id int64, ...) ([]*github.HookDelivery, *github.Response, error)
- func (m *MockRepositoriesService) ListHooks(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Hook, *github.Response, error)
- func (m *MockRepositoriesService) ListInvitations(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
- func (m *MockRepositoriesService) ListKeys(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Key, *github.Response, error)
- func (m *MockRepositoriesService) ListLanguages(ctx context.Context, owner, repo string) (map[string]int, *github.Response, error)
- func (m *MockRepositoriesService) ListPagesBuilds(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.PagesBuild, *github.Response, error)
- func (m *MockRepositoriesService) ListParticipation(ctx context.Context, owner, repo string) (*github.RepositoryParticipation, *github.Response, error)
- func (m *MockRepositoriesService) ListPreReceiveHooks(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error)
- func (m *MockRepositoriesService) ListProjects(ctx context.Context, owner, repo string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
- func (m *MockRepositoriesService) ListPunchCard(ctx context.Context, owner, repo string) ([]*github.PunchCard, *github.Response, error)
- func (m *MockRepositoriesService) ListReleaseAssets(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
- func (m *MockRepositoriesService) ListReleases(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
- func (m *MockRepositoriesService) ListRequiredStatusChecksContexts(ctx context.Context, owner, repo, branch string) ([]string, *github.Response, error)
- func (m *MockRepositoriesService) ListStatuses(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
- func (m *MockRepositoriesService) ListTagProtection(ctx context.Context, owner, repo string) ([]*github.TagProtection, *github.Response, error)
- func (m *MockRepositoriesService) ListTags(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
- func (m *MockRepositoriesService) ListTeams(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (m *MockRepositoriesService) ListTrafficClones(ctx context.Context, owner, repo string, opts *github.TrafficBreakdownOptions) (*github.TrafficClones, *github.Response, error)
- func (m *MockRepositoriesService) ListTrafficPaths(ctx context.Context, owner, repo string) ([]*github.TrafficPath, *github.Response, error)
- func (m *MockRepositoriesService) ListTrafficReferrers(ctx context.Context, owner, repo string) ([]*github.TrafficReferrer, *github.Response, error)
- func (m *MockRepositoriesService) ListTrafficViews(ctx context.Context, owner, repo string, opts *github.TrafficBreakdownOptions) (*github.TrafficViews, *github.Response, error)
- func (m *MockRepositoriesService) Merge(ctx context.Context, owner, repo string, ...) (*github.RepositoryCommit, *github.Response, error)
- func (m *MockRepositoriesService) MergeUpstream(ctx context.Context, owner, repo string, ...) (*github.RepoMergeUpstreamResult, *github.Response, error)
- func (m *MockRepositoriesService) OptionalSignaturesOnProtectedBranch(ctx context.Context, owner, repo, branch string) (*github.Response, error)
- func (m *MockRepositoriesService) PingHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) RedeliverHookDelivery(ctx context.Context, owner, repo string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
- func (m *MockRepositoriesService) RemoveAdminEnforcement(ctx context.Context, owner, repo, branch string) (*github.Response, error)
- func (m *MockRepositoriesService) RemoveAppRestrictions(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error)
- func (m *MockRepositoriesService) RemoveBranchProtection(ctx context.Context, owner, repo, branch string) (*github.Response, error)
- func (m *MockRepositoriesService) RemoveCollaborator(ctx context.Context, owner, repo, user string) (*github.Response, error)
- func (m *MockRepositoriesService) RemovePullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string) (*github.Response, error)
- func (m *MockRepositoriesService) RemoveRequiredStatusChecks(ctx context.Context, owner, repo, branch string) (*github.Response, error)
- func (m *MockRepositoriesService) RenameBranch(ctx context.Context, owner, repo, branch, newName string) (*github.Branch, *github.Response, error)
- func (m *MockRepositoriesService) ReplaceAllTopics(ctx context.Context, owner, repo string, topics []string) ([]string, *github.Response, error)
- func (m *MockRepositoriesService) ReplaceAppRestrictions(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error)
- func (m *MockRepositoriesService) RequestPageBuild(ctx context.Context, owner, repo string) (*github.PagesBuild, *github.Response, error)
- func (m *MockRepositoriesService) RequireSignaturesOnProtectedBranch(ctx context.Context, owner, repo, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
- func (m *MockRepositoriesService) Subscribe(ctx context.Context, owner, repo, event, callback string, secret []uint8) (*github.Response, error)
- func (m *MockRepositoriesService) TestHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
- func (m *MockRepositoriesService) Transfer(ctx context.Context, owner, repo string, transfer github.TransferRequest) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) Unsubscribe(ctx context.Context, owner, repo, event, callback string, secret []uint8) (*github.Response, error)
- func (m *MockRepositoriesService) UpdateBranchProtection(ctx context.Context, owner, repo, branch string, ...) (*github.Protection, *github.Response, error)
- func (m *MockRepositoriesService) UpdateComment(ctx context.Context, owner, repo string, id int64, ...) (*github.RepositoryComment, *github.Response, error)
- func (m *MockRepositoriesService) UpdateFile(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContentResponse, *github.Response, error)
- func (m *MockRepositoriesService) UpdateInvitation(ctx context.Context, owner, repo string, invitationID int64, ...) (*github.RepositoryInvitation, *github.Response, error)
- func (m *MockRepositoriesService) UpdatePages(ctx context.Context, owner, repo string, opts *github.PagesUpdate) (*github.Response, error)
- func (m *MockRepositoriesService) UpdatePreReceiveHook(ctx context.Context, owner, repo string, id int64, hook *github.PreReceiveHook) (*github.PreReceiveHook, *github.Response, error)
- func (m *MockRepositoriesService) UpdatePullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string, ...) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (m *MockRepositoriesService) UpdateRequiredStatusChecks(ctx context.Context, owner, repo, branch string, ...) (*github.RequiredStatusChecks, *github.Response, error)
- func (m *MockRepositoriesService) UploadReleaseAsset(ctx context.Context, owner, repo string, id int64, opts *github.UploadOptions, ...) (*github.ReleaseAsset, *github.Response, error)
- type MockRepositoriesServiceMockRecorder
- func (mr *MockRepositoriesServiceMockRecorder) AddAdminEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) AddAppRestrictions(ctx, owner, repo, branch, slug interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) AddAutolink(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) AddCollaborator(ctx, owner, repo, user, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CompareCommits(ctx, owner, repo, base, head, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CompareCommitsRaw(ctx, owner, repo, base, head, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Create(ctx, org, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateComment(ctx, owner, repo, sha, comment interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateDeployment(ctx, owner, repo, request interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateDeploymentStatus(ctx, owner, repo, deployment, request interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateFile(ctx, owner, repo, path, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateFork(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateFromTemplate(ctx, templateOwner, templateRepo, templateRepoReq interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateHook(ctx, owner, repo, hook interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateKey(ctx, owner, repo, key interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateProject(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateRelease(ctx, owner, repo, release interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateStatus(ctx, owner, repo, ref, status interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateTagProtection(ctx, owner, repo, pattern interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateUpdateEnvironment(ctx, owner, repo, name, environment interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Delete(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteAutolink(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteComment(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteDeployment(ctx, owner, repo, deploymentID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteEnvironment(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteFile(ctx, owner, repo, path, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteHook(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteInvitation(ctx, owner, repo, invitationID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteKey(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeletePreReceiveHook(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteRelease(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteReleaseAsset(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DeleteTagProtection(ctx, owner, repo, tagProtectionID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DisableAutomatedSecurityFixes(ctx, owner, repository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DisableDismissalRestrictions(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DisableLFS(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DisablePages(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DisableVulnerabilityAlerts(ctx, owner, repository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Dispatch(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DownloadContents(ctx, owner, repo, filepath, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DownloadContentsWithMeta(ctx, owner, repo, filepath, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) DownloadReleaseAsset(ctx, owner, repo, id, followRedirectsClient interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Edit(ctx, owner, repo, repository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EditActionsAllowed(ctx, org, repo, actionsAllowed interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EditActionsPermissions(ctx, owner, repo, actionsPermissionsRepository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EditHook(ctx, owner, repo, id, hook interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EditRelease(ctx, owner, repo, id, release interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EditReleaseAsset(ctx, owner, repo, id, release interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EnableAutomatedSecurityFixes(ctx, owner, repository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EnableLFS(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EnablePages(ctx, owner, repo, pages interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) EnableVulnerabilityAlerts(ctx, owner, repository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GenerateReleaseNotes(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Get(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetActionsAllowed(ctx, org, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetActionsPermissions(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetAdminEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetArchiveLink(ctx, owner, repo, archiveformat, opts, followRedirects interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetAutolink(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetBranch(ctx, owner, repo, branch, followRedirects interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetBranchProtection(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCodeOfConduct(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCodeownersErrors(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCombinedStatus(ctx, owner, repo, ref, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetComment(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCommit(ctx, owner, repo, sha, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCommitRaw(ctx, owner, repo, sha, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCommitSHA1(ctx, owner, repo, ref, lastSHA interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCommunityHealthMetrics(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetContents(ctx, owner, repo, path, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetDeployment(ctx, owner, repo, deploymentID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetDeploymentStatus(ctx, owner, repo, deploymentID, deploymentStatusID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetEnvironment(ctx, owner, repo, name interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetHook(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetHookDelivery(ctx, owner, repo, hookID, deliveryID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetKey(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetLatestPagesBuild(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetLatestRelease(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetPageBuild(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetPagesInfo(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetPermissionLevel(ctx, owner, repo, user interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetPreReceiveHook(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetPullRequestReviewEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetReadme(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetRelease(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetReleaseAsset(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetReleaseByTag(ctx, owner, repo, tag interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetRequiredStatusChecks(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetSignaturesProtectedBranch(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetVulnerabilityAlerts(ctx, owner, repository interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) IsCollaborator(ctx, owner, repo, user interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) License(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) List(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListAllTopics(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListApps(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListAutolinks(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListBranches(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListBranchesHeadCommit(ctx, owner, repo, sha interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListByOrg(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListCodeFrequency(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListCollaborators(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListComments(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListCommitActivity(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListCommitComments(ctx, owner, repo, sha, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListCommits(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListContributors(ctx, owner, repository, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListContributorsStats(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListDeploymentStatuses(ctx, owner, repo, deployment, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListDeployments(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListEnvironments(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListForks(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListHookDeliveries(ctx, owner, repo, id, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListHooks(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListInvitations(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListKeys(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListLanguages(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListPagesBuilds(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListParticipation(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListPreReceiveHooks(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListProjects(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListPunchCard(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListReleaseAssets(ctx, owner, repo, id, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListReleases(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListRequiredStatusChecksContexts(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListStatuses(ctx, owner, repo, ref, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTagProtection(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTags(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTeams(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTrafficClones(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTrafficPaths(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTrafficReferrers(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTrafficViews(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Merge(ctx, owner, repo, request interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) MergeUpstream(ctx, owner, repo, request interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) OptionalSignaturesOnProtectedBranch(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) PingHook(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RedeliverHookDelivery(ctx, owner, repo, hookID, deliveryID interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RemoveAdminEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RemoveAppRestrictions(ctx, owner, repo, branch, slug interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RemoveBranchProtection(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RemoveCollaborator(ctx, owner, repo, user interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RemovePullRequestReviewEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RemoveRequiredStatusChecks(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RenameBranch(ctx, owner, repo, branch, newName interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ReplaceAllTopics(ctx, owner, repo, topics interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ReplaceAppRestrictions(ctx, owner, repo, branch, slug interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RequestPageBuild(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) RequireSignaturesOnProtectedBranch(ctx, owner, repo, branch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Subscribe(ctx, owner, repo, event, callback, secret interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) TestHook(ctx, owner, repo, id interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Transfer(ctx, owner, repo, transfer interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Unsubscribe(ctx, owner, repo, event, callback, secret interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdateBranchProtection(ctx, owner, repo, branch, preq interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdateComment(ctx, owner, repo, id, comment interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdateFile(ctx, owner, repo, path, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdateInvitation(ctx, owner, repo, invitationID, permissions interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdatePages(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdatePreReceiveHook(ctx, owner, repo, id, hook interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdatePullRequestReviewEnforcement(ctx, owner, repo, branch, patch interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdateRequiredStatusChecks(ctx, owner, repo, branch, sreq interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UploadReleaseAsset(ctx, owner, repo, id, opts, file interface{}) *gomock.Call
- type MockSCIMService
- func (m *MockSCIMService) DeleteSCIMUserFromOrg(ctx context.Context, org, scimUserID string) (*github.Response, error)
- func (m *MockSCIMService) EXPECT() *MockSCIMServiceMockRecorder
- func (m *MockSCIMService) GetSCIMProvisioningInfoForUser(ctx context.Context, org, scimUserID string) (*github.SCIMUserAttributes, *github.Response, error)
- func (m *MockSCIMService) ListSCIMProvisionedIdentities(ctx context.Context, org string, ...) (*github.SCIMProvisionedIdentities, *github.Response, error)
- func (m *MockSCIMService) ProvisionAndInviteSCIMUser(ctx context.Context, org string, opts *github.SCIMUserAttributes) (*github.Response, error)
- func (m *MockSCIMService) UpdateAttributeForSCIMUser(ctx context.Context, org, scimUserID string, ...) (*github.Response, error)
- func (m *MockSCIMService) UpdateProvisionedOrgMembership(ctx context.Context, org, scimUserID string, opts *github.SCIMUserAttributes) (*github.Response, error)
- type MockSCIMServiceMockRecorder
- func (mr *MockSCIMServiceMockRecorder) DeleteSCIMUserFromOrg(ctx, org, scimUserID interface{}) *gomock.Call
- func (mr *MockSCIMServiceMockRecorder) GetSCIMProvisioningInfoForUser(ctx, org, scimUserID interface{}) *gomock.Call
- func (mr *MockSCIMServiceMockRecorder) ListSCIMProvisionedIdentities(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockSCIMServiceMockRecorder) ProvisionAndInviteSCIMUser(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockSCIMServiceMockRecorder) UpdateAttributeForSCIMUser(ctx, org, scimUserID, opts interface{}) *gomock.Call
- func (mr *MockSCIMServiceMockRecorder) UpdateProvisionedOrgMembership(ctx, org, scimUserID, opts interface{}) *gomock.Call
- type MockSearchService
- func (m *MockSearchService) Code(ctx context.Context, query string, opts *github.SearchOptions) (*github.CodeSearchResult, *github.Response, error)
- func (m *MockSearchService) Commits(ctx context.Context, query string, opts *github.SearchOptions) (*github.CommitsSearchResult, *github.Response, error)
- func (m *MockSearchService) EXPECT() *MockSearchServiceMockRecorder
- func (m *MockSearchService) Issues(ctx context.Context, query string, opts *github.SearchOptions) (*github.IssuesSearchResult, *github.Response, error)
- func (m *MockSearchService) Labels(ctx context.Context, repoID int64, query string, opts *github.SearchOptions) (*github.LabelsSearchResult, *github.Response, error)
- func (m *MockSearchService) Repositories(ctx context.Context, query string, opts *github.SearchOptions) (*github.RepositoriesSearchResult, *github.Response, error)
- func (m *MockSearchService) Topics(ctx context.Context, query string, opts *github.SearchOptions) (*github.TopicsSearchResult, *github.Response, error)
- func (m *MockSearchService) Users(ctx context.Context, query string, opts *github.SearchOptions) (*github.UsersSearchResult, *github.Response, error)
- type MockSearchServiceMockRecorder
- func (mr *MockSearchServiceMockRecorder) Code(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockSearchServiceMockRecorder) Commits(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockSearchServiceMockRecorder) Issues(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockSearchServiceMockRecorder) Labels(ctx, repoID, query, opts interface{}) *gomock.Call
- func (mr *MockSearchServiceMockRecorder) Repositories(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockSearchServiceMockRecorder) Topics(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockSearchServiceMockRecorder) Users(ctx, query, opts interface{}) *gomock.Call
- type MockSecretScanningService
- func (m *MockSecretScanningService) EXPECT() *MockSecretScanningServiceMockRecorder
- func (m *MockSecretScanningService) GetAlert(ctx context.Context, owner, repo string, number int64) (*github.SecretScanningAlert, *github.Response, error)
- func (m *MockSecretScanningService) ListAlertsForEnterprise(ctx context.Context, enterprise string, ...) ([]*github.SecretScanningAlert, *github.Response, error)
- func (m *MockSecretScanningService) ListAlertsForOrg(ctx context.Context, org string, opts *github.SecretScanningAlertListOptions) ([]*github.SecretScanningAlert, *github.Response, error)
- func (m *MockSecretScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, ...) ([]*github.SecretScanningAlert, *github.Response, error)
- func (m *MockSecretScanningService) ListLocationsForAlert(ctx context.Context, owner, repo string, number int64, ...) ([]*github.SecretScanningAlertLocation, *github.Response, error)
- func (m *MockSecretScanningService) UpdateAlert(ctx context.Context, owner, repo string, number int64, ...) (*github.SecretScanningAlert, *github.Response, error)
- type MockSecretScanningServiceMockRecorder
- func (mr *MockSecretScanningServiceMockRecorder) GetAlert(ctx, owner, repo, number interface{}) *gomock.Call
- func (mr *MockSecretScanningServiceMockRecorder) ListAlertsForEnterprise(ctx, enterprise, opts interface{}) *gomock.Call
- func (mr *MockSecretScanningServiceMockRecorder) ListAlertsForOrg(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockSecretScanningServiceMockRecorder) ListAlertsForRepo(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockSecretScanningServiceMockRecorder) ListLocationsForAlert(ctx, owner, repo, number, opts interface{}) *gomock.Call
- func (mr *MockSecretScanningServiceMockRecorder) UpdateAlert(ctx, owner, repo, number, opts interface{}) *gomock.Call
- type MockTeamsService
- func (m *MockTeamsService) AddTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string, ...) (*github.Membership, *github.Response, error)
- func (m *MockTeamsService) AddTeamMembershipBySlug(ctx context.Context, org, slug, user string, ...) (*github.Membership, *github.Response, error)
- func (m *MockTeamsService) AddTeamProjectByID(ctx context.Context, orgID, teamID, projectID int64, ...) (*github.Response, error)
- func (m *MockTeamsService) AddTeamProjectBySlug(ctx context.Context, org, slug string, projectID int64, ...) (*github.Response, error)
- func (m *MockTeamsService) AddTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string, ...) (*github.Response, error)
- func (m *MockTeamsService) AddTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string, ...) (*github.Response, error)
- func (m *MockTeamsService) CreateCommentByID(ctx context.Context, orgID, teamID int64, discsusionNumber int, ...) (*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) CreateCommentBySlug(ctx context.Context, org, slug string, discsusionNumber int, ...) (*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) CreateDiscussionByID(ctx context.Context, orgID, teamID int64, discussion github.TeamDiscussion) (*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) CreateDiscussionBySlug(ctx context.Context, org, slug string, discussion github.TeamDiscussion) (*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) CreateOrUpdateIDPGroupConnectionsByID(ctx context.Context, orgID, teamID int64, opts github.IDPGroupList) (*github.IDPGroupList, *github.Response, error)
- func (m *MockTeamsService) CreateOrUpdateIDPGroupConnectionsBySlug(ctx context.Context, org, slug string, opts github.IDPGroupList) (*github.IDPGroupList, *github.Response, error)
- func (m *MockTeamsService) CreateTeam(ctx context.Context, org string, team github.NewTeam) (*github.Team, *github.Response, error)
- func (m *MockTeamsService) DeleteCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int) (*github.Response, error)
- func (m *MockTeamsService) DeleteCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int) (*github.Response, error)
- func (m *MockTeamsService) DeleteDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int) (*github.Response, error)
- func (m *MockTeamsService) DeleteDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int) (*github.Response, error)
- func (m *MockTeamsService) DeleteTeamByID(ctx context.Context, orgID, teamID int64) (*github.Response, error)
- func (m *MockTeamsService) DeleteTeamBySlug(ctx context.Context, org, slug string) (*github.Response, error)
- func (m *MockTeamsService) EXPECT() *MockTeamsServiceMockRecorder
- func (m *MockTeamsService) EditCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int, ...) (*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) EditCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int, ...) (*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) EditDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int, ...) (*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) EditDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int, ...) (*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) EditTeamByID(ctx context.Context, orgID, teamID int64, team github.NewTeam, ...) (*github.Team, *github.Response, error)
- func (m *MockTeamsService) EditTeamBySlug(ctx context.Context, org, slug string, team github.NewTeam, removeParent bool) (*github.Team, *github.Response, error)
- func (m *MockTeamsService) GetCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int) (*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) GetCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int) (*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) GetDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int) (*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) GetDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int) (*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) GetExternalGroup(ctx context.Context, org string, groupID int64) (*github.ExternalGroup, *github.Response, error)
- func (m *MockTeamsService) GetTeamByID(ctx context.Context, orgID, teamID int64) (*github.Team, *github.Response, error)
- func (m *MockTeamsService) GetTeamBySlug(ctx context.Context, org, slug string) (*github.Team, *github.Response, error)
- func (m *MockTeamsService) GetTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string) (*github.Membership, *github.Response, error)
- func (m *MockTeamsService) GetTeamMembershipBySlug(ctx context.Context, org, slug, user string) (*github.Membership, *github.Response, error)
- func (m *MockTeamsService) IsTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string) (*github.Repository, *github.Response, error)
- func (m *MockTeamsService) IsTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string) (*github.Repository, *github.Response, error)
- func (m *MockTeamsService) ListChildTeamsByParentID(ctx context.Context, orgID, teamID int64, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (m *MockTeamsService) ListChildTeamsByParentSlug(ctx context.Context, org, slug string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (m *MockTeamsService) ListCommentsByID(ctx context.Context, orgID, teamID int64, discussionNumber int, ...) ([]*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) ListCommentsBySlug(ctx context.Context, org, slug string, discussionNumber int, ...) ([]*github.DiscussionComment, *github.Response, error)
- func (m *MockTeamsService) ListDiscussionsByID(ctx context.Context, orgID, teamID int64, opts *github.DiscussionListOptions) ([]*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) ListDiscussionsBySlug(ctx context.Context, org, slug string, opts *github.DiscussionListOptions) ([]*github.TeamDiscussion, *github.Response, error)
- func (m *MockTeamsService) ListExternalGroups(ctx context.Context, org string, opts *github.ListExternalGroupsOptions) (*github.ExternalGroupList, *github.Response, error)
- func (m *MockTeamsService) ListIDPGroupsForTeamByID(ctx context.Context, orgID, teamID int64) (*github.IDPGroupList, *github.Response, error)
- func (m *MockTeamsService) ListIDPGroupsForTeamBySlug(ctx context.Context, org, slug string) (*github.IDPGroupList, *github.Response, error)
- func (m *MockTeamsService) ListIDPGroupsInOrganization(ctx context.Context, org string, opts *github.ListCursorOptions) (*github.IDPGroupList, *github.Response, error)
- func (m *MockTeamsService) ListPendingTeamInvitationsByID(ctx context.Context, orgID, teamID int64, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
- func (m *MockTeamsService) ListPendingTeamInvitationsBySlug(ctx context.Context, org, slug string, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
- func (m *MockTeamsService) ListTeamMembersByID(ctx context.Context, orgID, teamID int64, ...) ([]*github.User, *github.Response, error)
- func (m *MockTeamsService) ListTeamMembersBySlug(ctx context.Context, org, slug string, opts *github.TeamListTeamMembersOptions) ([]*github.User, *github.Response, error)
- func (m *MockTeamsService) ListTeamProjectsByID(ctx context.Context, orgID, teamID int64) ([]*github.Project, *github.Response, error)
- func (m *MockTeamsService) ListTeamProjectsBySlug(ctx context.Context, org, slug string) ([]*github.Project, *github.Response, error)
- func (m *MockTeamsService) ListTeamReposByID(ctx context.Context, orgID, teamID int64, opts *github.ListOptions) ([]*github.Repository, *github.Response, error)
- func (m *MockTeamsService) ListTeamReposBySlug(ctx context.Context, org, slug string, opts *github.ListOptions) ([]*github.Repository, *github.Response, error)
- func (m *MockTeamsService) ListTeams(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (m *MockTeamsService) ListUserTeams(ctx context.Context, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (m *MockTeamsService) RemoveConnectedExternalGroup(ctx context.Context, org, slug string) (*github.Response, error)
- func (m *MockTeamsService) RemoveTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string) (*github.Response, error)
- func (m *MockTeamsService) RemoveTeamMembershipBySlug(ctx context.Context, org, slug, user string) (*github.Response, error)
- func (m *MockTeamsService) RemoveTeamProjectByID(ctx context.Context, orgID, teamID, projectID int64) (*github.Response, error)
- func (m *MockTeamsService) RemoveTeamProjectBySlug(ctx context.Context, org, slug string, projectID int64) (*github.Response, error)
- func (m *MockTeamsService) RemoveTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string) (*github.Response, error)
- func (m *MockTeamsService) RemoveTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string) (*github.Response, error)
- func (m *MockTeamsService) ReviewTeamProjectsByID(ctx context.Context, orgID, teamID, projectID int64) (*github.Project, *github.Response, error)
- func (m *MockTeamsService) ReviewTeamProjectsBySlug(ctx context.Context, org, slug string, projectID int64) (*github.Project, *github.Response, error)
- func (m *MockTeamsService) UpdateConnectedExternalGroup(ctx context.Context, org, slug string, eg *github.ExternalGroup) (*github.ExternalGroup, *github.Response, error)
- type MockTeamsServiceMockRecorder
- func (mr *MockTeamsServiceMockRecorder) AddTeamMembershipByID(ctx, orgID, teamID, user, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) AddTeamMembershipBySlug(ctx, org, slug, user, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) AddTeamProjectByID(ctx, orgID, teamID, projectID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) AddTeamProjectBySlug(ctx, org, slug, projectID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) AddTeamRepoByID(ctx, orgID, teamID, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) AddTeamRepoBySlug(ctx, org, slug, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateCommentByID(ctx, orgID, teamID, discsusionNumber, comment interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateCommentBySlug(ctx, org, slug, discsusionNumber, comment interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateDiscussionByID(ctx, orgID, teamID, discussion interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateDiscussionBySlug(ctx, org, slug, discussion interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateOrUpdateIDPGroupConnectionsByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateOrUpdateIDPGroupConnectionsBySlug(ctx, org, slug, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) CreateTeam(ctx, org, team interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) DeleteCommentByID(ctx, orgID, teamID, discussionNumber, commentNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) DeleteCommentBySlug(ctx, org, slug, discussionNumber, commentNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) DeleteDiscussionByID(ctx, orgID, teamID, discussionNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) DeleteDiscussionBySlug(ctx, org, slug, discussionNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) DeleteTeamByID(ctx, orgID, teamID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) DeleteTeamBySlug(ctx, org, slug interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) EditCommentByID(ctx, orgID, teamID, discussionNumber, commentNumber, comment interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) EditCommentBySlug(ctx, org, slug, discussionNumber, commentNumber, comment interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) EditDiscussionByID(ctx, orgID, teamID, discussionNumber, discussion interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) EditDiscussionBySlug(ctx, org, slug, discussionNumber, discussion interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) EditTeamByID(ctx, orgID, teamID, team, removeParent interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) EditTeamBySlug(ctx, org, slug, team, removeParent interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetCommentByID(ctx, orgID, teamID, discussionNumber, commentNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetCommentBySlug(ctx, org, slug, discussionNumber, commentNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetDiscussionByID(ctx, orgID, teamID, discussionNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetDiscussionBySlug(ctx, org, slug, discussionNumber interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetExternalGroup(ctx, org, groupID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetTeamByID(ctx, orgID, teamID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetTeamBySlug(ctx, org, slug interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetTeamMembershipByID(ctx, orgID, teamID, user interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) GetTeamMembershipBySlug(ctx, org, slug, user interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) IsTeamRepoByID(ctx, orgID, teamID, owner, repo interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) IsTeamRepoBySlug(ctx, org, slug, owner, repo interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListChildTeamsByParentID(ctx, orgID, teamID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListChildTeamsByParentSlug(ctx, org, slug, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListCommentsByID(ctx, orgID, teamID, discussionNumber, options interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListCommentsBySlug(ctx, org, slug, discussionNumber, options interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListDiscussionsByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListDiscussionsBySlug(ctx, org, slug, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListExternalGroups(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListIDPGroupsForTeamByID(ctx, orgID, teamID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListIDPGroupsForTeamBySlug(ctx, org, slug interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListIDPGroupsInOrganization(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListPendingTeamInvitationsByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListPendingTeamInvitationsBySlug(ctx, org, slug, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeamMembersByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeamMembersBySlug(ctx, org, slug, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeamProjectsByID(ctx, orgID, teamID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeamProjectsBySlug(ctx, org, slug interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeamReposByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeamReposBySlug(ctx, org, slug, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListTeams(ctx, org, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ListUserTeams(ctx, opts interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveConnectedExternalGroup(ctx, org, slug interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveTeamMembershipByID(ctx, orgID, teamID, user interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveTeamMembershipBySlug(ctx, org, slug, user interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveTeamProjectByID(ctx, orgID, teamID, projectID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveTeamProjectBySlug(ctx, org, slug, projectID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveTeamRepoByID(ctx, orgID, teamID, owner, repo interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) RemoveTeamRepoBySlug(ctx, org, slug, owner, repo interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ReviewTeamProjectsByID(ctx, orgID, teamID, projectID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) ReviewTeamProjectsBySlug(ctx, org, slug, projectID interface{}) *gomock.Call
- func (mr *MockTeamsServiceMockRecorder) UpdateConnectedExternalGroup(ctx, org, slug, eg interface{}) *gomock.Call
- type MockUsersService
- func (m *MockUsersService) AcceptInvitation(ctx context.Context, invitationID int64) (*github.Response, error)
- func (m *MockUsersService) AddEmails(ctx context.Context, emails []string) ([]*github.UserEmail, *github.Response, error)
- func (m *MockUsersService) BlockUser(ctx context.Context, user string) (*github.Response, error)
- func (m *MockUsersService) CreateGPGKey(ctx context.Context, armoredPublicKey string) (*github.GPGKey, *github.Response, error)
- func (m *MockUsersService) CreateKey(ctx context.Context, key *github.Key) (*github.Key, *github.Response, error)
- func (m *MockUsersService) CreateProject(ctx context.Context, opts *github.CreateUserProjectOptions) (*github.Project, *github.Response, error)
- func (m *MockUsersService) CreateSSHSigningKey(ctx context.Context, key *github.Key) (*github.SSHSigningKey, *github.Response, error)
- func (m *MockUsersService) DeclineInvitation(ctx context.Context, invitationID int64) (*github.Response, error)
- func (m *MockUsersService) DeleteEmails(ctx context.Context, emails []string) (*github.Response, error)
- func (m *MockUsersService) DeleteGPGKey(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockUsersService) DeleteKey(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockUsersService) DeletePackage(ctx context.Context, user, packageType, packageName string) (*github.Response, error)
- func (m *MockUsersService) DeleteSSHSigningKey(ctx context.Context, id int64) (*github.Response, error)
- func (m *MockUsersService) DemoteSiteAdmin(ctx context.Context, user string) (*github.Response, error)
- func (m *MockUsersService) EXPECT() *MockUsersServiceMockRecorder
- func (m *MockUsersService) Edit(ctx context.Context, user *github.User) (*github.User, *github.Response, error)
- func (m *MockUsersService) Follow(ctx context.Context, user string) (*github.Response, error)
- func (m *MockUsersService) Get(ctx context.Context, user string) (*github.User, *github.Response, error)
- func (m *MockUsersService) GetByID(ctx context.Context, id int64) (*github.User, *github.Response, error)
- func (m *MockUsersService) GetGPGKey(ctx context.Context, id int64) (*github.GPGKey, *github.Response, error)
- func (m *MockUsersService) GetHovercard(ctx context.Context, user string, opts *github.HovercardOptions) (*github.Hovercard, *github.Response, error)
- func (m *MockUsersService) GetKey(ctx context.Context, id int64) (*github.Key, *github.Response, error)
- func (m *MockUsersService) GetPackage(ctx context.Context, user, packageType, packageName string) (*github.Package, *github.Response, error)
- func (m *MockUsersService) GetSSHSigningKey(ctx context.Context, id int64) (*github.SSHSigningKey, *github.Response, error)
- func (m *MockUsersService) IsBlocked(ctx context.Context, user string) (bool, *github.Response, error)
- func (m *MockUsersService) IsFollowing(ctx context.Context, user, target string) (bool, *github.Response, error)
- func (m *MockUsersService) ListAll(ctx context.Context, opts *github.UserListOptions) ([]*github.User, *github.Response, error)
- func (m *MockUsersService) ListBlockedUsers(ctx context.Context, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (m *MockUsersService) ListEmails(ctx context.Context, opts *github.ListOptions) ([]*github.UserEmail, *github.Response, error)
- func (m *MockUsersService) ListFollowers(ctx context.Context, user string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (m *MockUsersService) ListFollowing(ctx context.Context, user string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (m *MockUsersService) ListGPGKeys(ctx context.Context, user string, opts *github.ListOptions) ([]*github.GPGKey, *github.Response, error)
- func (m *MockUsersService) ListInvitations(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
- func (m *MockUsersService) ListKeys(ctx context.Context, user string, opts *github.ListOptions) ([]*github.Key, *github.Response, error)
- func (m *MockUsersService) ListPackages(ctx context.Context, user string, opts *github.PackageListOptions) ([]*github.Package, *github.Response, error)
- func (m *MockUsersService) ListProjects(ctx context.Context, user string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
- func (m *MockUsersService) ListSSHSigningKeys(ctx context.Context, user string, opts *github.ListOptions) ([]*github.SSHSigningKey, *github.Response, error)
- func (m *MockUsersService) PackageDeleteVersion(ctx context.Context, user, packageType, packageName string, ...) (*github.Response, error)
- func (m *MockUsersService) PackageGetAllVersions(ctx context.Context, user, packageType, packageName string, ...) ([]*github.PackageVersion, *github.Response, error)
- func (m *MockUsersService) PackageGetVersion(ctx context.Context, user, packageType, packageName string, ...) (*github.PackageVersion, *github.Response, error)
- func (m *MockUsersService) PackageRestoreVersion(ctx context.Context, user, packageType, packageName string, ...) (*github.Response, error)
- func (m *MockUsersService) PromoteSiteAdmin(ctx context.Context, user string) (*github.Response, error)
- func (m *MockUsersService) RestorePackage(ctx context.Context, user, packageType, packageName string) (*github.Response, error)
- func (m *MockUsersService) Suspend(ctx context.Context, user string, opts *github.UserSuspendOptions) (*github.Response, error)
- func (m *MockUsersService) UnblockUser(ctx context.Context, user string) (*github.Response, error)
- func (m *MockUsersService) Unfollow(ctx context.Context, user string) (*github.Response, error)
- func (m *MockUsersService) Unsuspend(ctx context.Context, user string) (*github.Response, error)
- type MockUsersServiceMockRecorder
- func (mr *MockUsersServiceMockRecorder) AcceptInvitation(ctx, invitationID interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) AddEmails(ctx, emails interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) BlockUser(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) CreateGPGKey(ctx, armoredPublicKey interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) CreateKey(ctx, key interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) CreateProject(ctx, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) CreateSSHSigningKey(ctx, key interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DeclineInvitation(ctx, invitationID interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DeleteEmails(ctx, emails interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DeleteGPGKey(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DeleteKey(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DeletePackage(ctx, user, packageType, packageName interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DeleteSSHSigningKey(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) DemoteSiteAdmin(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Edit(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Follow(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Get(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetGPGKey(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetHovercard(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetKey(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetPackage(ctx, user, packageType, packageName interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetSSHSigningKey(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) IsBlocked(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) IsFollowing(ctx, user, target interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListBlockedUsers(ctx, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListEmails(ctx, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListFollowers(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListFollowing(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListGPGKeys(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListInvitations(ctx, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListKeys(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListPackages(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListProjects(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListSSHSigningKeys(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) PackageDeleteVersion(ctx, user, packageType, packageName, packageVersionID interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) PackageGetAllVersions(ctx, user, packageType, packageName, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) PackageGetVersion(ctx, user, packageType, packageName, packageVersionID interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) PackageRestoreVersion(ctx, user, packageType, packageName, packageVersionID interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) PromoteSiteAdmin(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) RestorePackage(ctx, user, packageType, packageName interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Suspend(ctx, user, opts interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) UnblockUser(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Unfollow(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Unsuspend(ctx, user interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActionsService ¶
type MockActionsService struct {
// contains filtered or unexported fields
}
MockActionsService is a mock of ActionsService interface.
func NewMockActionsService ¶
func NewMockActionsService(ctrl *gomock.Controller) *MockActionsService
NewMockActionsService creates a new mock instance.
func (*MockActionsService) AddEnabledReposInOrg ¶
func (m *MockActionsService) AddEnabledReposInOrg(ctx context.Context, owner string, repositoryID int64) (*github.Response, error)
AddEnabledReposInOrg mocks base method.
func (*MockActionsService) AddRepositoryAccessRunnerGroup ¶
func (m *MockActionsService) AddRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID int64) (*github.Response, error)
AddRepositoryAccessRunnerGroup mocks base method.
func (*MockActionsService) AddRunnerGroupRunners ¶
func (m *MockActionsService) AddRunnerGroupRunners(ctx context.Context, org string, groupID, runnerID int64) (*github.Response, error)
AddRunnerGroupRunners mocks base method.
func (*MockActionsService) AddSelectedRepoToOrgSecret ¶
func (m *MockActionsService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
AddSelectedRepoToOrgSecret mocks base method.
func (*MockActionsService) CancelWorkflowRunByID ¶
func (m *MockActionsService) CancelWorkflowRunByID(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
CancelWorkflowRunByID mocks base method.
func (*MockActionsService) CreateOrUpdateEnvSecret ¶
func (m *MockActionsService) CreateOrUpdateEnvSecret(ctx context.Context, repoID int, env string, eSecret *github.EncryptedSecret) (*github.Response, error)
CreateOrUpdateEnvSecret mocks base method.
func (*MockActionsService) CreateOrUpdateOrgSecret ¶
func (m *MockActionsService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *github.EncryptedSecret) (*github.Response, error)
CreateOrUpdateOrgSecret mocks base method.
func (*MockActionsService) CreateOrUpdateRepoSecret ¶
func (m *MockActionsService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *github.EncryptedSecret) (*github.Response, error)
CreateOrUpdateRepoSecret mocks base method.
func (*MockActionsService) CreateOrganizationRegistrationToken ¶
func (m *MockActionsService) CreateOrganizationRegistrationToken(ctx context.Context, owner string) (*github.RegistrationToken, *github.Response, error)
CreateOrganizationRegistrationToken mocks base method.
func (*MockActionsService) CreateOrganizationRemoveToken ¶
func (m *MockActionsService) CreateOrganizationRemoveToken(ctx context.Context, owner string) (*github.RemoveToken, *github.Response, error)
CreateOrganizationRemoveToken mocks base method.
func (*MockActionsService) CreateOrganizationRunnerGroup ¶
func (m *MockActionsService) CreateOrganizationRunnerGroup(ctx context.Context, org string, createReq github.CreateRunnerGroupRequest) (*github.RunnerGroup, *github.Response, error)
CreateOrganizationRunnerGroup mocks base method.
func (*MockActionsService) CreateRegistrationToken ¶
func (m *MockActionsService) CreateRegistrationToken(ctx context.Context, owner, repo string) (*github.RegistrationToken, *github.Response, error)
CreateRegistrationToken mocks base method.
func (*MockActionsService) CreateRemoveToken ¶
func (m *MockActionsService) CreateRemoveToken(ctx context.Context, owner, repo string) (*github.RemoveToken, *github.Response, error)
CreateRemoveToken mocks base method.
func (*MockActionsService) CreateWorkflowDispatchEventByFileName ¶
func (m *MockActionsService) CreateWorkflowDispatchEventByFileName(ctx context.Context, owner, repo, workflowFileName string, event github.CreateWorkflowDispatchEventRequest) (*github.Response, error)
CreateWorkflowDispatchEventByFileName mocks base method.
func (*MockActionsService) CreateWorkflowDispatchEventByID ¶
func (m *MockActionsService) CreateWorkflowDispatchEventByID(ctx context.Context, owner, repo string, workflowID int64, event github.CreateWorkflowDispatchEventRequest) (*github.Response, error)
CreateWorkflowDispatchEventByID mocks base method.
func (*MockActionsService) DeleteArtifact ¶
func (m *MockActionsService) DeleteArtifact(ctx context.Context, owner, repo string, artifactID int64) (*github.Response, error)
DeleteArtifact mocks base method.
func (*MockActionsService) DeleteEnvSecret ¶
func (m *MockActionsService) DeleteEnvSecret(ctx context.Context, repoID int, env, secretName string) (*github.Response, error)
DeleteEnvSecret mocks base method.
func (*MockActionsService) DeleteOrgSecret ¶
func (m *MockActionsService) DeleteOrgSecret(ctx context.Context, org, name string) (*github.Response, error)
DeleteOrgSecret mocks base method.
func (*MockActionsService) DeleteOrganizationRunnerGroup ¶
func (m *MockActionsService) DeleteOrganizationRunnerGroup(ctx context.Context, org string, groupID int64) (*github.Response, error)
DeleteOrganizationRunnerGroup mocks base method.
func (*MockActionsService) DeleteRepoSecret ¶
func (m *MockActionsService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*github.Response, error)
DeleteRepoSecret mocks base method.
func (*MockActionsService) DeleteWorkflowRun ¶
func (m *MockActionsService) DeleteWorkflowRun(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
DeleteWorkflowRun mocks base method.
func (*MockActionsService) DeleteWorkflowRunLogs ¶
func (m *MockActionsService) DeleteWorkflowRunLogs(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
DeleteWorkflowRunLogs mocks base method.
func (*MockActionsService) DisableWorkflowByFileName ¶
func (m *MockActionsService) DisableWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.Response, error)
DisableWorkflowByFileName mocks base method.
func (*MockActionsService) DisableWorkflowByID ¶
func (m *MockActionsService) DisableWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*github.Response, error)
DisableWorkflowByID mocks base method.
func (*MockActionsService) DownloadArtifact ¶
func (m *MockActionsService) DownloadArtifact(ctx context.Context, owner, repo string, artifactID int64, followRedirects bool) (*url.URL, *github.Response, error)
DownloadArtifact mocks base method.
func (*MockActionsService) EXPECT ¶
func (m *MockActionsService) EXPECT() *MockActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActionsService) EnableWorkflowByFileName ¶
func (m *MockActionsService) EnableWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.Response, error)
EnableWorkflowByFileName mocks base method.
func (*MockActionsService) EnableWorkflowByID ¶
func (m *MockActionsService) EnableWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*github.Response, error)
EnableWorkflowByID mocks base method.
func (*MockActionsService) GetArtifact ¶
func (m *MockActionsService) GetArtifact(ctx context.Context, owner, repo string, artifactID int64) (*github.Artifact, *github.Response, error)
GetArtifact mocks base method.
func (*MockActionsService) GetEnvPublicKey ¶
func (m *MockActionsService) GetEnvPublicKey(ctx context.Context, repoID int, env string) (*github.PublicKey, *github.Response, error)
GetEnvPublicKey mocks base method.
func (*MockActionsService) GetEnvSecret ¶
func (m *MockActionsService) GetEnvSecret(ctx context.Context, repoID int, env, secretName string) (*github.Secret, *github.Response, error)
GetEnvSecret mocks base method.
func (*MockActionsService) GetOrgPublicKey ¶
func (m *MockActionsService) GetOrgPublicKey(ctx context.Context, org string) (*github.PublicKey, *github.Response, error)
GetOrgPublicKey mocks base method.
func (*MockActionsService) GetOrgSecret ¶
func (m *MockActionsService) GetOrgSecret(ctx context.Context, org, name string) (*github.Secret, *github.Response, error)
GetOrgSecret mocks base method.
func (*MockActionsService) GetOrganizationRunner ¶
func (m *MockActionsService) GetOrganizationRunner(ctx context.Context, owner string, runnerID int64) (*github.Runner, *github.Response, error)
GetOrganizationRunner mocks base method.
func (*MockActionsService) GetOrganizationRunnerGroup ¶
func (m *MockActionsService) GetOrganizationRunnerGroup(ctx context.Context, org string, groupID int64) (*github.RunnerGroup, *github.Response, error)
GetOrganizationRunnerGroup mocks base method.
func (*MockActionsService) GetRepoPublicKey ¶
func (m *MockActionsService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*github.PublicKey, *github.Response, error)
GetRepoPublicKey mocks base method.
func (*MockActionsService) GetRepoSecret ¶
func (m *MockActionsService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*github.Secret, *github.Response, error)
GetRepoSecret mocks base method.
func (*MockActionsService) GetRunner ¶
func (m *MockActionsService) GetRunner(ctx context.Context, owner, repo string, runnerID int64) (*github.Runner, *github.Response, error)
GetRunner mocks base method.
func (*MockActionsService) GetWorkflowByFileName ¶
func (m *MockActionsService) GetWorkflowByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.Workflow, *github.Response, error)
GetWorkflowByFileName mocks base method.
func (*MockActionsService) GetWorkflowByID ¶
func (m *MockActionsService) GetWorkflowByID(ctx context.Context, owner, repo string, workflowID int64) (*github.Workflow, *github.Response, error)
GetWorkflowByID mocks base method.
func (*MockActionsService) GetWorkflowJobByID ¶
func (m *MockActionsService) GetWorkflowJobByID(ctx context.Context, owner, repo string, jobID int64) (*github.WorkflowJob, *github.Response, error)
GetWorkflowJobByID mocks base method.
func (*MockActionsService) GetWorkflowJobLogs ¶
func (m *MockActionsService) GetWorkflowJobLogs(ctx context.Context, owner, repo string, jobID int64, followRedirects bool) (*url.URL, *github.Response, error)
GetWorkflowJobLogs mocks base method.
func (*MockActionsService) GetWorkflowRunAttempt ¶
func (m *MockActionsService) GetWorkflowRunAttempt(ctx context.Context, owner, repo string, runID int64, attemptNumber int, opts *github.WorkflowRunAttemptOptions) (*github.WorkflowRun, *github.Response, error)
GetWorkflowRunAttempt mocks base method.
func (*MockActionsService) GetWorkflowRunByID ¶
func (m *MockActionsService) GetWorkflowRunByID(ctx context.Context, owner, repo string, runID int64) (*github.WorkflowRun, *github.Response, error)
GetWorkflowRunByID mocks base method.
func (*MockActionsService) GetWorkflowRunLogs ¶
func (m *MockActionsService) GetWorkflowRunLogs(ctx context.Context, owner, repo string, runID int64, followRedirects bool) (*url.URL, *github.Response, error)
GetWorkflowRunLogs mocks base method.
func (*MockActionsService) GetWorkflowRunUsageByID ¶
func (m *MockActionsService) GetWorkflowRunUsageByID(ctx context.Context, owner, repo string, runID int64) (*github.WorkflowRunUsage, *github.Response, error)
GetWorkflowRunUsageByID mocks base method.
func (*MockActionsService) GetWorkflowUsageByFileName ¶
func (m *MockActionsService) GetWorkflowUsageByFileName(ctx context.Context, owner, repo, workflowFileName string) (*github.WorkflowUsage, *github.Response, error)
GetWorkflowUsageByFileName mocks base method.
func (*MockActionsService) GetWorkflowUsageByID ¶
func (m *MockActionsService) GetWorkflowUsageByID(ctx context.Context, owner, repo string, workflowID int64) (*github.WorkflowUsage, *github.Response, error)
GetWorkflowUsageByID mocks base method.
func (*MockActionsService) ListArtifacts ¶
func (m *MockActionsService) ListArtifacts(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.ArtifactList, *github.Response, error)
ListArtifacts mocks base method.
func (*MockActionsService) ListEnabledReposInOrg ¶
func (m *MockActionsService) ListEnabledReposInOrg(ctx context.Context, owner string, opts *github.ListOptions) (*github.ActionsEnabledOnOrgRepos, *github.Response, error)
ListEnabledReposInOrg mocks base method.
func (*MockActionsService) ListEnvSecrets ¶
func (m *MockActionsService) ListEnvSecrets(ctx context.Context, repoID int, env string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
ListEnvSecrets mocks base method.
func (*MockActionsService) ListOrgSecrets ¶
func (m *MockActionsService) ListOrgSecrets(ctx context.Context, org string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
ListOrgSecrets mocks base method.
func (*MockActionsService) ListOrganizationRunnerApplicationDownloads ¶
func (m *MockActionsService) ListOrganizationRunnerApplicationDownloads(ctx context.Context, owner string) ([]*github.RunnerApplicationDownload, *github.Response, error)
ListOrganizationRunnerApplicationDownloads mocks base method.
func (*MockActionsService) ListOrganizationRunnerGroups ¶
func (m *MockActionsService) ListOrganizationRunnerGroups(ctx context.Context, org string, opts *github.ListOrgRunnerGroupOptions) (*github.RunnerGroups, *github.Response, error)
ListOrganizationRunnerGroups mocks base method.
func (*MockActionsService) ListOrganizationRunners ¶
func (m *MockActionsService) ListOrganizationRunners(ctx context.Context, owner string, opts *github.ListOptions) (*github.Runners, *github.Response, error)
ListOrganizationRunners mocks base method.
func (*MockActionsService) ListRepoSecrets ¶
func (m *MockActionsService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
ListRepoSecrets mocks base method.
func (*MockActionsService) ListRepositoryAccessRunnerGroup ¶
func (m *MockActionsService) ListRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, opts *github.ListOptions) (*github.ListRepositories, *github.Response, error)
ListRepositoryAccessRunnerGroup mocks base method.
func (*MockActionsService) ListRepositoryWorkflowRuns ¶
func (m *MockActionsService) ListRepositoryWorkflowRuns(ctx context.Context, owner, repo string, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
ListRepositoryWorkflowRuns mocks base method.
func (*MockActionsService) ListRunnerApplicationDownloads ¶
func (m *MockActionsService) ListRunnerApplicationDownloads(ctx context.Context, owner, repo string) ([]*github.RunnerApplicationDownload, *github.Response, error)
ListRunnerApplicationDownloads mocks base method.
func (*MockActionsService) ListRunnerGroupRunners ¶
func (m *MockActionsService) ListRunnerGroupRunners(ctx context.Context, org string, groupID int64, opts *github.ListOptions) (*github.Runners, *github.Response, error)
ListRunnerGroupRunners mocks base method.
func (*MockActionsService) ListRunners ¶
func (m *MockActionsService) ListRunners(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Runners, *github.Response, error)
ListRunners mocks base method.
func (*MockActionsService) ListSelectedReposForOrgSecret ¶
func (m *MockActionsService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *github.ListOptions) (*github.SelectedReposList, *github.Response, error)
ListSelectedReposForOrgSecret mocks base method.
func (*MockActionsService) ListWorkflowJobs ¶
func (m *MockActionsService) ListWorkflowJobs(ctx context.Context, owner, repo string, runID int64, opts *github.ListWorkflowJobsOptions) (*github.Jobs, *github.Response, error)
ListWorkflowJobs mocks base method.
func (*MockActionsService) ListWorkflowRunArtifacts ¶
func (m *MockActionsService) ListWorkflowRunArtifacts(ctx context.Context, owner, repo string, runID int64, opts *github.ListOptions) (*github.ArtifactList, *github.Response, error)
ListWorkflowRunArtifacts mocks base method.
func (*MockActionsService) ListWorkflowRunsByFileName ¶
func (m *MockActionsService) ListWorkflowRunsByFileName(ctx context.Context, owner, repo, workflowFileName string, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
ListWorkflowRunsByFileName mocks base method.
func (*MockActionsService) ListWorkflowRunsByID ¶
func (m *MockActionsService) ListWorkflowRunsByID(ctx context.Context, owner, repo string, workflowID int64, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
ListWorkflowRunsByID mocks base method.
func (*MockActionsService) ListWorkflows ¶
func (m *MockActionsService) ListWorkflows(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Workflows, *github.Response, error)
ListWorkflows mocks base method.
func (*MockActionsService) PendingDeployments ¶
func (m *MockActionsService) PendingDeployments(ctx context.Context, owner, repo string, runID int64, request *github.PendingDeploymentsRequest) ([]*github.Deployment, *github.Response, error)
PendingDeployments mocks base method.
func (*MockActionsService) RemoveEnabledRepoInOrg ¶
func (m *MockActionsService) RemoveEnabledRepoInOrg(ctx context.Context, owner string, repositoryID int64) (*github.Response, error)
RemoveEnabledRepoInOrg mocks base method.
func (*MockActionsService) RemoveOrganizationRunner ¶
func (m *MockActionsService) RemoveOrganizationRunner(ctx context.Context, owner string, runnerID int64) (*github.Response, error)
RemoveOrganizationRunner mocks base method.
func (*MockActionsService) RemoveRepositoryAccessRunnerGroup ¶
func (m *MockActionsService) RemoveRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID, repoID int64) (*github.Response, error)
RemoveRepositoryAccessRunnerGroup mocks base method.
func (*MockActionsService) RemoveRunner ¶
func (m *MockActionsService) RemoveRunner(ctx context.Context, owner, repo string, runnerID int64) (*github.Response, error)
RemoveRunner mocks base method.
func (*MockActionsService) RemoveRunnerGroupRunners ¶
func (m *MockActionsService) RemoveRunnerGroupRunners(ctx context.Context, org string, groupID, runnerID int64) (*github.Response, error)
RemoveRunnerGroupRunners mocks base method.
func (*MockActionsService) RemoveSelectedRepoFromOrgSecret ¶
func (m *MockActionsService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
RemoveSelectedRepoFromOrgSecret mocks base method.
func (*MockActionsService) RerunFailedJobsByID ¶
func (m *MockActionsService) RerunFailedJobsByID(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
RerunFailedJobsByID mocks base method.
func (*MockActionsService) RerunJobByID ¶
func (m *MockActionsService) RerunJobByID(ctx context.Context, owner, repo string, jobID int64) (*github.Response, error)
RerunJobByID mocks base method.
func (*MockActionsService) RerunWorkflowByID ¶
func (m *MockActionsService) RerunWorkflowByID(ctx context.Context, owner, repo string, runID int64) (*github.Response, error)
RerunWorkflowByID mocks base method.
func (*MockActionsService) SetEnabledReposInOrg ¶
func (m *MockActionsService) SetEnabledReposInOrg(ctx context.Context, owner string, repositoryIDs []int64) (*github.Response, error)
SetEnabledReposInOrg mocks base method.
func (*MockActionsService) SetRepositoryAccessRunnerGroup ¶
func (m *MockActionsService) SetRepositoryAccessRunnerGroup(ctx context.Context, org string, groupID int64, ids github.SetRepoAccessRunnerGroupRequest) (*github.Response, error)
SetRepositoryAccessRunnerGroup mocks base method.
func (*MockActionsService) SetRunnerGroupRunners ¶
func (m *MockActionsService) SetRunnerGroupRunners(ctx context.Context, org string, groupID int64, ids github.SetRunnerGroupRunnersRequest) (*github.Response, error)
SetRunnerGroupRunners mocks base method.
func (*MockActionsService) SetSelectedReposForOrgSecret ¶
func (m *MockActionsService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ids github.SelectedRepoIDs) (*github.Response, error)
SetSelectedReposForOrgSecret mocks base method.
func (*MockActionsService) UpdateOrganizationRunnerGroup ¶
func (m *MockActionsService) UpdateOrganizationRunnerGroup(ctx context.Context, org string, groupID int64, updateReq github.UpdateRunnerGroupRequest) (*github.RunnerGroup, *github.Response, error)
UpdateOrganizationRunnerGroup mocks base method.
type MockActionsServiceMockRecorder ¶
type MockActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockActionsServiceMockRecorder is the mock recorder for MockActionsService.
func (*MockActionsServiceMockRecorder) AddEnabledReposInOrg ¶
func (mr *MockActionsServiceMockRecorder) AddEnabledReposInOrg(ctx, owner, repositoryID interface{}) *gomock.Call
AddEnabledReposInOrg indicates an expected call of AddEnabledReposInOrg.
func (*MockActionsServiceMockRecorder) AddRepositoryAccessRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) AddRepositoryAccessRunnerGroup(ctx, org, groupID, repoID interface{}) *gomock.Call
AddRepositoryAccessRunnerGroup indicates an expected call of AddRepositoryAccessRunnerGroup.
func (*MockActionsServiceMockRecorder) AddRunnerGroupRunners ¶
func (mr *MockActionsServiceMockRecorder) AddRunnerGroupRunners(ctx, org, groupID, runnerID interface{}) *gomock.Call
AddRunnerGroupRunners indicates an expected call of AddRunnerGroupRunners.
func (*MockActionsServiceMockRecorder) AddSelectedRepoToOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) AddSelectedRepoToOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
AddSelectedRepoToOrgSecret indicates an expected call of AddSelectedRepoToOrgSecret.
func (*MockActionsServiceMockRecorder) CancelWorkflowRunByID ¶
func (mr *MockActionsServiceMockRecorder) CancelWorkflowRunByID(ctx, owner, repo, runID interface{}) *gomock.Call
CancelWorkflowRunByID indicates an expected call of CancelWorkflowRunByID.
func (*MockActionsServiceMockRecorder) CreateOrUpdateEnvSecret ¶
func (mr *MockActionsServiceMockRecorder) CreateOrUpdateEnvSecret(ctx, repoID, env, eSecret interface{}) *gomock.Call
CreateOrUpdateEnvSecret indicates an expected call of CreateOrUpdateEnvSecret.
func (*MockActionsServiceMockRecorder) CreateOrUpdateOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) CreateOrUpdateOrgSecret(ctx, org, eSecret interface{}) *gomock.Call
CreateOrUpdateOrgSecret indicates an expected call of CreateOrUpdateOrgSecret.
func (*MockActionsServiceMockRecorder) CreateOrUpdateRepoSecret ¶
func (mr *MockActionsServiceMockRecorder) CreateOrUpdateRepoSecret(ctx, owner, repo, eSecret interface{}) *gomock.Call
CreateOrUpdateRepoSecret indicates an expected call of CreateOrUpdateRepoSecret.
func (*MockActionsServiceMockRecorder) CreateOrganizationRegistrationToken ¶
func (mr *MockActionsServiceMockRecorder) CreateOrganizationRegistrationToken(ctx, owner interface{}) *gomock.Call
CreateOrganizationRegistrationToken indicates an expected call of CreateOrganizationRegistrationToken.
func (*MockActionsServiceMockRecorder) CreateOrganizationRemoveToken ¶
func (mr *MockActionsServiceMockRecorder) CreateOrganizationRemoveToken(ctx, owner interface{}) *gomock.Call
CreateOrganizationRemoveToken indicates an expected call of CreateOrganizationRemoveToken.
func (*MockActionsServiceMockRecorder) CreateOrganizationRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) CreateOrganizationRunnerGroup(ctx, org, createReq interface{}) *gomock.Call
CreateOrganizationRunnerGroup indicates an expected call of CreateOrganizationRunnerGroup.
func (*MockActionsServiceMockRecorder) CreateRegistrationToken ¶
func (mr *MockActionsServiceMockRecorder) CreateRegistrationToken(ctx, owner, repo interface{}) *gomock.Call
CreateRegistrationToken indicates an expected call of CreateRegistrationToken.
func (*MockActionsServiceMockRecorder) CreateRemoveToken ¶
func (mr *MockActionsServiceMockRecorder) CreateRemoveToken(ctx, owner, repo interface{}) *gomock.Call
CreateRemoveToken indicates an expected call of CreateRemoveToken.
func (*MockActionsServiceMockRecorder) CreateWorkflowDispatchEventByFileName ¶
func (mr *MockActionsServiceMockRecorder) CreateWorkflowDispatchEventByFileName(ctx, owner, repo, workflowFileName, event interface{}) *gomock.Call
CreateWorkflowDispatchEventByFileName indicates an expected call of CreateWorkflowDispatchEventByFileName.
func (*MockActionsServiceMockRecorder) CreateWorkflowDispatchEventByID ¶
func (mr *MockActionsServiceMockRecorder) CreateWorkflowDispatchEventByID(ctx, owner, repo, workflowID, event interface{}) *gomock.Call
CreateWorkflowDispatchEventByID indicates an expected call of CreateWorkflowDispatchEventByID.
func (*MockActionsServiceMockRecorder) DeleteArtifact ¶
func (mr *MockActionsServiceMockRecorder) DeleteArtifact(ctx, owner, repo, artifactID interface{}) *gomock.Call
DeleteArtifact indicates an expected call of DeleteArtifact.
func (*MockActionsServiceMockRecorder) DeleteEnvSecret ¶
func (mr *MockActionsServiceMockRecorder) DeleteEnvSecret(ctx, repoID, env, secretName interface{}) *gomock.Call
DeleteEnvSecret indicates an expected call of DeleteEnvSecret.
func (*MockActionsServiceMockRecorder) DeleteOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) DeleteOrgSecret(ctx, org, name interface{}) *gomock.Call
DeleteOrgSecret indicates an expected call of DeleteOrgSecret.
func (*MockActionsServiceMockRecorder) DeleteOrganizationRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) DeleteOrganizationRunnerGroup(ctx, org, groupID interface{}) *gomock.Call
DeleteOrganizationRunnerGroup indicates an expected call of DeleteOrganizationRunnerGroup.
func (*MockActionsServiceMockRecorder) DeleteRepoSecret ¶
func (mr *MockActionsServiceMockRecorder) DeleteRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
DeleteRepoSecret indicates an expected call of DeleteRepoSecret.
func (*MockActionsServiceMockRecorder) DeleteWorkflowRun ¶
func (mr *MockActionsServiceMockRecorder) DeleteWorkflowRun(ctx, owner, repo, runID interface{}) *gomock.Call
DeleteWorkflowRun indicates an expected call of DeleteWorkflowRun.
func (*MockActionsServiceMockRecorder) DeleteWorkflowRunLogs ¶
func (mr *MockActionsServiceMockRecorder) DeleteWorkflowRunLogs(ctx, owner, repo, runID interface{}) *gomock.Call
DeleteWorkflowRunLogs indicates an expected call of DeleteWorkflowRunLogs.
func (*MockActionsServiceMockRecorder) DisableWorkflowByFileName ¶
func (mr *MockActionsServiceMockRecorder) DisableWorkflowByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
DisableWorkflowByFileName indicates an expected call of DisableWorkflowByFileName.
func (*MockActionsServiceMockRecorder) DisableWorkflowByID ¶
func (mr *MockActionsServiceMockRecorder) DisableWorkflowByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
DisableWorkflowByID indicates an expected call of DisableWorkflowByID.
func (*MockActionsServiceMockRecorder) DownloadArtifact ¶
func (mr *MockActionsServiceMockRecorder) DownloadArtifact(ctx, owner, repo, artifactID, followRedirects interface{}) *gomock.Call
DownloadArtifact indicates an expected call of DownloadArtifact.
func (*MockActionsServiceMockRecorder) EnableWorkflowByFileName ¶
func (mr *MockActionsServiceMockRecorder) EnableWorkflowByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
EnableWorkflowByFileName indicates an expected call of EnableWorkflowByFileName.
func (*MockActionsServiceMockRecorder) EnableWorkflowByID ¶
func (mr *MockActionsServiceMockRecorder) EnableWorkflowByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
EnableWorkflowByID indicates an expected call of EnableWorkflowByID.
func (*MockActionsServiceMockRecorder) GetArtifact ¶
func (mr *MockActionsServiceMockRecorder) GetArtifact(ctx, owner, repo, artifactID interface{}) *gomock.Call
GetArtifact indicates an expected call of GetArtifact.
func (*MockActionsServiceMockRecorder) GetEnvPublicKey ¶
func (mr *MockActionsServiceMockRecorder) GetEnvPublicKey(ctx, repoID, env interface{}) *gomock.Call
GetEnvPublicKey indicates an expected call of GetEnvPublicKey.
func (*MockActionsServiceMockRecorder) GetEnvSecret ¶
func (mr *MockActionsServiceMockRecorder) GetEnvSecret(ctx, repoID, env, secretName interface{}) *gomock.Call
GetEnvSecret indicates an expected call of GetEnvSecret.
func (*MockActionsServiceMockRecorder) GetOrgPublicKey ¶
func (mr *MockActionsServiceMockRecorder) GetOrgPublicKey(ctx, org interface{}) *gomock.Call
GetOrgPublicKey indicates an expected call of GetOrgPublicKey.
func (*MockActionsServiceMockRecorder) GetOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) GetOrgSecret(ctx, org, name interface{}) *gomock.Call
GetOrgSecret indicates an expected call of GetOrgSecret.
func (*MockActionsServiceMockRecorder) GetOrganizationRunner ¶
func (mr *MockActionsServiceMockRecorder) GetOrganizationRunner(ctx, owner, runnerID interface{}) *gomock.Call
GetOrganizationRunner indicates an expected call of GetOrganizationRunner.
func (*MockActionsServiceMockRecorder) GetOrganizationRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) GetOrganizationRunnerGroup(ctx, org, groupID interface{}) *gomock.Call
GetOrganizationRunnerGroup indicates an expected call of GetOrganizationRunnerGroup.
func (*MockActionsServiceMockRecorder) GetRepoPublicKey ¶
func (mr *MockActionsServiceMockRecorder) GetRepoPublicKey(ctx, owner, repo interface{}) *gomock.Call
GetRepoPublicKey indicates an expected call of GetRepoPublicKey.
func (*MockActionsServiceMockRecorder) GetRepoSecret ¶
func (mr *MockActionsServiceMockRecorder) GetRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
GetRepoSecret indicates an expected call of GetRepoSecret.
func (*MockActionsServiceMockRecorder) GetRunner ¶
func (mr *MockActionsServiceMockRecorder) GetRunner(ctx, owner, repo, runnerID interface{}) *gomock.Call
GetRunner indicates an expected call of GetRunner.
func (*MockActionsServiceMockRecorder) GetWorkflowByFileName ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
GetWorkflowByFileName indicates an expected call of GetWorkflowByFileName.
func (*MockActionsServiceMockRecorder) GetWorkflowByID ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
GetWorkflowByID indicates an expected call of GetWorkflowByID.
func (*MockActionsServiceMockRecorder) GetWorkflowJobByID ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowJobByID(ctx, owner, repo, jobID interface{}) *gomock.Call
GetWorkflowJobByID indicates an expected call of GetWorkflowJobByID.
func (*MockActionsServiceMockRecorder) GetWorkflowJobLogs ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowJobLogs(ctx, owner, repo, jobID, followRedirects interface{}) *gomock.Call
GetWorkflowJobLogs indicates an expected call of GetWorkflowJobLogs.
func (*MockActionsServiceMockRecorder) GetWorkflowRunAttempt ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowRunAttempt(ctx, owner, repo, runID, attemptNumber, opts interface{}) *gomock.Call
GetWorkflowRunAttempt indicates an expected call of GetWorkflowRunAttempt.
func (*MockActionsServiceMockRecorder) GetWorkflowRunByID ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowRunByID(ctx, owner, repo, runID interface{}) *gomock.Call
GetWorkflowRunByID indicates an expected call of GetWorkflowRunByID.
func (*MockActionsServiceMockRecorder) GetWorkflowRunLogs ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowRunLogs(ctx, owner, repo, runID, followRedirects interface{}) *gomock.Call
GetWorkflowRunLogs indicates an expected call of GetWorkflowRunLogs.
func (*MockActionsServiceMockRecorder) GetWorkflowRunUsageByID ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowRunUsageByID(ctx, owner, repo, runID interface{}) *gomock.Call
GetWorkflowRunUsageByID indicates an expected call of GetWorkflowRunUsageByID.
func (*MockActionsServiceMockRecorder) GetWorkflowUsageByFileName ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowUsageByFileName(ctx, owner, repo, workflowFileName interface{}) *gomock.Call
GetWorkflowUsageByFileName indicates an expected call of GetWorkflowUsageByFileName.
func (*MockActionsServiceMockRecorder) GetWorkflowUsageByID ¶
func (mr *MockActionsServiceMockRecorder) GetWorkflowUsageByID(ctx, owner, repo, workflowID interface{}) *gomock.Call
GetWorkflowUsageByID indicates an expected call of GetWorkflowUsageByID.
func (*MockActionsServiceMockRecorder) ListArtifacts ¶
func (mr *MockActionsServiceMockRecorder) ListArtifacts(ctx, owner, repo, opts interface{}) *gomock.Call
ListArtifacts indicates an expected call of ListArtifacts.
func (*MockActionsServiceMockRecorder) ListEnabledReposInOrg ¶
func (mr *MockActionsServiceMockRecorder) ListEnabledReposInOrg(ctx, owner, opts interface{}) *gomock.Call
ListEnabledReposInOrg indicates an expected call of ListEnabledReposInOrg.
func (*MockActionsServiceMockRecorder) ListEnvSecrets ¶
func (mr *MockActionsServiceMockRecorder) ListEnvSecrets(ctx, repoID, env, opts interface{}) *gomock.Call
ListEnvSecrets indicates an expected call of ListEnvSecrets.
func (*MockActionsServiceMockRecorder) ListOrgSecrets ¶
func (mr *MockActionsServiceMockRecorder) ListOrgSecrets(ctx, org, opts interface{}) *gomock.Call
ListOrgSecrets indicates an expected call of ListOrgSecrets.
func (*MockActionsServiceMockRecorder) ListOrganizationRunnerApplicationDownloads ¶
func (mr *MockActionsServiceMockRecorder) ListOrganizationRunnerApplicationDownloads(ctx, owner interface{}) *gomock.Call
ListOrganizationRunnerApplicationDownloads indicates an expected call of ListOrganizationRunnerApplicationDownloads.
func (*MockActionsServiceMockRecorder) ListOrganizationRunnerGroups ¶
func (mr *MockActionsServiceMockRecorder) ListOrganizationRunnerGroups(ctx, org, opts interface{}) *gomock.Call
ListOrganizationRunnerGroups indicates an expected call of ListOrganizationRunnerGroups.
func (*MockActionsServiceMockRecorder) ListOrganizationRunners ¶
func (mr *MockActionsServiceMockRecorder) ListOrganizationRunners(ctx, owner, opts interface{}) *gomock.Call
ListOrganizationRunners indicates an expected call of ListOrganizationRunners.
func (*MockActionsServiceMockRecorder) ListRepoSecrets ¶
func (mr *MockActionsServiceMockRecorder) ListRepoSecrets(ctx, owner, repo, opts interface{}) *gomock.Call
ListRepoSecrets indicates an expected call of ListRepoSecrets.
func (*MockActionsServiceMockRecorder) ListRepositoryAccessRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) ListRepositoryAccessRunnerGroup(ctx, org, groupID, opts interface{}) *gomock.Call
ListRepositoryAccessRunnerGroup indicates an expected call of ListRepositoryAccessRunnerGroup.
func (*MockActionsServiceMockRecorder) ListRepositoryWorkflowRuns ¶
func (mr *MockActionsServiceMockRecorder) ListRepositoryWorkflowRuns(ctx, owner, repo, opts interface{}) *gomock.Call
ListRepositoryWorkflowRuns indicates an expected call of ListRepositoryWorkflowRuns.
func (*MockActionsServiceMockRecorder) ListRunnerApplicationDownloads ¶
func (mr *MockActionsServiceMockRecorder) ListRunnerApplicationDownloads(ctx, owner, repo interface{}) *gomock.Call
ListRunnerApplicationDownloads indicates an expected call of ListRunnerApplicationDownloads.
func (*MockActionsServiceMockRecorder) ListRunnerGroupRunners ¶
func (mr *MockActionsServiceMockRecorder) ListRunnerGroupRunners(ctx, org, groupID, opts interface{}) *gomock.Call
ListRunnerGroupRunners indicates an expected call of ListRunnerGroupRunners.
func (*MockActionsServiceMockRecorder) ListRunners ¶
func (mr *MockActionsServiceMockRecorder) ListRunners(ctx, owner, repo, opts interface{}) *gomock.Call
ListRunners indicates an expected call of ListRunners.
func (*MockActionsServiceMockRecorder) ListSelectedReposForOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) ListSelectedReposForOrgSecret(ctx, org, name, opts interface{}) *gomock.Call
ListSelectedReposForOrgSecret indicates an expected call of ListSelectedReposForOrgSecret.
func (*MockActionsServiceMockRecorder) ListWorkflowJobs ¶
func (mr *MockActionsServiceMockRecorder) ListWorkflowJobs(ctx, owner, repo, runID, opts interface{}) *gomock.Call
ListWorkflowJobs indicates an expected call of ListWorkflowJobs.
func (*MockActionsServiceMockRecorder) ListWorkflowRunArtifacts ¶
func (mr *MockActionsServiceMockRecorder) ListWorkflowRunArtifacts(ctx, owner, repo, runID, opts interface{}) *gomock.Call
ListWorkflowRunArtifacts indicates an expected call of ListWorkflowRunArtifacts.
func (*MockActionsServiceMockRecorder) ListWorkflowRunsByFileName ¶
func (mr *MockActionsServiceMockRecorder) ListWorkflowRunsByFileName(ctx, owner, repo, workflowFileName, opts interface{}) *gomock.Call
ListWorkflowRunsByFileName indicates an expected call of ListWorkflowRunsByFileName.
func (*MockActionsServiceMockRecorder) ListWorkflowRunsByID ¶
func (mr *MockActionsServiceMockRecorder) ListWorkflowRunsByID(ctx, owner, repo, workflowID, opts interface{}) *gomock.Call
ListWorkflowRunsByID indicates an expected call of ListWorkflowRunsByID.
func (*MockActionsServiceMockRecorder) ListWorkflows ¶
func (mr *MockActionsServiceMockRecorder) ListWorkflows(ctx, owner, repo, opts interface{}) *gomock.Call
ListWorkflows indicates an expected call of ListWorkflows.
func (*MockActionsServiceMockRecorder) PendingDeployments ¶
func (mr *MockActionsServiceMockRecorder) PendingDeployments(ctx, owner, repo, runID, request interface{}) *gomock.Call
PendingDeployments indicates an expected call of PendingDeployments.
func (*MockActionsServiceMockRecorder) RemoveEnabledRepoInOrg ¶
func (mr *MockActionsServiceMockRecorder) RemoveEnabledRepoInOrg(ctx, owner, repositoryID interface{}) *gomock.Call
RemoveEnabledRepoInOrg indicates an expected call of RemoveEnabledRepoInOrg.
func (*MockActionsServiceMockRecorder) RemoveOrganizationRunner ¶
func (mr *MockActionsServiceMockRecorder) RemoveOrganizationRunner(ctx, owner, runnerID interface{}) *gomock.Call
RemoveOrganizationRunner indicates an expected call of RemoveOrganizationRunner.
func (*MockActionsServiceMockRecorder) RemoveRepositoryAccessRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) RemoveRepositoryAccessRunnerGroup(ctx, org, groupID, repoID interface{}) *gomock.Call
RemoveRepositoryAccessRunnerGroup indicates an expected call of RemoveRepositoryAccessRunnerGroup.
func (*MockActionsServiceMockRecorder) RemoveRunner ¶
func (mr *MockActionsServiceMockRecorder) RemoveRunner(ctx, owner, repo, runnerID interface{}) *gomock.Call
RemoveRunner indicates an expected call of RemoveRunner.
func (*MockActionsServiceMockRecorder) RemoveRunnerGroupRunners ¶
func (mr *MockActionsServiceMockRecorder) RemoveRunnerGroupRunners(ctx, org, groupID, runnerID interface{}) *gomock.Call
RemoveRunnerGroupRunners indicates an expected call of RemoveRunnerGroupRunners.
func (*MockActionsServiceMockRecorder) RemoveSelectedRepoFromOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) RemoveSelectedRepoFromOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
RemoveSelectedRepoFromOrgSecret indicates an expected call of RemoveSelectedRepoFromOrgSecret.
func (*MockActionsServiceMockRecorder) RerunFailedJobsByID ¶
func (mr *MockActionsServiceMockRecorder) RerunFailedJobsByID(ctx, owner, repo, runID interface{}) *gomock.Call
RerunFailedJobsByID indicates an expected call of RerunFailedJobsByID.
func (*MockActionsServiceMockRecorder) RerunJobByID ¶
func (mr *MockActionsServiceMockRecorder) RerunJobByID(ctx, owner, repo, jobID interface{}) *gomock.Call
RerunJobByID indicates an expected call of RerunJobByID.
func (*MockActionsServiceMockRecorder) RerunWorkflowByID ¶
func (mr *MockActionsServiceMockRecorder) RerunWorkflowByID(ctx, owner, repo, runID interface{}) *gomock.Call
RerunWorkflowByID indicates an expected call of RerunWorkflowByID.
func (*MockActionsServiceMockRecorder) SetEnabledReposInOrg ¶
func (mr *MockActionsServiceMockRecorder) SetEnabledReposInOrg(ctx, owner, repositoryIDs interface{}) *gomock.Call
SetEnabledReposInOrg indicates an expected call of SetEnabledReposInOrg.
func (*MockActionsServiceMockRecorder) SetRepositoryAccessRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) SetRepositoryAccessRunnerGroup(ctx, org, groupID, ids interface{}) *gomock.Call
SetRepositoryAccessRunnerGroup indicates an expected call of SetRepositoryAccessRunnerGroup.
func (*MockActionsServiceMockRecorder) SetRunnerGroupRunners ¶
func (mr *MockActionsServiceMockRecorder) SetRunnerGroupRunners(ctx, org, groupID, ids interface{}) *gomock.Call
SetRunnerGroupRunners indicates an expected call of SetRunnerGroupRunners.
func (*MockActionsServiceMockRecorder) SetSelectedReposForOrgSecret ¶
func (mr *MockActionsServiceMockRecorder) SetSelectedReposForOrgSecret(ctx, org, name, ids interface{}) *gomock.Call
SetSelectedReposForOrgSecret indicates an expected call of SetSelectedReposForOrgSecret.
func (*MockActionsServiceMockRecorder) UpdateOrganizationRunnerGroup ¶
func (mr *MockActionsServiceMockRecorder) UpdateOrganizationRunnerGroup(ctx, org, groupID, updateReq interface{}) *gomock.Call
UpdateOrganizationRunnerGroup indicates an expected call of UpdateOrganizationRunnerGroup.
type MockActivityService ¶
type MockActivityService struct {
// contains filtered or unexported fields
}
MockActivityService is a mock of ActivityService interface.
func NewMockActivityService ¶
func NewMockActivityService(ctrl *gomock.Controller) *MockActivityService
NewMockActivityService creates a new mock instance.
func (*MockActivityService) DeleteRepositorySubscription ¶
func (m *MockActivityService) DeleteRepositorySubscription(ctx context.Context, owner, repo string) (*github.Response, error)
DeleteRepositorySubscription mocks base method.
func (*MockActivityService) DeleteThreadSubscription ¶
func (m *MockActivityService) DeleteThreadSubscription(ctx context.Context, id string) (*github.Response, error)
DeleteThreadSubscription mocks base method.
func (*MockActivityService) EXPECT ¶
func (m *MockActivityService) EXPECT() *MockActivityServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActivityService) GetRepositorySubscription ¶
func (m *MockActivityService) GetRepositorySubscription(ctx context.Context, owner, repo string) (*github.Subscription, *github.Response, error)
GetRepositorySubscription mocks base method.
func (*MockActivityService) GetThread ¶
func (m *MockActivityService) GetThread(ctx context.Context, id string) (*github.Notification, *github.Response, error)
GetThread mocks base method.
func (*MockActivityService) GetThreadSubscription ¶
func (m *MockActivityService) GetThreadSubscription(ctx context.Context, id string) (*github.Subscription, *github.Response, error)
GetThreadSubscription mocks base method.
func (*MockActivityService) IsStarred ¶
func (m *MockActivityService) IsStarred(ctx context.Context, owner, repo string) (bool, *github.Response, error)
IsStarred mocks base method.
func (*MockActivityService) ListEvents ¶
func (m *MockActivityService) ListEvents(ctx context.Context, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListEvents mocks base method.
func (*MockActivityService) ListEventsForOrganization ¶
func (m *MockActivityService) ListEventsForOrganization(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListEventsForOrganization mocks base method.
func (*MockActivityService) ListEventsForRepoNetwork ¶
func (m *MockActivityService) ListEventsForRepoNetwork(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListEventsForRepoNetwork mocks base method.
func (*MockActivityService) ListEventsPerformedByUser ¶
func (m *MockActivityService) ListEventsPerformedByUser(ctx context.Context, user string, publicOnly bool, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListEventsPerformedByUser mocks base method.
func (*MockActivityService) ListEventsReceivedByUser ¶
func (m *MockActivityService) ListEventsReceivedByUser(ctx context.Context, user string, publicOnly bool, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListEventsReceivedByUser mocks base method.
func (*MockActivityService) ListFeeds ¶
func (m *MockActivityService) ListFeeds(ctx context.Context) (*github.Feeds, *github.Response, error)
ListFeeds mocks base method.
func (*MockActivityService) ListIssueEventsForRepository ¶
func (m *MockActivityService) ListIssueEventsForRepository(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
ListIssueEventsForRepository mocks base method.
func (*MockActivityService) ListNotifications ¶
func (m *MockActivityService) ListNotifications(ctx context.Context, opts *github.NotificationListOptions) ([]*github.Notification, *github.Response, error)
ListNotifications mocks base method.
func (*MockActivityService) ListRepositoryEvents ¶
func (m *MockActivityService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListRepositoryEvents mocks base method.
func (*MockActivityService) ListRepositoryNotifications ¶
func (m *MockActivityService) ListRepositoryNotifications(ctx context.Context, owner, repo string, opts *github.NotificationListOptions) ([]*github.Notification, *github.Response, error)
ListRepositoryNotifications mocks base method.
func (*MockActivityService) ListStargazers ¶
func (m *MockActivityService) ListStargazers(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Stargazer, *github.Response, error)
ListStargazers mocks base method.
func (*MockActivityService) ListStarred ¶
func (m *MockActivityService) ListStarred(ctx context.Context, user string, opts *github.ActivityListStarredOptions) ([]*github.StarredRepository, *github.Response, error)
ListStarred mocks base method.
func (*MockActivityService) ListUserEventsForOrganization ¶
func (m *MockActivityService) ListUserEventsForOrganization(ctx context.Context, org, user string, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ListUserEventsForOrganization mocks base method.
func (*MockActivityService) ListWatched ¶
func (m *MockActivityService) ListWatched(ctx context.Context, user string, opts *github.ListOptions) ([]*github.Repository, *github.Response, error)
ListWatched mocks base method.
func (*MockActivityService) ListWatchers ¶
func (m *MockActivityService) ListWatchers(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ListWatchers mocks base method.
func (*MockActivityService) MarkNotificationsRead ¶
func (m *MockActivityService) MarkNotificationsRead(ctx context.Context, lastRead time.Time) (*github.Response, error)
MarkNotificationsRead mocks base method.
func (*MockActivityService) MarkRepositoryNotificationsRead ¶
func (m *MockActivityService) MarkRepositoryNotificationsRead(ctx context.Context, owner, repo string, lastRead time.Time) (*github.Response, error)
MarkRepositoryNotificationsRead mocks base method.
func (*MockActivityService) MarkThreadRead ¶
func (m *MockActivityService) MarkThreadRead(ctx context.Context, id string) (*github.Response, error)
MarkThreadRead mocks base method.
func (*MockActivityService) SetRepositorySubscription ¶
func (m *MockActivityService) SetRepositorySubscription(ctx context.Context, owner, repo string, subscription *github.Subscription) (*github.Subscription, *github.Response, error)
SetRepositorySubscription mocks base method.
func (*MockActivityService) SetThreadSubscription ¶
func (m *MockActivityService) SetThreadSubscription(ctx context.Context, id string, subscription *github.Subscription) (*github.Subscription, *github.Response, error)
SetThreadSubscription mocks base method.
type MockActivityServiceMockRecorder ¶
type MockActivityServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockActivityServiceMockRecorder is the mock recorder for MockActivityService.
func (*MockActivityServiceMockRecorder) DeleteRepositorySubscription ¶
func (mr *MockActivityServiceMockRecorder) DeleteRepositorySubscription(ctx, owner, repo interface{}) *gomock.Call
DeleteRepositorySubscription indicates an expected call of DeleteRepositorySubscription.
func (*MockActivityServiceMockRecorder) DeleteThreadSubscription ¶
func (mr *MockActivityServiceMockRecorder) DeleteThreadSubscription(ctx, id interface{}) *gomock.Call
DeleteThreadSubscription indicates an expected call of DeleteThreadSubscription.
func (*MockActivityServiceMockRecorder) GetRepositorySubscription ¶
func (mr *MockActivityServiceMockRecorder) GetRepositorySubscription(ctx, owner, repo interface{}) *gomock.Call
GetRepositorySubscription indicates an expected call of GetRepositorySubscription.
func (*MockActivityServiceMockRecorder) GetThread ¶
func (mr *MockActivityServiceMockRecorder) GetThread(ctx, id interface{}) *gomock.Call
GetThread indicates an expected call of GetThread.
func (*MockActivityServiceMockRecorder) GetThreadSubscription ¶
func (mr *MockActivityServiceMockRecorder) GetThreadSubscription(ctx, id interface{}) *gomock.Call
GetThreadSubscription indicates an expected call of GetThreadSubscription.
func (*MockActivityServiceMockRecorder) IsStarred ¶
func (mr *MockActivityServiceMockRecorder) IsStarred(ctx, owner, repo interface{}) *gomock.Call
IsStarred indicates an expected call of IsStarred.
func (*MockActivityServiceMockRecorder) ListEvents ¶
func (mr *MockActivityServiceMockRecorder) ListEvents(ctx, opts interface{}) *gomock.Call
ListEvents indicates an expected call of ListEvents.
func (*MockActivityServiceMockRecorder) ListEventsForOrganization ¶
func (mr *MockActivityServiceMockRecorder) ListEventsForOrganization(ctx, org, opts interface{}) *gomock.Call
ListEventsForOrganization indicates an expected call of ListEventsForOrganization.
func (*MockActivityServiceMockRecorder) ListEventsForRepoNetwork ¶
func (mr *MockActivityServiceMockRecorder) ListEventsForRepoNetwork(ctx, owner, repo, opts interface{}) *gomock.Call
ListEventsForRepoNetwork indicates an expected call of ListEventsForRepoNetwork.
func (*MockActivityServiceMockRecorder) ListEventsPerformedByUser ¶
func (mr *MockActivityServiceMockRecorder) ListEventsPerformedByUser(ctx, user, publicOnly, opts interface{}) *gomock.Call
ListEventsPerformedByUser indicates an expected call of ListEventsPerformedByUser.
func (*MockActivityServiceMockRecorder) ListEventsReceivedByUser ¶
func (mr *MockActivityServiceMockRecorder) ListEventsReceivedByUser(ctx, user, publicOnly, opts interface{}) *gomock.Call
ListEventsReceivedByUser indicates an expected call of ListEventsReceivedByUser.
func (*MockActivityServiceMockRecorder) ListFeeds ¶
func (mr *MockActivityServiceMockRecorder) ListFeeds(ctx interface{}) *gomock.Call
ListFeeds indicates an expected call of ListFeeds.
func (*MockActivityServiceMockRecorder) ListIssueEventsForRepository ¶
func (mr *MockActivityServiceMockRecorder) ListIssueEventsForRepository(ctx, owner, repo, opts interface{}) *gomock.Call
ListIssueEventsForRepository indicates an expected call of ListIssueEventsForRepository.
func (*MockActivityServiceMockRecorder) ListNotifications ¶
func (mr *MockActivityServiceMockRecorder) ListNotifications(ctx, opts interface{}) *gomock.Call
ListNotifications indicates an expected call of ListNotifications.
func (*MockActivityServiceMockRecorder) ListRepositoryEvents ¶
func (mr *MockActivityServiceMockRecorder) ListRepositoryEvents(ctx, owner, repo, opts interface{}) *gomock.Call
ListRepositoryEvents indicates an expected call of ListRepositoryEvents.
func (*MockActivityServiceMockRecorder) ListRepositoryNotifications ¶
func (mr *MockActivityServiceMockRecorder) ListRepositoryNotifications(ctx, owner, repo, opts interface{}) *gomock.Call
ListRepositoryNotifications indicates an expected call of ListRepositoryNotifications.
func (*MockActivityServiceMockRecorder) ListStargazers ¶
func (mr *MockActivityServiceMockRecorder) ListStargazers(ctx, owner, repo, opts interface{}) *gomock.Call
ListStargazers indicates an expected call of ListStargazers.
func (*MockActivityServiceMockRecorder) ListStarred ¶
func (mr *MockActivityServiceMockRecorder) ListStarred(ctx, user, opts interface{}) *gomock.Call
ListStarred indicates an expected call of ListStarred.
func (*MockActivityServiceMockRecorder) ListUserEventsForOrganization ¶
func (mr *MockActivityServiceMockRecorder) ListUserEventsForOrganization(ctx, org, user, opts interface{}) *gomock.Call
ListUserEventsForOrganization indicates an expected call of ListUserEventsForOrganization.
func (*MockActivityServiceMockRecorder) ListWatched ¶
func (mr *MockActivityServiceMockRecorder) ListWatched(ctx, user, opts interface{}) *gomock.Call
ListWatched indicates an expected call of ListWatched.
func (*MockActivityServiceMockRecorder) ListWatchers ¶
func (mr *MockActivityServiceMockRecorder) ListWatchers(ctx, owner, repo, opts interface{}) *gomock.Call
ListWatchers indicates an expected call of ListWatchers.
func (*MockActivityServiceMockRecorder) MarkNotificationsRead ¶
func (mr *MockActivityServiceMockRecorder) MarkNotificationsRead(ctx, lastRead interface{}) *gomock.Call
MarkNotificationsRead indicates an expected call of MarkNotificationsRead.
func (*MockActivityServiceMockRecorder) MarkRepositoryNotificationsRead ¶
func (mr *MockActivityServiceMockRecorder) MarkRepositoryNotificationsRead(ctx, owner, repo, lastRead interface{}) *gomock.Call
MarkRepositoryNotificationsRead indicates an expected call of MarkRepositoryNotificationsRead.
func (*MockActivityServiceMockRecorder) MarkThreadRead ¶
func (mr *MockActivityServiceMockRecorder) MarkThreadRead(ctx, id interface{}) *gomock.Call
MarkThreadRead indicates an expected call of MarkThreadRead.
func (*MockActivityServiceMockRecorder) SetRepositorySubscription ¶
func (mr *MockActivityServiceMockRecorder) SetRepositorySubscription(ctx, owner, repo, subscription interface{}) *gomock.Call
SetRepositorySubscription indicates an expected call of SetRepositorySubscription.
func (*MockActivityServiceMockRecorder) SetThreadSubscription ¶
func (mr *MockActivityServiceMockRecorder) SetThreadSubscription(ctx, id, subscription interface{}) *gomock.Call
SetThreadSubscription indicates an expected call of SetThreadSubscription.
func (*MockActivityServiceMockRecorder) Star ¶
func (mr *MockActivityServiceMockRecorder) Star(ctx, owner, repo interface{}) *gomock.Call
Star indicates an expected call of Star.
func (*MockActivityServiceMockRecorder) Unstar ¶
func (mr *MockActivityServiceMockRecorder) Unstar(ctx, owner, repo interface{}) *gomock.Call
Unstar indicates an expected call of Unstar.
type MockAdminService ¶
type MockAdminService struct {
// contains filtered or unexported fields
}
MockAdminService is a mock of AdminService interface.
func NewMockAdminService ¶
func NewMockAdminService(ctrl *gomock.Controller) *MockAdminService
NewMockAdminService creates a new mock instance.
func (*MockAdminService) CreateOrg ¶
func (m *MockAdminService) CreateOrg(ctx context.Context, org *github.Organization, admin string) (*github.Organization, *github.Response, error)
CreateOrg mocks base method.
func (*MockAdminService) CreateUser ¶
func (m *MockAdminService) CreateUser(ctx context.Context, login, email string) (*github.User, *github.Response, error)
CreateUser mocks base method.
func (*MockAdminService) CreateUserImpersonation ¶
func (m *MockAdminService) CreateUserImpersonation(ctx context.Context, username string, opts *github.ImpersonateUserOptions) (*github.UserAuthorization, *github.Response, error)
CreateUserImpersonation mocks base method.
func (*MockAdminService) DeleteUser ¶
func (m *MockAdminService) DeleteUser(ctx context.Context, username string) (*github.Response, error)
DeleteUser mocks base method.
func (*MockAdminService) DeleteUserImpersonation ¶
func (m *MockAdminService) DeleteUserImpersonation(ctx context.Context, username string) (*github.Response, error)
DeleteUserImpersonation mocks base method.
func (*MockAdminService) EXPECT ¶
func (m *MockAdminService) EXPECT() *MockAdminServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdminService) GetAdminStats ¶
func (m *MockAdminService) GetAdminStats(ctx context.Context) (*github.AdminStats, *github.Response, error)
GetAdminStats mocks base method.
func (*MockAdminService) RenameOrg ¶
func (m *MockAdminService) RenameOrg(ctx context.Context, org *github.Organization, newName string) (*github.RenameOrgResponse, *github.Response, error)
RenameOrg mocks base method.
func (*MockAdminService) RenameOrgByName ¶
func (m *MockAdminService) RenameOrgByName(ctx context.Context, org, newName string) (*github.RenameOrgResponse, *github.Response, error)
RenameOrgByName mocks base method.
func (*MockAdminService) UpdateTeamLDAPMapping ¶
func (m *MockAdminService) UpdateTeamLDAPMapping(ctx context.Context, team int64, mapping *github.TeamLDAPMapping) (*github.TeamLDAPMapping, *github.Response, error)
UpdateTeamLDAPMapping mocks base method.
func (*MockAdminService) UpdateUserLDAPMapping ¶
func (m *MockAdminService) UpdateUserLDAPMapping(ctx context.Context, user string, mapping *github.UserLDAPMapping) (*github.UserLDAPMapping, *github.Response, error)
UpdateUserLDAPMapping mocks base method.
type MockAdminServiceMockRecorder ¶
type MockAdminServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAdminServiceMockRecorder is the mock recorder for MockAdminService.
func (*MockAdminServiceMockRecorder) CreateOrg ¶
func (mr *MockAdminServiceMockRecorder) CreateOrg(ctx, org, admin interface{}) *gomock.Call
CreateOrg indicates an expected call of CreateOrg.
func (*MockAdminServiceMockRecorder) CreateUser ¶
func (mr *MockAdminServiceMockRecorder) CreateUser(ctx, login, email interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockAdminServiceMockRecorder) CreateUserImpersonation ¶
func (mr *MockAdminServiceMockRecorder) CreateUserImpersonation(ctx, username, opts interface{}) *gomock.Call
CreateUserImpersonation indicates an expected call of CreateUserImpersonation.
func (*MockAdminServiceMockRecorder) DeleteUser ¶
func (mr *MockAdminServiceMockRecorder) DeleteUser(ctx, username interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockAdminServiceMockRecorder) DeleteUserImpersonation ¶
func (mr *MockAdminServiceMockRecorder) DeleteUserImpersonation(ctx, username interface{}) *gomock.Call
DeleteUserImpersonation indicates an expected call of DeleteUserImpersonation.
func (*MockAdminServiceMockRecorder) GetAdminStats ¶
func (mr *MockAdminServiceMockRecorder) GetAdminStats(ctx interface{}) *gomock.Call
GetAdminStats indicates an expected call of GetAdminStats.
func (*MockAdminServiceMockRecorder) RenameOrg ¶
func (mr *MockAdminServiceMockRecorder) RenameOrg(ctx, org, newName interface{}) *gomock.Call
RenameOrg indicates an expected call of RenameOrg.
func (*MockAdminServiceMockRecorder) RenameOrgByName ¶
func (mr *MockAdminServiceMockRecorder) RenameOrgByName(ctx, org, newName interface{}) *gomock.Call
RenameOrgByName indicates an expected call of RenameOrgByName.
func (*MockAdminServiceMockRecorder) UpdateTeamLDAPMapping ¶
func (mr *MockAdminServiceMockRecorder) UpdateTeamLDAPMapping(ctx, team, mapping interface{}) *gomock.Call
UpdateTeamLDAPMapping indicates an expected call of UpdateTeamLDAPMapping.
func (*MockAdminServiceMockRecorder) UpdateUserLDAPMapping ¶
func (mr *MockAdminServiceMockRecorder) UpdateUserLDAPMapping(ctx, user, mapping interface{}) *gomock.Call
UpdateUserLDAPMapping indicates an expected call of UpdateUserLDAPMapping.
type MockAppsService ¶
type MockAppsService struct {
// contains filtered or unexported fields
}
MockAppsService is a mock of AppsService interface.
func NewMockAppsService ¶
func NewMockAppsService(ctrl *gomock.Controller) *MockAppsService
NewMockAppsService creates a new mock instance.
func (*MockAppsService) AddRepository ¶
func (m *MockAppsService) AddRepository(ctx context.Context, instID, repoID int64) (*github.Repository, *github.Response, error)
AddRepository mocks base method.
func (*MockAppsService) CompleteAppManifest ¶
func (m *MockAppsService) CompleteAppManifest(ctx context.Context, code string) (*github.AppConfig, *github.Response, error)
CompleteAppManifest mocks base method.
func (*MockAppsService) CreateAttachment ¶
func (m *MockAppsService) CreateAttachment(ctx context.Context, contentReferenceID int64, title, body string) (*github.Attachment, *github.Response, error)
CreateAttachment mocks base method.
func (*MockAppsService) CreateInstallationToken ¶
func (m *MockAppsService) CreateInstallationToken(ctx context.Context, id int64, opts *github.InstallationTokenOptions) (*github.InstallationToken, *github.Response, error)
CreateInstallationToken mocks base method.
func (*MockAppsService) DeleteInstallation ¶
func (m *MockAppsService) DeleteInstallation(ctx context.Context, id int64) (*github.Response, error)
DeleteInstallation mocks base method.
func (*MockAppsService) EXPECT ¶
func (m *MockAppsService) EXPECT() *MockAppsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppsService) FindOrganizationInstallation ¶
func (m *MockAppsService) FindOrganizationInstallation(ctx context.Context, org string) (*github.Installation, *github.Response, error)
FindOrganizationInstallation mocks base method.
func (*MockAppsService) FindRepositoryInstallation ¶
func (m *MockAppsService) FindRepositoryInstallation(ctx context.Context, owner, repo string) (*github.Installation, *github.Response, error)
FindRepositoryInstallation mocks base method.
func (*MockAppsService) FindRepositoryInstallationByID ¶
func (m *MockAppsService) FindRepositoryInstallationByID(ctx context.Context, id int64) (*github.Installation, *github.Response, error)
FindRepositoryInstallationByID mocks base method.
func (*MockAppsService) FindUserInstallation ¶
func (m *MockAppsService) FindUserInstallation(ctx context.Context, user string) (*github.Installation, *github.Response, error)
FindUserInstallation mocks base method.
func (*MockAppsService) Get ¶
func (m *MockAppsService) Get(ctx context.Context, appSlug string) (*github.App, *github.Response, error)
Get mocks base method.
func (*MockAppsService) GetHookConfig ¶
func (m *MockAppsService) GetHookConfig(ctx context.Context) (*github.HookConfig, *github.Response, error)
GetHookConfig mocks base method.
func (*MockAppsService) GetHookDelivery ¶
func (m *MockAppsService) GetHookDelivery(ctx context.Context, deliveryID int64) (*github.HookDelivery, *github.Response, error)
GetHookDelivery mocks base method.
func (*MockAppsService) GetInstallation ¶
func (m *MockAppsService) GetInstallation(ctx context.Context, id int64) (*github.Installation, *github.Response, error)
GetInstallation mocks base method.
func (*MockAppsService) ListHookDeliveries ¶
func (m *MockAppsService) ListHookDeliveries(ctx context.Context, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
ListHookDeliveries mocks base method.
func (*MockAppsService) ListInstallations ¶
func (m *MockAppsService) ListInstallations(ctx context.Context, opts *github.ListOptions) ([]*github.Installation, *github.Response, error)
ListInstallations mocks base method.
func (*MockAppsService) ListRepos ¶
func (m *MockAppsService) ListRepos(ctx context.Context, opts *github.ListOptions) (*github.ListRepositories, *github.Response, error)
ListRepos mocks base method.
func (*MockAppsService) ListUserInstallations ¶
func (m *MockAppsService) ListUserInstallations(ctx context.Context, opts *github.ListOptions) ([]*github.Installation, *github.Response, error)
ListUserInstallations mocks base method.
func (*MockAppsService) ListUserRepos ¶
func (m *MockAppsService) ListUserRepos(ctx context.Context, id int64, opts *github.ListOptions) (*github.ListRepositories, *github.Response, error)
ListUserRepos mocks base method.
func (*MockAppsService) RedeliverHookDelivery ¶
func (m *MockAppsService) RedeliverHookDelivery(ctx context.Context, deliveryID int64) (*github.HookDelivery, *github.Response, error)
RedeliverHookDelivery mocks base method.
func (*MockAppsService) RemoveRepository ¶
func (m *MockAppsService) RemoveRepository(ctx context.Context, instID, repoID int64) (*github.Response, error)
RemoveRepository mocks base method.
func (*MockAppsService) RevokeInstallationToken ¶
RevokeInstallationToken mocks base method.
func (*MockAppsService) SuspendInstallation ¶
func (m *MockAppsService) SuspendInstallation(ctx context.Context, id int64) (*github.Response, error)
SuspendInstallation mocks base method.
func (*MockAppsService) UnsuspendInstallation ¶
func (m *MockAppsService) UnsuspendInstallation(ctx context.Context, id int64) (*github.Response, error)
UnsuspendInstallation mocks base method.
func (*MockAppsService) UpdateHookConfig ¶
func (m *MockAppsService) UpdateHookConfig(ctx context.Context, config *github.HookConfig) (*github.HookConfig, *github.Response, error)
UpdateHookConfig mocks base method.
type MockAppsServiceMockRecorder ¶
type MockAppsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAppsServiceMockRecorder is the mock recorder for MockAppsService.
func (*MockAppsServiceMockRecorder) AddRepository ¶
func (mr *MockAppsServiceMockRecorder) AddRepository(ctx, instID, repoID interface{}) *gomock.Call
AddRepository indicates an expected call of AddRepository.
func (*MockAppsServiceMockRecorder) CompleteAppManifest ¶
func (mr *MockAppsServiceMockRecorder) CompleteAppManifest(ctx, code interface{}) *gomock.Call
CompleteAppManifest indicates an expected call of CompleteAppManifest.
func (*MockAppsServiceMockRecorder) CreateAttachment ¶
func (mr *MockAppsServiceMockRecorder) CreateAttachment(ctx, contentReferenceID, title, body interface{}) *gomock.Call
CreateAttachment indicates an expected call of CreateAttachment.
func (*MockAppsServiceMockRecorder) CreateInstallationToken ¶
func (mr *MockAppsServiceMockRecorder) CreateInstallationToken(ctx, id, opts interface{}) *gomock.Call
CreateInstallationToken indicates an expected call of CreateInstallationToken.
func (*MockAppsServiceMockRecorder) DeleteInstallation ¶
func (mr *MockAppsServiceMockRecorder) DeleteInstallation(ctx, id interface{}) *gomock.Call
DeleteInstallation indicates an expected call of DeleteInstallation.
func (*MockAppsServiceMockRecorder) FindOrganizationInstallation ¶
func (mr *MockAppsServiceMockRecorder) FindOrganizationInstallation(ctx, org interface{}) *gomock.Call
FindOrganizationInstallation indicates an expected call of FindOrganizationInstallation.
func (*MockAppsServiceMockRecorder) FindRepositoryInstallation ¶
func (mr *MockAppsServiceMockRecorder) FindRepositoryInstallation(ctx, owner, repo interface{}) *gomock.Call
FindRepositoryInstallation indicates an expected call of FindRepositoryInstallation.
func (*MockAppsServiceMockRecorder) FindRepositoryInstallationByID ¶
func (mr *MockAppsServiceMockRecorder) FindRepositoryInstallationByID(ctx, id interface{}) *gomock.Call
FindRepositoryInstallationByID indicates an expected call of FindRepositoryInstallationByID.
func (*MockAppsServiceMockRecorder) FindUserInstallation ¶
func (mr *MockAppsServiceMockRecorder) FindUserInstallation(ctx, user interface{}) *gomock.Call
FindUserInstallation indicates an expected call of FindUserInstallation.
func (*MockAppsServiceMockRecorder) Get ¶
func (mr *MockAppsServiceMockRecorder) Get(ctx, appSlug interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAppsServiceMockRecorder) GetHookConfig ¶
func (mr *MockAppsServiceMockRecorder) GetHookConfig(ctx interface{}) *gomock.Call
GetHookConfig indicates an expected call of GetHookConfig.
func (*MockAppsServiceMockRecorder) GetHookDelivery ¶
func (mr *MockAppsServiceMockRecorder) GetHookDelivery(ctx, deliveryID interface{}) *gomock.Call
GetHookDelivery indicates an expected call of GetHookDelivery.
func (*MockAppsServiceMockRecorder) GetInstallation ¶
func (mr *MockAppsServiceMockRecorder) GetInstallation(ctx, id interface{}) *gomock.Call
GetInstallation indicates an expected call of GetInstallation.
func (*MockAppsServiceMockRecorder) ListHookDeliveries ¶
func (mr *MockAppsServiceMockRecorder) ListHookDeliveries(ctx, opts interface{}) *gomock.Call
ListHookDeliveries indicates an expected call of ListHookDeliveries.
func (*MockAppsServiceMockRecorder) ListInstallations ¶
func (mr *MockAppsServiceMockRecorder) ListInstallations(ctx, opts interface{}) *gomock.Call
ListInstallations indicates an expected call of ListInstallations.
func (*MockAppsServiceMockRecorder) ListRepos ¶
func (mr *MockAppsServiceMockRecorder) ListRepos(ctx, opts interface{}) *gomock.Call
ListRepos indicates an expected call of ListRepos.
func (*MockAppsServiceMockRecorder) ListUserInstallations ¶
func (mr *MockAppsServiceMockRecorder) ListUserInstallations(ctx, opts interface{}) *gomock.Call
ListUserInstallations indicates an expected call of ListUserInstallations.
func (*MockAppsServiceMockRecorder) ListUserRepos ¶
func (mr *MockAppsServiceMockRecorder) ListUserRepos(ctx, id, opts interface{}) *gomock.Call
ListUserRepos indicates an expected call of ListUserRepos.
func (*MockAppsServiceMockRecorder) RedeliverHookDelivery ¶
func (mr *MockAppsServiceMockRecorder) RedeliverHookDelivery(ctx, deliveryID interface{}) *gomock.Call
RedeliverHookDelivery indicates an expected call of RedeliverHookDelivery.
func (*MockAppsServiceMockRecorder) RemoveRepository ¶
func (mr *MockAppsServiceMockRecorder) RemoveRepository(ctx, instID, repoID interface{}) *gomock.Call
RemoveRepository indicates an expected call of RemoveRepository.
func (*MockAppsServiceMockRecorder) RevokeInstallationToken ¶
func (mr *MockAppsServiceMockRecorder) RevokeInstallationToken(ctx interface{}) *gomock.Call
RevokeInstallationToken indicates an expected call of RevokeInstallationToken.
func (*MockAppsServiceMockRecorder) SuspendInstallation ¶
func (mr *MockAppsServiceMockRecorder) SuspendInstallation(ctx, id interface{}) *gomock.Call
SuspendInstallation indicates an expected call of SuspendInstallation.
func (*MockAppsServiceMockRecorder) UnsuspendInstallation ¶
func (mr *MockAppsServiceMockRecorder) UnsuspendInstallation(ctx, id interface{}) *gomock.Call
UnsuspendInstallation indicates an expected call of UnsuspendInstallation.
func (*MockAppsServiceMockRecorder) UpdateHookConfig ¶
func (mr *MockAppsServiceMockRecorder) UpdateHookConfig(ctx, config interface{}) *gomock.Call
UpdateHookConfig indicates an expected call of UpdateHookConfig.
type MockAuthorizationsService ¶
type MockAuthorizationsService struct {
// contains filtered or unexported fields
}
MockAuthorizationsService is a mock of AuthorizationsService interface.
func NewMockAuthorizationsService ¶
func NewMockAuthorizationsService(ctrl *gomock.Controller) *MockAuthorizationsService
NewMockAuthorizationsService creates a new mock instance.
func (*MockAuthorizationsService) Check ¶
func (m *MockAuthorizationsService) Check(ctx context.Context, clientID, accessToken string) (*github.Authorization, *github.Response, error)
Check mocks base method.
func (*MockAuthorizationsService) CreateImpersonation ¶
func (m *MockAuthorizationsService) CreateImpersonation(ctx context.Context, username string, authReq *github.AuthorizationRequest) (*github.Authorization, *github.Response, error)
CreateImpersonation mocks base method.
func (*MockAuthorizationsService) DeleteGrant ¶
func (m *MockAuthorizationsService) DeleteGrant(ctx context.Context, clientID, accessToken string) (*github.Response, error)
DeleteGrant mocks base method.
func (*MockAuthorizationsService) DeleteImpersonation ¶
func (m *MockAuthorizationsService) DeleteImpersonation(ctx context.Context, username string) (*github.Response, error)
DeleteImpersonation mocks base method.
func (*MockAuthorizationsService) EXPECT ¶
func (m *MockAuthorizationsService) EXPECT() *MockAuthorizationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthorizationsServiceMockRecorder ¶
type MockAuthorizationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationsServiceMockRecorder is the mock recorder for MockAuthorizationsService.
func (*MockAuthorizationsServiceMockRecorder) Check ¶
func (mr *MockAuthorizationsServiceMockRecorder) Check(ctx, clientID, accessToken interface{}) *gomock.Call
Check indicates an expected call of Check.
func (*MockAuthorizationsServiceMockRecorder) CreateImpersonation ¶
func (mr *MockAuthorizationsServiceMockRecorder) CreateImpersonation(ctx, username, authReq interface{}) *gomock.Call
CreateImpersonation indicates an expected call of CreateImpersonation.
func (*MockAuthorizationsServiceMockRecorder) DeleteGrant ¶
func (mr *MockAuthorizationsServiceMockRecorder) DeleteGrant(ctx, clientID, accessToken interface{}) *gomock.Call
DeleteGrant indicates an expected call of DeleteGrant.
func (*MockAuthorizationsServiceMockRecorder) DeleteImpersonation ¶
func (mr *MockAuthorizationsServiceMockRecorder) DeleteImpersonation(ctx, username interface{}) *gomock.Call
DeleteImpersonation indicates an expected call of DeleteImpersonation.
func (*MockAuthorizationsServiceMockRecorder) Reset ¶
func (mr *MockAuthorizationsServiceMockRecorder) Reset(ctx, clientID, accessToken interface{}) *gomock.Call
Reset indicates an expected call of Reset.
func (*MockAuthorizationsServiceMockRecorder) Revoke ¶
func (mr *MockAuthorizationsServiceMockRecorder) Revoke(ctx, clientID, accessToken interface{}) *gomock.Call
Revoke indicates an expected call of Revoke.
type MockBillingService ¶
type MockBillingService struct {
// contains filtered or unexported fields
}
MockBillingService is a mock of BillingService interface.
func NewMockBillingService ¶
func NewMockBillingService(ctrl *gomock.Controller) *MockBillingService
NewMockBillingService creates a new mock instance.
func (*MockBillingService) EXPECT ¶
func (m *MockBillingService) EXPECT() *MockBillingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBillingService) GetActionsBillingOrg ¶
func (m *MockBillingService) GetActionsBillingOrg(ctx context.Context, org string) (*github.ActionBilling, *github.Response, error)
GetActionsBillingOrg mocks base method.
func (*MockBillingService) GetActionsBillingUser ¶
func (m *MockBillingService) GetActionsBillingUser(ctx context.Context, user string) (*github.ActionBilling, *github.Response, error)
GetActionsBillingUser mocks base method.
func (*MockBillingService) GetAdvancedSecurityActiveCommittersOrg ¶
func (m *MockBillingService) GetAdvancedSecurityActiveCommittersOrg(ctx context.Context, org string) (*github.ActiveCommitters, *github.Response, error)
GetAdvancedSecurityActiveCommittersOrg mocks base method.
func (*MockBillingService) GetPackagesBillingOrg ¶
func (m *MockBillingService) GetPackagesBillingOrg(ctx context.Context, org string) (*github.PackageBilling, *github.Response, error)
GetPackagesBillingOrg mocks base method.
func (*MockBillingService) GetPackagesBillingUser ¶
func (m *MockBillingService) GetPackagesBillingUser(ctx context.Context, user string) (*github.PackageBilling, *github.Response, error)
GetPackagesBillingUser mocks base method.
func (*MockBillingService) GetStorageBillingOrg ¶
func (m *MockBillingService) GetStorageBillingOrg(ctx context.Context, org string) (*github.StorageBilling, *github.Response, error)
GetStorageBillingOrg mocks base method.
func (*MockBillingService) GetStorageBillingUser ¶
func (m *MockBillingService) GetStorageBillingUser(ctx context.Context, user string) (*github.StorageBilling, *github.Response, error)
GetStorageBillingUser mocks base method.
type MockBillingServiceMockRecorder ¶
type MockBillingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBillingServiceMockRecorder is the mock recorder for MockBillingService.
func (*MockBillingServiceMockRecorder) GetActionsBillingOrg ¶
func (mr *MockBillingServiceMockRecorder) GetActionsBillingOrg(ctx, org interface{}) *gomock.Call
GetActionsBillingOrg indicates an expected call of GetActionsBillingOrg.
func (*MockBillingServiceMockRecorder) GetActionsBillingUser ¶
func (mr *MockBillingServiceMockRecorder) GetActionsBillingUser(ctx, user interface{}) *gomock.Call
GetActionsBillingUser indicates an expected call of GetActionsBillingUser.
func (*MockBillingServiceMockRecorder) GetAdvancedSecurityActiveCommittersOrg ¶
func (mr *MockBillingServiceMockRecorder) GetAdvancedSecurityActiveCommittersOrg(ctx, org interface{}) *gomock.Call
GetAdvancedSecurityActiveCommittersOrg indicates an expected call of GetAdvancedSecurityActiveCommittersOrg.
func (*MockBillingServiceMockRecorder) GetPackagesBillingOrg ¶
func (mr *MockBillingServiceMockRecorder) GetPackagesBillingOrg(ctx, org interface{}) *gomock.Call
GetPackagesBillingOrg indicates an expected call of GetPackagesBillingOrg.
func (*MockBillingServiceMockRecorder) GetPackagesBillingUser ¶
func (mr *MockBillingServiceMockRecorder) GetPackagesBillingUser(ctx, user interface{}) *gomock.Call
GetPackagesBillingUser indicates an expected call of GetPackagesBillingUser.
func (*MockBillingServiceMockRecorder) GetStorageBillingOrg ¶
func (mr *MockBillingServiceMockRecorder) GetStorageBillingOrg(ctx, org interface{}) *gomock.Call
GetStorageBillingOrg indicates an expected call of GetStorageBillingOrg.
func (*MockBillingServiceMockRecorder) GetStorageBillingUser ¶
func (mr *MockBillingServiceMockRecorder) GetStorageBillingUser(ctx, user interface{}) *gomock.Call
GetStorageBillingUser indicates an expected call of GetStorageBillingUser.
type MockChecksService ¶
type MockChecksService struct {
// contains filtered or unexported fields
}
MockChecksService is a mock of ChecksService interface.
func NewMockChecksService ¶
func NewMockChecksService(ctrl *gomock.Controller) *MockChecksService
NewMockChecksService creates a new mock instance.
func (*MockChecksService) CreateCheckRun ¶
func (m *MockChecksService) CreateCheckRun(ctx context.Context, owner, repo string, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
CreateCheckRun mocks base method.
func (*MockChecksService) CreateCheckSuite ¶
func (m *MockChecksService) CreateCheckSuite(ctx context.Context, owner, repo string, opts github.CreateCheckSuiteOptions) (*github.CheckSuite, *github.Response, error)
CreateCheckSuite mocks base method.
func (*MockChecksService) EXPECT ¶
func (m *MockChecksService) EXPECT() *MockChecksServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChecksService) GetCheckRun ¶
func (m *MockChecksService) GetCheckRun(ctx context.Context, owner, repo string, checkRunID int64) (*github.CheckRun, *github.Response, error)
GetCheckRun mocks base method.
func (*MockChecksService) GetCheckSuite ¶
func (m *MockChecksService) GetCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64) (*github.CheckSuite, *github.Response, error)
GetCheckSuite mocks base method.
func (*MockChecksService) ListCheckRunAnnotations ¶
func (m *MockChecksService) ListCheckRunAnnotations(ctx context.Context, owner, repo string, checkRunID int64, opts *github.ListOptions) ([]*github.CheckRunAnnotation, *github.Response, error)
ListCheckRunAnnotations mocks base method.
func (*MockChecksService) ListCheckRunsCheckSuite ¶
func (m *MockChecksService) ListCheckRunsCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
ListCheckRunsCheckSuite mocks base method.
func (*MockChecksService) ListCheckRunsForRef ¶
func (m *MockChecksService) ListCheckRunsForRef(ctx context.Context, owner, repo, ref string, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
ListCheckRunsForRef mocks base method.
func (*MockChecksService) ListCheckSuitesForRef ¶
func (m *MockChecksService) ListCheckSuitesForRef(ctx context.Context, owner, repo, ref string, opts *github.ListCheckSuiteOptions) (*github.ListCheckSuiteResults, *github.Response, error)
ListCheckSuitesForRef mocks base method.
func (*MockChecksService) ReRequestCheckRun ¶
func (m *MockChecksService) ReRequestCheckRun(ctx context.Context, owner, repo string, checkRunID int64) (*github.Response, error)
ReRequestCheckRun mocks base method.
func (*MockChecksService) ReRequestCheckSuite ¶
func (m *MockChecksService) ReRequestCheckSuite(ctx context.Context, owner, repo string, checkSuiteID int64) (*github.Response, error)
ReRequestCheckSuite mocks base method.
func (*MockChecksService) SetCheckSuitePreferences ¶
func (m *MockChecksService) SetCheckSuitePreferences(ctx context.Context, owner, repo string, opts github.CheckSuitePreferenceOptions) (*github.CheckSuitePreferenceResults, *github.Response, error)
SetCheckSuitePreferences mocks base method.
func (*MockChecksService) UpdateCheckRun ¶
func (m *MockChecksService) UpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, opts github.UpdateCheckRunOptions) (*github.CheckRun, *github.Response, error)
UpdateCheckRun mocks base method.
type MockChecksServiceMockRecorder ¶
type MockChecksServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockChecksServiceMockRecorder is the mock recorder for MockChecksService.
func (*MockChecksServiceMockRecorder) CreateCheckRun ¶
func (mr *MockChecksServiceMockRecorder) CreateCheckRun(ctx, owner, repo, opts interface{}) *gomock.Call
CreateCheckRun indicates an expected call of CreateCheckRun.
func (*MockChecksServiceMockRecorder) CreateCheckSuite ¶
func (mr *MockChecksServiceMockRecorder) CreateCheckSuite(ctx, owner, repo, opts interface{}) *gomock.Call
CreateCheckSuite indicates an expected call of CreateCheckSuite.
func (*MockChecksServiceMockRecorder) GetCheckRun ¶
func (mr *MockChecksServiceMockRecorder) GetCheckRun(ctx, owner, repo, checkRunID interface{}) *gomock.Call
GetCheckRun indicates an expected call of GetCheckRun.
func (*MockChecksServiceMockRecorder) GetCheckSuite ¶
func (mr *MockChecksServiceMockRecorder) GetCheckSuite(ctx, owner, repo, checkSuiteID interface{}) *gomock.Call
GetCheckSuite indicates an expected call of GetCheckSuite.
func (*MockChecksServiceMockRecorder) ListCheckRunAnnotations ¶
func (mr *MockChecksServiceMockRecorder) ListCheckRunAnnotations(ctx, owner, repo, checkRunID, opts interface{}) *gomock.Call
ListCheckRunAnnotations indicates an expected call of ListCheckRunAnnotations.
func (*MockChecksServiceMockRecorder) ListCheckRunsCheckSuite ¶
func (mr *MockChecksServiceMockRecorder) ListCheckRunsCheckSuite(ctx, owner, repo, checkSuiteID, opts interface{}) *gomock.Call
ListCheckRunsCheckSuite indicates an expected call of ListCheckRunsCheckSuite.
func (*MockChecksServiceMockRecorder) ListCheckRunsForRef ¶
func (mr *MockChecksServiceMockRecorder) ListCheckRunsForRef(ctx, owner, repo, ref, opts interface{}) *gomock.Call
ListCheckRunsForRef indicates an expected call of ListCheckRunsForRef.
func (*MockChecksServiceMockRecorder) ListCheckSuitesForRef ¶
func (mr *MockChecksServiceMockRecorder) ListCheckSuitesForRef(ctx, owner, repo, ref, opts interface{}) *gomock.Call
ListCheckSuitesForRef indicates an expected call of ListCheckSuitesForRef.
func (*MockChecksServiceMockRecorder) ReRequestCheckRun ¶
func (mr *MockChecksServiceMockRecorder) ReRequestCheckRun(ctx, owner, repo, checkRunID interface{}) *gomock.Call
ReRequestCheckRun indicates an expected call of ReRequestCheckRun.
func (*MockChecksServiceMockRecorder) ReRequestCheckSuite ¶
func (mr *MockChecksServiceMockRecorder) ReRequestCheckSuite(ctx, owner, repo, checkSuiteID interface{}) *gomock.Call
ReRequestCheckSuite indicates an expected call of ReRequestCheckSuite.
func (*MockChecksServiceMockRecorder) SetCheckSuitePreferences ¶
func (mr *MockChecksServiceMockRecorder) SetCheckSuitePreferences(ctx, owner, repo, opts interface{}) *gomock.Call
SetCheckSuitePreferences indicates an expected call of SetCheckSuitePreferences.
func (*MockChecksServiceMockRecorder) UpdateCheckRun ¶
func (mr *MockChecksServiceMockRecorder) UpdateCheckRun(ctx, owner, repo, checkRunID, opts interface{}) *gomock.Call
UpdateCheckRun indicates an expected call of UpdateCheckRun.
type MockClientAPI ¶
type MockClientAPI struct {
// contains filtered or unexported fields
}
MockClientAPI is a mock of ClientAPI interface.
func NewMockClientAPI ¶
func NewMockClientAPI(ctrl *gomock.Controller) *MockClientAPI
NewMockClientAPI creates a new mock instance.
func (*MockClientAPI) Actions ¶ added in v0.0.3
func (m *MockClientAPI) Actions() gogithubmockable.ActionsService
Actions mocks base method.
func (*MockClientAPI) Activity ¶ added in v0.0.3
func (m *MockClientAPI) Activity() gogithubmockable.ActivityService
Activity mocks base method.
func (*MockClientAPI) Admin ¶ added in v0.0.3
func (m *MockClientAPI) Admin() gogithubmockable.AdminService
Admin mocks base method.
func (*MockClientAPI) Apps ¶ added in v0.0.3
func (m *MockClientAPI) Apps() gogithubmockable.AppsService
Apps mocks base method.
func (*MockClientAPI) Authorizations ¶ added in v0.0.3
func (m *MockClientAPI) Authorizations() gogithubmockable.AuthorizationsService
Authorizations mocks base method.
func (*MockClientAPI) Billing ¶ added in v0.0.3
func (m *MockClientAPI) Billing() gogithubmockable.BillingService
Billing mocks base method.
func (*MockClientAPI) Checks ¶ added in v0.0.3
func (m *MockClientAPI) Checks() gogithubmockable.ChecksService
Checks mocks base method.
func (*MockClientAPI) Client ¶ added in v0.0.3
func (m *MockClientAPI) Client() *http.Client
Client mocks base method.
func (*MockClientAPI) CodeScanning ¶ added in v0.0.3
func (m *MockClientAPI) CodeScanning() gogithubmockable.CodeScanningService
CodeScanning mocks base method.
func (*MockClientAPI) Dependabot ¶ added in v0.0.3
func (m *MockClientAPI) Dependabot() gogithubmockable.DependabotService
Dependabot mocks base method.
func (*MockClientAPI) Do ¶ added in v0.0.3
func (m *MockClientAPI) Do(ctx context.Context, req *http.Request, v interface{}) (*github.Response, error)
Do mocks base method.
func (*MockClientAPI) EXPECT ¶
func (m *MockClientAPI) EXPECT() *MockClientAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientAPI) Enterprise ¶ added in v0.0.3
func (m *MockClientAPI) Enterprise() gogithubmockable.EnterpriseService
Enterprise mocks base method.
func (*MockClientAPI) GetBaseURL ¶
func (m *MockClientAPI) GetBaseURL() *url.URL
GetBaseURL mocks base method.
func (*MockClientAPI) GetCodeOfConduct ¶ added in v0.0.3
func (m *MockClientAPI) GetCodeOfConduct(ctx context.Context, key string) (*github.CodeOfConduct, *github.Response, error)
GetCodeOfConduct mocks base method.
func (*MockClientAPI) GetUploadURL ¶
func (m *MockClientAPI) GetUploadURL() *url.URL
GetUploadURL mocks base method.
func (*MockClientAPI) GetUserAgent ¶
func (m *MockClientAPI) GetUserAgent() string
GetUserAgent mocks base method.
func (*MockClientAPI) Gists ¶ added in v0.0.3
func (m *MockClientAPI) Gists() gogithubmockable.GistsService
Gists mocks base method.
func (*MockClientAPI) Git ¶ added in v0.0.3
func (m *MockClientAPI) Git() gogithubmockable.GitService
Git mocks base method.
func (*MockClientAPI) Gitignores ¶ added in v0.0.3
func (m *MockClientAPI) Gitignores() gogithubmockable.GitignoresService
Gitignores mocks base method.
func (*MockClientAPI) Interactions ¶ added in v0.0.3
func (m *MockClientAPI) Interactions() gogithubmockable.InteractionsService
Interactions mocks base method.
func (*MockClientAPI) IssueImport ¶ added in v0.0.3
func (m *MockClientAPI) IssueImport() gogithubmockable.IssueImportService
IssueImport mocks base method.
func (*MockClientAPI) Issues ¶ added in v0.0.3
func (m *MockClientAPI) Issues() gogithubmockable.IssuesService
Issues mocks base method.
func (*MockClientAPI) Licenses ¶ added in v0.0.3
func (m *MockClientAPI) Licenses() gogithubmockable.LicensesService
Licenses mocks base method.
func (*MockClientAPI) ListCodesOfConduct ¶ added in v0.0.3
func (m *MockClientAPI) ListCodesOfConduct(ctx context.Context) ([]*github.CodeOfConduct, *github.Response, error)
ListCodesOfConduct mocks base method.
func (*MockClientAPI) ListEmojis ¶ added in v0.0.3
func (m *MockClientAPI) ListEmojis(ctx context.Context) (map[string]string, *github.Response, error)
ListEmojis mocks base method.
func (*MockClientAPI) ListServiceHooks ¶ added in v0.0.3
func (m *MockClientAPI) ListServiceHooks(ctx context.Context) ([]*github.ServiceHook, *github.Response, error)
ListServiceHooks mocks base method.
func (*MockClientAPI) Markdown ¶ added in v0.0.3
func (m *MockClientAPI) Markdown(ctx context.Context, text string, opts *github.MarkdownOptions) (string, *github.Response, error)
Markdown mocks base method.
func (*MockClientAPI) Marketplace ¶ added in v0.0.3
func (m *MockClientAPI) Marketplace() gogithubmockable.MarketplaceService
Marketplace mocks base method.
func (*MockClientAPI) Migrations ¶ added in v0.0.3
func (m *MockClientAPI) Migrations() gogithubmockable.MigrationsService
Migrations mocks base method.
func (*MockClientAPI) NewFormRequest ¶ added in v0.0.3
NewFormRequest mocks base method.
func (*MockClientAPI) NewRequest ¶ added in v0.0.3
func (m *MockClientAPI) NewRequest(method, urlStr string, body interface{}) (*http.Request, error)
NewRequest mocks base method.
func (*MockClientAPI) NewUploadRequest ¶ added in v0.0.3
func (m *MockClientAPI) NewUploadRequest(urlStr string, reader io.Reader, size int64, mediaType string) (*http.Request, error)
NewUploadRequest mocks base method.
func (*MockClientAPI) Octocat ¶ added in v0.0.3
func (m *MockClientAPI) Octocat(ctx context.Context, message string) (string, *github.Response, error)
Octocat mocks base method.
func (*MockClientAPI) Organizations ¶ added in v0.0.3
func (m *MockClientAPI) Organizations() gogithubmockable.OrganizationsService
Organizations mocks base method.
func (*MockClientAPI) Projects ¶ added in v0.0.3
func (m *MockClientAPI) Projects() gogithubmockable.ProjectsService
Projects mocks base method.
func (*MockClientAPI) PullRequests ¶ added in v0.0.3
func (m *MockClientAPI) PullRequests() gogithubmockable.PullRequestsService
PullRequests mocks base method.
func (*MockClientAPI) RateLimits ¶ added in v0.0.3
func (m *MockClientAPI) RateLimits(ctx context.Context) (*github.RateLimits, *github.Response, error)
RateLimits mocks base method.
func (*MockClientAPI) Reactions ¶ added in v0.0.3
func (m *MockClientAPI) Reactions() gogithubmockable.ReactionsService
Reactions mocks base method.
func (*MockClientAPI) Repositories ¶ added in v0.0.3
func (m *MockClientAPI) Repositories() gogithubmockable.RepositoriesService
Repositories mocks base method.
func (*MockClientAPI) SCIM ¶ added in v0.0.3
func (m *MockClientAPI) SCIM() gogithubmockable.SCIMService
SCIM mocks base method.
func (*MockClientAPI) Search ¶ added in v0.0.3
func (m *MockClientAPI) Search() gogithubmockable.SearchService
Search mocks base method.
func (*MockClientAPI) SecretScanning ¶ added in v0.0.3
func (m *MockClientAPI) SecretScanning() gogithubmockable.SecretScanningService
SecretScanning mocks base method.
func (*MockClientAPI) SetBaseURL ¶
func (m *MockClientAPI) SetBaseURL(arg0 *url.URL)
SetBaseURL mocks base method.
func (*MockClientAPI) SetUploadURL ¶
func (m *MockClientAPI) SetUploadURL(arg0 *url.URL)
SetUploadURL mocks base method.
func (*MockClientAPI) SetUserAgent ¶
func (m *MockClientAPI) SetUserAgent(arg0 string)
SetUserAgent mocks base method.
func (*MockClientAPI) Teams ¶ added in v0.0.3
func (m *MockClientAPI) Teams() gogithubmockable.TeamsService
Teams mocks base method.
func (*MockClientAPI) Users ¶ added in v0.0.3
func (m *MockClientAPI) Users() gogithubmockable.UsersService
Users mocks base method.
type MockClientAPIMockRecorder ¶
type MockClientAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockClientAPIMockRecorder is the mock recorder for MockClientAPI.
func (*MockClientAPIMockRecorder) APIMeta ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) APIMeta(ctx interface{}) *gomock.Call
APIMeta indicates an expected call of APIMeta.
func (*MockClientAPIMockRecorder) Actions ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Actions() *gomock.Call
Actions indicates an expected call of Actions.
func (*MockClientAPIMockRecorder) Activity ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Activity() *gomock.Call
Activity indicates an expected call of Activity.
func (*MockClientAPIMockRecorder) Admin ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Admin() *gomock.Call
Admin indicates an expected call of Admin.
func (*MockClientAPIMockRecorder) Apps ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Apps() *gomock.Call
Apps indicates an expected call of Apps.
func (*MockClientAPIMockRecorder) Authorizations ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Authorizations() *gomock.Call
Authorizations indicates an expected call of Authorizations.
func (*MockClientAPIMockRecorder) BareDo ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) BareDo(ctx, req interface{}) *gomock.Call
BareDo indicates an expected call of BareDo.
func (*MockClientAPIMockRecorder) Billing ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Billing() *gomock.Call
Billing indicates an expected call of Billing.
func (*MockClientAPIMockRecorder) Checks ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Checks() *gomock.Call
Checks indicates an expected call of Checks.
func (*MockClientAPIMockRecorder) Client ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Client() *gomock.Call
Client indicates an expected call of Client.
func (*MockClientAPIMockRecorder) CodeScanning ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) CodeScanning() *gomock.Call
CodeScanning indicates an expected call of CodeScanning.
func (*MockClientAPIMockRecorder) Dependabot ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Dependabot() *gomock.Call
Dependabot indicates an expected call of Dependabot.
func (*MockClientAPIMockRecorder) Do ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Do(ctx, req, v interface{}) *gomock.Call
Do indicates an expected call of Do.
func (*MockClientAPIMockRecorder) Enterprise ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Enterprise() *gomock.Call
Enterprise indicates an expected call of Enterprise.
func (*MockClientAPIMockRecorder) GetBaseURL ¶
func (mr *MockClientAPIMockRecorder) GetBaseURL() *gomock.Call
GetBaseURL indicates an expected call of GetBaseURL.
func (*MockClientAPIMockRecorder) GetCodeOfConduct ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) GetCodeOfConduct(ctx, key interface{}) *gomock.Call
GetCodeOfConduct indicates an expected call of GetCodeOfConduct.
func (*MockClientAPIMockRecorder) GetUploadURL ¶
func (mr *MockClientAPIMockRecorder) GetUploadURL() *gomock.Call
GetUploadURL indicates an expected call of GetUploadURL.
func (*MockClientAPIMockRecorder) GetUserAgent ¶
func (mr *MockClientAPIMockRecorder) GetUserAgent() *gomock.Call
GetUserAgent indicates an expected call of GetUserAgent.
func (*MockClientAPIMockRecorder) Gists ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Gists() *gomock.Call
Gists indicates an expected call of Gists.
func (*MockClientAPIMockRecorder) Git ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Git() *gomock.Call
Git indicates an expected call of Git.
func (*MockClientAPIMockRecorder) Gitignores ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Gitignores() *gomock.Call
Gitignores indicates an expected call of Gitignores.
func (*MockClientAPIMockRecorder) Interactions ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Interactions() *gomock.Call
Interactions indicates an expected call of Interactions.
func (*MockClientAPIMockRecorder) IssueImport ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) IssueImport() *gomock.Call
IssueImport indicates an expected call of IssueImport.
func (*MockClientAPIMockRecorder) Issues ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Issues() *gomock.Call
Issues indicates an expected call of Issues.
func (*MockClientAPIMockRecorder) Licenses ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Licenses() *gomock.Call
Licenses indicates an expected call of Licenses.
func (*MockClientAPIMockRecorder) ListCodesOfConduct ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) ListCodesOfConduct(ctx interface{}) *gomock.Call
ListCodesOfConduct indicates an expected call of ListCodesOfConduct.
func (*MockClientAPIMockRecorder) ListEmojis ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) ListEmojis(ctx interface{}) *gomock.Call
ListEmojis indicates an expected call of ListEmojis.
func (*MockClientAPIMockRecorder) ListServiceHooks ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) ListServiceHooks(ctx interface{}) *gomock.Call
ListServiceHooks indicates an expected call of ListServiceHooks.
func (*MockClientAPIMockRecorder) Markdown ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Markdown(ctx, text, opts interface{}) *gomock.Call
Markdown indicates an expected call of Markdown.
func (*MockClientAPIMockRecorder) Marketplace ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Marketplace() *gomock.Call
Marketplace indicates an expected call of Marketplace.
func (*MockClientAPIMockRecorder) Migrations ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Migrations() *gomock.Call
Migrations indicates an expected call of Migrations.
func (*MockClientAPIMockRecorder) NewFormRequest ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) NewFormRequest(urlStr, body interface{}) *gomock.Call
NewFormRequest indicates an expected call of NewFormRequest.
func (*MockClientAPIMockRecorder) NewRequest ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) NewRequest(method, urlStr, body interface{}) *gomock.Call
NewRequest indicates an expected call of NewRequest.
func (*MockClientAPIMockRecorder) NewUploadRequest ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) NewUploadRequest(urlStr, reader, size, mediaType interface{}) *gomock.Call
NewUploadRequest indicates an expected call of NewUploadRequest.
func (*MockClientAPIMockRecorder) Octocat ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Octocat(ctx, message interface{}) *gomock.Call
Octocat indicates an expected call of Octocat.
func (*MockClientAPIMockRecorder) Organizations ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Organizations() *gomock.Call
Organizations indicates an expected call of Organizations.
func (*MockClientAPIMockRecorder) Projects ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Projects() *gomock.Call
Projects indicates an expected call of Projects.
func (*MockClientAPIMockRecorder) PullRequests ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) PullRequests() *gomock.Call
PullRequests indicates an expected call of PullRequests.
func (*MockClientAPIMockRecorder) RateLimits ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) RateLimits(ctx interface{}) *gomock.Call
RateLimits indicates an expected call of RateLimits.
func (*MockClientAPIMockRecorder) Reactions ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Reactions() *gomock.Call
Reactions indicates an expected call of Reactions.
func (*MockClientAPIMockRecorder) Repositories ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Repositories() *gomock.Call
Repositories indicates an expected call of Repositories.
func (*MockClientAPIMockRecorder) SCIM ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) SCIM() *gomock.Call
SCIM indicates an expected call of SCIM.
func (*MockClientAPIMockRecorder) Search ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Search() *gomock.Call
Search indicates an expected call of Search.
func (*MockClientAPIMockRecorder) SecretScanning ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) SecretScanning() *gomock.Call
SecretScanning indicates an expected call of SecretScanning.
func (*MockClientAPIMockRecorder) SetBaseURL ¶
func (mr *MockClientAPIMockRecorder) SetBaseURL(arg0 interface{}) *gomock.Call
SetBaseURL indicates an expected call of SetBaseURL.
func (*MockClientAPIMockRecorder) SetUploadURL ¶
func (mr *MockClientAPIMockRecorder) SetUploadURL(arg0 interface{}) *gomock.Call
SetUploadURL indicates an expected call of SetUploadURL.
func (*MockClientAPIMockRecorder) SetUserAgent ¶
func (mr *MockClientAPIMockRecorder) SetUserAgent(arg0 interface{}) *gomock.Call
SetUserAgent indicates an expected call of SetUserAgent.
func (*MockClientAPIMockRecorder) Teams ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Teams() *gomock.Call
Teams indicates an expected call of Teams.
func (*MockClientAPIMockRecorder) Users ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Users() *gomock.Call
Users indicates an expected call of Users.
func (*MockClientAPIMockRecorder) Zen ¶ added in v0.0.3
func (mr *MockClientAPIMockRecorder) Zen(ctx interface{}) *gomock.Call
Zen indicates an expected call of Zen.
type MockCodeScanningService ¶
type MockCodeScanningService struct {
// contains filtered or unexported fields
}
MockCodeScanningService is a mock of CodeScanningService interface.
func NewMockCodeScanningService ¶
func NewMockCodeScanningService(ctrl *gomock.Controller) *MockCodeScanningService
NewMockCodeScanningService creates a new mock instance.
func (*MockCodeScanningService) EXPECT ¶
func (m *MockCodeScanningService) EXPECT() *MockCodeScanningServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCodeScanningService) GetAlert ¶
func (m *MockCodeScanningService) GetAlert(ctx context.Context, owner, repo string, id int64) (*github.Alert, *github.Response, error)
GetAlert mocks base method.
func (*MockCodeScanningService) GetAnalysis ¶
func (m *MockCodeScanningService) GetAnalysis(ctx context.Context, owner, repo string, id int64) (*github.ScanningAnalysis, *github.Response, error)
GetAnalysis mocks base method.
func (*MockCodeScanningService) ListAlertsForOrg ¶
func (m *MockCodeScanningService) ListAlertsForOrg(ctx context.Context, org string, opts *github.AlertListOptions) ([]*github.Alert, *github.Response, error)
ListAlertsForOrg mocks base method.
func (*MockCodeScanningService) ListAlertsForRepo ¶
func (m *MockCodeScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, opts *github.AlertListOptions) ([]*github.Alert, *github.Response, error)
ListAlertsForRepo mocks base method.
func (*MockCodeScanningService) ListAnalysesForRepo ¶
func (m *MockCodeScanningService) ListAnalysesForRepo(ctx context.Context, owner, repo string, opts *github.AnalysesListOptions) ([]*github.ScanningAnalysis, *github.Response, error)
ListAnalysesForRepo mocks base method.
func (*MockCodeScanningService) UploadSarif ¶
func (m *MockCodeScanningService) UploadSarif(ctx context.Context, owner, repo string, sarif *github.SarifAnalysis) (*github.SarifID, *github.Response, error)
UploadSarif mocks base method.
type MockCodeScanningServiceMockRecorder ¶
type MockCodeScanningServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCodeScanningServiceMockRecorder is the mock recorder for MockCodeScanningService.
func (*MockCodeScanningServiceMockRecorder) GetAlert ¶
func (mr *MockCodeScanningServiceMockRecorder) GetAlert(ctx, owner, repo, id interface{}) *gomock.Call
GetAlert indicates an expected call of GetAlert.
func (*MockCodeScanningServiceMockRecorder) GetAnalysis ¶
func (mr *MockCodeScanningServiceMockRecorder) GetAnalysis(ctx, owner, repo, id interface{}) *gomock.Call
GetAnalysis indicates an expected call of GetAnalysis.
func (*MockCodeScanningServiceMockRecorder) ListAlertsForOrg ¶
func (mr *MockCodeScanningServiceMockRecorder) ListAlertsForOrg(ctx, org, opts interface{}) *gomock.Call
ListAlertsForOrg indicates an expected call of ListAlertsForOrg.
func (*MockCodeScanningServiceMockRecorder) ListAlertsForRepo ¶
func (mr *MockCodeScanningServiceMockRecorder) ListAlertsForRepo(ctx, owner, repo, opts interface{}) *gomock.Call
ListAlertsForRepo indicates an expected call of ListAlertsForRepo.
func (*MockCodeScanningServiceMockRecorder) ListAnalysesForRepo ¶
func (mr *MockCodeScanningServiceMockRecorder) ListAnalysesForRepo(ctx, owner, repo, opts interface{}) *gomock.Call
ListAnalysesForRepo indicates an expected call of ListAnalysesForRepo.
func (*MockCodeScanningServiceMockRecorder) UploadSarif ¶
func (mr *MockCodeScanningServiceMockRecorder) UploadSarif(ctx, owner, repo, sarif interface{}) *gomock.Call
UploadSarif indicates an expected call of UploadSarif.
type MockDependabotService ¶
type MockDependabotService struct {
// contains filtered or unexported fields
}
MockDependabotService is a mock of DependabotService interface.
func NewMockDependabotService ¶
func NewMockDependabotService(ctrl *gomock.Controller) *MockDependabotService
NewMockDependabotService creates a new mock instance.
func (*MockDependabotService) AddSelectedRepoToOrgSecret ¶
func (m *MockDependabotService) AddSelectedRepoToOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
AddSelectedRepoToOrgSecret mocks base method.
func (*MockDependabotService) CreateOrUpdateOrgSecret ¶
func (m *MockDependabotService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *github.DependabotEncryptedSecret) (*github.Response, error)
CreateOrUpdateOrgSecret mocks base method.
func (*MockDependabotService) CreateOrUpdateRepoSecret ¶
func (m *MockDependabotService) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *github.DependabotEncryptedSecret) (*github.Response, error)
CreateOrUpdateRepoSecret mocks base method.
func (*MockDependabotService) DeleteOrgSecret ¶
func (m *MockDependabotService) DeleteOrgSecret(ctx context.Context, org, name string) (*github.Response, error)
DeleteOrgSecret mocks base method.
func (*MockDependabotService) DeleteRepoSecret ¶
func (m *MockDependabotService) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*github.Response, error)
DeleteRepoSecret mocks base method.
func (*MockDependabotService) EXPECT ¶
func (m *MockDependabotService) EXPECT() *MockDependabotServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDependabotService) GetOrgPublicKey ¶
func (m *MockDependabotService) GetOrgPublicKey(ctx context.Context, org string) (*github.PublicKey, *github.Response, error)
GetOrgPublicKey mocks base method.
func (*MockDependabotService) GetOrgSecret ¶
func (m *MockDependabotService) GetOrgSecret(ctx context.Context, org, name string) (*github.Secret, *github.Response, error)
GetOrgSecret mocks base method.
func (*MockDependabotService) GetRepoPublicKey ¶
func (m *MockDependabotService) GetRepoPublicKey(ctx context.Context, owner, repo string) (*github.PublicKey, *github.Response, error)
GetRepoPublicKey mocks base method.
func (*MockDependabotService) GetRepoSecret ¶
func (m *MockDependabotService) GetRepoSecret(ctx context.Context, owner, repo, name string) (*github.Secret, *github.Response, error)
GetRepoSecret mocks base method.
func (*MockDependabotService) ListOrgSecrets ¶
func (m *MockDependabotService) ListOrgSecrets(ctx context.Context, org string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
ListOrgSecrets mocks base method.
func (*MockDependabotService) ListRepoSecrets ¶
func (m *MockDependabotService) ListRepoSecrets(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
ListRepoSecrets mocks base method.
func (*MockDependabotService) ListSelectedReposForOrgSecret ¶
func (m *MockDependabotService) ListSelectedReposForOrgSecret(ctx context.Context, org, name string, opts *github.ListOptions) (*github.SelectedReposList, *github.Response, error)
ListSelectedReposForOrgSecret mocks base method.
func (*MockDependabotService) RemoveSelectedRepoFromOrgSecret ¶
func (m *MockDependabotService) RemoveSelectedRepoFromOrgSecret(ctx context.Context, org, name string, repo *github.Repository) (*github.Response, error)
RemoveSelectedRepoFromOrgSecret mocks base method.
func (*MockDependabotService) SetSelectedReposForOrgSecret ¶
func (m *MockDependabotService) SetSelectedReposForOrgSecret(ctx context.Context, org, name string, ids github.DependabotSecretsSelectedRepoIDs) (*github.Response, error)
SetSelectedReposForOrgSecret mocks base method.
type MockDependabotServiceMockRecorder ¶
type MockDependabotServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDependabotServiceMockRecorder is the mock recorder for MockDependabotService.
func (*MockDependabotServiceMockRecorder) AddSelectedRepoToOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) AddSelectedRepoToOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
AddSelectedRepoToOrgSecret indicates an expected call of AddSelectedRepoToOrgSecret.
func (*MockDependabotServiceMockRecorder) CreateOrUpdateOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) CreateOrUpdateOrgSecret(ctx, org, eSecret interface{}) *gomock.Call
CreateOrUpdateOrgSecret indicates an expected call of CreateOrUpdateOrgSecret.
func (*MockDependabotServiceMockRecorder) CreateOrUpdateRepoSecret ¶
func (mr *MockDependabotServiceMockRecorder) CreateOrUpdateRepoSecret(ctx, owner, repo, eSecret interface{}) *gomock.Call
CreateOrUpdateRepoSecret indicates an expected call of CreateOrUpdateRepoSecret.
func (*MockDependabotServiceMockRecorder) DeleteOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) DeleteOrgSecret(ctx, org, name interface{}) *gomock.Call
DeleteOrgSecret indicates an expected call of DeleteOrgSecret.
func (*MockDependabotServiceMockRecorder) DeleteRepoSecret ¶
func (mr *MockDependabotServiceMockRecorder) DeleteRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
DeleteRepoSecret indicates an expected call of DeleteRepoSecret.
func (*MockDependabotServiceMockRecorder) GetOrgPublicKey ¶
func (mr *MockDependabotServiceMockRecorder) GetOrgPublicKey(ctx, org interface{}) *gomock.Call
GetOrgPublicKey indicates an expected call of GetOrgPublicKey.
func (*MockDependabotServiceMockRecorder) GetOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) GetOrgSecret(ctx, org, name interface{}) *gomock.Call
GetOrgSecret indicates an expected call of GetOrgSecret.
func (*MockDependabotServiceMockRecorder) GetRepoPublicKey ¶
func (mr *MockDependabotServiceMockRecorder) GetRepoPublicKey(ctx, owner, repo interface{}) *gomock.Call
GetRepoPublicKey indicates an expected call of GetRepoPublicKey.
func (*MockDependabotServiceMockRecorder) GetRepoSecret ¶
func (mr *MockDependabotServiceMockRecorder) GetRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call
GetRepoSecret indicates an expected call of GetRepoSecret.
func (*MockDependabotServiceMockRecorder) ListOrgSecrets ¶
func (mr *MockDependabotServiceMockRecorder) ListOrgSecrets(ctx, org, opts interface{}) *gomock.Call
ListOrgSecrets indicates an expected call of ListOrgSecrets.
func (*MockDependabotServiceMockRecorder) ListRepoSecrets ¶
func (mr *MockDependabotServiceMockRecorder) ListRepoSecrets(ctx, owner, repo, opts interface{}) *gomock.Call
ListRepoSecrets indicates an expected call of ListRepoSecrets.
func (*MockDependabotServiceMockRecorder) ListSelectedReposForOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) ListSelectedReposForOrgSecret(ctx, org, name, opts interface{}) *gomock.Call
ListSelectedReposForOrgSecret indicates an expected call of ListSelectedReposForOrgSecret.
func (*MockDependabotServiceMockRecorder) RemoveSelectedRepoFromOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) RemoveSelectedRepoFromOrgSecret(ctx, org, name, repo interface{}) *gomock.Call
RemoveSelectedRepoFromOrgSecret indicates an expected call of RemoveSelectedRepoFromOrgSecret.
func (*MockDependabotServiceMockRecorder) SetSelectedReposForOrgSecret ¶
func (mr *MockDependabotServiceMockRecorder) SetSelectedReposForOrgSecret(ctx, org, name, ids interface{}) *gomock.Call
SetSelectedReposForOrgSecret indicates an expected call of SetSelectedReposForOrgSecret.
type MockEnterpriseService ¶
type MockEnterpriseService struct {
// contains filtered or unexported fields
}
MockEnterpriseService is a mock of EnterpriseService interface.
func NewMockEnterpriseService ¶
func NewMockEnterpriseService(ctrl *gomock.Controller) *MockEnterpriseService
NewMockEnterpriseService creates a new mock instance.
func (*MockEnterpriseService) CreateRegistrationToken ¶
func (m *MockEnterpriseService) CreateRegistrationToken(ctx context.Context, enterprise string) (*github.RegistrationToken, *github.Response, error)
CreateRegistrationToken mocks base method.
func (*MockEnterpriseService) EXPECT ¶
func (m *MockEnterpriseService) EXPECT() *MockEnterpriseServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEnterpriseService) GetAuditLog ¶
func (m *MockEnterpriseService) GetAuditLog(ctx context.Context, enterprise string, opts *github.GetAuditLogOptions) ([]*github.AuditEntry, *github.Response, error)
GetAuditLog mocks base method.
func (*MockEnterpriseService) ListRunnerApplicationDownloads ¶
func (m *MockEnterpriseService) ListRunnerApplicationDownloads(ctx context.Context, enterprise string) ([]*github.RunnerApplicationDownload, *github.Response, error)
ListRunnerApplicationDownloads mocks base method.
func (*MockEnterpriseService) ListRunners ¶
func (m *MockEnterpriseService) ListRunners(ctx context.Context, enterprise string, opts *github.ListOptions) (*github.Runners, *github.Response, error)
ListRunners mocks base method.
func (*MockEnterpriseService) RemoveRunner ¶
func (m *MockEnterpriseService) RemoveRunner(ctx context.Context, enterprise string, runnerID int64) (*github.Response, error)
RemoveRunner mocks base method.
type MockEnterpriseServiceMockRecorder ¶
type MockEnterpriseServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEnterpriseServiceMockRecorder is the mock recorder for MockEnterpriseService.
func (*MockEnterpriseServiceMockRecorder) CreateRegistrationToken ¶
func (mr *MockEnterpriseServiceMockRecorder) CreateRegistrationToken(ctx, enterprise interface{}) *gomock.Call
CreateRegistrationToken indicates an expected call of CreateRegistrationToken.
func (*MockEnterpriseServiceMockRecorder) GetAuditLog ¶
func (mr *MockEnterpriseServiceMockRecorder) GetAuditLog(ctx, enterprise, opts interface{}) *gomock.Call
GetAuditLog indicates an expected call of GetAuditLog.
func (*MockEnterpriseServiceMockRecorder) ListRunnerApplicationDownloads ¶
func (mr *MockEnterpriseServiceMockRecorder) ListRunnerApplicationDownloads(ctx, enterprise interface{}) *gomock.Call
ListRunnerApplicationDownloads indicates an expected call of ListRunnerApplicationDownloads.
func (*MockEnterpriseServiceMockRecorder) ListRunners ¶
func (mr *MockEnterpriseServiceMockRecorder) ListRunners(ctx, enterprise, opts interface{}) *gomock.Call
ListRunners indicates an expected call of ListRunners.
func (*MockEnterpriseServiceMockRecorder) RemoveRunner ¶
func (mr *MockEnterpriseServiceMockRecorder) RemoveRunner(ctx, enterprise, runnerID interface{}) *gomock.Call
RemoveRunner indicates an expected call of RemoveRunner.
type MockGistsService ¶
type MockGistsService struct {
// contains filtered or unexported fields
}
MockGistsService is a mock of GistsService interface.
func NewMockGistsService ¶
func NewMockGistsService(ctrl *gomock.Controller) *MockGistsService
NewMockGistsService creates a new mock instance.
func (*MockGistsService) Create ¶
func (m *MockGistsService) Create(ctx context.Context, gist *github.Gist) (*github.Gist, *github.Response, error)
Create mocks base method.
func (*MockGistsService) CreateComment ¶
func (m *MockGistsService) CreateComment(ctx context.Context, gistID string, comment *github.GistComment) (*github.GistComment, *github.Response, error)
CreateComment mocks base method.
func (*MockGistsService) DeleteComment ¶
func (m *MockGistsService) DeleteComment(ctx context.Context, gistID string, commentID int64) (*github.Response, error)
DeleteComment mocks base method.
func (*MockGistsService) EXPECT ¶
func (m *MockGistsService) EXPECT() *MockGistsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGistsService) Edit ¶
func (m *MockGistsService) Edit(ctx context.Context, id string, gist *github.Gist) (*github.Gist, *github.Response, error)
Edit mocks base method.
func (*MockGistsService) EditComment ¶
func (m *MockGistsService) EditComment(ctx context.Context, gistID string, commentID int64, comment *github.GistComment) (*github.GistComment, *github.Response, error)
EditComment mocks base method.
func (*MockGistsService) Fork ¶
func (m *MockGistsService) Fork(ctx context.Context, id string) (*github.Gist, *github.Response, error)
Fork mocks base method.
func (*MockGistsService) Get ¶
func (m *MockGistsService) Get(ctx context.Context, id string) (*github.Gist, *github.Response, error)
Get mocks base method.
func (*MockGistsService) GetComment ¶
func (m *MockGistsService) GetComment(ctx context.Context, gistID string, commentID int64) (*github.GistComment, *github.Response, error)
GetComment mocks base method.
func (*MockGistsService) GetRevision ¶
func (m *MockGistsService) GetRevision(ctx context.Context, id, sha string) (*github.Gist, *github.Response, error)
GetRevision mocks base method.
func (*MockGistsService) IsStarred ¶
func (m *MockGistsService) IsStarred(ctx context.Context, id string) (bool, *github.Response, error)
IsStarred mocks base method.
func (*MockGistsService) List ¶
func (m *MockGistsService) List(ctx context.Context, user string, opts *github.GistListOptions) ([]*github.Gist, *github.Response, error)
List mocks base method.
func (*MockGistsService) ListAll ¶
func (m *MockGistsService) ListAll(ctx context.Context, opts *github.GistListOptions) ([]*github.Gist, *github.Response, error)
ListAll mocks base method.
func (*MockGistsService) ListComments ¶
func (m *MockGistsService) ListComments(ctx context.Context, gistID string, opts *github.ListOptions) ([]*github.GistComment, *github.Response, error)
ListComments mocks base method.
func (*MockGistsService) ListCommits ¶
func (m *MockGistsService) ListCommits(ctx context.Context, id string, opts *github.ListOptions) ([]*github.GistCommit, *github.Response, error)
ListCommits mocks base method.
func (*MockGistsService) ListForks ¶
func (m *MockGistsService) ListForks(ctx context.Context, id string, opts *github.ListOptions) ([]*github.GistFork, *github.Response, error)
ListForks mocks base method.
func (*MockGistsService) ListStarred ¶
func (m *MockGistsService) ListStarred(ctx context.Context, opts *github.GistListOptions) ([]*github.Gist, *github.Response, error)
ListStarred mocks base method.
type MockGistsServiceMockRecorder ¶
type MockGistsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGistsServiceMockRecorder is the mock recorder for MockGistsService.
func (*MockGistsServiceMockRecorder) Create ¶
func (mr *MockGistsServiceMockRecorder) Create(ctx, gist interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockGistsServiceMockRecorder) CreateComment ¶
func (mr *MockGistsServiceMockRecorder) CreateComment(ctx, gistID, comment interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment.
func (*MockGistsServiceMockRecorder) Delete ¶
func (mr *MockGistsServiceMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockGistsServiceMockRecorder) DeleteComment ¶
func (mr *MockGistsServiceMockRecorder) DeleteComment(ctx, gistID, commentID interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment.
func (*MockGistsServiceMockRecorder) Edit ¶
func (mr *MockGistsServiceMockRecorder) Edit(ctx, id, gist interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockGistsServiceMockRecorder) EditComment ¶
func (mr *MockGistsServiceMockRecorder) EditComment(ctx, gistID, commentID, comment interface{}) *gomock.Call
EditComment indicates an expected call of EditComment.
func (*MockGistsServiceMockRecorder) Fork ¶
func (mr *MockGistsServiceMockRecorder) Fork(ctx, id interface{}) *gomock.Call
Fork indicates an expected call of Fork.
func (*MockGistsServiceMockRecorder) Get ¶
func (mr *MockGistsServiceMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockGistsServiceMockRecorder) GetComment ¶
func (mr *MockGistsServiceMockRecorder) GetComment(ctx, gistID, commentID interface{}) *gomock.Call
GetComment indicates an expected call of GetComment.
func (*MockGistsServiceMockRecorder) GetRevision ¶
func (mr *MockGistsServiceMockRecorder) GetRevision(ctx, id, sha interface{}) *gomock.Call
GetRevision indicates an expected call of GetRevision.
func (*MockGistsServiceMockRecorder) IsStarred ¶
func (mr *MockGistsServiceMockRecorder) IsStarred(ctx, id interface{}) *gomock.Call
IsStarred indicates an expected call of IsStarred.
func (*MockGistsServiceMockRecorder) List ¶
func (mr *MockGistsServiceMockRecorder) List(ctx, user, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockGistsServiceMockRecorder) ListAll ¶
func (mr *MockGistsServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
ListAll indicates an expected call of ListAll.
func (*MockGistsServiceMockRecorder) ListComments ¶
func (mr *MockGistsServiceMockRecorder) ListComments(ctx, gistID, opts interface{}) *gomock.Call
ListComments indicates an expected call of ListComments.
func (*MockGistsServiceMockRecorder) ListCommits ¶
func (mr *MockGistsServiceMockRecorder) ListCommits(ctx, id, opts interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockGistsServiceMockRecorder) ListForks ¶
func (mr *MockGistsServiceMockRecorder) ListForks(ctx, id, opts interface{}) *gomock.Call
ListForks indicates an expected call of ListForks.
func (*MockGistsServiceMockRecorder) ListStarred ¶
func (mr *MockGistsServiceMockRecorder) ListStarred(ctx, opts interface{}) *gomock.Call
ListStarred indicates an expected call of ListStarred.
func (*MockGistsServiceMockRecorder) Star ¶
func (mr *MockGistsServiceMockRecorder) Star(ctx, id interface{}) *gomock.Call
Star indicates an expected call of Star.
func (*MockGistsServiceMockRecorder) Unstar ¶
func (mr *MockGistsServiceMockRecorder) Unstar(ctx, id interface{}) *gomock.Call
Unstar indicates an expected call of Unstar.
type MockGitService ¶
type MockGitService struct {
// contains filtered or unexported fields
}
MockGitService is a mock of GitService interface.
func NewMockGitService ¶
func NewMockGitService(ctrl *gomock.Controller) *MockGitService
NewMockGitService creates a new mock instance.
func (*MockGitService) CreateBlob ¶
func (m *MockGitService) CreateBlob(ctx context.Context, owner, repo string, blob *github.Blob) (*github.Blob, *github.Response, error)
CreateBlob mocks base method.
func (*MockGitService) CreateCommit ¶
func (m *MockGitService) CreateCommit(ctx context.Context, owner, repo string, commit *github.Commit) (*github.Commit, *github.Response, error)
CreateCommit mocks base method.
func (*MockGitService) CreateRef ¶
func (m *MockGitService) CreateRef(ctx context.Context, owner, repo string, ref *github.Reference) (*github.Reference, *github.Response, error)
CreateRef mocks base method.
func (*MockGitService) CreateTag ¶
func (m *MockGitService) CreateTag(ctx context.Context, owner, repo string, tag *github.Tag) (*github.Tag, *github.Response, error)
CreateTag mocks base method.
func (*MockGitService) CreateTree ¶
func (m *MockGitService) CreateTree(ctx context.Context, owner, repo, baseTree string, entries []*github.TreeEntry) (*github.Tree, *github.Response, error)
CreateTree mocks base method.
func (*MockGitService) DeleteRef ¶
func (m *MockGitService) DeleteRef(ctx context.Context, owner, repo, ref string) (*github.Response, error)
DeleteRef mocks base method.
func (*MockGitService) EXPECT ¶
func (m *MockGitService) EXPECT() *MockGitServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitService) GetBlob ¶
func (m *MockGitService) GetBlob(ctx context.Context, owner, repo, sha string) (*github.Blob, *github.Response, error)
GetBlob mocks base method.
func (*MockGitService) GetBlobRaw ¶
func (m *MockGitService) GetBlobRaw(ctx context.Context, owner, repo, sha string) ([]uint8, *github.Response, error)
GetBlobRaw mocks base method.
func (*MockGitService) GetCommit ¶
func (m *MockGitService) GetCommit(ctx context.Context, owner, repo, sha string) (*github.Commit, *github.Response, error)
GetCommit mocks base method.
func (*MockGitService) GetRef ¶
func (m *MockGitService) GetRef(ctx context.Context, owner, repo, ref string) (*github.Reference, *github.Response, error)
GetRef mocks base method.
func (*MockGitService) GetTag ¶
func (m *MockGitService) GetTag(ctx context.Context, owner, repo, sha string) (*github.Tag, *github.Response, error)
GetTag mocks base method.
func (*MockGitService) GetTree ¶
func (m *MockGitService) GetTree(ctx context.Context, owner, repo, sha string, recursive bool) (*github.Tree, *github.Response, error)
GetTree mocks base method.
func (*MockGitService) ListMatchingRefs ¶
func (m *MockGitService) ListMatchingRefs(ctx context.Context, owner, repo string, opts *github.ReferenceListOptions) ([]*github.Reference, *github.Response, error)
ListMatchingRefs mocks base method.
type MockGitServiceMockRecorder ¶
type MockGitServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGitServiceMockRecorder is the mock recorder for MockGitService.
func (*MockGitServiceMockRecorder) CreateBlob ¶
func (mr *MockGitServiceMockRecorder) CreateBlob(ctx, owner, repo, blob interface{}) *gomock.Call
CreateBlob indicates an expected call of CreateBlob.
func (*MockGitServiceMockRecorder) CreateCommit ¶
func (mr *MockGitServiceMockRecorder) CreateCommit(ctx, owner, repo, commit interface{}) *gomock.Call
CreateCommit indicates an expected call of CreateCommit.
func (*MockGitServiceMockRecorder) CreateRef ¶
func (mr *MockGitServiceMockRecorder) CreateRef(ctx, owner, repo, ref interface{}) *gomock.Call
CreateRef indicates an expected call of CreateRef.
func (*MockGitServiceMockRecorder) CreateTag ¶
func (mr *MockGitServiceMockRecorder) CreateTag(ctx, owner, repo, tag interface{}) *gomock.Call
CreateTag indicates an expected call of CreateTag.
func (*MockGitServiceMockRecorder) CreateTree ¶
func (mr *MockGitServiceMockRecorder) CreateTree(ctx, owner, repo, baseTree, entries interface{}) *gomock.Call
CreateTree indicates an expected call of CreateTree.
func (*MockGitServiceMockRecorder) DeleteRef ¶
func (mr *MockGitServiceMockRecorder) DeleteRef(ctx, owner, repo, ref interface{}) *gomock.Call
DeleteRef indicates an expected call of DeleteRef.
func (*MockGitServiceMockRecorder) GetBlob ¶
func (mr *MockGitServiceMockRecorder) GetBlob(ctx, owner, repo, sha interface{}) *gomock.Call
GetBlob indicates an expected call of GetBlob.
func (*MockGitServiceMockRecorder) GetBlobRaw ¶
func (mr *MockGitServiceMockRecorder) GetBlobRaw(ctx, owner, repo, sha interface{}) *gomock.Call
GetBlobRaw indicates an expected call of GetBlobRaw.
func (*MockGitServiceMockRecorder) GetCommit ¶
func (mr *MockGitServiceMockRecorder) GetCommit(ctx, owner, repo, sha interface{}) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockGitServiceMockRecorder) GetRef ¶
func (mr *MockGitServiceMockRecorder) GetRef(ctx, owner, repo, ref interface{}) *gomock.Call
GetRef indicates an expected call of GetRef.
func (*MockGitServiceMockRecorder) GetTag ¶
func (mr *MockGitServiceMockRecorder) GetTag(ctx, owner, repo, sha interface{}) *gomock.Call
GetTag indicates an expected call of GetTag.
func (*MockGitServiceMockRecorder) GetTree ¶
func (mr *MockGitServiceMockRecorder) GetTree(ctx, owner, repo, sha, recursive interface{}) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockGitServiceMockRecorder) ListMatchingRefs ¶
func (mr *MockGitServiceMockRecorder) ListMatchingRefs(ctx, owner, repo, opts interface{}) *gomock.Call
ListMatchingRefs indicates an expected call of ListMatchingRefs.
func (*MockGitServiceMockRecorder) UpdateRef ¶
func (mr *MockGitServiceMockRecorder) UpdateRef(ctx, owner, repo, ref, force interface{}) *gomock.Call
UpdateRef indicates an expected call of UpdateRef.
type MockGitignoresService ¶
type MockGitignoresService struct {
// contains filtered or unexported fields
}
MockGitignoresService is a mock of GitignoresService interface.
func NewMockGitignoresService ¶
func NewMockGitignoresService(ctrl *gomock.Controller) *MockGitignoresService
NewMockGitignoresService creates a new mock instance.
func (*MockGitignoresService) EXPECT ¶
func (m *MockGitignoresService) EXPECT() *MockGitignoresServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGitignoresServiceMockRecorder ¶
type MockGitignoresServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGitignoresServiceMockRecorder is the mock recorder for MockGitignoresService.
func (*MockGitignoresServiceMockRecorder) Get ¶
func (mr *MockGitignoresServiceMockRecorder) Get(ctx, name interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockGitignoresServiceMockRecorder) List ¶
func (mr *MockGitignoresServiceMockRecorder) List(ctx interface{}) *gomock.Call
List indicates an expected call of List.
type MockInteractionsService ¶
type MockInteractionsService struct {
// contains filtered or unexported fields
}
MockInteractionsService is a mock of InteractionsService interface.
func NewMockInteractionsService ¶
func NewMockInteractionsService(ctrl *gomock.Controller) *MockInteractionsService
NewMockInteractionsService creates a new mock instance.
func (*MockInteractionsService) EXPECT ¶
func (m *MockInteractionsService) EXPECT() *MockInteractionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInteractionsService) GetRestrictionsForOrg ¶
func (m *MockInteractionsService) GetRestrictionsForOrg(ctx context.Context, organization string) (*github.InteractionRestriction, *github.Response, error)
GetRestrictionsForOrg mocks base method.
func (*MockInteractionsService) GetRestrictionsForRepo ¶
func (m *MockInteractionsService) GetRestrictionsForRepo(ctx context.Context, owner, repo string) (*github.InteractionRestriction, *github.Response, error)
GetRestrictionsForRepo mocks base method.
func (*MockInteractionsService) RemoveRestrictionsFromOrg ¶
func (m *MockInteractionsService) RemoveRestrictionsFromOrg(ctx context.Context, organization string) (*github.Response, error)
RemoveRestrictionsFromOrg mocks base method.
func (*MockInteractionsService) RemoveRestrictionsFromRepo ¶
func (m *MockInteractionsService) RemoveRestrictionsFromRepo(ctx context.Context, owner, repo string) (*github.Response, error)
RemoveRestrictionsFromRepo mocks base method.
func (*MockInteractionsService) UpdateRestrictionsForOrg ¶
func (m *MockInteractionsService) UpdateRestrictionsForOrg(ctx context.Context, organization, limit string) (*github.InteractionRestriction, *github.Response, error)
UpdateRestrictionsForOrg mocks base method.
func (*MockInteractionsService) UpdateRestrictionsForRepo ¶
func (m *MockInteractionsService) UpdateRestrictionsForRepo(ctx context.Context, owner, repo, limit string) (*github.InteractionRestriction, *github.Response, error)
UpdateRestrictionsForRepo mocks base method.
type MockInteractionsServiceMockRecorder ¶
type MockInteractionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockInteractionsServiceMockRecorder is the mock recorder for MockInteractionsService.
func (*MockInteractionsServiceMockRecorder) GetRestrictionsForOrg ¶
func (mr *MockInteractionsServiceMockRecorder) GetRestrictionsForOrg(ctx, organization interface{}) *gomock.Call
GetRestrictionsForOrg indicates an expected call of GetRestrictionsForOrg.
func (*MockInteractionsServiceMockRecorder) GetRestrictionsForRepo ¶
func (mr *MockInteractionsServiceMockRecorder) GetRestrictionsForRepo(ctx, owner, repo interface{}) *gomock.Call
GetRestrictionsForRepo indicates an expected call of GetRestrictionsForRepo.
func (*MockInteractionsServiceMockRecorder) RemoveRestrictionsFromOrg ¶
func (mr *MockInteractionsServiceMockRecorder) RemoveRestrictionsFromOrg(ctx, organization interface{}) *gomock.Call
RemoveRestrictionsFromOrg indicates an expected call of RemoveRestrictionsFromOrg.
func (*MockInteractionsServiceMockRecorder) RemoveRestrictionsFromRepo ¶
func (mr *MockInteractionsServiceMockRecorder) RemoveRestrictionsFromRepo(ctx, owner, repo interface{}) *gomock.Call
RemoveRestrictionsFromRepo indicates an expected call of RemoveRestrictionsFromRepo.
func (*MockInteractionsServiceMockRecorder) UpdateRestrictionsForOrg ¶
func (mr *MockInteractionsServiceMockRecorder) UpdateRestrictionsForOrg(ctx, organization, limit interface{}) *gomock.Call
UpdateRestrictionsForOrg indicates an expected call of UpdateRestrictionsForOrg.
func (*MockInteractionsServiceMockRecorder) UpdateRestrictionsForRepo ¶
func (mr *MockInteractionsServiceMockRecorder) UpdateRestrictionsForRepo(ctx, owner, repo, limit interface{}) *gomock.Call
UpdateRestrictionsForRepo indicates an expected call of UpdateRestrictionsForRepo.
type MockIssueImportService ¶
type MockIssueImportService struct {
// contains filtered or unexported fields
}
MockIssueImportService is a mock of IssueImportService interface.
func NewMockIssueImportService ¶
func NewMockIssueImportService(ctrl *gomock.Controller) *MockIssueImportService
NewMockIssueImportService creates a new mock instance.
func (*MockIssueImportService) CheckStatus ¶
func (m *MockIssueImportService) CheckStatus(ctx context.Context, owner, repo string, issueID int64) (*github.IssueImportResponse, *github.Response, error)
CheckStatus mocks base method.
func (*MockIssueImportService) CheckStatusSince ¶
func (m *MockIssueImportService) CheckStatusSince(ctx context.Context, owner, repo string, since time.Time) ([]*github.IssueImportResponse, *github.Response, error)
CheckStatusSince mocks base method.
func (*MockIssueImportService) Create ¶
func (m *MockIssueImportService) Create(ctx context.Context, owner, repo string, issue *github.IssueImportRequest) (*github.IssueImportResponse, *github.Response, error)
Create mocks base method.
func (*MockIssueImportService) EXPECT ¶
func (m *MockIssueImportService) EXPECT() *MockIssueImportServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIssueImportServiceMockRecorder ¶
type MockIssueImportServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIssueImportServiceMockRecorder is the mock recorder for MockIssueImportService.
func (*MockIssueImportServiceMockRecorder) CheckStatus ¶
func (mr *MockIssueImportServiceMockRecorder) CheckStatus(ctx, owner, repo, issueID interface{}) *gomock.Call
CheckStatus indicates an expected call of CheckStatus.
func (*MockIssueImportServiceMockRecorder) CheckStatusSince ¶
func (mr *MockIssueImportServiceMockRecorder) CheckStatusSince(ctx, owner, repo, since interface{}) *gomock.Call
CheckStatusSince indicates an expected call of CheckStatusSince.
func (*MockIssueImportServiceMockRecorder) Create ¶
func (mr *MockIssueImportServiceMockRecorder) Create(ctx, owner, repo, issue interface{}) *gomock.Call
Create indicates an expected call of Create.
type MockIssuesService ¶
type MockIssuesService struct {
// contains filtered or unexported fields
}
MockIssuesService is a mock of IssuesService interface.
func NewMockIssuesService ¶
func NewMockIssuesService(ctrl *gomock.Controller) *MockIssuesService
NewMockIssuesService creates a new mock instance.
func (*MockIssuesService) AddAssignees ¶
func (m *MockIssuesService) AddAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*github.Issue, *github.Response, error)
AddAssignees mocks base method.
func (*MockIssuesService) AddLabelsToIssue ¶
func (m *MockIssuesService) AddLabelsToIssue(ctx context.Context, owner, repo string, number int, labels []string) ([]*github.Label, *github.Response, error)
AddLabelsToIssue mocks base method.
func (*MockIssuesService) Create ¶
func (m *MockIssuesService) Create(ctx context.Context, owner, repo string, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
Create mocks base method.
func (*MockIssuesService) CreateComment ¶
func (m *MockIssuesService) CreateComment(ctx context.Context, owner, repo string, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
CreateComment mocks base method.
func (*MockIssuesService) CreateLabel ¶
func (m *MockIssuesService) CreateLabel(ctx context.Context, owner, repo string, label *github.Label) (*github.Label, *github.Response, error)
CreateLabel mocks base method.
func (*MockIssuesService) CreateMilestone ¶
func (m *MockIssuesService) CreateMilestone(ctx context.Context, owner, repo string, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
CreateMilestone mocks base method.
func (*MockIssuesService) DeleteComment ¶
func (m *MockIssuesService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*github.Response, error)
DeleteComment mocks base method.
func (*MockIssuesService) DeleteLabel ¶
func (m *MockIssuesService) DeleteLabel(ctx context.Context, owner, repo, name string) (*github.Response, error)
DeleteLabel mocks base method.
func (*MockIssuesService) DeleteMilestone ¶
func (m *MockIssuesService) DeleteMilestone(ctx context.Context, owner, repo string, number int) (*github.Response, error)
DeleteMilestone mocks base method.
func (*MockIssuesService) EXPECT ¶
func (m *MockIssuesService) EXPECT() *MockIssuesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIssuesService) Edit ¶
func (m *MockIssuesService) Edit(ctx context.Context, owner, repo string, number int, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
Edit mocks base method.
func (*MockIssuesService) EditComment ¶
func (m *MockIssuesService) EditComment(ctx context.Context, owner, repo string, commentID int64, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
EditComment mocks base method.
func (*MockIssuesService) EditLabel ¶
func (m *MockIssuesService) EditLabel(ctx context.Context, owner, repo, name string, label *github.Label) (*github.Label, *github.Response, error)
EditLabel mocks base method.
func (*MockIssuesService) EditMilestone ¶
func (m *MockIssuesService) EditMilestone(ctx context.Context, owner, repo string, number int, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
EditMilestone mocks base method.
func (*MockIssuesService) Get ¶
func (m *MockIssuesService) Get(ctx context.Context, owner, repo string, number int) (*github.Issue, *github.Response, error)
Get mocks base method.
func (*MockIssuesService) GetComment ¶
func (m *MockIssuesService) GetComment(ctx context.Context, owner, repo string, commentID int64) (*github.IssueComment, *github.Response, error)
GetComment mocks base method.
func (*MockIssuesService) GetEvent ¶
func (m *MockIssuesService) GetEvent(ctx context.Context, owner, repo string, id int64) (*github.IssueEvent, *github.Response, error)
GetEvent mocks base method.
func (*MockIssuesService) GetLabel ¶
func (m *MockIssuesService) GetLabel(ctx context.Context, owner, repo, name string) (*github.Label, *github.Response, error)
GetLabel mocks base method.
func (*MockIssuesService) GetMilestone ¶
func (m *MockIssuesService) GetMilestone(ctx context.Context, owner, repo string, number int) (*github.Milestone, *github.Response, error)
GetMilestone mocks base method.
func (*MockIssuesService) IsAssignee ¶
func (m *MockIssuesService) IsAssignee(ctx context.Context, owner, repo, user string) (bool, *github.Response, error)
IsAssignee mocks base method.
func (*MockIssuesService) List ¶
func (m *MockIssuesService) List(ctx context.Context, all bool, opts *github.IssueListOptions) ([]*github.Issue, *github.Response, error)
List mocks base method.
func (*MockIssuesService) ListAssignees ¶
func (m *MockIssuesService) ListAssignees(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ListAssignees mocks base method.
func (*MockIssuesService) ListByOrg ¶
func (m *MockIssuesService) ListByOrg(ctx context.Context, org string, opts *github.IssueListOptions) ([]*github.Issue, *github.Response, error)
ListByOrg mocks base method.
func (*MockIssuesService) ListByRepo ¶
func (m *MockIssuesService) ListByRepo(ctx context.Context, owner, repo string, opts *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
ListByRepo mocks base method.
func (*MockIssuesService) ListComments ¶
func (m *MockIssuesService) ListComments(ctx context.Context, owner, repo string, number int, opts *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)
ListComments mocks base method.
func (*MockIssuesService) ListIssueEvents ¶
func (m *MockIssuesService) ListIssueEvents(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
ListIssueEvents mocks base method.
func (*MockIssuesService) ListIssueTimeline ¶
func (m *MockIssuesService) ListIssueTimeline(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Timeline, *github.Response, error)
ListIssueTimeline mocks base method.
func (*MockIssuesService) ListLabels ¶
func (m *MockIssuesService) ListLabels(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
ListLabels mocks base method.
func (*MockIssuesService) ListLabelsByIssue ¶
func (m *MockIssuesService) ListLabelsByIssue(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
ListLabelsByIssue mocks base method.
func (*MockIssuesService) ListLabelsForMilestone ¶
func (m *MockIssuesService) ListLabelsForMilestone(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
ListLabelsForMilestone mocks base method.
func (*MockIssuesService) ListMilestones ¶
func (m *MockIssuesService) ListMilestones(ctx context.Context, owner, repo string, opts *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
ListMilestones mocks base method.
func (*MockIssuesService) ListRepositoryEvents ¶
func (m *MockIssuesService) ListRepositoryEvents(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
ListRepositoryEvents mocks base method.
func (*MockIssuesService) Lock ¶
func (m *MockIssuesService) Lock(ctx context.Context, owner, repo string, number int, opts *github.LockIssueOptions) (*github.Response, error)
Lock mocks base method.
func (*MockIssuesService) RemoveAssignees ¶
func (m *MockIssuesService) RemoveAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*github.Issue, *github.Response, error)
RemoveAssignees mocks base method.
func (*MockIssuesService) RemoveLabelForIssue ¶
func (m *MockIssuesService) RemoveLabelForIssue(ctx context.Context, owner, repo string, number int, label string) (*github.Response, error)
RemoveLabelForIssue mocks base method.
func (*MockIssuesService) RemoveLabelsForIssue ¶
func (m *MockIssuesService) RemoveLabelsForIssue(ctx context.Context, owner, repo string, number int) (*github.Response, error)
RemoveLabelsForIssue mocks base method.
func (*MockIssuesService) RemoveMilestone ¶
func (m *MockIssuesService) RemoveMilestone(ctx context.Context, owner, repo string, issueNumber int) (*github.Issue, *github.Response, error)
RemoveMilestone mocks base method.
type MockIssuesServiceMockRecorder ¶
type MockIssuesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIssuesServiceMockRecorder is the mock recorder for MockIssuesService.
func (*MockIssuesServiceMockRecorder) AddAssignees ¶
func (mr *MockIssuesServiceMockRecorder) AddAssignees(ctx, owner, repo, number, assignees interface{}) *gomock.Call
AddAssignees indicates an expected call of AddAssignees.
func (*MockIssuesServiceMockRecorder) AddLabelsToIssue ¶
func (mr *MockIssuesServiceMockRecorder) AddLabelsToIssue(ctx, owner, repo, number, labels interface{}) *gomock.Call
AddLabelsToIssue indicates an expected call of AddLabelsToIssue.
func (*MockIssuesServiceMockRecorder) Create ¶
func (mr *MockIssuesServiceMockRecorder) Create(ctx, owner, repo, issue interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIssuesServiceMockRecorder) CreateComment ¶
func (mr *MockIssuesServiceMockRecorder) CreateComment(ctx, owner, repo, number, comment interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment.
func (*MockIssuesServiceMockRecorder) CreateLabel ¶
func (mr *MockIssuesServiceMockRecorder) CreateLabel(ctx, owner, repo, label interface{}) *gomock.Call
CreateLabel indicates an expected call of CreateLabel.
func (*MockIssuesServiceMockRecorder) CreateMilestone ¶
func (mr *MockIssuesServiceMockRecorder) CreateMilestone(ctx, owner, repo, milestone interface{}) *gomock.Call
CreateMilestone indicates an expected call of CreateMilestone.
func (*MockIssuesServiceMockRecorder) DeleteComment ¶
func (mr *MockIssuesServiceMockRecorder) DeleteComment(ctx, owner, repo, commentID interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment.
func (*MockIssuesServiceMockRecorder) DeleteLabel ¶
func (mr *MockIssuesServiceMockRecorder) DeleteLabel(ctx, owner, repo, name interface{}) *gomock.Call
DeleteLabel indicates an expected call of DeleteLabel.
func (*MockIssuesServiceMockRecorder) DeleteMilestone ¶
func (mr *MockIssuesServiceMockRecorder) DeleteMilestone(ctx, owner, repo, number interface{}) *gomock.Call
DeleteMilestone indicates an expected call of DeleteMilestone.
func (*MockIssuesServiceMockRecorder) Edit ¶
func (mr *MockIssuesServiceMockRecorder) Edit(ctx, owner, repo, number, issue interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockIssuesServiceMockRecorder) EditComment ¶
func (mr *MockIssuesServiceMockRecorder) EditComment(ctx, owner, repo, commentID, comment interface{}) *gomock.Call
EditComment indicates an expected call of EditComment.
func (*MockIssuesServiceMockRecorder) EditLabel ¶
func (mr *MockIssuesServiceMockRecorder) EditLabel(ctx, owner, repo, name, label interface{}) *gomock.Call
EditLabel indicates an expected call of EditLabel.
func (*MockIssuesServiceMockRecorder) EditMilestone ¶
func (mr *MockIssuesServiceMockRecorder) EditMilestone(ctx, owner, repo, number, milestone interface{}) *gomock.Call
EditMilestone indicates an expected call of EditMilestone.
func (*MockIssuesServiceMockRecorder) Get ¶
func (mr *MockIssuesServiceMockRecorder) Get(ctx, owner, repo, number interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIssuesServiceMockRecorder) GetComment ¶
func (mr *MockIssuesServiceMockRecorder) GetComment(ctx, owner, repo, commentID interface{}) *gomock.Call
GetComment indicates an expected call of GetComment.
func (*MockIssuesServiceMockRecorder) GetEvent ¶
func (mr *MockIssuesServiceMockRecorder) GetEvent(ctx, owner, repo, id interface{}) *gomock.Call
GetEvent indicates an expected call of GetEvent.
func (*MockIssuesServiceMockRecorder) GetLabel ¶
func (mr *MockIssuesServiceMockRecorder) GetLabel(ctx, owner, repo, name interface{}) *gomock.Call
GetLabel indicates an expected call of GetLabel.
func (*MockIssuesServiceMockRecorder) GetMilestone ¶
func (mr *MockIssuesServiceMockRecorder) GetMilestone(ctx, owner, repo, number interface{}) *gomock.Call
GetMilestone indicates an expected call of GetMilestone.
func (*MockIssuesServiceMockRecorder) IsAssignee ¶
func (mr *MockIssuesServiceMockRecorder) IsAssignee(ctx, owner, repo, user interface{}) *gomock.Call
IsAssignee indicates an expected call of IsAssignee.
func (*MockIssuesServiceMockRecorder) List ¶
func (mr *MockIssuesServiceMockRecorder) List(ctx, all, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockIssuesServiceMockRecorder) ListAssignees ¶
func (mr *MockIssuesServiceMockRecorder) ListAssignees(ctx, owner, repo, opts interface{}) *gomock.Call
ListAssignees indicates an expected call of ListAssignees.
func (*MockIssuesServiceMockRecorder) ListByOrg ¶
func (mr *MockIssuesServiceMockRecorder) ListByOrg(ctx, org, opts interface{}) *gomock.Call
ListByOrg indicates an expected call of ListByOrg.
func (*MockIssuesServiceMockRecorder) ListByRepo ¶
func (mr *MockIssuesServiceMockRecorder) ListByRepo(ctx, owner, repo, opts interface{}) *gomock.Call
ListByRepo indicates an expected call of ListByRepo.
func (*MockIssuesServiceMockRecorder) ListComments ¶
func (mr *MockIssuesServiceMockRecorder) ListComments(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListComments indicates an expected call of ListComments.
func (*MockIssuesServiceMockRecorder) ListIssueEvents ¶
func (mr *MockIssuesServiceMockRecorder) ListIssueEvents(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListIssueEvents indicates an expected call of ListIssueEvents.
func (*MockIssuesServiceMockRecorder) ListIssueTimeline ¶
func (mr *MockIssuesServiceMockRecorder) ListIssueTimeline(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListIssueTimeline indicates an expected call of ListIssueTimeline.
func (*MockIssuesServiceMockRecorder) ListLabels ¶
func (mr *MockIssuesServiceMockRecorder) ListLabels(ctx, owner, repo, opts interface{}) *gomock.Call
ListLabels indicates an expected call of ListLabels.
func (*MockIssuesServiceMockRecorder) ListLabelsByIssue ¶
func (mr *MockIssuesServiceMockRecorder) ListLabelsByIssue(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListLabelsByIssue indicates an expected call of ListLabelsByIssue.
func (*MockIssuesServiceMockRecorder) ListLabelsForMilestone ¶
func (mr *MockIssuesServiceMockRecorder) ListLabelsForMilestone(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListLabelsForMilestone indicates an expected call of ListLabelsForMilestone.
func (*MockIssuesServiceMockRecorder) ListMilestones ¶
func (mr *MockIssuesServiceMockRecorder) ListMilestones(ctx, owner, repo, opts interface{}) *gomock.Call
ListMilestones indicates an expected call of ListMilestones.
func (*MockIssuesServiceMockRecorder) ListRepositoryEvents ¶
func (mr *MockIssuesServiceMockRecorder) ListRepositoryEvents(ctx, owner, repo, opts interface{}) *gomock.Call
ListRepositoryEvents indicates an expected call of ListRepositoryEvents.
func (*MockIssuesServiceMockRecorder) Lock ¶
func (mr *MockIssuesServiceMockRecorder) Lock(ctx, owner, repo, number, opts interface{}) *gomock.Call
Lock indicates an expected call of Lock.
func (*MockIssuesServiceMockRecorder) RemoveAssignees ¶
func (mr *MockIssuesServiceMockRecorder) RemoveAssignees(ctx, owner, repo, number, assignees interface{}) *gomock.Call
RemoveAssignees indicates an expected call of RemoveAssignees.
func (*MockIssuesServiceMockRecorder) RemoveLabelForIssue ¶
func (mr *MockIssuesServiceMockRecorder) RemoveLabelForIssue(ctx, owner, repo, number, label interface{}) *gomock.Call
RemoveLabelForIssue indicates an expected call of RemoveLabelForIssue.
func (*MockIssuesServiceMockRecorder) RemoveLabelsForIssue ¶
func (mr *MockIssuesServiceMockRecorder) RemoveLabelsForIssue(ctx, owner, repo, number interface{}) *gomock.Call
RemoveLabelsForIssue indicates an expected call of RemoveLabelsForIssue.
func (*MockIssuesServiceMockRecorder) RemoveMilestone ¶
func (mr *MockIssuesServiceMockRecorder) RemoveMilestone(ctx, owner, repo, issueNumber interface{}) *gomock.Call
RemoveMilestone indicates an expected call of RemoveMilestone.
func (*MockIssuesServiceMockRecorder) ReplaceLabelsForIssue ¶
func (mr *MockIssuesServiceMockRecorder) ReplaceLabelsForIssue(ctx, owner, repo, number, labels interface{}) *gomock.Call
ReplaceLabelsForIssue indicates an expected call of ReplaceLabelsForIssue.
func (*MockIssuesServiceMockRecorder) Unlock ¶
func (mr *MockIssuesServiceMockRecorder) Unlock(ctx, owner, repo, number interface{}) *gomock.Call
Unlock indicates an expected call of Unlock.
type MockLicensesService ¶
type MockLicensesService struct {
// contains filtered or unexported fields
}
MockLicensesService is a mock of LicensesService interface.
func NewMockLicensesService ¶
func NewMockLicensesService(ctrl *gomock.Controller) *MockLicensesService
NewMockLicensesService creates a new mock instance.
func (*MockLicensesService) EXPECT ¶
func (m *MockLicensesService) EXPECT() *MockLicensesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLicensesServiceMockRecorder ¶
type MockLicensesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLicensesServiceMockRecorder is the mock recorder for MockLicensesService.
func (*MockLicensesServiceMockRecorder) Get ¶
func (mr *MockLicensesServiceMockRecorder) Get(ctx, licenseName interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLicensesServiceMockRecorder) List ¶
func (mr *MockLicensesServiceMockRecorder) List(ctx interface{}) *gomock.Call
List indicates an expected call of List.
type MockMarketplaceService ¶
type MockMarketplaceService struct {
// contains filtered or unexported fields
}
MockMarketplaceService is a mock of MarketplaceService interface.
func NewMockMarketplaceService ¶
func NewMockMarketplaceService(ctrl *gomock.Controller) *MockMarketplaceService
NewMockMarketplaceService creates a new mock instance.
func (*MockMarketplaceService) EXPECT ¶
func (m *MockMarketplaceService) EXPECT() *MockMarketplaceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketplaceService) GetPlanAccountForAccount ¶
func (m *MockMarketplaceService) GetPlanAccountForAccount(ctx context.Context, accountID int64) (*github.MarketplacePlanAccount, *github.Response, error)
GetPlanAccountForAccount mocks base method.
func (*MockMarketplaceService) ListMarketplacePurchasesForUser ¶
func (m *MockMarketplaceService) ListMarketplacePurchasesForUser(ctx context.Context, opts *github.ListOptions) ([]*github.MarketplacePurchase, *github.Response, error)
ListMarketplacePurchasesForUser mocks base method.
func (*MockMarketplaceService) ListPlanAccountsForPlan ¶
func (m *MockMarketplaceService) ListPlanAccountsForPlan(ctx context.Context, planID int64, opts *github.ListOptions) ([]*github.MarketplacePlanAccount, *github.Response, error)
ListPlanAccountsForPlan mocks base method.
func (*MockMarketplaceService) ListPlans ¶
func (m *MockMarketplaceService) ListPlans(ctx context.Context, opts *github.ListOptions) ([]*github.MarketplacePlan, *github.Response, error)
ListPlans mocks base method.
type MockMarketplaceServiceMockRecorder ¶
type MockMarketplaceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketplaceServiceMockRecorder is the mock recorder for MockMarketplaceService.
func (*MockMarketplaceServiceMockRecorder) GetPlanAccountForAccount ¶
func (mr *MockMarketplaceServiceMockRecorder) GetPlanAccountForAccount(ctx, accountID interface{}) *gomock.Call
GetPlanAccountForAccount indicates an expected call of GetPlanAccountForAccount.
func (*MockMarketplaceServiceMockRecorder) ListMarketplacePurchasesForUser ¶
func (mr *MockMarketplaceServiceMockRecorder) ListMarketplacePurchasesForUser(ctx, opts interface{}) *gomock.Call
ListMarketplacePurchasesForUser indicates an expected call of ListMarketplacePurchasesForUser.
func (*MockMarketplaceServiceMockRecorder) ListPlanAccountsForPlan ¶
func (mr *MockMarketplaceServiceMockRecorder) ListPlanAccountsForPlan(ctx, planID, opts interface{}) *gomock.Call
ListPlanAccountsForPlan indicates an expected call of ListPlanAccountsForPlan.
func (*MockMarketplaceServiceMockRecorder) ListPlans ¶
func (mr *MockMarketplaceServiceMockRecorder) ListPlans(ctx, opts interface{}) *gomock.Call
ListPlans indicates an expected call of ListPlans.
type MockMigrationsService ¶
type MockMigrationsService struct {
// contains filtered or unexported fields
}
MockMigrationsService is a mock of MigrationsService interface.
func NewMockMigrationsService ¶
func NewMockMigrationsService(ctrl *gomock.Controller) *MockMigrationsService
NewMockMigrationsService creates a new mock instance.
func (*MockMigrationsService) CancelImport ¶
func (m *MockMigrationsService) CancelImport(arg0 context.Context, arg1, arg2 string) (*github.Response, error)
CancelImport mocks base method.
func (*MockMigrationsService) CommitAuthors ¶
func (m *MockMigrationsService) CommitAuthors(arg0 context.Context, arg1, arg2 string) ([]*github.SourceImportAuthor, *github.Response, error)
CommitAuthors mocks base method.
func (*MockMigrationsService) DeleteMigration ¶
func (m *MockMigrationsService) DeleteMigration(arg0 context.Context, arg1 string, arg2 int64) (*github.Response, error)
DeleteMigration mocks base method.
func (*MockMigrationsService) DeleteUserMigration ¶
func (m *MockMigrationsService) DeleteUserMigration(arg0 context.Context, arg1 int64) (*github.Response, error)
DeleteUserMigration mocks base method.
func (*MockMigrationsService) EXPECT ¶
func (m *MockMigrationsService) EXPECT() *MockMigrationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMigrationsService) ImportProgress ¶
func (m *MockMigrationsService) ImportProgress(arg0 context.Context, arg1, arg2 string) (*github.Import, *github.Response, error)
ImportProgress mocks base method.
func (*MockMigrationsService) LargeFiles ¶
func (m *MockMigrationsService) LargeFiles(arg0 context.Context, arg1, arg2 string) ([]*github.LargeFile, *github.Response, error)
LargeFiles mocks base method.
func (*MockMigrationsService) ListMigrations ¶
func (m *MockMigrationsService) ListMigrations(arg0 context.Context, arg1 string, arg2 *github.ListOptions) ([]*github.Migration, *github.Response, error)
ListMigrations mocks base method.
func (*MockMigrationsService) ListUserMigrations ¶
func (m *MockMigrationsService) ListUserMigrations(arg0 context.Context, arg1 *github.ListOptions) ([]*github.UserMigration, *github.Response, error)
ListUserMigrations mocks base method.
func (*MockMigrationsService) MapCommitAuthor ¶
func (m *MockMigrationsService) MapCommitAuthor(arg0 context.Context, arg1, arg2 string, arg3 int64, arg4 *github.SourceImportAuthor) (*github.SourceImportAuthor, *github.Response, error)
MapCommitAuthor mocks base method.
func (*MockMigrationsService) MigrationArchiveURL ¶
func (m *MockMigrationsService) MigrationArchiveURL(arg0 context.Context, arg1 string, arg2 int64) (string, error)
MigrationArchiveURL mocks base method.
func (*MockMigrationsService) MigrationStatus ¶
func (m *MockMigrationsService) MigrationStatus(arg0 context.Context, arg1 string, arg2 int64) (*github.Migration, *github.Response, error)
MigrationStatus mocks base method.
func (*MockMigrationsService) SetLFSPreference ¶
func (m *MockMigrationsService) SetLFSPreference(arg0 context.Context, arg1, arg2 string, arg3 *github.Import) (*github.Import, *github.Response, error)
SetLFSPreference mocks base method.
func (*MockMigrationsService) StartImport ¶
func (m *MockMigrationsService) StartImport(arg0 context.Context, arg1, arg2 string, arg3 *github.Import) (*github.Import, *github.Response, error)
StartImport mocks base method.
func (*MockMigrationsService) StartMigration ¶
func (m *MockMigrationsService) StartMigration(arg0 context.Context, arg1 string, arg2 []string, arg3 *github.MigrationOptions) (*github.Migration, *github.Response, error)
StartMigration mocks base method.
func (*MockMigrationsService) StartUserMigration ¶
func (m *MockMigrationsService) StartUserMigration(arg0 context.Context, arg1 []string, arg2 *github.UserMigrationOptions) (*github.UserMigration, *github.Response, error)
StartUserMigration mocks base method.
func (*MockMigrationsService) UnlockRepo ¶
func (m *MockMigrationsService) UnlockRepo(arg0 context.Context, arg1 string, arg2 int64, arg3 string) (*github.Response, error)
UnlockRepo mocks base method.
func (*MockMigrationsService) UnlockUserRepo ¶
func (m *MockMigrationsService) UnlockUserRepo(arg0 context.Context, arg1 int64, arg2 string) (*github.Response, error)
UnlockUserRepo mocks base method.
func (*MockMigrationsService) UpdateImport ¶
func (m *MockMigrationsService) UpdateImport(arg0 context.Context, arg1, arg2 string, arg3 *github.Import) (*github.Import, *github.Response, error)
UpdateImport mocks base method.
func (*MockMigrationsService) UserMigrationArchiveURL ¶
func (m *MockMigrationsService) UserMigrationArchiveURL(arg0 context.Context, arg1 int64) (string, error)
UserMigrationArchiveURL mocks base method.
func (*MockMigrationsService) UserMigrationStatus ¶
func (m *MockMigrationsService) UserMigrationStatus(arg0 context.Context, arg1 int64) (*github.UserMigration, *github.Response, error)
UserMigrationStatus mocks base method.
type MockMigrationsServiceMockRecorder ¶
type MockMigrationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMigrationsServiceMockRecorder is the mock recorder for MockMigrationsService.
func (*MockMigrationsServiceMockRecorder) CancelImport ¶
func (mr *MockMigrationsServiceMockRecorder) CancelImport(arg0, arg1, arg2 interface{}) *gomock.Call
CancelImport indicates an expected call of CancelImport.
func (*MockMigrationsServiceMockRecorder) CommitAuthors ¶
func (mr *MockMigrationsServiceMockRecorder) CommitAuthors(arg0, arg1, arg2 interface{}) *gomock.Call
CommitAuthors indicates an expected call of CommitAuthors.
func (*MockMigrationsServiceMockRecorder) DeleteMigration ¶
func (mr *MockMigrationsServiceMockRecorder) DeleteMigration(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteMigration indicates an expected call of DeleteMigration.
func (*MockMigrationsServiceMockRecorder) DeleteUserMigration ¶
func (mr *MockMigrationsServiceMockRecorder) DeleteUserMigration(arg0, arg1 interface{}) *gomock.Call
DeleteUserMigration indicates an expected call of DeleteUserMigration.
func (*MockMigrationsServiceMockRecorder) ImportProgress ¶
func (mr *MockMigrationsServiceMockRecorder) ImportProgress(arg0, arg1, arg2 interface{}) *gomock.Call
ImportProgress indicates an expected call of ImportProgress.
func (*MockMigrationsServiceMockRecorder) LargeFiles ¶
func (mr *MockMigrationsServiceMockRecorder) LargeFiles(arg0, arg1, arg2 interface{}) *gomock.Call
LargeFiles indicates an expected call of LargeFiles.
func (*MockMigrationsServiceMockRecorder) ListMigrations ¶
func (mr *MockMigrationsServiceMockRecorder) ListMigrations(arg0, arg1, arg2 interface{}) *gomock.Call
ListMigrations indicates an expected call of ListMigrations.
func (*MockMigrationsServiceMockRecorder) ListUserMigrations ¶
func (mr *MockMigrationsServiceMockRecorder) ListUserMigrations(arg0, arg1 interface{}) *gomock.Call
ListUserMigrations indicates an expected call of ListUserMigrations.
func (*MockMigrationsServiceMockRecorder) MapCommitAuthor ¶
func (mr *MockMigrationsServiceMockRecorder) MapCommitAuthor(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
MapCommitAuthor indicates an expected call of MapCommitAuthor.
func (*MockMigrationsServiceMockRecorder) MigrationArchiveURL ¶
func (mr *MockMigrationsServiceMockRecorder) MigrationArchiveURL(arg0, arg1, arg2 interface{}) *gomock.Call
MigrationArchiveURL indicates an expected call of MigrationArchiveURL.
func (*MockMigrationsServiceMockRecorder) MigrationStatus ¶
func (mr *MockMigrationsServiceMockRecorder) MigrationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
MigrationStatus indicates an expected call of MigrationStatus.
func (*MockMigrationsServiceMockRecorder) SetLFSPreference ¶
func (mr *MockMigrationsServiceMockRecorder) SetLFSPreference(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetLFSPreference indicates an expected call of SetLFSPreference.
func (*MockMigrationsServiceMockRecorder) StartImport ¶
func (mr *MockMigrationsServiceMockRecorder) StartImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StartImport indicates an expected call of StartImport.
func (*MockMigrationsServiceMockRecorder) StartMigration ¶
func (mr *MockMigrationsServiceMockRecorder) StartMigration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StartMigration indicates an expected call of StartMigration.
func (*MockMigrationsServiceMockRecorder) StartUserMigration ¶
func (mr *MockMigrationsServiceMockRecorder) StartUserMigration(arg0, arg1, arg2 interface{}) *gomock.Call
StartUserMigration indicates an expected call of StartUserMigration.
func (*MockMigrationsServiceMockRecorder) UnlockRepo ¶
func (mr *MockMigrationsServiceMockRecorder) UnlockRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UnlockRepo indicates an expected call of UnlockRepo.
func (*MockMigrationsServiceMockRecorder) UnlockUserRepo ¶
func (mr *MockMigrationsServiceMockRecorder) UnlockUserRepo(arg0, arg1, arg2 interface{}) *gomock.Call
UnlockUserRepo indicates an expected call of UnlockUserRepo.
func (*MockMigrationsServiceMockRecorder) UpdateImport ¶
func (mr *MockMigrationsServiceMockRecorder) UpdateImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateImport indicates an expected call of UpdateImport.
func (*MockMigrationsServiceMockRecorder) UserMigrationArchiveURL ¶
func (mr *MockMigrationsServiceMockRecorder) UserMigrationArchiveURL(arg0, arg1 interface{}) *gomock.Call
UserMigrationArchiveURL indicates an expected call of UserMigrationArchiveURL.
func (*MockMigrationsServiceMockRecorder) UserMigrationStatus ¶
func (mr *MockMigrationsServiceMockRecorder) UserMigrationStatus(arg0, arg1 interface{}) *gomock.Call
UserMigrationStatus indicates an expected call of UserMigrationStatus.
type MockOrganizationsService ¶
type MockOrganizationsService struct {
// contains filtered or unexported fields
}
MockOrganizationsService is a mock of OrganizationsService interface.
func NewMockOrganizationsService ¶
func NewMockOrganizationsService(ctrl *gomock.Controller) *MockOrganizationsService
NewMockOrganizationsService creates a new mock instance.
func (*MockOrganizationsService) BlockUser ¶
func (m *MockOrganizationsService) BlockUser(ctx context.Context, org, user string) (*github.Response, error)
BlockUser mocks base method.
func (*MockOrganizationsService) ConcealMembership ¶
func (m *MockOrganizationsService) ConcealMembership(ctx context.Context, org, user string) (*github.Response, error)
ConcealMembership mocks base method.
func (*MockOrganizationsService) ConvertMemberToOutsideCollaborator ¶
func (m *MockOrganizationsService) ConvertMemberToOutsideCollaborator(ctx context.Context, org, user string) (*github.Response, error)
ConvertMemberToOutsideCollaborator mocks base method.
func (*MockOrganizationsService) CreateCustomRepoRole ¶
func (m *MockOrganizationsService) CreateCustomRepoRole(ctx context.Context, org string, opts *github.CreateOrUpdateCustomRoleOptions) (*github.CustomRepoRoles, *github.Response, error)
CreateCustomRepoRole mocks base method.
func (*MockOrganizationsService) CreateHook ¶
func (m *MockOrganizationsService) CreateHook(ctx context.Context, org string, hook *github.Hook) (*github.Hook, *github.Response, error)
CreateHook mocks base method.
func (*MockOrganizationsService) CreateOrgInvitation ¶
func (m *MockOrganizationsService) CreateOrgInvitation(ctx context.Context, org string, opts *github.CreateOrgInvitationOptions) (*github.Invitation, *github.Response, error)
CreateOrgInvitation mocks base method.
func (*MockOrganizationsService) CreateProject ¶
func (m *MockOrganizationsService) CreateProject(ctx context.Context, org string, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
CreateProject mocks base method.
func (*MockOrganizationsService) DeleteCustomRepoRole ¶
func (m *MockOrganizationsService) DeleteCustomRepoRole(ctx context.Context, org, roleID string) (*github.Response, error)
DeleteCustomRepoRole mocks base method.
func (*MockOrganizationsService) DeleteHook ¶
func (m *MockOrganizationsService) DeleteHook(ctx context.Context, org string, id int64) (*github.Response, error)
DeleteHook mocks base method.
func (*MockOrganizationsService) DeletePackage ¶
func (m *MockOrganizationsService) DeletePackage(ctx context.Context, org, packageType, packageName string) (*github.Response, error)
DeletePackage mocks base method.
func (*MockOrganizationsService) EXPECT ¶
func (m *MockOrganizationsService) EXPECT() *MockOrganizationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrganizationsService) Edit ¶
func (m *MockOrganizationsService) Edit(ctx context.Context, name string, org *github.Organization) (*github.Organization, *github.Response, error)
Edit mocks base method.
func (*MockOrganizationsService) EditActionsAllowed ¶
func (m *MockOrganizationsService) EditActionsAllowed(ctx context.Context, org string, actionsAllowed github.ActionsAllowed) (*github.ActionsAllowed, *github.Response, error)
EditActionsAllowed mocks base method.
func (*MockOrganizationsService) EditActionsPermissions ¶
func (m *MockOrganizationsService) EditActionsPermissions(ctx context.Context, org string, actionsPermissions github.ActionsPermissions) (*github.ActionsPermissions, *github.Response, error)
EditActionsPermissions mocks base method.
func (*MockOrganizationsService) EditHook ¶
func (m *MockOrganizationsService) EditHook(ctx context.Context, org string, id int64, hook *github.Hook) (*github.Hook, *github.Response, error)
EditHook mocks base method.
func (*MockOrganizationsService) EditOrgMembership ¶
func (m *MockOrganizationsService) EditOrgMembership(ctx context.Context, user, org string, membership *github.Membership) (*github.Membership, *github.Response, error)
EditOrgMembership mocks base method.
func (*MockOrganizationsService) Get ¶
func (m *MockOrganizationsService) Get(ctx context.Context, org string) (*github.Organization, *github.Response, error)
Get mocks base method.
func (*MockOrganizationsService) GetActionsAllowed ¶
func (m *MockOrganizationsService) GetActionsAllowed(ctx context.Context, org string) (*github.ActionsAllowed, *github.Response, error)
GetActionsAllowed mocks base method.
func (*MockOrganizationsService) GetActionsPermissions ¶
func (m *MockOrganizationsService) GetActionsPermissions(ctx context.Context, org string) (*github.ActionsPermissions, *github.Response, error)
GetActionsPermissions mocks base method.
func (*MockOrganizationsService) GetAuditLog ¶
func (m *MockOrganizationsService) GetAuditLog(ctx context.Context, org string, opts *github.GetAuditLogOptions) ([]*github.AuditEntry, *github.Response, error)
GetAuditLog mocks base method.
func (*MockOrganizationsService) GetByID ¶
func (m *MockOrganizationsService) GetByID(ctx context.Context, id int64) (*github.Organization, *github.Response, error)
GetByID mocks base method.
func (*MockOrganizationsService) GetHook ¶
func (m *MockOrganizationsService) GetHook(ctx context.Context, org string, id int64) (*github.Hook, *github.Response, error)
GetHook mocks base method.
func (*MockOrganizationsService) GetHookDelivery ¶
func (m *MockOrganizationsService) GetHookDelivery(ctx context.Context, owner string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
GetHookDelivery mocks base method.
func (*MockOrganizationsService) GetOrgMembership ¶
func (m *MockOrganizationsService) GetOrgMembership(ctx context.Context, user, org string) (*github.Membership, *github.Response, error)
GetOrgMembership mocks base method.
func (*MockOrganizationsService) GetPackage ¶
func (m *MockOrganizationsService) GetPackage(ctx context.Context, org, packageType, packageName string) (*github.Package, *github.Response, error)
GetPackage mocks base method.
func (*MockOrganizationsService) IsBlocked ¶
func (m *MockOrganizationsService) IsBlocked(ctx context.Context, org, user string) (bool, *github.Response, error)
IsBlocked mocks base method.
func (*MockOrganizationsService) IsMember ¶
func (m *MockOrganizationsService) IsMember(ctx context.Context, org, user string) (bool, *github.Response, error)
IsMember mocks base method.
func (*MockOrganizationsService) IsPublicMember ¶
func (m *MockOrganizationsService) IsPublicMember(ctx context.Context, org, user string) (bool, *github.Response, error)
IsPublicMember mocks base method.
func (*MockOrganizationsService) List ¶
func (m *MockOrganizationsService) List(ctx context.Context, user string, opts *github.ListOptions) ([]*github.Organization, *github.Response, error)
List mocks base method.
func (*MockOrganizationsService) ListAll ¶
func (m *MockOrganizationsService) ListAll(ctx context.Context, opts *github.OrganizationsListOptions) ([]*github.Organization, *github.Response, error)
ListAll mocks base method.
func (*MockOrganizationsService) ListBlockedUsers ¶
func (m *MockOrganizationsService) ListBlockedUsers(ctx context.Context, org string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ListBlockedUsers mocks base method.
func (*MockOrganizationsService) ListCustomRepoRoles ¶
func (m *MockOrganizationsService) ListCustomRepoRoles(ctx context.Context, org string) (*github.OrganizationCustomRepoRoles, *github.Response, error)
ListCustomRepoRoles mocks base method.
func (*MockOrganizationsService) ListFailedOrgInvitations ¶
func (m *MockOrganizationsService) ListFailedOrgInvitations(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
ListFailedOrgInvitations mocks base method.
func (*MockOrganizationsService) ListHookDeliveries ¶
func (m *MockOrganizationsService) ListHookDeliveries(ctx context.Context, org string, id int64, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
ListHookDeliveries mocks base method.
func (*MockOrganizationsService) ListHooks ¶
func (m *MockOrganizationsService) ListHooks(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Hook, *github.Response, error)
ListHooks mocks base method.
func (*MockOrganizationsService) ListInstallations ¶
func (m *MockOrganizationsService) ListInstallations(ctx context.Context, org string, opts *github.ListOptions) (*github.OrganizationInstallations, *github.Response, error)
ListInstallations mocks base method.
func (*MockOrganizationsService) ListMembers ¶
func (m *MockOrganizationsService) ListMembers(ctx context.Context, org string, opts *github.ListMembersOptions) ([]*github.User, *github.Response, error)
ListMembers mocks base method.
func (*MockOrganizationsService) ListOrgInvitationTeams ¶
func (m *MockOrganizationsService) ListOrgInvitationTeams(ctx context.Context, org, invitationID string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
ListOrgInvitationTeams mocks base method.
func (*MockOrganizationsService) ListOrgMemberships ¶
func (m *MockOrganizationsService) ListOrgMemberships(ctx context.Context, opts *github.ListOrgMembershipsOptions) ([]*github.Membership, *github.Response, error)
ListOrgMemberships mocks base method.
func (*MockOrganizationsService) ListOutsideCollaborators ¶
func (m *MockOrganizationsService) ListOutsideCollaborators(ctx context.Context, org string, opts *github.ListOutsideCollaboratorsOptions) ([]*github.User, *github.Response, error)
ListOutsideCollaborators mocks base method.
func (*MockOrganizationsService) ListPackages ¶
func (m *MockOrganizationsService) ListPackages(ctx context.Context, org string, opts *github.PackageListOptions) ([]*github.Package, *github.Response, error)
ListPackages mocks base method.
func (*MockOrganizationsService) ListPendingOrgInvitations ¶
func (m *MockOrganizationsService) ListPendingOrgInvitations(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
ListPendingOrgInvitations mocks base method.
func (*MockOrganizationsService) ListProjects ¶
func (m *MockOrganizationsService) ListProjects(ctx context.Context, org string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
ListProjects mocks base method.
func (*MockOrganizationsService) PackageDeleteVersion ¶
func (m *MockOrganizationsService) PackageDeleteVersion(ctx context.Context, org, packageType, packageName string, packageVersionID int64) (*github.Response, error)
PackageDeleteVersion mocks base method.
func (*MockOrganizationsService) PackageGetAllVersions ¶
func (m *MockOrganizationsService) PackageGetAllVersions(ctx context.Context, org, packageType, packageName string, opts *github.PackageListOptions) ([]*github.PackageVersion, *github.Response, error)
PackageGetAllVersions mocks base method.
func (*MockOrganizationsService) PackageGetVersion ¶
func (m *MockOrganizationsService) PackageGetVersion(ctx context.Context, org, packageType, packageName string, packageVersionID int64) (*github.PackageVersion, *github.Response, error)
PackageGetVersion mocks base method.
func (*MockOrganizationsService) PackageRestoreVersion ¶
func (m *MockOrganizationsService) PackageRestoreVersion(ctx context.Context, org, packageType, packageName string, packageVersionID int64) (*github.Response, error)
PackageRestoreVersion mocks base method.
func (*MockOrganizationsService) PingHook ¶
func (m *MockOrganizationsService) PingHook(ctx context.Context, org string, id int64) (*github.Response, error)
PingHook mocks base method.
func (*MockOrganizationsService) PublicizeMembership ¶
func (m *MockOrganizationsService) PublicizeMembership(ctx context.Context, org, user string) (*github.Response, error)
PublicizeMembership mocks base method.
func (*MockOrganizationsService) RedeliverHookDelivery ¶
func (m *MockOrganizationsService) RedeliverHookDelivery(ctx context.Context, owner string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
RedeliverHookDelivery mocks base method.
func (*MockOrganizationsService) RemoveMember ¶
func (m *MockOrganizationsService) RemoveMember(ctx context.Context, org, user string) (*github.Response, error)
RemoveMember mocks base method.
func (*MockOrganizationsService) RemoveOrgMembership ¶
func (m *MockOrganizationsService) RemoveOrgMembership(ctx context.Context, user, org string) (*github.Response, error)
RemoveOrgMembership mocks base method.
func (*MockOrganizationsService) RemoveOutsideCollaborator ¶
func (m *MockOrganizationsService) RemoveOutsideCollaborator(ctx context.Context, org, user string) (*github.Response, error)
RemoveOutsideCollaborator mocks base method.
func (*MockOrganizationsService) RestorePackage ¶
func (m *MockOrganizationsService) RestorePackage(ctx context.Context, org, packageType, packageName string) (*github.Response, error)
RestorePackage mocks base method.
func (*MockOrganizationsService) UnblockUser ¶
func (m *MockOrganizationsService) UnblockUser(ctx context.Context, org, user string) (*github.Response, error)
UnblockUser mocks base method.
func (*MockOrganizationsService) UpdateCustomRepoRole ¶
func (m *MockOrganizationsService) UpdateCustomRepoRole(ctx context.Context, org, roleID string, opts *github.CreateOrUpdateCustomRoleOptions) (*github.CustomRepoRoles, *github.Response, error)
UpdateCustomRepoRole mocks base method.
type MockOrganizationsServiceMockRecorder ¶
type MockOrganizationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrganizationsServiceMockRecorder is the mock recorder for MockOrganizationsService.
func (*MockOrganizationsServiceMockRecorder) BlockUser ¶
func (mr *MockOrganizationsServiceMockRecorder) BlockUser(ctx, org, user interface{}) *gomock.Call
BlockUser indicates an expected call of BlockUser.
func (*MockOrganizationsServiceMockRecorder) ConcealMembership ¶
func (mr *MockOrganizationsServiceMockRecorder) ConcealMembership(ctx, org, user interface{}) *gomock.Call
ConcealMembership indicates an expected call of ConcealMembership.
func (*MockOrganizationsServiceMockRecorder) ConvertMemberToOutsideCollaborator ¶
func (mr *MockOrganizationsServiceMockRecorder) ConvertMemberToOutsideCollaborator(ctx, org, user interface{}) *gomock.Call
ConvertMemberToOutsideCollaborator indicates an expected call of ConvertMemberToOutsideCollaborator.
func (*MockOrganizationsServiceMockRecorder) CreateCustomRepoRole ¶
func (mr *MockOrganizationsServiceMockRecorder) CreateCustomRepoRole(ctx, org, opts interface{}) *gomock.Call
CreateCustomRepoRole indicates an expected call of CreateCustomRepoRole.
func (*MockOrganizationsServiceMockRecorder) CreateHook ¶
func (mr *MockOrganizationsServiceMockRecorder) CreateHook(ctx, org, hook interface{}) *gomock.Call
CreateHook indicates an expected call of CreateHook.
func (*MockOrganizationsServiceMockRecorder) CreateOrgInvitation ¶
func (mr *MockOrganizationsServiceMockRecorder) CreateOrgInvitation(ctx, org, opts interface{}) *gomock.Call
CreateOrgInvitation indicates an expected call of CreateOrgInvitation.
func (*MockOrganizationsServiceMockRecorder) CreateProject ¶
func (mr *MockOrganizationsServiceMockRecorder) CreateProject(ctx, org, opts interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockOrganizationsServiceMockRecorder) DeleteCustomRepoRole ¶
func (mr *MockOrganizationsServiceMockRecorder) DeleteCustomRepoRole(ctx, org, roleID interface{}) *gomock.Call
DeleteCustomRepoRole indicates an expected call of DeleteCustomRepoRole.
func (*MockOrganizationsServiceMockRecorder) DeleteHook ¶
func (mr *MockOrganizationsServiceMockRecorder) DeleteHook(ctx, org, id interface{}) *gomock.Call
DeleteHook indicates an expected call of DeleteHook.
func (*MockOrganizationsServiceMockRecorder) DeletePackage ¶
func (mr *MockOrganizationsServiceMockRecorder) DeletePackage(ctx, org, packageType, packageName interface{}) *gomock.Call
DeletePackage indicates an expected call of DeletePackage.
func (*MockOrganizationsServiceMockRecorder) Edit ¶
func (mr *MockOrganizationsServiceMockRecorder) Edit(ctx, name, org interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockOrganizationsServiceMockRecorder) EditActionsAllowed ¶
func (mr *MockOrganizationsServiceMockRecorder) EditActionsAllowed(ctx, org, actionsAllowed interface{}) *gomock.Call
EditActionsAllowed indicates an expected call of EditActionsAllowed.
func (*MockOrganizationsServiceMockRecorder) EditActionsPermissions ¶
func (mr *MockOrganizationsServiceMockRecorder) EditActionsPermissions(ctx, org, actionsPermissions interface{}) *gomock.Call
EditActionsPermissions indicates an expected call of EditActionsPermissions.
func (*MockOrganizationsServiceMockRecorder) EditHook ¶
func (mr *MockOrganizationsServiceMockRecorder) EditHook(ctx, org, id, hook interface{}) *gomock.Call
EditHook indicates an expected call of EditHook.
func (*MockOrganizationsServiceMockRecorder) EditOrgMembership ¶
func (mr *MockOrganizationsServiceMockRecorder) EditOrgMembership(ctx, user, org, membership interface{}) *gomock.Call
EditOrgMembership indicates an expected call of EditOrgMembership.
func (*MockOrganizationsServiceMockRecorder) Get ¶
func (mr *MockOrganizationsServiceMockRecorder) Get(ctx, org interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockOrganizationsServiceMockRecorder) GetActionsAllowed ¶
func (mr *MockOrganizationsServiceMockRecorder) GetActionsAllowed(ctx, org interface{}) *gomock.Call
GetActionsAllowed indicates an expected call of GetActionsAllowed.
func (*MockOrganizationsServiceMockRecorder) GetActionsPermissions ¶
func (mr *MockOrganizationsServiceMockRecorder) GetActionsPermissions(ctx, org interface{}) *gomock.Call
GetActionsPermissions indicates an expected call of GetActionsPermissions.
func (*MockOrganizationsServiceMockRecorder) GetAuditLog ¶
func (mr *MockOrganizationsServiceMockRecorder) GetAuditLog(ctx, org, opts interface{}) *gomock.Call
GetAuditLog indicates an expected call of GetAuditLog.
func (*MockOrganizationsServiceMockRecorder) GetByID ¶
func (mr *MockOrganizationsServiceMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockOrganizationsServiceMockRecorder) GetHook ¶
func (mr *MockOrganizationsServiceMockRecorder) GetHook(ctx, org, id interface{}) *gomock.Call
GetHook indicates an expected call of GetHook.
func (*MockOrganizationsServiceMockRecorder) GetHookDelivery ¶
func (mr *MockOrganizationsServiceMockRecorder) GetHookDelivery(ctx, owner, hookID, deliveryID interface{}) *gomock.Call
GetHookDelivery indicates an expected call of GetHookDelivery.
func (*MockOrganizationsServiceMockRecorder) GetOrgMembership ¶
func (mr *MockOrganizationsServiceMockRecorder) GetOrgMembership(ctx, user, org interface{}) *gomock.Call
GetOrgMembership indicates an expected call of GetOrgMembership.
func (*MockOrganizationsServiceMockRecorder) GetPackage ¶
func (mr *MockOrganizationsServiceMockRecorder) GetPackage(ctx, org, packageType, packageName interface{}) *gomock.Call
GetPackage indicates an expected call of GetPackage.
func (*MockOrganizationsServiceMockRecorder) IsBlocked ¶
func (mr *MockOrganizationsServiceMockRecorder) IsBlocked(ctx, org, user interface{}) *gomock.Call
IsBlocked indicates an expected call of IsBlocked.
func (*MockOrganizationsServiceMockRecorder) IsMember ¶
func (mr *MockOrganizationsServiceMockRecorder) IsMember(ctx, org, user interface{}) *gomock.Call
IsMember indicates an expected call of IsMember.
func (*MockOrganizationsServiceMockRecorder) IsPublicMember ¶
func (mr *MockOrganizationsServiceMockRecorder) IsPublicMember(ctx, org, user interface{}) *gomock.Call
IsPublicMember indicates an expected call of IsPublicMember.
func (*MockOrganizationsServiceMockRecorder) List ¶
func (mr *MockOrganizationsServiceMockRecorder) List(ctx, user, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockOrganizationsServiceMockRecorder) ListAll ¶
func (mr *MockOrganizationsServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
ListAll indicates an expected call of ListAll.
func (*MockOrganizationsServiceMockRecorder) ListBlockedUsers ¶
func (mr *MockOrganizationsServiceMockRecorder) ListBlockedUsers(ctx, org, opts interface{}) *gomock.Call
ListBlockedUsers indicates an expected call of ListBlockedUsers.
func (*MockOrganizationsServiceMockRecorder) ListCustomRepoRoles ¶
func (mr *MockOrganizationsServiceMockRecorder) ListCustomRepoRoles(ctx, org interface{}) *gomock.Call
ListCustomRepoRoles indicates an expected call of ListCustomRepoRoles.
func (*MockOrganizationsServiceMockRecorder) ListFailedOrgInvitations ¶
func (mr *MockOrganizationsServiceMockRecorder) ListFailedOrgInvitations(ctx, org, opts interface{}) *gomock.Call
ListFailedOrgInvitations indicates an expected call of ListFailedOrgInvitations.
func (*MockOrganizationsServiceMockRecorder) ListHookDeliveries ¶
func (mr *MockOrganizationsServiceMockRecorder) ListHookDeliveries(ctx, org, id, opts interface{}) *gomock.Call
ListHookDeliveries indicates an expected call of ListHookDeliveries.
func (*MockOrganizationsServiceMockRecorder) ListHooks ¶
func (mr *MockOrganizationsServiceMockRecorder) ListHooks(ctx, org, opts interface{}) *gomock.Call
ListHooks indicates an expected call of ListHooks.
func (*MockOrganizationsServiceMockRecorder) ListInstallations ¶
func (mr *MockOrganizationsServiceMockRecorder) ListInstallations(ctx, org, opts interface{}) *gomock.Call
ListInstallations indicates an expected call of ListInstallations.
func (*MockOrganizationsServiceMockRecorder) ListMembers ¶
func (mr *MockOrganizationsServiceMockRecorder) ListMembers(ctx, org, opts interface{}) *gomock.Call
ListMembers indicates an expected call of ListMembers.
func (*MockOrganizationsServiceMockRecorder) ListOrgInvitationTeams ¶
func (mr *MockOrganizationsServiceMockRecorder) ListOrgInvitationTeams(ctx, org, invitationID, opts interface{}) *gomock.Call
ListOrgInvitationTeams indicates an expected call of ListOrgInvitationTeams.
func (*MockOrganizationsServiceMockRecorder) ListOrgMemberships ¶
func (mr *MockOrganizationsServiceMockRecorder) ListOrgMemberships(ctx, opts interface{}) *gomock.Call
ListOrgMemberships indicates an expected call of ListOrgMemberships.
func (*MockOrganizationsServiceMockRecorder) ListOutsideCollaborators ¶
func (mr *MockOrganizationsServiceMockRecorder) ListOutsideCollaborators(ctx, org, opts interface{}) *gomock.Call
ListOutsideCollaborators indicates an expected call of ListOutsideCollaborators.
func (*MockOrganizationsServiceMockRecorder) ListPackages ¶
func (mr *MockOrganizationsServiceMockRecorder) ListPackages(ctx, org, opts interface{}) *gomock.Call
ListPackages indicates an expected call of ListPackages.
func (*MockOrganizationsServiceMockRecorder) ListPendingOrgInvitations ¶
func (mr *MockOrganizationsServiceMockRecorder) ListPendingOrgInvitations(ctx, org, opts interface{}) *gomock.Call
ListPendingOrgInvitations indicates an expected call of ListPendingOrgInvitations.
func (*MockOrganizationsServiceMockRecorder) ListProjects ¶
func (mr *MockOrganizationsServiceMockRecorder) ListProjects(ctx, org, opts interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockOrganizationsServiceMockRecorder) PackageDeleteVersion ¶
func (mr *MockOrganizationsServiceMockRecorder) PackageDeleteVersion(ctx, org, packageType, packageName, packageVersionID interface{}) *gomock.Call
PackageDeleteVersion indicates an expected call of PackageDeleteVersion.
func (*MockOrganizationsServiceMockRecorder) PackageGetAllVersions ¶
func (mr *MockOrganizationsServiceMockRecorder) PackageGetAllVersions(ctx, org, packageType, packageName, opts interface{}) *gomock.Call
PackageGetAllVersions indicates an expected call of PackageGetAllVersions.
func (*MockOrganizationsServiceMockRecorder) PackageGetVersion ¶
func (mr *MockOrganizationsServiceMockRecorder) PackageGetVersion(ctx, org, packageType, packageName, packageVersionID interface{}) *gomock.Call
PackageGetVersion indicates an expected call of PackageGetVersion.
func (*MockOrganizationsServiceMockRecorder) PackageRestoreVersion ¶
func (mr *MockOrganizationsServiceMockRecorder) PackageRestoreVersion(ctx, org, packageType, packageName, packageVersionID interface{}) *gomock.Call
PackageRestoreVersion indicates an expected call of PackageRestoreVersion.
func (*MockOrganizationsServiceMockRecorder) PingHook ¶
func (mr *MockOrganizationsServiceMockRecorder) PingHook(ctx, org, id interface{}) *gomock.Call
PingHook indicates an expected call of PingHook.
func (*MockOrganizationsServiceMockRecorder) PublicizeMembership ¶
func (mr *MockOrganizationsServiceMockRecorder) PublicizeMembership(ctx, org, user interface{}) *gomock.Call
PublicizeMembership indicates an expected call of PublicizeMembership.
func (*MockOrganizationsServiceMockRecorder) RedeliverHookDelivery ¶
func (mr *MockOrganizationsServiceMockRecorder) RedeliverHookDelivery(ctx, owner, hookID, deliveryID interface{}) *gomock.Call
RedeliverHookDelivery indicates an expected call of RedeliverHookDelivery.
func (*MockOrganizationsServiceMockRecorder) RemoveMember ¶
func (mr *MockOrganizationsServiceMockRecorder) RemoveMember(ctx, org, user interface{}) *gomock.Call
RemoveMember indicates an expected call of RemoveMember.
func (*MockOrganizationsServiceMockRecorder) RemoveOrgMembership ¶
func (mr *MockOrganizationsServiceMockRecorder) RemoveOrgMembership(ctx, user, org interface{}) *gomock.Call
RemoveOrgMembership indicates an expected call of RemoveOrgMembership.
func (*MockOrganizationsServiceMockRecorder) RemoveOutsideCollaborator ¶
func (mr *MockOrganizationsServiceMockRecorder) RemoveOutsideCollaborator(ctx, org, user interface{}) *gomock.Call
RemoveOutsideCollaborator indicates an expected call of RemoveOutsideCollaborator.
func (*MockOrganizationsServiceMockRecorder) RestorePackage ¶
func (mr *MockOrganizationsServiceMockRecorder) RestorePackage(ctx, org, packageType, packageName interface{}) *gomock.Call
RestorePackage indicates an expected call of RestorePackage.
func (*MockOrganizationsServiceMockRecorder) UnblockUser ¶
func (mr *MockOrganizationsServiceMockRecorder) UnblockUser(ctx, org, user interface{}) *gomock.Call
UnblockUser indicates an expected call of UnblockUser.
func (*MockOrganizationsServiceMockRecorder) UpdateCustomRepoRole ¶
func (mr *MockOrganizationsServiceMockRecorder) UpdateCustomRepoRole(ctx, org, roleID, opts interface{}) *gomock.Call
UpdateCustomRepoRole indicates an expected call of UpdateCustomRepoRole.
type MockProjectsService ¶
type MockProjectsService struct {
// contains filtered or unexported fields
}
MockProjectsService is a mock of ProjectsService interface.
func NewMockProjectsService ¶
func NewMockProjectsService(ctrl *gomock.Controller) *MockProjectsService
NewMockProjectsService creates a new mock instance.
func (*MockProjectsService) AddProjectCollaborator ¶
func (m *MockProjectsService) AddProjectCollaborator(ctx context.Context, id int64, username string, opts *github.ProjectCollaboratorOptions) (*github.Response, error)
AddProjectCollaborator mocks base method.
func (*MockProjectsService) CreateProjectCard ¶
func (m *MockProjectsService) CreateProjectCard(ctx context.Context, columnID int64, opts *github.ProjectCardOptions) (*github.ProjectCard, *github.Response, error)
CreateProjectCard mocks base method.
func (*MockProjectsService) CreateProjectColumn ¶
func (m *MockProjectsService) CreateProjectColumn(ctx context.Context, projectID int64, opts *github.ProjectColumnOptions) (*github.ProjectColumn, *github.Response, error)
CreateProjectColumn mocks base method.
func (*MockProjectsService) DeleteProject ¶
func (m *MockProjectsService) DeleteProject(ctx context.Context, id int64) (*github.Response, error)
DeleteProject mocks base method.
func (*MockProjectsService) DeleteProjectCard ¶
func (m *MockProjectsService) DeleteProjectCard(ctx context.Context, cardID int64) (*github.Response, error)
DeleteProjectCard mocks base method.
func (*MockProjectsService) DeleteProjectColumn ¶
func (m *MockProjectsService) DeleteProjectColumn(ctx context.Context, columnID int64) (*github.Response, error)
DeleteProjectColumn mocks base method.
func (*MockProjectsService) EXPECT ¶
func (m *MockProjectsService) EXPECT() *MockProjectsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectsService) GetProject ¶
func (m *MockProjectsService) GetProject(ctx context.Context, id int64) (*github.Project, *github.Response, error)
GetProject mocks base method.
func (*MockProjectsService) GetProjectCard ¶
func (m *MockProjectsService) GetProjectCard(ctx context.Context, cardID int64) (*github.ProjectCard, *github.Response, error)
GetProjectCard mocks base method.
func (*MockProjectsService) GetProjectColumn ¶
func (m *MockProjectsService) GetProjectColumn(ctx context.Context, id int64) (*github.ProjectColumn, *github.Response, error)
GetProjectColumn mocks base method.
func (*MockProjectsService) ListProjectCards ¶
func (m *MockProjectsService) ListProjectCards(ctx context.Context, columnID int64, opts *github.ProjectCardListOptions) ([]*github.ProjectCard, *github.Response, error)
ListProjectCards mocks base method.
func (*MockProjectsService) ListProjectCollaborators ¶
func (m *MockProjectsService) ListProjectCollaborators(ctx context.Context, id int64, opts *github.ListCollaboratorOptions) ([]*github.User, *github.Response, error)
ListProjectCollaborators mocks base method.
func (*MockProjectsService) ListProjectColumns ¶
func (m *MockProjectsService) ListProjectColumns(ctx context.Context, projectID int64, opts *github.ListOptions) ([]*github.ProjectColumn, *github.Response, error)
ListProjectColumns mocks base method.
func (*MockProjectsService) MoveProjectCard ¶
func (m *MockProjectsService) MoveProjectCard(ctx context.Context, cardID int64, opts *github.ProjectCardMoveOptions) (*github.Response, error)
MoveProjectCard mocks base method.
func (*MockProjectsService) MoveProjectColumn ¶
func (m *MockProjectsService) MoveProjectColumn(ctx context.Context, columnID int64, opts *github.ProjectColumnMoveOptions) (*github.Response, error)
MoveProjectColumn mocks base method.
func (*MockProjectsService) RemoveProjectCollaborator ¶
func (m *MockProjectsService) RemoveProjectCollaborator(ctx context.Context, id int64, username string) (*github.Response, error)
RemoveProjectCollaborator mocks base method.
func (*MockProjectsService) ReviewProjectCollaboratorPermission ¶
func (m *MockProjectsService) ReviewProjectCollaboratorPermission(ctx context.Context, id int64, username string) (*github.ProjectPermissionLevel, *github.Response, error)
ReviewProjectCollaboratorPermission mocks base method.
func (*MockProjectsService) UpdateProject ¶
func (m *MockProjectsService) UpdateProject(ctx context.Context, id int64, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
UpdateProject mocks base method.
func (*MockProjectsService) UpdateProjectCard ¶
func (m *MockProjectsService) UpdateProjectCard(ctx context.Context, cardID int64, opts *github.ProjectCardOptions) (*github.ProjectCard, *github.Response, error)
UpdateProjectCard mocks base method.
func (*MockProjectsService) UpdateProjectColumn ¶
func (m *MockProjectsService) UpdateProjectColumn(ctx context.Context, columnID int64, opts *github.ProjectColumnOptions) (*github.ProjectColumn, *github.Response, error)
UpdateProjectColumn mocks base method.
type MockProjectsServiceMockRecorder ¶
type MockProjectsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsServiceMockRecorder is the mock recorder for MockProjectsService.
func (*MockProjectsServiceMockRecorder) AddProjectCollaborator ¶
func (mr *MockProjectsServiceMockRecorder) AddProjectCollaborator(ctx, id, username, opts interface{}) *gomock.Call
AddProjectCollaborator indicates an expected call of AddProjectCollaborator.
func (*MockProjectsServiceMockRecorder) CreateProjectCard ¶
func (mr *MockProjectsServiceMockRecorder) CreateProjectCard(ctx, columnID, opts interface{}) *gomock.Call
CreateProjectCard indicates an expected call of CreateProjectCard.
func (*MockProjectsServiceMockRecorder) CreateProjectColumn ¶
func (mr *MockProjectsServiceMockRecorder) CreateProjectColumn(ctx, projectID, opts interface{}) *gomock.Call
CreateProjectColumn indicates an expected call of CreateProjectColumn.
func (*MockProjectsServiceMockRecorder) DeleteProject ¶
func (mr *MockProjectsServiceMockRecorder) DeleteProject(ctx, id interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject.
func (*MockProjectsServiceMockRecorder) DeleteProjectCard ¶
func (mr *MockProjectsServiceMockRecorder) DeleteProjectCard(ctx, cardID interface{}) *gomock.Call
DeleteProjectCard indicates an expected call of DeleteProjectCard.
func (*MockProjectsServiceMockRecorder) DeleteProjectColumn ¶
func (mr *MockProjectsServiceMockRecorder) DeleteProjectColumn(ctx, columnID interface{}) *gomock.Call
DeleteProjectColumn indicates an expected call of DeleteProjectColumn.
func (*MockProjectsServiceMockRecorder) GetProject ¶
func (mr *MockProjectsServiceMockRecorder) GetProject(ctx, id interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockProjectsServiceMockRecorder) GetProjectCard ¶
func (mr *MockProjectsServiceMockRecorder) GetProjectCard(ctx, cardID interface{}) *gomock.Call
GetProjectCard indicates an expected call of GetProjectCard.
func (*MockProjectsServiceMockRecorder) GetProjectColumn ¶
func (mr *MockProjectsServiceMockRecorder) GetProjectColumn(ctx, id interface{}) *gomock.Call
GetProjectColumn indicates an expected call of GetProjectColumn.
func (*MockProjectsServiceMockRecorder) ListProjectCards ¶
func (mr *MockProjectsServiceMockRecorder) ListProjectCards(ctx, columnID, opts interface{}) *gomock.Call
ListProjectCards indicates an expected call of ListProjectCards.
func (*MockProjectsServiceMockRecorder) ListProjectCollaborators ¶
func (mr *MockProjectsServiceMockRecorder) ListProjectCollaborators(ctx, id, opts interface{}) *gomock.Call
ListProjectCollaborators indicates an expected call of ListProjectCollaborators.
func (*MockProjectsServiceMockRecorder) ListProjectColumns ¶
func (mr *MockProjectsServiceMockRecorder) ListProjectColumns(ctx, projectID, opts interface{}) *gomock.Call
ListProjectColumns indicates an expected call of ListProjectColumns.
func (*MockProjectsServiceMockRecorder) MoveProjectCard ¶
func (mr *MockProjectsServiceMockRecorder) MoveProjectCard(ctx, cardID, opts interface{}) *gomock.Call
MoveProjectCard indicates an expected call of MoveProjectCard.
func (*MockProjectsServiceMockRecorder) MoveProjectColumn ¶
func (mr *MockProjectsServiceMockRecorder) MoveProjectColumn(ctx, columnID, opts interface{}) *gomock.Call
MoveProjectColumn indicates an expected call of MoveProjectColumn.
func (*MockProjectsServiceMockRecorder) RemoveProjectCollaborator ¶
func (mr *MockProjectsServiceMockRecorder) RemoveProjectCollaborator(ctx, id, username interface{}) *gomock.Call
RemoveProjectCollaborator indicates an expected call of RemoveProjectCollaborator.
func (*MockProjectsServiceMockRecorder) ReviewProjectCollaboratorPermission ¶
func (mr *MockProjectsServiceMockRecorder) ReviewProjectCollaboratorPermission(ctx, id, username interface{}) *gomock.Call
ReviewProjectCollaboratorPermission indicates an expected call of ReviewProjectCollaboratorPermission.
func (*MockProjectsServiceMockRecorder) UpdateProject ¶
func (mr *MockProjectsServiceMockRecorder) UpdateProject(ctx, id, opts interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject.
func (*MockProjectsServiceMockRecorder) UpdateProjectCard ¶
func (mr *MockProjectsServiceMockRecorder) UpdateProjectCard(ctx, cardID, opts interface{}) *gomock.Call
UpdateProjectCard indicates an expected call of UpdateProjectCard.
func (*MockProjectsServiceMockRecorder) UpdateProjectColumn ¶
func (mr *MockProjectsServiceMockRecorder) UpdateProjectColumn(ctx, columnID, opts interface{}) *gomock.Call
UpdateProjectColumn indicates an expected call of UpdateProjectColumn.
type MockPullRequestsService ¶
type MockPullRequestsService struct {
// contains filtered or unexported fields
}
MockPullRequestsService is a mock of PullRequestsService interface.
func NewMockPullRequestsService ¶
func NewMockPullRequestsService(ctrl *gomock.Controller) *MockPullRequestsService
NewMockPullRequestsService creates a new mock instance.
func (*MockPullRequestsService) Create ¶
func (m *MockPullRequestsService) Create(ctx context.Context, owner, repo string, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
Create mocks base method.
func (*MockPullRequestsService) CreateComment ¶
func (m *MockPullRequestsService) CreateComment(ctx context.Context, owner, repo string, number int, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
CreateComment mocks base method.
func (*MockPullRequestsService) CreateCommentInReplyTo ¶
func (m *MockPullRequestsService) CreateCommentInReplyTo(ctx context.Context, owner, repo string, number int, body string, commentID int64) (*github.PullRequestComment, *github.Response, error)
CreateCommentInReplyTo mocks base method.
func (*MockPullRequestsService) CreateReview ¶
func (m *MockPullRequestsService) CreateReview(ctx context.Context, owner, repo string, number int, review *github.PullRequestReviewRequest) (*github.PullRequestReview, *github.Response, error)
CreateReview mocks base method.
func (*MockPullRequestsService) DeleteComment ¶
func (m *MockPullRequestsService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*github.Response, error)
DeleteComment mocks base method.
func (*MockPullRequestsService) DeletePendingReview ¶
func (m *MockPullRequestsService) DeletePendingReview(ctx context.Context, owner, repo string, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
DeletePendingReview mocks base method.
func (*MockPullRequestsService) DismissReview ¶
func (m *MockPullRequestsService) DismissReview(ctx context.Context, owner, repo string, number int, reviewID int64, review *github.PullRequestReviewDismissalRequest) (*github.PullRequestReview, *github.Response, error)
DismissReview mocks base method.
func (*MockPullRequestsService) EXPECT ¶
func (m *MockPullRequestsService) EXPECT() *MockPullRequestsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPullRequestsService) Edit ¶
func (m *MockPullRequestsService) Edit(ctx context.Context, owner, repo string, number int, pull *github.PullRequest) (*github.PullRequest, *github.Response, error)
Edit mocks base method.
func (*MockPullRequestsService) EditComment ¶
func (m *MockPullRequestsService) EditComment(ctx context.Context, owner, repo string, commentID int64, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
EditComment mocks base method.
func (*MockPullRequestsService) Get ¶
func (m *MockPullRequestsService) Get(ctx context.Context, owner, repo string, number int) (*github.PullRequest, *github.Response, error)
Get mocks base method.
func (*MockPullRequestsService) GetComment ¶
func (m *MockPullRequestsService) GetComment(ctx context.Context, owner, repo string, commentID int64) (*github.PullRequestComment, *github.Response, error)
GetComment mocks base method.
func (*MockPullRequestsService) GetRaw ¶
func (m *MockPullRequestsService) GetRaw(ctx context.Context, owner, repo string, number int, opts github.RawOptions) (string, *github.Response, error)
GetRaw mocks base method.
func (*MockPullRequestsService) GetReview ¶
func (m *MockPullRequestsService) GetReview(ctx context.Context, owner, repo string, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
GetReview mocks base method.
func (*MockPullRequestsService) IsMerged ¶
func (m *MockPullRequestsService) IsMerged(ctx context.Context, owner, repo string, number int) (bool, *github.Response, error)
IsMerged mocks base method.
func (*MockPullRequestsService) List ¶
func (m *MockPullRequestsService) List(ctx context.Context, owner, repo string, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
List mocks base method.
func (*MockPullRequestsService) ListComments ¶
func (m *MockPullRequestsService) ListComments(ctx context.Context, owner, repo string, number int, opts *github.PullRequestListCommentsOptions) ([]*github.PullRequestComment, *github.Response, error)
ListComments mocks base method.
func (*MockPullRequestsService) ListCommits ¶
func (m *MockPullRequestsService) ListCommits(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.RepositoryCommit, *github.Response, error)
ListCommits mocks base method.
func (*MockPullRequestsService) ListFiles ¶
func (m *MockPullRequestsService) ListFiles(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
ListFiles mocks base method.
func (*MockPullRequestsService) ListPullRequestsWithCommit ¶
func (m *MockPullRequestsService) ListPullRequestsWithCommit(ctx context.Context, owner, repo, sha string, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
ListPullRequestsWithCommit mocks base method.
func (*MockPullRequestsService) ListReviewComments ¶
func (m *MockPullRequestsService) ListReviewComments(ctx context.Context, owner, repo string, number int, reviewID int64, opts *github.ListOptions) ([]*github.PullRequestComment, *github.Response, error)
ListReviewComments mocks base method.
func (*MockPullRequestsService) ListReviewers ¶
func (m *MockPullRequestsService) ListReviewers(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) (*github.Reviewers, *github.Response, error)
ListReviewers mocks base method.
func (*MockPullRequestsService) ListReviews ¶
func (m *MockPullRequestsService) ListReviews(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)
ListReviews mocks base method.
func (*MockPullRequestsService) Merge ¶
func (m *MockPullRequestsService) Merge(ctx context.Context, owner, repo string, number int, commitMessage string, options *github.PullRequestOptions) (*github.PullRequestMergeResult, *github.Response, error)
Merge mocks base method.
func (*MockPullRequestsService) RemoveReviewers ¶
func (m *MockPullRequestsService) RemoveReviewers(ctx context.Context, owner, repo string, number int, reviewers github.ReviewersRequest) (*github.Response, error)
RemoveReviewers mocks base method.
func (*MockPullRequestsService) RequestReviewers ¶
func (m *MockPullRequestsService) RequestReviewers(ctx context.Context, owner, repo string, number int, reviewers github.ReviewersRequest) (*github.PullRequest, *github.Response, error)
RequestReviewers mocks base method.
func (*MockPullRequestsService) SubmitReview ¶
func (m *MockPullRequestsService) SubmitReview(ctx context.Context, owner, repo string, number int, reviewID int64, review *github.PullRequestReviewRequest) (*github.PullRequestReview, *github.Response, error)
SubmitReview mocks base method.
func (*MockPullRequestsService) UpdateBranch ¶
func (m *MockPullRequestsService) UpdateBranch(ctx context.Context, owner, repo string, number int, opts *github.PullRequestBranchUpdateOptions) (*github.PullRequestBranchUpdateResponse, *github.Response, error)
UpdateBranch mocks base method.
func (*MockPullRequestsService) UpdateReview ¶
func (m *MockPullRequestsService) UpdateReview(ctx context.Context, owner, repo string, number int, reviewID int64, body string) (*github.PullRequestReview, *github.Response, error)
UpdateReview mocks base method.
type MockPullRequestsServiceMockRecorder ¶
type MockPullRequestsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPullRequestsServiceMockRecorder is the mock recorder for MockPullRequestsService.
func (*MockPullRequestsServiceMockRecorder) Create ¶
func (mr *MockPullRequestsServiceMockRecorder) Create(ctx, owner, repo, pull interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPullRequestsServiceMockRecorder) CreateComment ¶
func (mr *MockPullRequestsServiceMockRecorder) CreateComment(ctx, owner, repo, number, comment interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment.
func (*MockPullRequestsServiceMockRecorder) CreateCommentInReplyTo ¶
func (mr *MockPullRequestsServiceMockRecorder) CreateCommentInReplyTo(ctx, owner, repo, number, body, commentID interface{}) *gomock.Call
CreateCommentInReplyTo indicates an expected call of CreateCommentInReplyTo.
func (*MockPullRequestsServiceMockRecorder) CreateReview ¶
func (mr *MockPullRequestsServiceMockRecorder) CreateReview(ctx, owner, repo, number, review interface{}) *gomock.Call
CreateReview indicates an expected call of CreateReview.
func (*MockPullRequestsServiceMockRecorder) DeleteComment ¶
func (mr *MockPullRequestsServiceMockRecorder) DeleteComment(ctx, owner, repo, commentID interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment.
func (*MockPullRequestsServiceMockRecorder) DeletePendingReview ¶
func (mr *MockPullRequestsServiceMockRecorder) DeletePendingReview(ctx, owner, repo, number, reviewID interface{}) *gomock.Call
DeletePendingReview indicates an expected call of DeletePendingReview.
func (*MockPullRequestsServiceMockRecorder) DismissReview ¶
func (mr *MockPullRequestsServiceMockRecorder) DismissReview(ctx, owner, repo, number, reviewID, review interface{}) *gomock.Call
DismissReview indicates an expected call of DismissReview.
func (*MockPullRequestsServiceMockRecorder) Edit ¶
func (mr *MockPullRequestsServiceMockRecorder) Edit(ctx, owner, repo, number, pull interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockPullRequestsServiceMockRecorder) EditComment ¶
func (mr *MockPullRequestsServiceMockRecorder) EditComment(ctx, owner, repo, commentID, comment interface{}) *gomock.Call
EditComment indicates an expected call of EditComment.
func (*MockPullRequestsServiceMockRecorder) Get ¶
func (mr *MockPullRequestsServiceMockRecorder) Get(ctx, owner, repo, number interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPullRequestsServiceMockRecorder) GetComment ¶
func (mr *MockPullRequestsServiceMockRecorder) GetComment(ctx, owner, repo, commentID interface{}) *gomock.Call
GetComment indicates an expected call of GetComment.
func (*MockPullRequestsServiceMockRecorder) GetRaw ¶
func (mr *MockPullRequestsServiceMockRecorder) GetRaw(ctx, owner, repo, number, opts interface{}) *gomock.Call
GetRaw indicates an expected call of GetRaw.
func (*MockPullRequestsServiceMockRecorder) GetReview ¶
func (mr *MockPullRequestsServiceMockRecorder) GetReview(ctx, owner, repo, number, reviewID interface{}) *gomock.Call
GetReview indicates an expected call of GetReview.
func (*MockPullRequestsServiceMockRecorder) IsMerged ¶
func (mr *MockPullRequestsServiceMockRecorder) IsMerged(ctx, owner, repo, number interface{}) *gomock.Call
IsMerged indicates an expected call of IsMerged.
func (*MockPullRequestsServiceMockRecorder) List ¶
func (mr *MockPullRequestsServiceMockRecorder) List(ctx, owner, repo, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPullRequestsServiceMockRecorder) ListComments ¶
func (mr *MockPullRequestsServiceMockRecorder) ListComments(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListComments indicates an expected call of ListComments.
func (*MockPullRequestsServiceMockRecorder) ListCommits ¶
func (mr *MockPullRequestsServiceMockRecorder) ListCommits(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockPullRequestsServiceMockRecorder) ListFiles ¶
func (mr *MockPullRequestsServiceMockRecorder) ListFiles(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockPullRequestsServiceMockRecorder) ListPullRequestsWithCommit ¶
func (mr *MockPullRequestsServiceMockRecorder) ListPullRequestsWithCommit(ctx, owner, repo, sha, opts interface{}) *gomock.Call
ListPullRequestsWithCommit indicates an expected call of ListPullRequestsWithCommit.
func (*MockPullRequestsServiceMockRecorder) ListReviewComments ¶
func (mr *MockPullRequestsServiceMockRecorder) ListReviewComments(ctx, owner, repo, number, reviewID, opts interface{}) *gomock.Call
ListReviewComments indicates an expected call of ListReviewComments.
func (*MockPullRequestsServiceMockRecorder) ListReviewers ¶
func (mr *MockPullRequestsServiceMockRecorder) ListReviewers(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListReviewers indicates an expected call of ListReviewers.
func (*MockPullRequestsServiceMockRecorder) ListReviews ¶
func (mr *MockPullRequestsServiceMockRecorder) ListReviews(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListReviews indicates an expected call of ListReviews.
func (*MockPullRequestsServiceMockRecorder) Merge ¶
func (mr *MockPullRequestsServiceMockRecorder) Merge(ctx, owner, repo, number, commitMessage, options interface{}) *gomock.Call
Merge indicates an expected call of Merge.
func (*MockPullRequestsServiceMockRecorder) RemoveReviewers ¶
func (mr *MockPullRequestsServiceMockRecorder) RemoveReviewers(ctx, owner, repo, number, reviewers interface{}) *gomock.Call
RemoveReviewers indicates an expected call of RemoveReviewers.
func (*MockPullRequestsServiceMockRecorder) RequestReviewers ¶
func (mr *MockPullRequestsServiceMockRecorder) RequestReviewers(ctx, owner, repo, number, reviewers interface{}) *gomock.Call
RequestReviewers indicates an expected call of RequestReviewers.
func (*MockPullRequestsServiceMockRecorder) SubmitReview ¶
func (mr *MockPullRequestsServiceMockRecorder) SubmitReview(ctx, owner, repo, number, reviewID, review interface{}) *gomock.Call
SubmitReview indicates an expected call of SubmitReview.
func (*MockPullRequestsServiceMockRecorder) UpdateBranch ¶
func (mr *MockPullRequestsServiceMockRecorder) UpdateBranch(ctx, owner, repo, number, opts interface{}) *gomock.Call
UpdateBranch indicates an expected call of UpdateBranch.
func (*MockPullRequestsServiceMockRecorder) UpdateReview ¶
func (mr *MockPullRequestsServiceMockRecorder) UpdateReview(ctx, owner, repo, number, reviewID, body interface{}) *gomock.Call
UpdateReview indicates an expected call of UpdateReview.
type MockReactionsService ¶
type MockReactionsService struct {
// contains filtered or unexported fields
}
MockReactionsService is a mock of ReactionsService interface.
func NewMockReactionsService ¶
func NewMockReactionsService(ctrl *gomock.Controller) *MockReactionsService
NewMockReactionsService creates a new mock instance.
func (*MockReactionsService) CreateCommentReaction ¶
func (m *MockReactionsService) CreateCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*github.Reaction, *github.Response, error)
CreateCommentReaction mocks base method.
func (*MockReactionsService) CreateIssueCommentReaction ¶
func (m *MockReactionsService) CreateIssueCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*github.Reaction, *github.Response, error)
CreateIssueCommentReaction mocks base method.
func (*MockReactionsService) CreateIssueReaction ¶
func (m *MockReactionsService) CreateIssueReaction(ctx context.Context, owner, repo string, number int, content string) (*github.Reaction, *github.Response, error)
CreateIssueReaction mocks base method.
func (*MockReactionsService) CreatePullRequestCommentReaction ¶
func (m *MockReactionsService) CreatePullRequestCommentReaction(ctx context.Context, owner, repo string, id int64, content string) (*github.Reaction, *github.Response, error)
CreatePullRequestCommentReaction mocks base method.
func (*MockReactionsService) CreateReleaseReaction ¶
func (m *MockReactionsService) CreateReleaseReaction(ctx context.Context, owner, repo string, releaseID int64, content string) (*github.Reaction, *github.Response, error)
CreateReleaseReaction mocks base method.
func (*MockReactionsService) CreateTeamDiscussionCommentReaction ¶
func (m *MockReactionsService) CreateTeamDiscussionCommentReaction(ctx context.Context, teamID int64, discussionNumber, commentNumber int, content string) (*github.Reaction, *github.Response, error)
CreateTeamDiscussionCommentReaction mocks base method.
func (*MockReactionsService) CreateTeamDiscussionReaction ¶
func (m *MockReactionsService) CreateTeamDiscussionReaction(ctx context.Context, teamID int64, discussionNumber int, content string) (*github.Reaction, *github.Response, error)
CreateTeamDiscussionReaction mocks base method.
func (*MockReactionsService) DeleteCommentReaction ¶
func (m *MockReactionsService) DeleteCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*github.Response, error)
DeleteCommentReaction mocks base method.
func (*MockReactionsService) DeleteCommentReactionByID ¶
func (m *MockReactionsService) DeleteCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*github.Response, error)
DeleteCommentReactionByID mocks base method.
func (*MockReactionsService) DeleteIssueCommentReaction ¶
func (m *MockReactionsService) DeleteIssueCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*github.Response, error)
DeleteIssueCommentReaction mocks base method.
func (*MockReactionsService) DeleteIssueCommentReactionByID ¶
func (m *MockReactionsService) DeleteIssueCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*github.Response, error)
DeleteIssueCommentReactionByID mocks base method.
func (*MockReactionsService) DeleteIssueReaction ¶
func (m *MockReactionsService) DeleteIssueReaction(ctx context.Context, owner, repo string, issueNumber int, reactionID int64) (*github.Response, error)
DeleteIssueReaction mocks base method.
func (*MockReactionsService) DeleteIssueReactionByID ¶
func (m *MockReactionsService) DeleteIssueReactionByID(ctx context.Context, repoID, issueNumber int, reactionID int64) (*github.Response, error)
DeleteIssueReactionByID mocks base method.
func (*MockReactionsService) DeletePullRequestCommentReaction ¶
func (m *MockReactionsService) DeletePullRequestCommentReaction(ctx context.Context, owner, repo string, commentID, reactionID int64) (*github.Response, error)
DeletePullRequestCommentReaction mocks base method.
func (*MockReactionsService) DeletePullRequestCommentReactionByID ¶
func (m *MockReactionsService) DeletePullRequestCommentReactionByID(ctx context.Context, repoID, commentID, reactionID int64) (*github.Response, error)
DeletePullRequestCommentReactionByID mocks base method.
func (*MockReactionsService) DeleteTeamDiscussionCommentReaction ¶
func (m *MockReactionsService) DeleteTeamDiscussionCommentReaction(ctx context.Context, org, teamSlug string, discussionNumber, commentNumber int, reactionID int64) (*github.Response, error)
DeleteTeamDiscussionCommentReaction mocks base method.
func (*MockReactionsService) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID ¶
func (m *MockReactionsService) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID(ctx context.Context, orgID, teamID, discussionNumber, commentNumber int, reactionID int64) (*github.Response, error)
DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID mocks base method.
func (*MockReactionsService) DeleteTeamDiscussionReaction ¶
func (m *MockReactionsService) DeleteTeamDiscussionReaction(ctx context.Context, org, teamSlug string, discussionNumber int, reactionID int64) (*github.Response, error)
DeleteTeamDiscussionReaction mocks base method.
func (*MockReactionsService) DeleteTeamDiscussionReactionByOrgIDAndTeamID ¶
func (m *MockReactionsService) DeleteTeamDiscussionReactionByOrgIDAndTeamID(ctx context.Context, orgID, teamID, discussionNumber int, reactionID int64) (*github.Response, error)
DeleteTeamDiscussionReactionByOrgIDAndTeamID mocks base method.
func (*MockReactionsService) EXPECT ¶
func (m *MockReactionsService) EXPECT() *MockReactionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReactionsService) ListCommentReactions ¶
func (m *MockReactionsService) ListCommentReactions(ctx context.Context, owner, repo string, id int64, opts *github.ListCommentReactionOptions) ([]*github.Reaction, *github.Response, error)
ListCommentReactions mocks base method.
func (*MockReactionsService) ListIssueCommentReactions ¶
func (m *MockReactionsService) ListIssueCommentReactions(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ListIssueCommentReactions mocks base method.
func (*MockReactionsService) ListIssueReactions ¶
func (m *MockReactionsService) ListIssueReactions(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ListIssueReactions mocks base method.
func (*MockReactionsService) ListPullRequestCommentReactions ¶
func (m *MockReactionsService) ListPullRequestCommentReactions(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ListPullRequestCommentReactions mocks base method.
func (*MockReactionsService) ListTeamDiscussionCommentReactions ¶
func (m *MockReactionsService) ListTeamDiscussionCommentReactions(ctx context.Context, teamID int64, discussionNumber, commentNumber int, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ListTeamDiscussionCommentReactions mocks base method.
func (*MockReactionsService) ListTeamDiscussionReactions ¶
func (m *MockReactionsService) ListTeamDiscussionReactions(ctx context.Context, teamID int64, discussionNumber int, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ListTeamDiscussionReactions mocks base method.
type MockReactionsServiceMockRecorder ¶
type MockReactionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockReactionsServiceMockRecorder is the mock recorder for MockReactionsService.
func (*MockReactionsServiceMockRecorder) CreateCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreateCommentReaction(ctx, owner, repo, id, content interface{}) *gomock.Call
CreateCommentReaction indicates an expected call of CreateCommentReaction.
func (*MockReactionsServiceMockRecorder) CreateIssueCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreateIssueCommentReaction(ctx, owner, repo, id, content interface{}) *gomock.Call
CreateIssueCommentReaction indicates an expected call of CreateIssueCommentReaction.
func (*MockReactionsServiceMockRecorder) CreateIssueReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreateIssueReaction(ctx, owner, repo, number, content interface{}) *gomock.Call
CreateIssueReaction indicates an expected call of CreateIssueReaction.
func (*MockReactionsServiceMockRecorder) CreatePullRequestCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreatePullRequestCommentReaction(ctx, owner, repo, id, content interface{}) *gomock.Call
CreatePullRequestCommentReaction indicates an expected call of CreatePullRequestCommentReaction.
func (*MockReactionsServiceMockRecorder) CreateReleaseReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreateReleaseReaction(ctx, owner, repo, releaseID, content interface{}) *gomock.Call
CreateReleaseReaction indicates an expected call of CreateReleaseReaction.
func (*MockReactionsServiceMockRecorder) CreateTeamDiscussionCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreateTeamDiscussionCommentReaction(ctx, teamID, discussionNumber, commentNumber, content interface{}) *gomock.Call
CreateTeamDiscussionCommentReaction indicates an expected call of CreateTeamDiscussionCommentReaction.
func (*MockReactionsServiceMockRecorder) CreateTeamDiscussionReaction ¶
func (mr *MockReactionsServiceMockRecorder) CreateTeamDiscussionReaction(ctx, teamID, discussionNumber, content interface{}) *gomock.Call
CreateTeamDiscussionReaction indicates an expected call of CreateTeamDiscussionReaction.
func (*MockReactionsServiceMockRecorder) DeleteCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) DeleteCommentReaction(ctx, owner, repo, commentID, reactionID interface{}) *gomock.Call
DeleteCommentReaction indicates an expected call of DeleteCommentReaction.
func (*MockReactionsServiceMockRecorder) DeleteCommentReactionByID ¶
func (mr *MockReactionsServiceMockRecorder) DeleteCommentReactionByID(ctx, repoID, commentID, reactionID interface{}) *gomock.Call
DeleteCommentReactionByID indicates an expected call of DeleteCommentReactionByID.
func (*MockReactionsServiceMockRecorder) DeleteIssueCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) DeleteIssueCommentReaction(ctx, owner, repo, commentID, reactionID interface{}) *gomock.Call
DeleteIssueCommentReaction indicates an expected call of DeleteIssueCommentReaction.
func (*MockReactionsServiceMockRecorder) DeleteIssueCommentReactionByID ¶
func (mr *MockReactionsServiceMockRecorder) DeleteIssueCommentReactionByID(ctx, repoID, commentID, reactionID interface{}) *gomock.Call
DeleteIssueCommentReactionByID indicates an expected call of DeleteIssueCommentReactionByID.
func (*MockReactionsServiceMockRecorder) DeleteIssueReaction ¶
func (mr *MockReactionsServiceMockRecorder) DeleteIssueReaction(ctx, owner, repo, issueNumber, reactionID interface{}) *gomock.Call
DeleteIssueReaction indicates an expected call of DeleteIssueReaction.
func (*MockReactionsServiceMockRecorder) DeleteIssueReactionByID ¶
func (mr *MockReactionsServiceMockRecorder) DeleteIssueReactionByID(ctx, repoID, issueNumber, reactionID interface{}) *gomock.Call
DeleteIssueReactionByID indicates an expected call of DeleteIssueReactionByID.
func (*MockReactionsServiceMockRecorder) DeletePullRequestCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) DeletePullRequestCommentReaction(ctx, owner, repo, commentID, reactionID interface{}) *gomock.Call
DeletePullRequestCommentReaction indicates an expected call of DeletePullRequestCommentReaction.
func (*MockReactionsServiceMockRecorder) DeletePullRequestCommentReactionByID ¶
func (mr *MockReactionsServiceMockRecorder) DeletePullRequestCommentReactionByID(ctx, repoID, commentID, reactionID interface{}) *gomock.Call
DeletePullRequestCommentReactionByID indicates an expected call of DeletePullRequestCommentReactionByID.
func (*MockReactionsServiceMockRecorder) DeleteTeamDiscussionCommentReaction ¶
func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionCommentReaction(ctx, org, teamSlug, discussionNumber, commentNumber, reactionID interface{}) *gomock.Call
DeleteTeamDiscussionCommentReaction indicates an expected call of DeleteTeamDiscussionCommentReaction.
func (*MockReactionsServiceMockRecorder) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID ¶
func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID(ctx, orgID, teamID, discussionNumber, commentNumber, reactionID interface{}) *gomock.Call
DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID indicates an expected call of DeleteTeamDiscussionCommentReactionByOrgIDAndTeamID.
func (*MockReactionsServiceMockRecorder) DeleteTeamDiscussionReaction ¶
func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionReaction(ctx, org, teamSlug, discussionNumber, reactionID interface{}) *gomock.Call
DeleteTeamDiscussionReaction indicates an expected call of DeleteTeamDiscussionReaction.
func (*MockReactionsServiceMockRecorder) DeleteTeamDiscussionReactionByOrgIDAndTeamID ¶
func (mr *MockReactionsServiceMockRecorder) DeleteTeamDiscussionReactionByOrgIDAndTeamID(ctx, orgID, teamID, discussionNumber, reactionID interface{}) *gomock.Call
DeleteTeamDiscussionReactionByOrgIDAndTeamID indicates an expected call of DeleteTeamDiscussionReactionByOrgIDAndTeamID.
func (*MockReactionsServiceMockRecorder) ListCommentReactions ¶
func (mr *MockReactionsServiceMockRecorder) ListCommentReactions(ctx, owner, repo, id, opts interface{}) *gomock.Call
ListCommentReactions indicates an expected call of ListCommentReactions.
func (*MockReactionsServiceMockRecorder) ListIssueCommentReactions ¶
func (mr *MockReactionsServiceMockRecorder) ListIssueCommentReactions(ctx, owner, repo, id, opts interface{}) *gomock.Call
ListIssueCommentReactions indicates an expected call of ListIssueCommentReactions.
func (*MockReactionsServiceMockRecorder) ListIssueReactions ¶
func (mr *MockReactionsServiceMockRecorder) ListIssueReactions(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListIssueReactions indicates an expected call of ListIssueReactions.
func (*MockReactionsServiceMockRecorder) ListPullRequestCommentReactions ¶
func (mr *MockReactionsServiceMockRecorder) ListPullRequestCommentReactions(ctx, owner, repo, id, opts interface{}) *gomock.Call
ListPullRequestCommentReactions indicates an expected call of ListPullRequestCommentReactions.
func (*MockReactionsServiceMockRecorder) ListTeamDiscussionCommentReactions ¶
func (mr *MockReactionsServiceMockRecorder) ListTeamDiscussionCommentReactions(ctx, teamID, discussionNumber, commentNumber, opts interface{}) *gomock.Call
ListTeamDiscussionCommentReactions indicates an expected call of ListTeamDiscussionCommentReactions.
func (*MockReactionsServiceMockRecorder) ListTeamDiscussionReactions ¶
func (mr *MockReactionsServiceMockRecorder) ListTeamDiscussionReactions(ctx, teamID, discussionNumber, opts interface{}) *gomock.Call
ListTeamDiscussionReactions indicates an expected call of ListTeamDiscussionReactions.
type MockRepositoriesService ¶
type MockRepositoriesService struct {
// contains filtered or unexported fields
}
MockRepositoriesService is a mock of RepositoriesService interface.
func NewMockRepositoriesService ¶
func NewMockRepositoriesService(ctrl *gomock.Controller) *MockRepositoriesService
NewMockRepositoriesService creates a new mock instance.
func (*MockRepositoriesService) AddAdminEnforcement ¶
func (m *MockRepositoriesService) AddAdminEnforcement(ctx context.Context, owner, repo, branch string) (*github.AdminEnforcement, *github.Response, error)
AddAdminEnforcement mocks base method.
func (*MockRepositoriesService) AddAppRestrictions ¶
func (m *MockRepositoriesService) AddAppRestrictions(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error)
AddAppRestrictions mocks base method.
func (*MockRepositoriesService) AddAutolink ¶
func (m *MockRepositoriesService) AddAutolink(ctx context.Context, owner, repo string, opts *github.AutolinkOptions) (*github.Autolink, *github.Response, error)
AddAutolink mocks base method.
func (*MockRepositoriesService) AddCollaborator ¶
func (m *MockRepositoriesService) AddCollaborator(ctx context.Context, owner, repo, user string, opts *github.RepositoryAddCollaboratorOptions) (*github.CollaboratorInvitation, *github.Response, error)
AddCollaborator mocks base method.
func (*MockRepositoriesService) CompareCommits ¶
func (m *MockRepositoriesService) CompareCommits(ctx context.Context, owner, repo, base, head string, opts *github.ListOptions) (*github.CommitsComparison, *github.Response, error)
CompareCommits mocks base method.
func (*MockRepositoriesService) CompareCommitsRaw ¶
func (m *MockRepositoriesService) CompareCommitsRaw(ctx context.Context, owner, repo, base, head string, opts github.RawOptions) (string, *github.Response, error)
CompareCommitsRaw mocks base method.
func (*MockRepositoriesService) Create ¶
func (m *MockRepositoriesService) Create(ctx context.Context, org string, repo *github.Repository) (*github.Repository, *github.Response, error)
Create mocks base method.
func (*MockRepositoriesService) CreateComment ¶
func (m *MockRepositoriesService) CreateComment(ctx context.Context, owner, repo, sha string, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
CreateComment mocks base method.
func (*MockRepositoriesService) CreateDeployment ¶
func (m *MockRepositoriesService) CreateDeployment(ctx context.Context, owner, repo string, request *github.DeploymentRequest) (*github.Deployment, *github.Response, error)
CreateDeployment mocks base method.
func (*MockRepositoriesService) CreateDeploymentStatus ¶
func (m *MockRepositoriesService) CreateDeploymentStatus(ctx context.Context, owner, repo string, deployment int64, request *github.DeploymentStatusRequest) (*github.DeploymentStatus, *github.Response, error)
CreateDeploymentStatus mocks base method.
func (*MockRepositoriesService) CreateFile ¶
func (m *MockRepositoriesService) CreateFile(ctx context.Context, owner, repo, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
CreateFile mocks base method.
func (*MockRepositoriesService) CreateFork ¶
func (m *MockRepositoriesService) CreateFork(ctx context.Context, owner, repo string, opts *github.RepositoryCreateForkOptions) (*github.Repository, *github.Response, error)
CreateFork mocks base method.
func (*MockRepositoriesService) CreateFromTemplate ¶
func (m *MockRepositoriesService) CreateFromTemplate(ctx context.Context, templateOwner, templateRepo string, templateRepoReq *github.TemplateRepoRequest) (*github.Repository, *github.Response, error)
CreateFromTemplate mocks base method.
func (*MockRepositoriesService) CreateHook ¶
func (m *MockRepositoriesService) CreateHook(ctx context.Context, owner, repo string, hook *github.Hook) (*github.Hook, *github.Response, error)
CreateHook mocks base method.
func (*MockRepositoriesService) CreateKey ¶
func (m *MockRepositoriesService) CreateKey(ctx context.Context, owner, repo string, key *github.Key) (*github.Key, *github.Response, error)
CreateKey mocks base method.
func (*MockRepositoriesService) CreateProject ¶
func (m *MockRepositoriesService) CreateProject(ctx context.Context, owner, repo string, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
CreateProject mocks base method.
func (*MockRepositoriesService) CreateRelease ¶
func (m *MockRepositoriesService) CreateRelease(ctx context.Context, owner, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
CreateRelease mocks base method.
func (*MockRepositoriesService) CreateStatus ¶
func (m *MockRepositoriesService) CreateStatus(ctx context.Context, owner, repo, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
CreateStatus mocks base method.
func (*MockRepositoriesService) CreateTagProtection ¶
func (m *MockRepositoriesService) CreateTagProtection(ctx context.Context, owner, repo, pattern string) (*github.TagProtection, *github.Response, error)
CreateTagProtection mocks base method.
func (*MockRepositoriesService) CreateUpdateEnvironment ¶
func (m *MockRepositoriesService) CreateUpdateEnvironment(ctx context.Context, owner, repo, name string, environment *github.CreateUpdateEnvironment) (*github.Environment, *github.Response, error)
CreateUpdateEnvironment mocks base method.
func (*MockRepositoriesService) Delete ¶
func (m *MockRepositoriesService) Delete(ctx context.Context, owner, repo string) (*github.Response, error)
Delete mocks base method.
func (*MockRepositoriesService) DeleteAutolink ¶
func (m *MockRepositoriesService) DeleteAutolink(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeleteAutolink mocks base method.
func (*MockRepositoriesService) DeleteComment ¶
func (m *MockRepositoriesService) DeleteComment(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeleteComment mocks base method.
func (*MockRepositoriesService) DeleteDeployment ¶
func (m *MockRepositoriesService) DeleteDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*github.Response, error)
DeleteDeployment mocks base method.
func (*MockRepositoriesService) DeleteEnvironment ¶
func (m *MockRepositoriesService) DeleteEnvironment(ctx context.Context, owner, repo, name string) (*github.Response, error)
DeleteEnvironment mocks base method.
func (*MockRepositoriesService) DeleteFile ¶
func (m *MockRepositoriesService) DeleteFile(ctx context.Context, owner, repo, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
DeleteFile mocks base method.
func (*MockRepositoriesService) DeleteHook ¶
func (m *MockRepositoriesService) DeleteHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeleteHook mocks base method.
func (*MockRepositoriesService) DeleteInvitation ¶
func (m *MockRepositoriesService) DeleteInvitation(ctx context.Context, owner, repo string, invitationID int64) (*github.Response, error)
DeleteInvitation mocks base method.
func (*MockRepositoriesService) DeleteKey ¶
func (m *MockRepositoriesService) DeleteKey(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeleteKey mocks base method.
func (*MockRepositoriesService) DeletePreReceiveHook ¶
func (m *MockRepositoriesService) DeletePreReceiveHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeletePreReceiveHook mocks base method.
func (*MockRepositoriesService) DeleteRelease ¶
func (m *MockRepositoriesService) DeleteRelease(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeleteRelease mocks base method.
func (*MockRepositoriesService) DeleteReleaseAsset ¶
func (m *MockRepositoriesService) DeleteReleaseAsset(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
DeleteReleaseAsset mocks base method.
func (*MockRepositoriesService) DeleteTagProtection ¶
func (m *MockRepositoriesService) DeleteTagProtection(ctx context.Context, owner, repo string, tagProtectionID int64) (*github.Response, error)
DeleteTagProtection mocks base method.
func (*MockRepositoriesService) DisableAutomatedSecurityFixes ¶
func (m *MockRepositoriesService) DisableAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*github.Response, error)
DisableAutomatedSecurityFixes mocks base method.
func (*MockRepositoriesService) DisableDismissalRestrictions ¶
func (m *MockRepositoriesService) DisableDismissalRestrictions(ctx context.Context, owner, repo, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
DisableDismissalRestrictions mocks base method.
func (*MockRepositoriesService) DisableLFS ¶
func (m *MockRepositoriesService) DisableLFS(ctx context.Context, owner, repo string) (*github.Response, error)
DisableLFS mocks base method.
func (*MockRepositoriesService) DisablePages ¶
func (m *MockRepositoriesService) DisablePages(ctx context.Context, owner, repo string) (*github.Response, error)
DisablePages mocks base method.
func (*MockRepositoriesService) DisableVulnerabilityAlerts ¶
func (m *MockRepositoriesService) DisableVulnerabilityAlerts(ctx context.Context, owner, repository string) (*github.Response, error)
DisableVulnerabilityAlerts mocks base method.
func (*MockRepositoriesService) Dispatch ¶
func (m *MockRepositoriesService) Dispatch(ctx context.Context, owner, repo string, opts github.DispatchRequestOptions) (*github.Repository, *github.Response, error)
Dispatch mocks base method.
func (*MockRepositoriesService) DownloadContents ¶
func (m *MockRepositoriesService) DownloadContents(ctx context.Context, owner, repo, filepath string, opts *github.RepositoryContentGetOptions) (io.ReadCloser, *github.Response, error)
DownloadContents mocks base method.
func (*MockRepositoriesService) DownloadContentsWithMeta ¶
func (m *MockRepositoriesService) DownloadContentsWithMeta(ctx context.Context, owner, repo, filepath string, opts *github.RepositoryContentGetOptions) (io.ReadCloser, *github.RepositoryContent, *github.Response, error)
DownloadContentsWithMeta mocks base method.
func (*MockRepositoriesService) DownloadReleaseAsset ¶
func (m *MockRepositoriesService) DownloadReleaseAsset(ctx context.Context, owner, repo string, id int64, followRedirectsClient *http.Client) (io.ReadCloser, string, error)
DownloadReleaseAsset mocks base method.
func (*MockRepositoriesService) EXPECT ¶
func (m *MockRepositoriesService) EXPECT() *MockRepositoriesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoriesService) Edit ¶
func (m *MockRepositoriesService) Edit(ctx context.Context, owner, repo string, repository *github.Repository) (*github.Repository, *github.Response, error)
Edit mocks base method.
func (*MockRepositoriesService) EditActionsAllowed ¶
func (m *MockRepositoriesService) EditActionsAllowed(ctx context.Context, org, repo string, actionsAllowed github.ActionsAllowed) (*github.ActionsAllowed, *github.Response, error)
EditActionsAllowed mocks base method.
func (*MockRepositoriesService) EditActionsPermissions ¶
func (m *MockRepositoriesService) EditActionsPermissions(ctx context.Context, owner, repo string, actionsPermissionsRepository github.ActionsPermissionsRepository) (*github.ActionsPermissionsRepository, *github.Response, error)
EditActionsPermissions mocks base method.
func (*MockRepositoriesService) EditHook ¶
func (m *MockRepositoriesService) EditHook(ctx context.Context, owner, repo string, id int64, hook *github.Hook) (*github.Hook, *github.Response, error)
EditHook mocks base method.
func (*MockRepositoriesService) EditRelease ¶
func (m *MockRepositoriesService) EditRelease(ctx context.Context, owner, repo string, id int64, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
EditRelease mocks base method.
func (*MockRepositoriesService) EditReleaseAsset ¶
func (m *MockRepositoriesService) EditReleaseAsset(ctx context.Context, owner, repo string, id int64, release *github.ReleaseAsset) (*github.ReleaseAsset, *github.Response, error)
EditReleaseAsset mocks base method.
func (*MockRepositoriesService) EnableAutomatedSecurityFixes ¶
func (m *MockRepositoriesService) EnableAutomatedSecurityFixes(ctx context.Context, owner, repository string) (*github.Response, error)
EnableAutomatedSecurityFixes mocks base method.
func (*MockRepositoriesService) EnableLFS ¶
func (m *MockRepositoriesService) EnableLFS(ctx context.Context, owner, repo string) (*github.Response, error)
EnableLFS mocks base method.
func (*MockRepositoriesService) EnablePages ¶
func (m *MockRepositoriesService) EnablePages(ctx context.Context, owner, repo string, pages *github.Pages) (*github.Pages, *github.Response, error)
EnablePages mocks base method.
func (*MockRepositoriesService) EnableVulnerabilityAlerts ¶
func (m *MockRepositoriesService) EnableVulnerabilityAlerts(ctx context.Context, owner, repository string) (*github.Response, error)
EnableVulnerabilityAlerts mocks base method.
func (*MockRepositoriesService) GenerateReleaseNotes ¶
func (m *MockRepositoriesService) GenerateReleaseNotes(ctx context.Context, owner, repo string, opts *github.GenerateNotesOptions) (*github.RepositoryReleaseNotes, *github.Response, error)
GenerateReleaseNotes mocks base method.
func (*MockRepositoriesService) Get ¶
func (m *MockRepositoriesService) Get(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
Get mocks base method.
func (*MockRepositoriesService) GetActionsAllowed ¶
func (m *MockRepositoriesService) GetActionsAllowed(ctx context.Context, org, repo string) (*github.ActionsAllowed, *github.Response, error)
GetActionsAllowed mocks base method.
func (*MockRepositoriesService) GetActionsPermissions ¶
func (m *MockRepositoriesService) GetActionsPermissions(ctx context.Context, owner, repo string) (*github.ActionsPermissionsRepository, *github.Response, error)
GetActionsPermissions mocks base method.
func (*MockRepositoriesService) GetAdminEnforcement ¶
func (m *MockRepositoriesService) GetAdminEnforcement(ctx context.Context, owner, repo, branch string) (*github.AdminEnforcement, *github.Response, error)
GetAdminEnforcement mocks base method.
func (*MockRepositoriesService) GetArchiveLink ¶
func (m *MockRepositoriesService) GetArchiveLink(ctx context.Context, owner, repo string, archiveformat github.ArchiveFormat, opts *github.RepositoryContentGetOptions, followRedirects bool) (*url.URL, *github.Response, error)
GetArchiveLink mocks base method.
func (*MockRepositoriesService) GetAutolink ¶
func (m *MockRepositoriesService) GetAutolink(ctx context.Context, owner, repo string, id int64) (*github.Autolink, *github.Response, error)
GetAutolink mocks base method.
func (*MockRepositoriesService) GetBranch ¶
func (m *MockRepositoriesService) GetBranch(ctx context.Context, owner, repo, branch string, followRedirects bool) (*github.Branch, *github.Response, error)
GetBranch mocks base method.
func (*MockRepositoriesService) GetBranchProtection ¶
func (m *MockRepositoriesService) GetBranchProtection(ctx context.Context, owner, repo, branch string) (*github.Protection, *github.Response, error)
GetBranchProtection mocks base method.
func (*MockRepositoriesService) GetByID ¶
func (m *MockRepositoriesService) GetByID(ctx context.Context, id int64) (*github.Repository, *github.Response, error)
GetByID mocks base method.
func (*MockRepositoriesService) GetCodeOfConduct ¶
func (m *MockRepositoriesService) GetCodeOfConduct(ctx context.Context, owner, repo string) (*github.CodeOfConduct, *github.Response, error)
GetCodeOfConduct mocks base method.
func (*MockRepositoriesService) GetCodeownersErrors ¶
func (m *MockRepositoriesService) GetCodeownersErrors(ctx context.Context, owner, repo string) (*github.CodeownersErrors, *github.Response, error)
GetCodeownersErrors mocks base method.
func (*MockRepositoriesService) GetCombinedStatus ¶
func (m *MockRepositoriesService) GetCombinedStatus(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
GetCombinedStatus mocks base method.
func (*MockRepositoriesService) GetComment ¶
func (m *MockRepositoriesService) GetComment(ctx context.Context, owner, repo string, id int64) (*github.RepositoryComment, *github.Response, error)
GetComment mocks base method.
func (*MockRepositoriesService) GetCommit ¶
func (m *MockRepositoriesService) GetCommit(ctx context.Context, owner, repo, sha string, opts *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)
GetCommit mocks base method.
func (*MockRepositoriesService) GetCommitRaw ¶
func (m *MockRepositoriesService) GetCommitRaw(ctx context.Context, owner, repo, sha string, opts github.RawOptions) (string, *github.Response, error)
GetCommitRaw mocks base method.
func (*MockRepositoriesService) GetCommitSHA1 ¶
func (m *MockRepositoriesService) GetCommitSHA1(ctx context.Context, owner, repo, ref, lastSHA string) (string, *github.Response, error)
GetCommitSHA1 mocks base method.
func (*MockRepositoriesService) GetCommunityHealthMetrics ¶
func (m *MockRepositoriesService) GetCommunityHealthMetrics(ctx context.Context, owner, repo string) (*github.CommunityHealthMetrics, *github.Response, error)
GetCommunityHealthMetrics mocks base method.
func (*MockRepositoriesService) GetContents ¶
func (m *MockRepositoriesService) GetContents(ctx context.Context, owner, repo, path string, opts *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents mocks base method.
func (*MockRepositoriesService) GetDeployment ¶
func (m *MockRepositoriesService) GetDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*github.Deployment, *github.Response, error)
GetDeployment mocks base method.
func (*MockRepositoriesService) GetDeploymentStatus ¶
func (m *MockRepositoriesService) GetDeploymentStatus(ctx context.Context, owner, repo string, deploymentID, deploymentStatusID int64) (*github.DeploymentStatus, *github.Response, error)
GetDeploymentStatus mocks base method.
func (*MockRepositoriesService) GetEnvironment ¶
func (m *MockRepositoriesService) GetEnvironment(ctx context.Context, owner, repo, name string) (*github.Environment, *github.Response, error)
GetEnvironment mocks base method.
func (*MockRepositoriesService) GetHook ¶
func (m *MockRepositoriesService) GetHook(ctx context.Context, owner, repo string, id int64) (*github.Hook, *github.Response, error)
GetHook mocks base method.
func (*MockRepositoriesService) GetHookDelivery ¶
func (m *MockRepositoriesService) GetHookDelivery(ctx context.Context, owner, repo string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
GetHookDelivery mocks base method.
func (*MockRepositoriesService) GetKey ¶
func (m *MockRepositoriesService) GetKey(ctx context.Context, owner, repo string, id int64) (*github.Key, *github.Response, error)
GetKey mocks base method.
func (*MockRepositoriesService) GetLatestPagesBuild ¶
func (m *MockRepositoriesService) GetLatestPagesBuild(ctx context.Context, owner, repo string) (*github.PagesBuild, *github.Response, error)
GetLatestPagesBuild mocks base method.
func (*MockRepositoriesService) GetLatestRelease ¶
func (m *MockRepositoriesService) GetLatestRelease(ctx context.Context, owner, repo string) (*github.RepositoryRelease, *github.Response, error)
GetLatestRelease mocks base method.
func (*MockRepositoriesService) GetPageBuild ¶
func (m *MockRepositoriesService) GetPageBuild(ctx context.Context, owner, repo string, id int64) (*github.PagesBuild, *github.Response, error)
GetPageBuild mocks base method.
func (*MockRepositoriesService) GetPagesInfo ¶
func (m *MockRepositoriesService) GetPagesInfo(ctx context.Context, owner, repo string) (*github.Pages, *github.Response, error)
GetPagesInfo mocks base method.
func (*MockRepositoriesService) GetPermissionLevel ¶
func (m *MockRepositoriesService) GetPermissionLevel(ctx context.Context, owner, repo, user string) (*github.RepositoryPermissionLevel, *github.Response, error)
GetPermissionLevel mocks base method.
func (*MockRepositoriesService) GetPreReceiveHook ¶
func (m *MockRepositoriesService) GetPreReceiveHook(ctx context.Context, owner, repo string, id int64) (*github.PreReceiveHook, *github.Response, error)
GetPreReceiveHook mocks base method.
func (*MockRepositoriesService) GetPullRequestReviewEnforcement ¶
func (m *MockRepositoriesService) GetPullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
GetPullRequestReviewEnforcement mocks base method.
func (*MockRepositoriesService) GetReadme ¶
func (m *MockRepositoriesService) GetReadme(ctx context.Context, owner, repo string, opts *github.RepositoryContentGetOptions) (*github.RepositoryContent, *github.Response, error)
GetReadme mocks base method.
func (*MockRepositoriesService) GetRelease ¶
func (m *MockRepositoriesService) GetRelease(ctx context.Context, owner, repo string, id int64) (*github.RepositoryRelease, *github.Response, error)
GetRelease mocks base method.
func (*MockRepositoriesService) GetReleaseAsset ¶
func (m *MockRepositoriesService) GetReleaseAsset(ctx context.Context, owner, repo string, id int64) (*github.ReleaseAsset, *github.Response, error)
GetReleaseAsset mocks base method.
func (*MockRepositoriesService) GetReleaseByTag ¶
func (m *MockRepositoriesService) GetReleaseByTag(ctx context.Context, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error)
GetReleaseByTag mocks base method.
func (*MockRepositoriesService) GetRequiredStatusChecks ¶
func (m *MockRepositoriesService) GetRequiredStatusChecks(ctx context.Context, owner, repo, branch string) (*github.RequiredStatusChecks, *github.Response, error)
GetRequiredStatusChecks mocks base method.
func (*MockRepositoriesService) GetSignaturesProtectedBranch ¶
func (m *MockRepositoriesService) GetSignaturesProtectedBranch(ctx context.Context, owner, repo, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
GetSignaturesProtectedBranch mocks base method.
func (*MockRepositoriesService) GetVulnerabilityAlerts ¶
func (m *MockRepositoriesService) GetVulnerabilityAlerts(ctx context.Context, owner, repository string) (bool, *github.Response, error)
GetVulnerabilityAlerts mocks base method.
func (*MockRepositoriesService) IsCollaborator ¶
func (m *MockRepositoriesService) IsCollaborator(ctx context.Context, owner, repo, user string) (bool, *github.Response, error)
IsCollaborator mocks base method.
func (*MockRepositoriesService) License ¶
func (m *MockRepositoriesService) License(ctx context.Context, owner, repo string) (*github.RepositoryLicense, *github.Response, error)
License mocks base method.
func (*MockRepositoriesService) List ¶
func (m *MockRepositoriesService) List(ctx context.Context, user string, opts *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error)
List mocks base method.
func (*MockRepositoriesService) ListAll ¶
func (m *MockRepositoriesService) ListAll(ctx context.Context, opts *github.RepositoryListAllOptions) ([]*github.Repository, *github.Response, error)
ListAll mocks base method.
func (*MockRepositoriesService) ListAllTopics ¶
func (m *MockRepositoriesService) ListAllTopics(ctx context.Context, owner, repo string) ([]string, *github.Response, error)
ListAllTopics mocks base method.
func (*MockRepositoriesService) ListApps ¶
func (m *MockRepositoriesService) ListApps(ctx context.Context, owner, repo, branch string) ([]*github.App, *github.Response, error)
ListApps mocks base method.
func (*MockRepositoriesService) ListAutolinks ¶
func (m *MockRepositoriesService) ListAutolinks(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Autolink, *github.Response, error)
ListAutolinks mocks base method.
func (*MockRepositoriesService) ListBranches ¶
func (m *MockRepositoriesService) ListBranches(ctx context.Context, owner, repo string, opts *github.BranchListOptions) ([]*github.Branch, *github.Response, error)
ListBranches mocks base method.
func (*MockRepositoriesService) ListBranchesHeadCommit ¶
func (m *MockRepositoriesService) ListBranchesHeadCommit(ctx context.Context, owner, repo, sha string) ([]*github.BranchCommit, *github.Response, error)
ListBranchesHeadCommit mocks base method.
func (*MockRepositoriesService) ListByOrg ¶
func (m *MockRepositoriesService) ListByOrg(ctx context.Context, org string, opts *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
ListByOrg mocks base method.
func (*MockRepositoriesService) ListCodeFrequency ¶
func (m *MockRepositoriesService) ListCodeFrequency(ctx context.Context, owner, repo string) ([]*github.WeeklyStats, *github.Response, error)
ListCodeFrequency mocks base method.
func (*MockRepositoriesService) ListCollaborators ¶
func (m *MockRepositoriesService) ListCollaborators(ctx context.Context, owner, repo string, opts *github.ListCollaboratorsOptions) ([]*github.User, *github.Response, error)
ListCollaborators mocks base method.
func (*MockRepositoriesService) ListComments ¶
func (m *MockRepositoriesService) ListComments(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
ListComments mocks base method.
func (*MockRepositoriesService) ListCommitActivity ¶
func (m *MockRepositoriesService) ListCommitActivity(ctx context.Context, owner, repo string) ([]*github.WeeklyCommitActivity, *github.Response, error)
ListCommitActivity mocks base method.
func (*MockRepositoriesService) ListCommitComments ¶
func (m *MockRepositoriesService) ListCommitComments(ctx context.Context, owner, repo, sha string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
ListCommitComments mocks base method.
func (*MockRepositoriesService) ListCommits ¶
func (m *MockRepositoriesService) ListCommits(ctx context.Context, owner, repo string, opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
ListCommits mocks base method.
func (*MockRepositoriesService) ListContributors ¶
func (m *MockRepositoriesService) ListContributors(ctx context.Context, owner, repository string, opts *github.ListContributorsOptions) ([]*github.Contributor, *github.Response, error)
ListContributors mocks base method.
func (*MockRepositoriesService) ListContributorsStats ¶
func (m *MockRepositoriesService) ListContributorsStats(ctx context.Context, owner, repo string) ([]*github.ContributorStats, *github.Response, error)
ListContributorsStats mocks base method.
func (*MockRepositoriesService) ListDeploymentStatuses ¶
func (m *MockRepositoriesService) ListDeploymentStatuses(ctx context.Context, owner, repo string, deployment int64, opts *github.ListOptions) ([]*github.DeploymentStatus, *github.Response, error)
ListDeploymentStatuses mocks base method.
func (*MockRepositoriesService) ListDeployments ¶
func (m *MockRepositoriesService) ListDeployments(ctx context.Context, owner, repo string, opts *github.DeploymentsListOptions) ([]*github.Deployment, *github.Response, error)
ListDeployments mocks base method.
func (*MockRepositoriesService) ListEnvironments ¶
func (m *MockRepositoriesService) ListEnvironments(ctx context.Context, owner, repo string, opts *github.EnvironmentListOptions) (*github.EnvResponse, *github.Response, error)
ListEnvironments mocks base method.
func (*MockRepositoriesService) ListForks ¶
func (m *MockRepositoriesService) ListForks(ctx context.Context, owner, repo string, opts *github.RepositoryListForksOptions) ([]*github.Repository, *github.Response, error)
ListForks mocks base method.
func (*MockRepositoriesService) ListHookDeliveries ¶
func (m *MockRepositoriesService) ListHookDeliveries(ctx context.Context, owner, repo string, id int64, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
ListHookDeliveries mocks base method.
func (*MockRepositoriesService) ListHooks ¶
func (m *MockRepositoriesService) ListHooks(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Hook, *github.Response, error)
ListHooks mocks base method.
func (*MockRepositoriesService) ListInvitations ¶
func (m *MockRepositoriesService) ListInvitations(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
ListInvitations mocks base method.
func (*MockRepositoriesService) ListKeys ¶
func (m *MockRepositoriesService) ListKeys(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Key, *github.Response, error)
ListKeys mocks base method.
func (*MockRepositoriesService) ListLanguages ¶
func (m *MockRepositoriesService) ListLanguages(ctx context.Context, owner, repo string) (map[string]int, *github.Response, error)
ListLanguages mocks base method.
func (*MockRepositoriesService) ListPagesBuilds ¶
func (m *MockRepositoriesService) ListPagesBuilds(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.PagesBuild, *github.Response, error)
ListPagesBuilds mocks base method.
func (*MockRepositoriesService) ListParticipation ¶
func (m *MockRepositoriesService) ListParticipation(ctx context.Context, owner, repo string) (*github.RepositoryParticipation, *github.Response, error)
ListParticipation mocks base method.
func (*MockRepositoriesService) ListPreReceiveHooks ¶
func (m *MockRepositoriesService) ListPreReceiveHooks(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error)
ListPreReceiveHooks mocks base method.
func (*MockRepositoriesService) ListProjects ¶
func (m *MockRepositoriesService) ListProjects(ctx context.Context, owner, repo string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
ListProjects mocks base method.
func (*MockRepositoriesService) ListPunchCard ¶
func (m *MockRepositoriesService) ListPunchCard(ctx context.Context, owner, repo string) ([]*github.PunchCard, *github.Response, error)
ListPunchCard mocks base method.
func (*MockRepositoriesService) ListReleaseAssets ¶
func (m *MockRepositoriesService) ListReleaseAssets(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
ListReleaseAssets mocks base method.
func (*MockRepositoriesService) ListReleases ¶
func (m *MockRepositoriesService) ListReleases(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
ListReleases mocks base method.
func (*MockRepositoriesService) ListRequiredStatusChecksContexts ¶
func (m *MockRepositoriesService) ListRequiredStatusChecksContexts(ctx context.Context, owner, repo, branch string) ([]string, *github.Response, error)
ListRequiredStatusChecksContexts mocks base method.
func (*MockRepositoriesService) ListStatuses ¶
func (m *MockRepositoriesService) ListStatuses(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
ListStatuses mocks base method.
func (*MockRepositoriesService) ListTagProtection ¶
func (m *MockRepositoriesService) ListTagProtection(ctx context.Context, owner, repo string) ([]*github.TagProtection, *github.Response, error)
ListTagProtection mocks base method.
func (*MockRepositoriesService) ListTags ¶
func (m *MockRepositoriesService) ListTags(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
ListTags mocks base method.
func (*MockRepositoriesService) ListTeams ¶
func (m *MockRepositoriesService) ListTeams(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
ListTeams mocks base method.
func (*MockRepositoriesService) ListTrafficClones ¶
func (m *MockRepositoriesService) ListTrafficClones(ctx context.Context, owner, repo string, opts *github.TrafficBreakdownOptions) (*github.TrafficClones, *github.Response, error)
ListTrafficClones mocks base method.
func (*MockRepositoriesService) ListTrafficPaths ¶
func (m *MockRepositoriesService) ListTrafficPaths(ctx context.Context, owner, repo string) ([]*github.TrafficPath, *github.Response, error)
ListTrafficPaths mocks base method.
func (*MockRepositoriesService) ListTrafficReferrers ¶
func (m *MockRepositoriesService) ListTrafficReferrers(ctx context.Context, owner, repo string) ([]*github.TrafficReferrer, *github.Response, error)
ListTrafficReferrers mocks base method.
func (*MockRepositoriesService) ListTrafficViews ¶
func (m *MockRepositoriesService) ListTrafficViews(ctx context.Context, owner, repo string, opts *github.TrafficBreakdownOptions) (*github.TrafficViews, *github.Response, error)
ListTrafficViews mocks base method.
func (*MockRepositoriesService) Merge ¶
func (m *MockRepositoriesService) Merge(ctx context.Context, owner, repo string, request *github.RepositoryMergeRequest) (*github.RepositoryCommit, *github.Response, error)
Merge mocks base method.
func (*MockRepositoriesService) MergeUpstream ¶
func (m *MockRepositoriesService) MergeUpstream(ctx context.Context, owner, repo string, request *github.RepoMergeUpstreamRequest) (*github.RepoMergeUpstreamResult, *github.Response, error)
MergeUpstream mocks base method.
func (*MockRepositoriesService) OptionalSignaturesOnProtectedBranch ¶
func (m *MockRepositoriesService) OptionalSignaturesOnProtectedBranch(ctx context.Context, owner, repo, branch string) (*github.Response, error)
OptionalSignaturesOnProtectedBranch mocks base method.
func (*MockRepositoriesService) PingHook ¶
func (m *MockRepositoriesService) PingHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
PingHook mocks base method.
func (*MockRepositoriesService) RedeliverHookDelivery ¶
func (m *MockRepositoriesService) RedeliverHookDelivery(ctx context.Context, owner, repo string, hookID, deliveryID int64) (*github.HookDelivery, *github.Response, error)
RedeliverHookDelivery mocks base method.
func (*MockRepositoriesService) RemoveAdminEnforcement ¶
func (m *MockRepositoriesService) RemoveAdminEnforcement(ctx context.Context, owner, repo, branch string) (*github.Response, error)
RemoveAdminEnforcement mocks base method.
func (*MockRepositoriesService) RemoveAppRestrictions ¶
func (m *MockRepositoriesService) RemoveAppRestrictions(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error)
RemoveAppRestrictions mocks base method.
func (*MockRepositoriesService) RemoveBranchProtection ¶
func (m *MockRepositoriesService) RemoveBranchProtection(ctx context.Context, owner, repo, branch string) (*github.Response, error)
RemoveBranchProtection mocks base method.
func (*MockRepositoriesService) RemoveCollaborator ¶
func (m *MockRepositoriesService) RemoveCollaborator(ctx context.Context, owner, repo, user string) (*github.Response, error)
RemoveCollaborator mocks base method.
func (*MockRepositoriesService) RemovePullRequestReviewEnforcement ¶
func (m *MockRepositoriesService) RemovePullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string) (*github.Response, error)
RemovePullRequestReviewEnforcement mocks base method.
func (*MockRepositoriesService) RemoveRequiredStatusChecks ¶
func (m *MockRepositoriesService) RemoveRequiredStatusChecks(ctx context.Context, owner, repo, branch string) (*github.Response, error)
RemoveRequiredStatusChecks mocks base method.
func (*MockRepositoriesService) RenameBranch ¶
func (m *MockRepositoriesService) RenameBranch(ctx context.Context, owner, repo, branch, newName string) (*github.Branch, *github.Response, error)
RenameBranch mocks base method.
func (*MockRepositoriesService) ReplaceAllTopics ¶
func (m *MockRepositoriesService) ReplaceAllTopics(ctx context.Context, owner, repo string, topics []string) ([]string, *github.Response, error)
ReplaceAllTopics mocks base method.
func (*MockRepositoriesService) ReplaceAppRestrictions ¶
func (m *MockRepositoriesService) ReplaceAppRestrictions(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error)
ReplaceAppRestrictions mocks base method.
func (*MockRepositoriesService) RequestPageBuild ¶
func (m *MockRepositoriesService) RequestPageBuild(ctx context.Context, owner, repo string) (*github.PagesBuild, *github.Response, error)
RequestPageBuild mocks base method.
func (*MockRepositoriesService) RequireSignaturesOnProtectedBranch ¶
func (m *MockRepositoriesService) RequireSignaturesOnProtectedBranch(ctx context.Context, owner, repo, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
RequireSignaturesOnProtectedBranch mocks base method.
func (*MockRepositoriesService) Subscribe ¶
func (m *MockRepositoriesService) Subscribe(ctx context.Context, owner, repo, event, callback string, secret []uint8) (*github.Response, error)
Subscribe mocks base method.
func (*MockRepositoriesService) TestHook ¶
func (m *MockRepositoriesService) TestHook(ctx context.Context, owner, repo string, id int64) (*github.Response, error)
TestHook mocks base method.
func (*MockRepositoriesService) Transfer ¶
func (m *MockRepositoriesService) Transfer(ctx context.Context, owner, repo string, transfer github.TransferRequest) (*github.Repository, *github.Response, error)
Transfer mocks base method.
func (*MockRepositoriesService) Unsubscribe ¶
func (m *MockRepositoriesService) Unsubscribe(ctx context.Context, owner, repo, event, callback string, secret []uint8) (*github.Response, error)
Unsubscribe mocks base method.
func (*MockRepositoriesService) UpdateBranchProtection ¶
func (m *MockRepositoriesService) UpdateBranchProtection(ctx context.Context, owner, repo, branch string, preq *github.ProtectionRequest) (*github.Protection, *github.Response, error)
UpdateBranchProtection mocks base method.
func (*MockRepositoriesService) UpdateComment ¶
func (m *MockRepositoriesService) UpdateComment(ctx context.Context, owner, repo string, id int64, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
UpdateComment mocks base method.
func (*MockRepositoriesService) UpdateFile ¶
func (m *MockRepositoriesService) UpdateFile(ctx context.Context, owner, repo, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
UpdateFile mocks base method.
func (*MockRepositoriesService) UpdateInvitation ¶
func (m *MockRepositoriesService) UpdateInvitation(ctx context.Context, owner, repo string, invitationID int64, permissions string) (*github.RepositoryInvitation, *github.Response, error)
UpdateInvitation mocks base method.
func (*MockRepositoriesService) UpdatePages ¶
func (m *MockRepositoriesService) UpdatePages(ctx context.Context, owner, repo string, opts *github.PagesUpdate) (*github.Response, error)
UpdatePages mocks base method.
func (*MockRepositoriesService) UpdatePreReceiveHook ¶
func (m *MockRepositoriesService) UpdatePreReceiveHook(ctx context.Context, owner, repo string, id int64, hook *github.PreReceiveHook) (*github.PreReceiveHook, *github.Response, error)
UpdatePreReceiveHook mocks base method.
func (*MockRepositoriesService) UpdatePullRequestReviewEnforcement ¶
func (m *MockRepositoriesService) UpdatePullRequestReviewEnforcement(ctx context.Context, owner, repo, branch string, patch *github.PullRequestReviewsEnforcementUpdate) (*github.PullRequestReviewsEnforcement, *github.Response, error)
UpdatePullRequestReviewEnforcement mocks base method.
func (*MockRepositoriesService) UpdateRequiredStatusChecks ¶
func (m *MockRepositoriesService) UpdateRequiredStatusChecks(ctx context.Context, owner, repo, branch string, sreq *github.RequiredStatusChecksRequest) (*github.RequiredStatusChecks, *github.Response, error)
UpdateRequiredStatusChecks mocks base method.
func (*MockRepositoriesService) UploadReleaseAsset ¶
func (m *MockRepositoriesService) UploadReleaseAsset(ctx context.Context, owner, repo string, id int64, opts *github.UploadOptions, file *os.File) (*github.ReleaseAsset, *github.Response, error)
UploadReleaseAsset mocks base method.
type MockRepositoriesServiceMockRecorder ¶
type MockRepositoriesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoriesServiceMockRecorder is the mock recorder for MockRepositoriesService.
func (*MockRepositoriesServiceMockRecorder) AddAdminEnforcement ¶
func (mr *MockRepositoriesServiceMockRecorder) AddAdminEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
AddAdminEnforcement indicates an expected call of AddAdminEnforcement.
func (*MockRepositoriesServiceMockRecorder) AddAppRestrictions ¶
func (mr *MockRepositoriesServiceMockRecorder) AddAppRestrictions(ctx, owner, repo, branch, slug interface{}) *gomock.Call
AddAppRestrictions indicates an expected call of AddAppRestrictions.
func (*MockRepositoriesServiceMockRecorder) AddAutolink ¶
func (mr *MockRepositoriesServiceMockRecorder) AddAutolink(ctx, owner, repo, opts interface{}) *gomock.Call
AddAutolink indicates an expected call of AddAutolink.
func (*MockRepositoriesServiceMockRecorder) AddCollaborator ¶
func (mr *MockRepositoriesServiceMockRecorder) AddCollaborator(ctx, owner, repo, user, opts interface{}) *gomock.Call
AddCollaborator indicates an expected call of AddCollaborator.
func (*MockRepositoriesServiceMockRecorder) CompareCommits ¶
func (mr *MockRepositoriesServiceMockRecorder) CompareCommits(ctx, owner, repo, base, head, opts interface{}) *gomock.Call
CompareCommits indicates an expected call of CompareCommits.
func (*MockRepositoriesServiceMockRecorder) CompareCommitsRaw ¶
func (mr *MockRepositoriesServiceMockRecorder) CompareCommitsRaw(ctx, owner, repo, base, head, opts interface{}) *gomock.Call
CompareCommitsRaw indicates an expected call of CompareCommitsRaw.
func (*MockRepositoriesServiceMockRecorder) Create ¶
func (mr *MockRepositoriesServiceMockRecorder) Create(ctx, org, repo interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRepositoriesServiceMockRecorder) CreateComment ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateComment(ctx, owner, repo, sha, comment interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment.
func (*MockRepositoriesServiceMockRecorder) CreateDeployment ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateDeployment(ctx, owner, repo, request interface{}) *gomock.Call
CreateDeployment indicates an expected call of CreateDeployment.
func (*MockRepositoriesServiceMockRecorder) CreateDeploymentStatus ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateDeploymentStatus(ctx, owner, repo, deployment, request interface{}) *gomock.Call
CreateDeploymentStatus indicates an expected call of CreateDeploymentStatus.
func (*MockRepositoriesServiceMockRecorder) CreateFile ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateFile(ctx, owner, repo, path, opts interface{}) *gomock.Call
CreateFile indicates an expected call of CreateFile.
func (*MockRepositoriesServiceMockRecorder) CreateFork ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateFork(ctx, owner, repo, opts interface{}) *gomock.Call
CreateFork indicates an expected call of CreateFork.
func (*MockRepositoriesServiceMockRecorder) CreateFromTemplate ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateFromTemplate(ctx, templateOwner, templateRepo, templateRepoReq interface{}) *gomock.Call
CreateFromTemplate indicates an expected call of CreateFromTemplate.
func (*MockRepositoriesServiceMockRecorder) CreateHook ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateHook(ctx, owner, repo, hook interface{}) *gomock.Call
CreateHook indicates an expected call of CreateHook.
func (*MockRepositoriesServiceMockRecorder) CreateKey ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateKey(ctx, owner, repo, key interface{}) *gomock.Call
CreateKey indicates an expected call of CreateKey.
func (*MockRepositoriesServiceMockRecorder) CreateProject ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateProject(ctx, owner, repo, opts interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockRepositoriesServiceMockRecorder) CreateRelease ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateRelease(ctx, owner, repo, release interface{}) *gomock.Call
CreateRelease indicates an expected call of CreateRelease.
func (*MockRepositoriesServiceMockRecorder) CreateStatus ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateStatus(ctx, owner, repo, ref, status interface{}) *gomock.Call
CreateStatus indicates an expected call of CreateStatus.
func (*MockRepositoriesServiceMockRecorder) CreateTagProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateTagProtection(ctx, owner, repo, pattern interface{}) *gomock.Call
CreateTagProtection indicates an expected call of CreateTagProtection.
func (*MockRepositoriesServiceMockRecorder) CreateUpdateEnvironment ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateUpdateEnvironment(ctx, owner, repo, name, environment interface{}) *gomock.Call
CreateUpdateEnvironment indicates an expected call of CreateUpdateEnvironment.
func (*MockRepositoriesServiceMockRecorder) Delete ¶
func (mr *MockRepositoriesServiceMockRecorder) Delete(ctx, owner, repo interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRepositoriesServiceMockRecorder) DeleteAutolink ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteAutolink(ctx, owner, repo, id interface{}) *gomock.Call
DeleteAutolink indicates an expected call of DeleteAutolink.
func (*MockRepositoriesServiceMockRecorder) DeleteComment ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteComment(ctx, owner, repo, id interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment.
func (*MockRepositoriesServiceMockRecorder) DeleteDeployment ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteDeployment(ctx, owner, repo, deploymentID interface{}) *gomock.Call
DeleteDeployment indicates an expected call of DeleteDeployment.
func (*MockRepositoriesServiceMockRecorder) DeleteEnvironment ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteEnvironment(ctx, owner, repo, name interface{}) *gomock.Call
DeleteEnvironment indicates an expected call of DeleteEnvironment.
func (*MockRepositoriesServiceMockRecorder) DeleteFile ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteFile(ctx, owner, repo, path, opts interface{}) *gomock.Call
DeleteFile indicates an expected call of DeleteFile.
func (*MockRepositoriesServiceMockRecorder) DeleteHook ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteHook(ctx, owner, repo, id interface{}) *gomock.Call
DeleteHook indicates an expected call of DeleteHook.
func (*MockRepositoriesServiceMockRecorder) DeleteInvitation ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteInvitation(ctx, owner, repo, invitationID interface{}) *gomock.Call
DeleteInvitation indicates an expected call of DeleteInvitation.
func (*MockRepositoriesServiceMockRecorder) DeleteKey ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteKey(ctx, owner, repo, id interface{}) *gomock.Call
DeleteKey indicates an expected call of DeleteKey.
func (*MockRepositoriesServiceMockRecorder) DeletePreReceiveHook ¶
func (mr *MockRepositoriesServiceMockRecorder) DeletePreReceiveHook(ctx, owner, repo, id interface{}) *gomock.Call
DeletePreReceiveHook indicates an expected call of DeletePreReceiveHook.
func (*MockRepositoriesServiceMockRecorder) DeleteRelease ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteRelease(ctx, owner, repo, id interface{}) *gomock.Call
DeleteRelease indicates an expected call of DeleteRelease.
func (*MockRepositoriesServiceMockRecorder) DeleteReleaseAsset ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteReleaseAsset(ctx, owner, repo, id interface{}) *gomock.Call
DeleteReleaseAsset indicates an expected call of DeleteReleaseAsset.
func (*MockRepositoriesServiceMockRecorder) DeleteTagProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) DeleteTagProtection(ctx, owner, repo, tagProtectionID interface{}) *gomock.Call
DeleteTagProtection indicates an expected call of DeleteTagProtection.
func (*MockRepositoriesServiceMockRecorder) DisableAutomatedSecurityFixes ¶
func (mr *MockRepositoriesServiceMockRecorder) DisableAutomatedSecurityFixes(ctx, owner, repository interface{}) *gomock.Call
DisableAutomatedSecurityFixes indicates an expected call of DisableAutomatedSecurityFixes.
func (*MockRepositoriesServiceMockRecorder) DisableDismissalRestrictions ¶
func (mr *MockRepositoriesServiceMockRecorder) DisableDismissalRestrictions(ctx, owner, repo, branch interface{}) *gomock.Call
DisableDismissalRestrictions indicates an expected call of DisableDismissalRestrictions.
func (*MockRepositoriesServiceMockRecorder) DisableLFS ¶
func (mr *MockRepositoriesServiceMockRecorder) DisableLFS(ctx, owner, repo interface{}) *gomock.Call
DisableLFS indicates an expected call of DisableLFS.
func (*MockRepositoriesServiceMockRecorder) DisablePages ¶
func (mr *MockRepositoriesServiceMockRecorder) DisablePages(ctx, owner, repo interface{}) *gomock.Call
DisablePages indicates an expected call of DisablePages.
func (*MockRepositoriesServiceMockRecorder) DisableVulnerabilityAlerts ¶
func (mr *MockRepositoriesServiceMockRecorder) DisableVulnerabilityAlerts(ctx, owner, repository interface{}) *gomock.Call
DisableVulnerabilityAlerts indicates an expected call of DisableVulnerabilityAlerts.
func (*MockRepositoriesServiceMockRecorder) Dispatch ¶
func (mr *MockRepositoriesServiceMockRecorder) Dispatch(ctx, owner, repo, opts interface{}) *gomock.Call
Dispatch indicates an expected call of Dispatch.
func (*MockRepositoriesServiceMockRecorder) DownloadContents ¶
func (mr *MockRepositoriesServiceMockRecorder) DownloadContents(ctx, owner, repo, filepath, opts interface{}) *gomock.Call
DownloadContents indicates an expected call of DownloadContents.
func (*MockRepositoriesServiceMockRecorder) DownloadContentsWithMeta ¶
func (mr *MockRepositoriesServiceMockRecorder) DownloadContentsWithMeta(ctx, owner, repo, filepath, opts interface{}) *gomock.Call
DownloadContentsWithMeta indicates an expected call of DownloadContentsWithMeta.
func (*MockRepositoriesServiceMockRecorder) DownloadReleaseAsset ¶
func (mr *MockRepositoriesServiceMockRecorder) DownloadReleaseAsset(ctx, owner, repo, id, followRedirectsClient interface{}) *gomock.Call
DownloadReleaseAsset indicates an expected call of DownloadReleaseAsset.
func (*MockRepositoriesServiceMockRecorder) Edit ¶
func (mr *MockRepositoriesServiceMockRecorder) Edit(ctx, owner, repo, repository interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockRepositoriesServiceMockRecorder) EditActionsAllowed ¶
func (mr *MockRepositoriesServiceMockRecorder) EditActionsAllowed(ctx, org, repo, actionsAllowed interface{}) *gomock.Call
EditActionsAllowed indicates an expected call of EditActionsAllowed.
func (*MockRepositoriesServiceMockRecorder) EditActionsPermissions ¶
func (mr *MockRepositoriesServiceMockRecorder) EditActionsPermissions(ctx, owner, repo, actionsPermissionsRepository interface{}) *gomock.Call
EditActionsPermissions indicates an expected call of EditActionsPermissions.
func (*MockRepositoriesServiceMockRecorder) EditHook ¶
func (mr *MockRepositoriesServiceMockRecorder) EditHook(ctx, owner, repo, id, hook interface{}) *gomock.Call
EditHook indicates an expected call of EditHook.
func (*MockRepositoriesServiceMockRecorder) EditRelease ¶
func (mr *MockRepositoriesServiceMockRecorder) EditRelease(ctx, owner, repo, id, release interface{}) *gomock.Call
EditRelease indicates an expected call of EditRelease.
func (*MockRepositoriesServiceMockRecorder) EditReleaseAsset ¶
func (mr *MockRepositoriesServiceMockRecorder) EditReleaseAsset(ctx, owner, repo, id, release interface{}) *gomock.Call
EditReleaseAsset indicates an expected call of EditReleaseAsset.
func (*MockRepositoriesServiceMockRecorder) EnableAutomatedSecurityFixes ¶
func (mr *MockRepositoriesServiceMockRecorder) EnableAutomatedSecurityFixes(ctx, owner, repository interface{}) *gomock.Call
EnableAutomatedSecurityFixes indicates an expected call of EnableAutomatedSecurityFixes.
func (*MockRepositoriesServiceMockRecorder) EnableLFS ¶
func (mr *MockRepositoriesServiceMockRecorder) EnableLFS(ctx, owner, repo interface{}) *gomock.Call
EnableLFS indicates an expected call of EnableLFS.
func (*MockRepositoriesServiceMockRecorder) EnablePages ¶
func (mr *MockRepositoriesServiceMockRecorder) EnablePages(ctx, owner, repo, pages interface{}) *gomock.Call
EnablePages indicates an expected call of EnablePages.
func (*MockRepositoriesServiceMockRecorder) EnableVulnerabilityAlerts ¶
func (mr *MockRepositoriesServiceMockRecorder) EnableVulnerabilityAlerts(ctx, owner, repository interface{}) *gomock.Call
EnableVulnerabilityAlerts indicates an expected call of EnableVulnerabilityAlerts.
func (*MockRepositoriesServiceMockRecorder) GenerateReleaseNotes ¶
func (mr *MockRepositoriesServiceMockRecorder) GenerateReleaseNotes(ctx, owner, repo, opts interface{}) *gomock.Call
GenerateReleaseNotes indicates an expected call of GenerateReleaseNotes.
func (*MockRepositoriesServiceMockRecorder) Get ¶
func (mr *MockRepositoriesServiceMockRecorder) Get(ctx, owner, repo interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRepositoriesServiceMockRecorder) GetActionsAllowed ¶
func (mr *MockRepositoriesServiceMockRecorder) GetActionsAllowed(ctx, org, repo interface{}) *gomock.Call
GetActionsAllowed indicates an expected call of GetActionsAllowed.
func (*MockRepositoriesServiceMockRecorder) GetActionsPermissions ¶
func (mr *MockRepositoriesServiceMockRecorder) GetActionsPermissions(ctx, owner, repo interface{}) *gomock.Call
GetActionsPermissions indicates an expected call of GetActionsPermissions.
func (*MockRepositoriesServiceMockRecorder) GetAdminEnforcement ¶
func (mr *MockRepositoriesServiceMockRecorder) GetAdminEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
GetAdminEnforcement indicates an expected call of GetAdminEnforcement.
func (*MockRepositoriesServiceMockRecorder) GetArchiveLink ¶
func (mr *MockRepositoriesServiceMockRecorder) GetArchiveLink(ctx, owner, repo, archiveformat, opts, followRedirects interface{}) *gomock.Call
GetArchiveLink indicates an expected call of GetArchiveLink.
func (*MockRepositoriesServiceMockRecorder) GetAutolink ¶
func (mr *MockRepositoriesServiceMockRecorder) GetAutolink(ctx, owner, repo, id interface{}) *gomock.Call
GetAutolink indicates an expected call of GetAutolink.
func (*MockRepositoriesServiceMockRecorder) GetBranch ¶
func (mr *MockRepositoriesServiceMockRecorder) GetBranch(ctx, owner, repo, branch, followRedirects interface{}) *gomock.Call
GetBranch indicates an expected call of GetBranch.
func (*MockRepositoriesServiceMockRecorder) GetBranchProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) GetBranchProtection(ctx, owner, repo, branch interface{}) *gomock.Call
GetBranchProtection indicates an expected call of GetBranchProtection.
func (*MockRepositoriesServiceMockRecorder) GetByID ¶
func (mr *MockRepositoriesServiceMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockRepositoriesServiceMockRecorder) GetCodeOfConduct ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCodeOfConduct(ctx, owner, repo interface{}) *gomock.Call
GetCodeOfConduct indicates an expected call of GetCodeOfConduct.
func (*MockRepositoriesServiceMockRecorder) GetCodeownersErrors ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCodeownersErrors(ctx, owner, repo interface{}) *gomock.Call
GetCodeownersErrors indicates an expected call of GetCodeownersErrors.
func (*MockRepositoriesServiceMockRecorder) GetCombinedStatus ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCombinedStatus(ctx, owner, repo, ref, opts interface{}) *gomock.Call
GetCombinedStatus indicates an expected call of GetCombinedStatus.
func (*MockRepositoriesServiceMockRecorder) GetComment ¶
func (mr *MockRepositoriesServiceMockRecorder) GetComment(ctx, owner, repo, id interface{}) *gomock.Call
GetComment indicates an expected call of GetComment.
func (*MockRepositoriesServiceMockRecorder) GetCommit ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCommit(ctx, owner, repo, sha, opts interface{}) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockRepositoriesServiceMockRecorder) GetCommitRaw ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCommitRaw(ctx, owner, repo, sha, opts interface{}) *gomock.Call
GetCommitRaw indicates an expected call of GetCommitRaw.
func (*MockRepositoriesServiceMockRecorder) GetCommitSHA1 ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCommitSHA1(ctx, owner, repo, ref, lastSHA interface{}) *gomock.Call
GetCommitSHA1 indicates an expected call of GetCommitSHA1.
func (*MockRepositoriesServiceMockRecorder) GetCommunityHealthMetrics ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCommunityHealthMetrics(ctx, owner, repo interface{}) *gomock.Call
GetCommunityHealthMetrics indicates an expected call of GetCommunityHealthMetrics.
func (*MockRepositoriesServiceMockRecorder) GetContents ¶
func (mr *MockRepositoriesServiceMockRecorder) GetContents(ctx, owner, repo, path, opts interface{}) *gomock.Call
GetContents indicates an expected call of GetContents.
func (*MockRepositoriesServiceMockRecorder) GetDeployment ¶
func (mr *MockRepositoriesServiceMockRecorder) GetDeployment(ctx, owner, repo, deploymentID interface{}) *gomock.Call
GetDeployment indicates an expected call of GetDeployment.
func (*MockRepositoriesServiceMockRecorder) GetDeploymentStatus ¶
func (mr *MockRepositoriesServiceMockRecorder) GetDeploymentStatus(ctx, owner, repo, deploymentID, deploymentStatusID interface{}) *gomock.Call
GetDeploymentStatus indicates an expected call of GetDeploymentStatus.
func (*MockRepositoriesServiceMockRecorder) GetEnvironment ¶
func (mr *MockRepositoriesServiceMockRecorder) GetEnvironment(ctx, owner, repo, name interface{}) *gomock.Call
GetEnvironment indicates an expected call of GetEnvironment.
func (*MockRepositoriesServiceMockRecorder) GetHook ¶
func (mr *MockRepositoriesServiceMockRecorder) GetHook(ctx, owner, repo, id interface{}) *gomock.Call
GetHook indicates an expected call of GetHook.
func (*MockRepositoriesServiceMockRecorder) GetHookDelivery ¶
func (mr *MockRepositoriesServiceMockRecorder) GetHookDelivery(ctx, owner, repo, hookID, deliveryID interface{}) *gomock.Call
GetHookDelivery indicates an expected call of GetHookDelivery.
func (*MockRepositoriesServiceMockRecorder) GetKey ¶
func (mr *MockRepositoriesServiceMockRecorder) GetKey(ctx, owner, repo, id interface{}) *gomock.Call
GetKey indicates an expected call of GetKey.
func (*MockRepositoriesServiceMockRecorder) GetLatestPagesBuild ¶
func (mr *MockRepositoriesServiceMockRecorder) GetLatestPagesBuild(ctx, owner, repo interface{}) *gomock.Call
GetLatestPagesBuild indicates an expected call of GetLatestPagesBuild.
func (*MockRepositoriesServiceMockRecorder) GetLatestRelease ¶
func (mr *MockRepositoriesServiceMockRecorder) GetLatestRelease(ctx, owner, repo interface{}) *gomock.Call
GetLatestRelease indicates an expected call of GetLatestRelease.
func (*MockRepositoriesServiceMockRecorder) GetPageBuild ¶
func (mr *MockRepositoriesServiceMockRecorder) GetPageBuild(ctx, owner, repo, id interface{}) *gomock.Call
GetPageBuild indicates an expected call of GetPageBuild.
func (*MockRepositoriesServiceMockRecorder) GetPagesInfo ¶
func (mr *MockRepositoriesServiceMockRecorder) GetPagesInfo(ctx, owner, repo interface{}) *gomock.Call
GetPagesInfo indicates an expected call of GetPagesInfo.
func (*MockRepositoriesServiceMockRecorder) GetPermissionLevel ¶
func (mr *MockRepositoriesServiceMockRecorder) GetPermissionLevel(ctx, owner, repo, user interface{}) *gomock.Call
GetPermissionLevel indicates an expected call of GetPermissionLevel.
func (*MockRepositoriesServiceMockRecorder) GetPreReceiveHook ¶
func (mr *MockRepositoriesServiceMockRecorder) GetPreReceiveHook(ctx, owner, repo, id interface{}) *gomock.Call
GetPreReceiveHook indicates an expected call of GetPreReceiveHook.
func (*MockRepositoriesServiceMockRecorder) GetPullRequestReviewEnforcement ¶
func (mr *MockRepositoriesServiceMockRecorder) GetPullRequestReviewEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
GetPullRequestReviewEnforcement indicates an expected call of GetPullRequestReviewEnforcement.
func (*MockRepositoriesServiceMockRecorder) GetReadme ¶
func (mr *MockRepositoriesServiceMockRecorder) GetReadme(ctx, owner, repo, opts interface{}) *gomock.Call
GetReadme indicates an expected call of GetReadme.
func (*MockRepositoriesServiceMockRecorder) GetRelease ¶
func (mr *MockRepositoriesServiceMockRecorder) GetRelease(ctx, owner, repo, id interface{}) *gomock.Call
GetRelease indicates an expected call of GetRelease.
func (*MockRepositoriesServiceMockRecorder) GetReleaseAsset ¶
func (mr *MockRepositoriesServiceMockRecorder) GetReleaseAsset(ctx, owner, repo, id interface{}) *gomock.Call
GetReleaseAsset indicates an expected call of GetReleaseAsset.
func (*MockRepositoriesServiceMockRecorder) GetReleaseByTag ¶
func (mr *MockRepositoriesServiceMockRecorder) GetReleaseByTag(ctx, owner, repo, tag interface{}) *gomock.Call
GetReleaseByTag indicates an expected call of GetReleaseByTag.
func (*MockRepositoriesServiceMockRecorder) GetRequiredStatusChecks ¶
func (mr *MockRepositoriesServiceMockRecorder) GetRequiredStatusChecks(ctx, owner, repo, branch interface{}) *gomock.Call
GetRequiredStatusChecks indicates an expected call of GetRequiredStatusChecks.
func (*MockRepositoriesServiceMockRecorder) GetSignaturesProtectedBranch ¶
func (mr *MockRepositoriesServiceMockRecorder) GetSignaturesProtectedBranch(ctx, owner, repo, branch interface{}) *gomock.Call
GetSignaturesProtectedBranch indicates an expected call of GetSignaturesProtectedBranch.
func (*MockRepositoriesServiceMockRecorder) GetVulnerabilityAlerts ¶
func (mr *MockRepositoriesServiceMockRecorder) GetVulnerabilityAlerts(ctx, owner, repository interface{}) *gomock.Call
GetVulnerabilityAlerts indicates an expected call of GetVulnerabilityAlerts.
func (*MockRepositoriesServiceMockRecorder) IsCollaborator ¶
func (mr *MockRepositoriesServiceMockRecorder) IsCollaborator(ctx, owner, repo, user interface{}) *gomock.Call
IsCollaborator indicates an expected call of IsCollaborator.
func (*MockRepositoriesServiceMockRecorder) License ¶
func (mr *MockRepositoriesServiceMockRecorder) License(ctx, owner, repo interface{}) *gomock.Call
License indicates an expected call of License.
func (*MockRepositoriesServiceMockRecorder) List ¶
func (mr *MockRepositoriesServiceMockRecorder) List(ctx, user, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockRepositoriesServiceMockRecorder) ListAll ¶
func (mr *MockRepositoriesServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
ListAll indicates an expected call of ListAll.
func (*MockRepositoriesServiceMockRecorder) ListAllTopics ¶
func (mr *MockRepositoriesServiceMockRecorder) ListAllTopics(ctx, owner, repo interface{}) *gomock.Call
ListAllTopics indicates an expected call of ListAllTopics.
func (*MockRepositoriesServiceMockRecorder) ListApps ¶
func (mr *MockRepositoriesServiceMockRecorder) ListApps(ctx, owner, repo, branch interface{}) *gomock.Call
ListApps indicates an expected call of ListApps.
func (*MockRepositoriesServiceMockRecorder) ListAutolinks ¶
func (mr *MockRepositoriesServiceMockRecorder) ListAutolinks(ctx, owner, repo, opts interface{}) *gomock.Call
ListAutolinks indicates an expected call of ListAutolinks.
func (*MockRepositoriesServiceMockRecorder) ListBranches ¶
func (mr *MockRepositoriesServiceMockRecorder) ListBranches(ctx, owner, repo, opts interface{}) *gomock.Call
ListBranches indicates an expected call of ListBranches.
func (*MockRepositoriesServiceMockRecorder) ListBranchesHeadCommit ¶
func (mr *MockRepositoriesServiceMockRecorder) ListBranchesHeadCommit(ctx, owner, repo, sha interface{}) *gomock.Call
ListBranchesHeadCommit indicates an expected call of ListBranchesHeadCommit.
func (*MockRepositoriesServiceMockRecorder) ListByOrg ¶
func (mr *MockRepositoriesServiceMockRecorder) ListByOrg(ctx, org, opts interface{}) *gomock.Call
ListByOrg indicates an expected call of ListByOrg.
func (*MockRepositoriesServiceMockRecorder) ListCodeFrequency ¶
func (mr *MockRepositoriesServiceMockRecorder) ListCodeFrequency(ctx, owner, repo interface{}) *gomock.Call
ListCodeFrequency indicates an expected call of ListCodeFrequency.
func (*MockRepositoriesServiceMockRecorder) ListCollaborators ¶
func (mr *MockRepositoriesServiceMockRecorder) ListCollaborators(ctx, owner, repo, opts interface{}) *gomock.Call
ListCollaborators indicates an expected call of ListCollaborators.
func (*MockRepositoriesServiceMockRecorder) ListComments ¶
func (mr *MockRepositoriesServiceMockRecorder) ListComments(ctx, owner, repo, opts interface{}) *gomock.Call
ListComments indicates an expected call of ListComments.
func (*MockRepositoriesServiceMockRecorder) ListCommitActivity ¶
func (mr *MockRepositoriesServiceMockRecorder) ListCommitActivity(ctx, owner, repo interface{}) *gomock.Call
ListCommitActivity indicates an expected call of ListCommitActivity.
func (*MockRepositoriesServiceMockRecorder) ListCommitComments ¶
func (mr *MockRepositoriesServiceMockRecorder) ListCommitComments(ctx, owner, repo, sha, opts interface{}) *gomock.Call
ListCommitComments indicates an expected call of ListCommitComments.
func (*MockRepositoriesServiceMockRecorder) ListCommits ¶
func (mr *MockRepositoriesServiceMockRecorder) ListCommits(ctx, owner, repo, opts interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockRepositoriesServiceMockRecorder) ListContributors ¶
func (mr *MockRepositoriesServiceMockRecorder) ListContributors(ctx, owner, repository, opts interface{}) *gomock.Call
ListContributors indicates an expected call of ListContributors.
func (*MockRepositoriesServiceMockRecorder) ListContributorsStats ¶
func (mr *MockRepositoriesServiceMockRecorder) ListContributorsStats(ctx, owner, repo interface{}) *gomock.Call
ListContributorsStats indicates an expected call of ListContributorsStats.
func (*MockRepositoriesServiceMockRecorder) ListDeploymentStatuses ¶
func (mr *MockRepositoriesServiceMockRecorder) ListDeploymentStatuses(ctx, owner, repo, deployment, opts interface{}) *gomock.Call
ListDeploymentStatuses indicates an expected call of ListDeploymentStatuses.
func (*MockRepositoriesServiceMockRecorder) ListDeployments ¶
func (mr *MockRepositoriesServiceMockRecorder) ListDeployments(ctx, owner, repo, opts interface{}) *gomock.Call
ListDeployments indicates an expected call of ListDeployments.
func (*MockRepositoriesServiceMockRecorder) ListEnvironments ¶
func (mr *MockRepositoriesServiceMockRecorder) ListEnvironments(ctx, owner, repo, opts interface{}) *gomock.Call
ListEnvironments indicates an expected call of ListEnvironments.
func (*MockRepositoriesServiceMockRecorder) ListForks ¶
func (mr *MockRepositoriesServiceMockRecorder) ListForks(ctx, owner, repo, opts interface{}) *gomock.Call
ListForks indicates an expected call of ListForks.
func (*MockRepositoriesServiceMockRecorder) ListHookDeliveries ¶
func (mr *MockRepositoriesServiceMockRecorder) ListHookDeliveries(ctx, owner, repo, id, opts interface{}) *gomock.Call
ListHookDeliveries indicates an expected call of ListHookDeliveries.
func (*MockRepositoriesServiceMockRecorder) ListHooks ¶
func (mr *MockRepositoriesServiceMockRecorder) ListHooks(ctx, owner, repo, opts interface{}) *gomock.Call
ListHooks indicates an expected call of ListHooks.
func (*MockRepositoriesServiceMockRecorder) ListInvitations ¶
func (mr *MockRepositoriesServiceMockRecorder) ListInvitations(ctx, owner, repo, opts interface{}) *gomock.Call
ListInvitations indicates an expected call of ListInvitations.
func (*MockRepositoriesServiceMockRecorder) ListKeys ¶
func (mr *MockRepositoriesServiceMockRecorder) ListKeys(ctx, owner, repo, opts interface{}) *gomock.Call
ListKeys indicates an expected call of ListKeys.
func (*MockRepositoriesServiceMockRecorder) ListLanguages ¶
func (mr *MockRepositoriesServiceMockRecorder) ListLanguages(ctx, owner, repo interface{}) *gomock.Call
ListLanguages indicates an expected call of ListLanguages.
func (*MockRepositoriesServiceMockRecorder) ListPagesBuilds ¶
func (mr *MockRepositoriesServiceMockRecorder) ListPagesBuilds(ctx, owner, repo, opts interface{}) *gomock.Call
ListPagesBuilds indicates an expected call of ListPagesBuilds.
func (*MockRepositoriesServiceMockRecorder) ListParticipation ¶
func (mr *MockRepositoriesServiceMockRecorder) ListParticipation(ctx, owner, repo interface{}) *gomock.Call
ListParticipation indicates an expected call of ListParticipation.
func (*MockRepositoriesServiceMockRecorder) ListPreReceiveHooks ¶
func (mr *MockRepositoriesServiceMockRecorder) ListPreReceiveHooks(ctx, owner, repo, opts interface{}) *gomock.Call
ListPreReceiveHooks indicates an expected call of ListPreReceiveHooks.
func (*MockRepositoriesServiceMockRecorder) ListProjects ¶
func (mr *MockRepositoriesServiceMockRecorder) ListProjects(ctx, owner, repo, opts interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockRepositoriesServiceMockRecorder) ListPunchCard ¶
func (mr *MockRepositoriesServiceMockRecorder) ListPunchCard(ctx, owner, repo interface{}) *gomock.Call
ListPunchCard indicates an expected call of ListPunchCard.
func (*MockRepositoriesServiceMockRecorder) ListReleaseAssets ¶
func (mr *MockRepositoriesServiceMockRecorder) ListReleaseAssets(ctx, owner, repo, id, opts interface{}) *gomock.Call
ListReleaseAssets indicates an expected call of ListReleaseAssets.
func (*MockRepositoriesServiceMockRecorder) ListReleases ¶
func (mr *MockRepositoriesServiceMockRecorder) ListReleases(ctx, owner, repo, opts interface{}) *gomock.Call
ListReleases indicates an expected call of ListReleases.
func (*MockRepositoriesServiceMockRecorder) ListRequiredStatusChecksContexts ¶
func (mr *MockRepositoriesServiceMockRecorder) ListRequiredStatusChecksContexts(ctx, owner, repo, branch interface{}) *gomock.Call
ListRequiredStatusChecksContexts indicates an expected call of ListRequiredStatusChecksContexts.
func (*MockRepositoriesServiceMockRecorder) ListStatuses ¶
func (mr *MockRepositoriesServiceMockRecorder) ListStatuses(ctx, owner, repo, ref, opts interface{}) *gomock.Call
ListStatuses indicates an expected call of ListStatuses.
func (*MockRepositoriesServiceMockRecorder) ListTagProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTagProtection(ctx, owner, repo interface{}) *gomock.Call
ListTagProtection indicates an expected call of ListTagProtection.
func (*MockRepositoriesServiceMockRecorder) ListTags ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTags(ctx, owner, repo, opts interface{}) *gomock.Call
ListTags indicates an expected call of ListTags.
func (*MockRepositoriesServiceMockRecorder) ListTeams ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTeams(ctx, owner, repo, opts interface{}) *gomock.Call
ListTeams indicates an expected call of ListTeams.
func (*MockRepositoriesServiceMockRecorder) ListTrafficClones ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTrafficClones(ctx, owner, repo, opts interface{}) *gomock.Call
ListTrafficClones indicates an expected call of ListTrafficClones.
func (*MockRepositoriesServiceMockRecorder) ListTrafficPaths ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTrafficPaths(ctx, owner, repo interface{}) *gomock.Call
ListTrafficPaths indicates an expected call of ListTrafficPaths.
func (*MockRepositoriesServiceMockRecorder) ListTrafficReferrers ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTrafficReferrers(ctx, owner, repo interface{}) *gomock.Call
ListTrafficReferrers indicates an expected call of ListTrafficReferrers.
func (*MockRepositoriesServiceMockRecorder) ListTrafficViews ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTrafficViews(ctx, owner, repo, opts interface{}) *gomock.Call
ListTrafficViews indicates an expected call of ListTrafficViews.
func (*MockRepositoriesServiceMockRecorder) Merge ¶
func (mr *MockRepositoriesServiceMockRecorder) Merge(ctx, owner, repo, request interface{}) *gomock.Call
Merge indicates an expected call of Merge.
func (*MockRepositoriesServiceMockRecorder) MergeUpstream ¶
func (mr *MockRepositoriesServiceMockRecorder) MergeUpstream(ctx, owner, repo, request interface{}) *gomock.Call
MergeUpstream indicates an expected call of MergeUpstream.
func (*MockRepositoriesServiceMockRecorder) OptionalSignaturesOnProtectedBranch ¶
func (mr *MockRepositoriesServiceMockRecorder) OptionalSignaturesOnProtectedBranch(ctx, owner, repo, branch interface{}) *gomock.Call
OptionalSignaturesOnProtectedBranch indicates an expected call of OptionalSignaturesOnProtectedBranch.
func (*MockRepositoriesServiceMockRecorder) PingHook ¶
func (mr *MockRepositoriesServiceMockRecorder) PingHook(ctx, owner, repo, id interface{}) *gomock.Call
PingHook indicates an expected call of PingHook.
func (*MockRepositoriesServiceMockRecorder) RedeliverHookDelivery ¶
func (mr *MockRepositoriesServiceMockRecorder) RedeliverHookDelivery(ctx, owner, repo, hookID, deliveryID interface{}) *gomock.Call
RedeliverHookDelivery indicates an expected call of RedeliverHookDelivery.
func (*MockRepositoriesServiceMockRecorder) RemoveAdminEnforcement ¶
func (mr *MockRepositoriesServiceMockRecorder) RemoveAdminEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
RemoveAdminEnforcement indicates an expected call of RemoveAdminEnforcement.
func (*MockRepositoriesServiceMockRecorder) RemoveAppRestrictions ¶
func (mr *MockRepositoriesServiceMockRecorder) RemoveAppRestrictions(ctx, owner, repo, branch, slug interface{}) *gomock.Call
RemoveAppRestrictions indicates an expected call of RemoveAppRestrictions.
func (*MockRepositoriesServiceMockRecorder) RemoveBranchProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) RemoveBranchProtection(ctx, owner, repo, branch interface{}) *gomock.Call
RemoveBranchProtection indicates an expected call of RemoveBranchProtection.
func (*MockRepositoriesServiceMockRecorder) RemoveCollaborator ¶
func (mr *MockRepositoriesServiceMockRecorder) RemoveCollaborator(ctx, owner, repo, user interface{}) *gomock.Call
RemoveCollaborator indicates an expected call of RemoveCollaborator.
func (*MockRepositoriesServiceMockRecorder) RemovePullRequestReviewEnforcement ¶
func (mr *MockRepositoriesServiceMockRecorder) RemovePullRequestReviewEnforcement(ctx, owner, repo, branch interface{}) *gomock.Call
RemovePullRequestReviewEnforcement indicates an expected call of RemovePullRequestReviewEnforcement.
func (*MockRepositoriesServiceMockRecorder) RemoveRequiredStatusChecks ¶
func (mr *MockRepositoriesServiceMockRecorder) RemoveRequiredStatusChecks(ctx, owner, repo, branch interface{}) *gomock.Call
RemoveRequiredStatusChecks indicates an expected call of RemoveRequiredStatusChecks.
func (*MockRepositoriesServiceMockRecorder) RenameBranch ¶
func (mr *MockRepositoriesServiceMockRecorder) RenameBranch(ctx, owner, repo, branch, newName interface{}) *gomock.Call
RenameBranch indicates an expected call of RenameBranch.
func (*MockRepositoriesServiceMockRecorder) ReplaceAllTopics ¶
func (mr *MockRepositoriesServiceMockRecorder) ReplaceAllTopics(ctx, owner, repo, topics interface{}) *gomock.Call
ReplaceAllTopics indicates an expected call of ReplaceAllTopics.
func (*MockRepositoriesServiceMockRecorder) ReplaceAppRestrictions ¶
func (mr *MockRepositoriesServiceMockRecorder) ReplaceAppRestrictions(ctx, owner, repo, branch, slug interface{}) *gomock.Call
ReplaceAppRestrictions indicates an expected call of ReplaceAppRestrictions.
func (*MockRepositoriesServiceMockRecorder) RequestPageBuild ¶
func (mr *MockRepositoriesServiceMockRecorder) RequestPageBuild(ctx, owner, repo interface{}) *gomock.Call
RequestPageBuild indicates an expected call of RequestPageBuild.
func (*MockRepositoriesServiceMockRecorder) RequireSignaturesOnProtectedBranch ¶
func (mr *MockRepositoriesServiceMockRecorder) RequireSignaturesOnProtectedBranch(ctx, owner, repo, branch interface{}) *gomock.Call
RequireSignaturesOnProtectedBranch indicates an expected call of RequireSignaturesOnProtectedBranch.
func (*MockRepositoriesServiceMockRecorder) Subscribe ¶
func (mr *MockRepositoriesServiceMockRecorder) Subscribe(ctx, owner, repo, event, callback, secret interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockRepositoriesServiceMockRecorder) TestHook ¶
func (mr *MockRepositoriesServiceMockRecorder) TestHook(ctx, owner, repo, id interface{}) *gomock.Call
TestHook indicates an expected call of TestHook.
func (*MockRepositoriesServiceMockRecorder) Transfer ¶
func (mr *MockRepositoriesServiceMockRecorder) Transfer(ctx, owner, repo, transfer interface{}) *gomock.Call
Transfer indicates an expected call of Transfer.
func (*MockRepositoriesServiceMockRecorder) Unsubscribe ¶
func (mr *MockRepositoriesServiceMockRecorder) Unsubscribe(ctx, owner, repo, event, callback, secret interface{}) *gomock.Call
Unsubscribe indicates an expected call of Unsubscribe.
func (*MockRepositoriesServiceMockRecorder) UpdateBranchProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdateBranchProtection(ctx, owner, repo, branch, preq interface{}) *gomock.Call
UpdateBranchProtection indicates an expected call of UpdateBranchProtection.
func (*MockRepositoriesServiceMockRecorder) UpdateComment ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdateComment(ctx, owner, repo, id, comment interface{}) *gomock.Call
UpdateComment indicates an expected call of UpdateComment.
func (*MockRepositoriesServiceMockRecorder) UpdateFile ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdateFile(ctx, owner, repo, path, opts interface{}) *gomock.Call
UpdateFile indicates an expected call of UpdateFile.
func (*MockRepositoriesServiceMockRecorder) UpdateInvitation ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdateInvitation(ctx, owner, repo, invitationID, permissions interface{}) *gomock.Call
UpdateInvitation indicates an expected call of UpdateInvitation.
func (*MockRepositoriesServiceMockRecorder) UpdatePages ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdatePages(ctx, owner, repo, opts interface{}) *gomock.Call
UpdatePages indicates an expected call of UpdatePages.
func (*MockRepositoriesServiceMockRecorder) UpdatePreReceiveHook ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdatePreReceiveHook(ctx, owner, repo, id, hook interface{}) *gomock.Call
UpdatePreReceiveHook indicates an expected call of UpdatePreReceiveHook.
func (*MockRepositoriesServiceMockRecorder) UpdatePullRequestReviewEnforcement ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdatePullRequestReviewEnforcement(ctx, owner, repo, branch, patch interface{}) *gomock.Call
UpdatePullRequestReviewEnforcement indicates an expected call of UpdatePullRequestReviewEnforcement.
func (*MockRepositoriesServiceMockRecorder) UpdateRequiredStatusChecks ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdateRequiredStatusChecks(ctx, owner, repo, branch, sreq interface{}) *gomock.Call
UpdateRequiredStatusChecks indicates an expected call of UpdateRequiredStatusChecks.
func (*MockRepositoriesServiceMockRecorder) UploadReleaseAsset ¶
func (mr *MockRepositoriesServiceMockRecorder) UploadReleaseAsset(ctx, owner, repo, id, opts, file interface{}) *gomock.Call
UploadReleaseAsset indicates an expected call of UploadReleaseAsset.
type MockSCIMService ¶
type MockSCIMService struct {
// contains filtered or unexported fields
}
MockSCIMService is a mock of SCIMService interface.
func NewMockSCIMService ¶
func NewMockSCIMService(ctrl *gomock.Controller) *MockSCIMService
NewMockSCIMService creates a new mock instance.
func (*MockSCIMService) DeleteSCIMUserFromOrg ¶
func (m *MockSCIMService) DeleteSCIMUserFromOrg(ctx context.Context, org, scimUserID string) (*github.Response, error)
DeleteSCIMUserFromOrg mocks base method.
func (*MockSCIMService) EXPECT ¶
func (m *MockSCIMService) EXPECT() *MockSCIMServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSCIMService) GetSCIMProvisioningInfoForUser ¶
func (m *MockSCIMService) GetSCIMProvisioningInfoForUser(ctx context.Context, org, scimUserID string) (*github.SCIMUserAttributes, *github.Response, error)
GetSCIMProvisioningInfoForUser mocks base method.
func (*MockSCIMService) ListSCIMProvisionedIdentities ¶
func (m *MockSCIMService) ListSCIMProvisionedIdentities(ctx context.Context, org string, opts *github.ListSCIMProvisionedIdentitiesOptions) (*github.SCIMProvisionedIdentities, *github.Response, error)
ListSCIMProvisionedIdentities mocks base method.
func (*MockSCIMService) ProvisionAndInviteSCIMUser ¶
func (m *MockSCIMService) ProvisionAndInviteSCIMUser(ctx context.Context, org string, opts *github.SCIMUserAttributes) (*github.Response, error)
ProvisionAndInviteSCIMUser mocks base method.
func (*MockSCIMService) UpdateAttributeForSCIMUser ¶
func (m *MockSCIMService) UpdateAttributeForSCIMUser(ctx context.Context, org, scimUserID string, opts *github.UpdateAttributeForSCIMUserOptions) (*github.Response, error)
UpdateAttributeForSCIMUser mocks base method.
func (*MockSCIMService) UpdateProvisionedOrgMembership ¶
func (m *MockSCIMService) UpdateProvisionedOrgMembership(ctx context.Context, org, scimUserID string, opts *github.SCIMUserAttributes) (*github.Response, error)
UpdateProvisionedOrgMembership mocks base method.
type MockSCIMServiceMockRecorder ¶
type MockSCIMServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSCIMServiceMockRecorder is the mock recorder for MockSCIMService.
func (*MockSCIMServiceMockRecorder) DeleteSCIMUserFromOrg ¶
func (mr *MockSCIMServiceMockRecorder) DeleteSCIMUserFromOrg(ctx, org, scimUserID interface{}) *gomock.Call
DeleteSCIMUserFromOrg indicates an expected call of DeleteSCIMUserFromOrg.
func (*MockSCIMServiceMockRecorder) GetSCIMProvisioningInfoForUser ¶
func (mr *MockSCIMServiceMockRecorder) GetSCIMProvisioningInfoForUser(ctx, org, scimUserID interface{}) *gomock.Call
GetSCIMProvisioningInfoForUser indicates an expected call of GetSCIMProvisioningInfoForUser.
func (*MockSCIMServiceMockRecorder) ListSCIMProvisionedIdentities ¶
func (mr *MockSCIMServiceMockRecorder) ListSCIMProvisionedIdentities(ctx, org, opts interface{}) *gomock.Call
ListSCIMProvisionedIdentities indicates an expected call of ListSCIMProvisionedIdentities.
func (*MockSCIMServiceMockRecorder) ProvisionAndInviteSCIMUser ¶
func (mr *MockSCIMServiceMockRecorder) ProvisionAndInviteSCIMUser(ctx, org, opts interface{}) *gomock.Call
ProvisionAndInviteSCIMUser indicates an expected call of ProvisionAndInviteSCIMUser.
func (*MockSCIMServiceMockRecorder) UpdateAttributeForSCIMUser ¶
func (mr *MockSCIMServiceMockRecorder) UpdateAttributeForSCIMUser(ctx, org, scimUserID, opts interface{}) *gomock.Call
UpdateAttributeForSCIMUser indicates an expected call of UpdateAttributeForSCIMUser.
func (*MockSCIMServiceMockRecorder) UpdateProvisionedOrgMembership ¶
func (mr *MockSCIMServiceMockRecorder) UpdateProvisionedOrgMembership(ctx, org, scimUserID, opts interface{}) *gomock.Call
UpdateProvisionedOrgMembership indicates an expected call of UpdateProvisionedOrgMembership.
type MockSearchService ¶
type MockSearchService struct {
// contains filtered or unexported fields
}
MockSearchService is a mock of SearchService interface.
func NewMockSearchService ¶
func NewMockSearchService(ctrl *gomock.Controller) *MockSearchService
NewMockSearchService creates a new mock instance.
func (*MockSearchService) Code ¶
func (m *MockSearchService) Code(ctx context.Context, query string, opts *github.SearchOptions) (*github.CodeSearchResult, *github.Response, error)
Code mocks base method.
func (*MockSearchService) Commits ¶
func (m *MockSearchService) Commits(ctx context.Context, query string, opts *github.SearchOptions) (*github.CommitsSearchResult, *github.Response, error)
Commits mocks base method.
func (*MockSearchService) EXPECT ¶
func (m *MockSearchService) EXPECT() *MockSearchServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSearchService) Issues ¶
func (m *MockSearchService) Issues(ctx context.Context, query string, opts *github.SearchOptions) (*github.IssuesSearchResult, *github.Response, error)
Issues mocks base method.
func (*MockSearchService) Labels ¶
func (m *MockSearchService) Labels(ctx context.Context, repoID int64, query string, opts *github.SearchOptions) (*github.LabelsSearchResult, *github.Response, error)
Labels mocks base method.
func (*MockSearchService) Repositories ¶
func (m *MockSearchService) Repositories(ctx context.Context, query string, opts *github.SearchOptions) (*github.RepositoriesSearchResult, *github.Response, error)
Repositories mocks base method.
func (*MockSearchService) Topics ¶
func (m *MockSearchService) Topics(ctx context.Context, query string, opts *github.SearchOptions) (*github.TopicsSearchResult, *github.Response, error)
Topics mocks base method.
func (*MockSearchService) Users ¶
func (m *MockSearchService) Users(ctx context.Context, query string, opts *github.SearchOptions) (*github.UsersSearchResult, *github.Response, error)
Users mocks base method.
type MockSearchServiceMockRecorder ¶
type MockSearchServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSearchServiceMockRecorder is the mock recorder for MockSearchService.
func (*MockSearchServiceMockRecorder) Code ¶
func (mr *MockSearchServiceMockRecorder) Code(ctx, query, opts interface{}) *gomock.Call
Code indicates an expected call of Code.
func (*MockSearchServiceMockRecorder) Commits ¶
func (mr *MockSearchServiceMockRecorder) Commits(ctx, query, opts interface{}) *gomock.Call
Commits indicates an expected call of Commits.
func (*MockSearchServiceMockRecorder) Issues ¶
func (mr *MockSearchServiceMockRecorder) Issues(ctx, query, opts interface{}) *gomock.Call
Issues indicates an expected call of Issues.
func (*MockSearchServiceMockRecorder) Labels ¶
func (mr *MockSearchServiceMockRecorder) Labels(ctx, repoID, query, opts interface{}) *gomock.Call
Labels indicates an expected call of Labels.
func (*MockSearchServiceMockRecorder) Repositories ¶
func (mr *MockSearchServiceMockRecorder) Repositories(ctx, query, opts interface{}) *gomock.Call
Repositories indicates an expected call of Repositories.
func (*MockSearchServiceMockRecorder) Topics ¶
func (mr *MockSearchServiceMockRecorder) Topics(ctx, query, opts interface{}) *gomock.Call
Topics indicates an expected call of Topics.
func (*MockSearchServiceMockRecorder) Users ¶
func (mr *MockSearchServiceMockRecorder) Users(ctx, query, opts interface{}) *gomock.Call
Users indicates an expected call of Users.
type MockSecretScanningService ¶
type MockSecretScanningService struct {
// contains filtered or unexported fields
}
MockSecretScanningService is a mock of SecretScanningService interface.
func NewMockSecretScanningService ¶
func NewMockSecretScanningService(ctrl *gomock.Controller) *MockSecretScanningService
NewMockSecretScanningService creates a new mock instance.
func (*MockSecretScanningService) EXPECT ¶
func (m *MockSecretScanningService) EXPECT() *MockSecretScanningServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretScanningService) GetAlert ¶
func (m *MockSecretScanningService) GetAlert(ctx context.Context, owner, repo string, number int64) (*github.SecretScanningAlert, *github.Response, error)
GetAlert mocks base method.
func (*MockSecretScanningService) ListAlertsForEnterprise ¶
func (m *MockSecretScanningService) ListAlertsForEnterprise(ctx context.Context, enterprise string, opts *github.SecretScanningAlertListOptions) ([]*github.SecretScanningAlert, *github.Response, error)
ListAlertsForEnterprise mocks base method.
func (*MockSecretScanningService) ListAlertsForOrg ¶
func (m *MockSecretScanningService) ListAlertsForOrg(ctx context.Context, org string, opts *github.SecretScanningAlertListOptions) ([]*github.SecretScanningAlert, *github.Response, error)
ListAlertsForOrg mocks base method.
func (*MockSecretScanningService) ListAlertsForRepo ¶
func (m *MockSecretScanningService) ListAlertsForRepo(ctx context.Context, owner, repo string, opts *github.SecretScanningAlertListOptions) ([]*github.SecretScanningAlert, *github.Response, error)
ListAlertsForRepo mocks base method.
func (*MockSecretScanningService) ListLocationsForAlert ¶
func (m *MockSecretScanningService) ListLocationsForAlert(ctx context.Context, owner, repo string, number int64, opts *github.ListOptions) ([]*github.SecretScanningAlertLocation, *github.Response, error)
ListLocationsForAlert mocks base method.
func (*MockSecretScanningService) UpdateAlert ¶
func (m *MockSecretScanningService) UpdateAlert(ctx context.Context, owner, repo string, number int64, opts *github.SecretScanningAlertUpdateOptions) (*github.SecretScanningAlert, *github.Response, error)
UpdateAlert mocks base method.
type MockSecretScanningServiceMockRecorder ¶
type MockSecretScanningServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretScanningServiceMockRecorder is the mock recorder for MockSecretScanningService.
func (*MockSecretScanningServiceMockRecorder) GetAlert ¶
func (mr *MockSecretScanningServiceMockRecorder) GetAlert(ctx, owner, repo, number interface{}) *gomock.Call
GetAlert indicates an expected call of GetAlert.
func (*MockSecretScanningServiceMockRecorder) ListAlertsForEnterprise ¶
func (mr *MockSecretScanningServiceMockRecorder) ListAlertsForEnterprise(ctx, enterprise, opts interface{}) *gomock.Call
ListAlertsForEnterprise indicates an expected call of ListAlertsForEnterprise.
func (*MockSecretScanningServiceMockRecorder) ListAlertsForOrg ¶
func (mr *MockSecretScanningServiceMockRecorder) ListAlertsForOrg(ctx, org, opts interface{}) *gomock.Call
ListAlertsForOrg indicates an expected call of ListAlertsForOrg.
func (*MockSecretScanningServiceMockRecorder) ListAlertsForRepo ¶
func (mr *MockSecretScanningServiceMockRecorder) ListAlertsForRepo(ctx, owner, repo, opts interface{}) *gomock.Call
ListAlertsForRepo indicates an expected call of ListAlertsForRepo.
func (*MockSecretScanningServiceMockRecorder) ListLocationsForAlert ¶
func (mr *MockSecretScanningServiceMockRecorder) ListLocationsForAlert(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListLocationsForAlert indicates an expected call of ListLocationsForAlert.
func (*MockSecretScanningServiceMockRecorder) UpdateAlert ¶
func (mr *MockSecretScanningServiceMockRecorder) UpdateAlert(ctx, owner, repo, number, opts interface{}) *gomock.Call
UpdateAlert indicates an expected call of UpdateAlert.
type MockTeamsService ¶
type MockTeamsService struct {
// contains filtered or unexported fields
}
MockTeamsService is a mock of TeamsService interface.
func NewMockTeamsService ¶
func NewMockTeamsService(ctrl *gomock.Controller) *MockTeamsService
NewMockTeamsService creates a new mock instance.
func (*MockTeamsService) AddTeamMembershipByID ¶
func (m *MockTeamsService) AddTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string, opts *github.TeamAddTeamMembershipOptions) (*github.Membership, *github.Response, error)
AddTeamMembershipByID mocks base method.
func (*MockTeamsService) AddTeamMembershipBySlug ¶
func (m *MockTeamsService) AddTeamMembershipBySlug(ctx context.Context, org, slug, user string, opts *github.TeamAddTeamMembershipOptions) (*github.Membership, *github.Response, error)
AddTeamMembershipBySlug mocks base method.
func (*MockTeamsService) AddTeamProjectByID ¶
func (m *MockTeamsService) AddTeamProjectByID(ctx context.Context, orgID, teamID, projectID int64, opts *github.TeamProjectOptions) (*github.Response, error)
AddTeamProjectByID mocks base method.
func (*MockTeamsService) AddTeamProjectBySlug ¶
func (m *MockTeamsService) AddTeamProjectBySlug(ctx context.Context, org, slug string, projectID int64, opts *github.TeamProjectOptions) (*github.Response, error)
AddTeamProjectBySlug mocks base method.
func (*MockTeamsService) AddTeamRepoByID ¶
func (m *MockTeamsService) AddTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string, opts *github.TeamAddTeamRepoOptions) (*github.Response, error)
AddTeamRepoByID mocks base method.
func (*MockTeamsService) AddTeamRepoBySlug ¶
func (m *MockTeamsService) AddTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string, opts *github.TeamAddTeamRepoOptions) (*github.Response, error)
AddTeamRepoBySlug mocks base method.
func (*MockTeamsService) CreateCommentByID ¶
func (m *MockTeamsService) CreateCommentByID(ctx context.Context, orgID, teamID int64, discsusionNumber int, comment github.DiscussionComment) (*github.DiscussionComment, *github.Response, error)
CreateCommentByID mocks base method.
func (*MockTeamsService) CreateCommentBySlug ¶
func (m *MockTeamsService) CreateCommentBySlug(ctx context.Context, org, slug string, discsusionNumber int, comment github.DiscussionComment) (*github.DiscussionComment, *github.Response, error)
CreateCommentBySlug mocks base method.
func (*MockTeamsService) CreateDiscussionByID ¶
func (m *MockTeamsService) CreateDiscussionByID(ctx context.Context, orgID, teamID int64, discussion github.TeamDiscussion) (*github.TeamDiscussion, *github.Response, error)
CreateDiscussionByID mocks base method.
func (*MockTeamsService) CreateDiscussionBySlug ¶
func (m *MockTeamsService) CreateDiscussionBySlug(ctx context.Context, org, slug string, discussion github.TeamDiscussion) (*github.TeamDiscussion, *github.Response, error)
CreateDiscussionBySlug mocks base method.
func (*MockTeamsService) CreateOrUpdateIDPGroupConnectionsByID ¶
func (m *MockTeamsService) CreateOrUpdateIDPGroupConnectionsByID(ctx context.Context, orgID, teamID int64, opts github.IDPGroupList) (*github.IDPGroupList, *github.Response, error)
CreateOrUpdateIDPGroupConnectionsByID mocks base method.
func (*MockTeamsService) CreateOrUpdateIDPGroupConnectionsBySlug ¶
func (m *MockTeamsService) CreateOrUpdateIDPGroupConnectionsBySlug(ctx context.Context, org, slug string, opts github.IDPGroupList) (*github.IDPGroupList, *github.Response, error)
CreateOrUpdateIDPGroupConnectionsBySlug mocks base method.
func (*MockTeamsService) CreateTeam ¶
func (m *MockTeamsService) CreateTeam(ctx context.Context, org string, team github.NewTeam) (*github.Team, *github.Response, error)
CreateTeam mocks base method.
func (*MockTeamsService) DeleteCommentByID ¶
func (m *MockTeamsService) DeleteCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int) (*github.Response, error)
DeleteCommentByID mocks base method.
func (*MockTeamsService) DeleteCommentBySlug ¶
func (m *MockTeamsService) DeleteCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int) (*github.Response, error)
DeleteCommentBySlug mocks base method.
func (*MockTeamsService) DeleteDiscussionByID ¶
func (m *MockTeamsService) DeleteDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int) (*github.Response, error)
DeleteDiscussionByID mocks base method.
func (*MockTeamsService) DeleteDiscussionBySlug ¶
func (m *MockTeamsService) DeleteDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int) (*github.Response, error)
DeleteDiscussionBySlug mocks base method.
func (*MockTeamsService) DeleteTeamByID ¶
func (m *MockTeamsService) DeleteTeamByID(ctx context.Context, orgID, teamID int64) (*github.Response, error)
DeleteTeamByID mocks base method.
func (*MockTeamsService) DeleteTeamBySlug ¶
func (m *MockTeamsService) DeleteTeamBySlug(ctx context.Context, org, slug string) (*github.Response, error)
DeleteTeamBySlug mocks base method.
func (*MockTeamsService) EXPECT ¶
func (m *MockTeamsService) EXPECT() *MockTeamsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTeamsService) EditCommentByID ¶
func (m *MockTeamsService) EditCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int, comment github.DiscussionComment) (*github.DiscussionComment, *github.Response, error)
EditCommentByID mocks base method.
func (*MockTeamsService) EditCommentBySlug ¶
func (m *MockTeamsService) EditCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int, comment github.DiscussionComment) (*github.DiscussionComment, *github.Response, error)
EditCommentBySlug mocks base method.
func (*MockTeamsService) EditDiscussionByID ¶
func (m *MockTeamsService) EditDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int, discussion github.TeamDiscussion) (*github.TeamDiscussion, *github.Response, error)
EditDiscussionByID mocks base method.
func (*MockTeamsService) EditDiscussionBySlug ¶
func (m *MockTeamsService) EditDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int, discussion github.TeamDiscussion) (*github.TeamDiscussion, *github.Response, error)
EditDiscussionBySlug mocks base method.
func (*MockTeamsService) EditTeamByID ¶
func (m *MockTeamsService) EditTeamByID(ctx context.Context, orgID, teamID int64, team github.NewTeam, removeParent bool) (*github.Team, *github.Response, error)
EditTeamByID mocks base method.
func (*MockTeamsService) EditTeamBySlug ¶
func (m *MockTeamsService) EditTeamBySlug(ctx context.Context, org, slug string, team github.NewTeam, removeParent bool) (*github.Team, *github.Response, error)
EditTeamBySlug mocks base method.
func (*MockTeamsService) GetCommentByID ¶
func (m *MockTeamsService) GetCommentByID(ctx context.Context, orgID, teamID int64, discussionNumber, commentNumber int) (*github.DiscussionComment, *github.Response, error)
GetCommentByID mocks base method.
func (*MockTeamsService) GetCommentBySlug ¶
func (m *MockTeamsService) GetCommentBySlug(ctx context.Context, org, slug string, discussionNumber, commentNumber int) (*github.DiscussionComment, *github.Response, error)
GetCommentBySlug mocks base method.
func (*MockTeamsService) GetDiscussionByID ¶
func (m *MockTeamsService) GetDiscussionByID(ctx context.Context, orgID, teamID int64, discussionNumber int) (*github.TeamDiscussion, *github.Response, error)
GetDiscussionByID mocks base method.
func (*MockTeamsService) GetDiscussionBySlug ¶
func (m *MockTeamsService) GetDiscussionBySlug(ctx context.Context, org, slug string, discussionNumber int) (*github.TeamDiscussion, *github.Response, error)
GetDiscussionBySlug mocks base method.
func (*MockTeamsService) GetExternalGroup ¶
func (m *MockTeamsService) GetExternalGroup(ctx context.Context, org string, groupID int64) (*github.ExternalGroup, *github.Response, error)
GetExternalGroup mocks base method.
func (*MockTeamsService) GetTeamByID ¶
func (m *MockTeamsService) GetTeamByID(ctx context.Context, orgID, teamID int64) (*github.Team, *github.Response, error)
GetTeamByID mocks base method.
func (*MockTeamsService) GetTeamBySlug ¶
func (m *MockTeamsService) GetTeamBySlug(ctx context.Context, org, slug string) (*github.Team, *github.Response, error)
GetTeamBySlug mocks base method.
func (*MockTeamsService) GetTeamMembershipByID ¶
func (m *MockTeamsService) GetTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string) (*github.Membership, *github.Response, error)
GetTeamMembershipByID mocks base method.
func (*MockTeamsService) GetTeamMembershipBySlug ¶
func (m *MockTeamsService) GetTeamMembershipBySlug(ctx context.Context, org, slug, user string) (*github.Membership, *github.Response, error)
GetTeamMembershipBySlug mocks base method.
func (*MockTeamsService) IsTeamRepoByID ¶
func (m *MockTeamsService) IsTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string) (*github.Repository, *github.Response, error)
IsTeamRepoByID mocks base method.
func (*MockTeamsService) IsTeamRepoBySlug ¶
func (m *MockTeamsService) IsTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string) (*github.Repository, *github.Response, error)
IsTeamRepoBySlug mocks base method.
func (*MockTeamsService) ListChildTeamsByParentID ¶
func (m *MockTeamsService) ListChildTeamsByParentID(ctx context.Context, orgID, teamID int64, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
ListChildTeamsByParentID mocks base method.
func (*MockTeamsService) ListChildTeamsByParentSlug ¶
func (m *MockTeamsService) ListChildTeamsByParentSlug(ctx context.Context, org, slug string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
ListChildTeamsByParentSlug mocks base method.
func (*MockTeamsService) ListCommentsByID ¶
func (m *MockTeamsService) ListCommentsByID(ctx context.Context, orgID, teamID int64, discussionNumber int, options *github.DiscussionCommentListOptions) ([]*github.DiscussionComment, *github.Response, error)
ListCommentsByID mocks base method.
func (*MockTeamsService) ListCommentsBySlug ¶
func (m *MockTeamsService) ListCommentsBySlug(ctx context.Context, org, slug string, discussionNumber int, options *github.DiscussionCommentListOptions) ([]*github.DiscussionComment, *github.Response, error)
ListCommentsBySlug mocks base method.
func (*MockTeamsService) ListDiscussionsByID ¶
func (m *MockTeamsService) ListDiscussionsByID(ctx context.Context, orgID, teamID int64, opts *github.DiscussionListOptions) ([]*github.TeamDiscussion, *github.Response, error)
ListDiscussionsByID mocks base method.
func (*MockTeamsService) ListDiscussionsBySlug ¶
func (m *MockTeamsService) ListDiscussionsBySlug(ctx context.Context, org, slug string, opts *github.DiscussionListOptions) ([]*github.TeamDiscussion, *github.Response, error)
ListDiscussionsBySlug mocks base method.
func (*MockTeamsService) ListExternalGroups ¶
func (m *MockTeamsService) ListExternalGroups(ctx context.Context, org string, opts *github.ListExternalGroupsOptions) (*github.ExternalGroupList, *github.Response, error)
ListExternalGroups mocks base method.
func (*MockTeamsService) ListIDPGroupsForTeamByID ¶
func (m *MockTeamsService) ListIDPGroupsForTeamByID(ctx context.Context, orgID, teamID int64) (*github.IDPGroupList, *github.Response, error)
ListIDPGroupsForTeamByID mocks base method.
func (*MockTeamsService) ListIDPGroupsForTeamBySlug ¶
func (m *MockTeamsService) ListIDPGroupsForTeamBySlug(ctx context.Context, org, slug string) (*github.IDPGroupList, *github.Response, error)
ListIDPGroupsForTeamBySlug mocks base method.
func (*MockTeamsService) ListIDPGroupsInOrganization ¶
func (m *MockTeamsService) ListIDPGroupsInOrganization(ctx context.Context, org string, opts *github.ListCursorOptions) (*github.IDPGroupList, *github.Response, error)
ListIDPGroupsInOrganization mocks base method.
func (*MockTeamsService) ListPendingTeamInvitationsByID ¶
func (m *MockTeamsService) ListPendingTeamInvitationsByID(ctx context.Context, orgID, teamID int64, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
ListPendingTeamInvitationsByID mocks base method.
func (*MockTeamsService) ListPendingTeamInvitationsBySlug ¶
func (m *MockTeamsService) ListPendingTeamInvitationsBySlug(ctx context.Context, org, slug string, opts *github.ListOptions) ([]*github.Invitation, *github.Response, error)
ListPendingTeamInvitationsBySlug mocks base method.
func (*MockTeamsService) ListTeamMembersByID ¶
func (m *MockTeamsService) ListTeamMembersByID(ctx context.Context, orgID, teamID int64, opts *github.TeamListTeamMembersOptions) ([]*github.User, *github.Response, error)
ListTeamMembersByID mocks base method.
func (*MockTeamsService) ListTeamMembersBySlug ¶
func (m *MockTeamsService) ListTeamMembersBySlug(ctx context.Context, org, slug string, opts *github.TeamListTeamMembersOptions) ([]*github.User, *github.Response, error)
ListTeamMembersBySlug mocks base method.
func (*MockTeamsService) ListTeamProjectsByID ¶
func (m *MockTeamsService) ListTeamProjectsByID(ctx context.Context, orgID, teamID int64) ([]*github.Project, *github.Response, error)
ListTeamProjectsByID mocks base method.
func (*MockTeamsService) ListTeamProjectsBySlug ¶
func (m *MockTeamsService) ListTeamProjectsBySlug(ctx context.Context, org, slug string) ([]*github.Project, *github.Response, error)
ListTeamProjectsBySlug mocks base method.
func (*MockTeamsService) ListTeamReposByID ¶
func (m *MockTeamsService) ListTeamReposByID(ctx context.Context, orgID, teamID int64, opts *github.ListOptions) ([]*github.Repository, *github.Response, error)
ListTeamReposByID mocks base method.
func (*MockTeamsService) ListTeamReposBySlug ¶
func (m *MockTeamsService) ListTeamReposBySlug(ctx context.Context, org, slug string, opts *github.ListOptions) ([]*github.Repository, *github.Response, error)
ListTeamReposBySlug mocks base method.
func (*MockTeamsService) ListTeams ¶
func (m *MockTeamsService) ListTeams(ctx context.Context, org string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
ListTeams mocks base method.
func (*MockTeamsService) ListUserTeams ¶
func (m *MockTeamsService) ListUserTeams(ctx context.Context, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
ListUserTeams mocks base method.
func (*MockTeamsService) RemoveConnectedExternalGroup ¶
func (m *MockTeamsService) RemoveConnectedExternalGroup(ctx context.Context, org, slug string) (*github.Response, error)
RemoveConnectedExternalGroup mocks base method.
func (*MockTeamsService) RemoveTeamMembershipByID ¶
func (m *MockTeamsService) RemoveTeamMembershipByID(ctx context.Context, orgID, teamID int64, user string) (*github.Response, error)
RemoveTeamMembershipByID mocks base method.
func (*MockTeamsService) RemoveTeamMembershipBySlug ¶
func (m *MockTeamsService) RemoveTeamMembershipBySlug(ctx context.Context, org, slug, user string) (*github.Response, error)
RemoveTeamMembershipBySlug mocks base method.
func (*MockTeamsService) RemoveTeamProjectByID ¶
func (m *MockTeamsService) RemoveTeamProjectByID(ctx context.Context, orgID, teamID, projectID int64) (*github.Response, error)
RemoveTeamProjectByID mocks base method.
func (*MockTeamsService) RemoveTeamProjectBySlug ¶
func (m *MockTeamsService) RemoveTeamProjectBySlug(ctx context.Context, org, slug string, projectID int64) (*github.Response, error)
RemoveTeamProjectBySlug mocks base method.
func (*MockTeamsService) RemoveTeamRepoByID ¶
func (m *MockTeamsService) RemoveTeamRepoByID(ctx context.Context, orgID, teamID int64, owner, repo string) (*github.Response, error)
RemoveTeamRepoByID mocks base method.
func (*MockTeamsService) RemoveTeamRepoBySlug ¶
func (m *MockTeamsService) RemoveTeamRepoBySlug(ctx context.Context, org, slug, owner, repo string) (*github.Response, error)
RemoveTeamRepoBySlug mocks base method.
func (*MockTeamsService) ReviewTeamProjectsByID ¶
func (m *MockTeamsService) ReviewTeamProjectsByID(ctx context.Context, orgID, teamID, projectID int64) (*github.Project, *github.Response, error)
ReviewTeamProjectsByID mocks base method.
func (*MockTeamsService) ReviewTeamProjectsBySlug ¶
func (m *MockTeamsService) ReviewTeamProjectsBySlug(ctx context.Context, org, slug string, projectID int64) (*github.Project, *github.Response, error)
ReviewTeamProjectsBySlug mocks base method.
func (*MockTeamsService) UpdateConnectedExternalGroup ¶
func (m *MockTeamsService) UpdateConnectedExternalGroup(ctx context.Context, org, slug string, eg *github.ExternalGroup) (*github.ExternalGroup, *github.Response, error)
UpdateConnectedExternalGroup mocks base method.
type MockTeamsServiceMockRecorder ¶
type MockTeamsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTeamsServiceMockRecorder is the mock recorder for MockTeamsService.
func (*MockTeamsServiceMockRecorder) AddTeamMembershipByID ¶
func (mr *MockTeamsServiceMockRecorder) AddTeamMembershipByID(ctx, orgID, teamID, user, opts interface{}) *gomock.Call
AddTeamMembershipByID indicates an expected call of AddTeamMembershipByID.
func (*MockTeamsServiceMockRecorder) AddTeamMembershipBySlug ¶
func (mr *MockTeamsServiceMockRecorder) AddTeamMembershipBySlug(ctx, org, slug, user, opts interface{}) *gomock.Call
AddTeamMembershipBySlug indicates an expected call of AddTeamMembershipBySlug.
func (*MockTeamsServiceMockRecorder) AddTeamProjectByID ¶
func (mr *MockTeamsServiceMockRecorder) AddTeamProjectByID(ctx, orgID, teamID, projectID, opts interface{}) *gomock.Call
AddTeamProjectByID indicates an expected call of AddTeamProjectByID.
func (*MockTeamsServiceMockRecorder) AddTeamProjectBySlug ¶
func (mr *MockTeamsServiceMockRecorder) AddTeamProjectBySlug(ctx, org, slug, projectID, opts interface{}) *gomock.Call
AddTeamProjectBySlug indicates an expected call of AddTeamProjectBySlug.
func (*MockTeamsServiceMockRecorder) AddTeamRepoByID ¶
func (mr *MockTeamsServiceMockRecorder) AddTeamRepoByID(ctx, orgID, teamID, owner, repo, opts interface{}) *gomock.Call
AddTeamRepoByID indicates an expected call of AddTeamRepoByID.
func (*MockTeamsServiceMockRecorder) AddTeamRepoBySlug ¶
func (mr *MockTeamsServiceMockRecorder) AddTeamRepoBySlug(ctx, org, slug, owner, repo, opts interface{}) *gomock.Call
AddTeamRepoBySlug indicates an expected call of AddTeamRepoBySlug.
func (*MockTeamsServiceMockRecorder) CreateCommentByID ¶
func (mr *MockTeamsServiceMockRecorder) CreateCommentByID(ctx, orgID, teamID, discsusionNumber, comment interface{}) *gomock.Call
CreateCommentByID indicates an expected call of CreateCommentByID.
func (*MockTeamsServiceMockRecorder) CreateCommentBySlug ¶
func (mr *MockTeamsServiceMockRecorder) CreateCommentBySlug(ctx, org, slug, discsusionNumber, comment interface{}) *gomock.Call
CreateCommentBySlug indicates an expected call of CreateCommentBySlug.
func (*MockTeamsServiceMockRecorder) CreateDiscussionByID ¶
func (mr *MockTeamsServiceMockRecorder) CreateDiscussionByID(ctx, orgID, teamID, discussion interface{}) *gomock.Call
CreateDiscussionByID indicates an expected call of CreateDiscussionByID.
func (*MockTeamsServiceMockRecorder) CreateDiscussionBySlug ¶
func (mr *MockTeamsServiceMockRecorder) CreateDiscussionBySlug(ctx, org, slug, discussion interface{}) *gomock.Call
CreateDiscussionBySlug indicates an expected call of CreateDiscussionBySlug.
func (*MockTeamsServiceMockRecorder) CreateOrUpdateIDPGroupConnectionsByID ¶
func (mr *MockTeamsServiceMockRecorder) CreateOrUpdateIDPGroupConnectionsByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
CreateOrUpdateIDPGroupConnectionsByID indicates an expected call of CreateOrUpdateIDPGroupConnectionsByID.
func (*MockTeamsServiceMockRecorder) CreateOrUpdateIDPGroupConnectionsBySlug ¶
func (mr *MockTeamsServiceMockRecorder) CreateOrUpdateIDPGroupConnectionsBySlug(ctx, org, slug, opts interface{}) *gomock.Call
CreateOrUpdateIDPGroupConnectionsBySlug indicates an expected call of CreateOrUpdateIDPGroupConnectionsBySlug.
func (*MockTeamsServiceMockRecorder) CreateTeam ¶
func (mr *MockTeamsServiceMockRecorder) CreateTeam(ctx, org, team interface{}) *gomock.Call
CreateTeam indicates an expected call of CreateTeam.
func (*MockTeamsServiceMockRecorder) DeleteCommentByID ¶
func (mr *MockTeamsServiceMockRecorder) DeleteCommentByID(ctx, orgID, teamID, discussionNumber, commentNumber interface{}) *gomock.Call
DeleteCommentByID indicates an expected call of DeleteCommentByID.
func (*MockTeamsServiceMockRecorder) DeleteCommentBySlug ¶
func (mr *MockTeamsServiceMockRecorder) DeleteCommentBySlug(ctx, org, slug, discussionNumber, commentNumber interface{}) *gomock.Call
DeleteCommentBySlug indicates an expected call of DeleteCommentBySlug.
func (*MockTeamsServiceMockRecorder) DeleteDiscussionByID ¶
func (mr *MockTeamsServiceMockRecorder) DeleteDiscussionByID(ctx, orgID, teamID, discussionNumber interface{}) *gomock.Call
DeleteDiscussionByID indicates an expected call of DeleteDiscussionByID.
func (*MockTeamsServiceMockRecorder) DeleteDiscussionBySlug ¶
func (mr *MockTeamsServiceMockRecorder) DeleteDiscussionBySlug(ctx, org, slug, discussionNumber interface{}) *gomock.Call
DeleteDiscussionBySlug indicates an expected call of DeleteDiscussionBySlug.
func (*MockTeamsServiceMockRecorder) DeleteTeamByID ¶
func (mr *MockTeamsServiceMockRecorder) DeleteTeamByID(ctx, orgID, teamID interface{}) *gomock.Call
DeleteTeamByID indicates an expected call of DeleteTeamByID.
func (*MockTeamsServiceMockRecorder) DeleteTeamBySlug ¶
func (mr *MockTeamsServiceMockRecorder) DeleteTeamBySlug(ctx, org, slug interface{}) *gomock.Call
DeleteTeamBySlug indicates an expected call of DeleteTeamBySlug.
func (*MockTeamsServiceMockRecorder) EditCommentByID ¶
func (mr *MockTeamsServiceMockRecorder) EditCommentByID(ctx, orgID, teamID, discussionNumber, commentNumber, comment interface{}) *gomock.Call
EditCommentByID indicates an expected call of EditCommentByID.
func (*MockTeamsServiceMockRecorder) EditCommentBySlug ¶
func (mr *MockTeamsServiceMockRecorder) EditCommentBySlug(ctx, org, slug, discussionNumber, commentNumber, comment interface{}) *gomock.Call
EditCommentBySlug indicates an expected call of EditCommentBySlug.
func (*MockTeamsServiceMockRecorder) EditDiscussionByID ¶
func (mr *MockTeamsServiceMockRecorder) EditDiscussionByID(ctx, orgID, teamID, discussionNumber, discussion interface{}) *gomock.Call
EditDiscussionByID indicates an expected call of EditDiscussionByID.
func (*MockTeamsServiceMockRecorder) EditDiscussionBySlug ¶
func (mr *MockTeamsServiceMockRecorder) EditDiscussionBySlug(ctx, org, slug, discussionNumber, discussion interface{}) *gomock.Call
EditDiscussionBySlug indicates an expected call of EditDiscussionBySlug.
func (*MockTeamsServiceMockRecorder) EditTeamByID ¶
func (mr *MockTeamsServiceMockRecorder) EditTeamByID(ctx, orgID, teamID, team, removeParent interface{}) *gomock.Call
EditTeamByID indicates an expected call of EditTeamByID.
func (*MockTeamsServiceMockRecorder) EditTeamBySlug ¶
func (mr *MockTeamsServiceMockRecorder) EditTeamBySlug(ctx, org, slug, team, removeParent interface{}) *gomock.Call
EditTeamBySlug indicates an expected call of EditTeamBySlug.
func (*MockTeamsServiceMockRecorder) GetCommentByID ¶
func (mr *MockTeamsServiceMockRecorder) GetCommentByID(ctx, orgID, teamID, discussionNumber, commentNumber interface{}) *gomock.Call
GetCommentByID indicates an expected call of GetCommentByID.
func (*MockTeamsServiceMockRecorder) GetCommentBySlug ¶
func (mr *MockTeamsServiceMockRecorder) GetCommentBySlug(ctx, org, slug, discussionNumber, commentNumber interface{}) *gomock.Call
GetCommentBySlug indicates an expected call of GetCommentBySlug.
func (*MockTeamsServiceMockRecorder) GetDiscussionByID ¶
func (mr *MockTeamsServiceMockRecorder) GetDiscussionByID(ctx, orgID, teamID, discussionNumber interface{}) *gomock.Call
GetDiscussionByID indicates an expected call of GetDiscussionByID.
func (*MockTeamsServiceMockRecorder) GetDiscussionBySlug ¶
func (mr *MockTeamsServiceMockRecorder) GetDiscussionBySlug(ctx, org, slug, discussionNumber interface{}) *gomock.Call
GetDiscussionBySlug indicates an expected call of GetDiscussionBySlug.
func (*MockTeamsServiceMockRecorder) GetExternalGroup ¶
func (mr *MockTeamsServiceMockRecorder) GetExternalGroup(ctx, org, groupID interface{}) *gomock.Call
GetExternalGroup indicates an expected call of GetExternalGroup.
func (*MockTeamsServiceMockRecorder) GetTeamByID ¶
func (mr *MockTeamsServiceMockRecorder) GetTeamByID(ctx, orgID, teamID interface{}) *gomock.Call
GetTeamByID indicates an expected call of GetTeamByID.
func (*MockTeamsServiceMockRecorder) GetTeamBySlug ¶
func (mr *MockTeamsServiceMockRecorder) GetTeamBySlug(ctx, org, slug interface{}) *gomock.Call
GetTeamBySlug indicates an expected call of GetTeamBySlug.
func (*MockTeamsServiceMockRecorder) GetTeamMembershipByID ¶
func (mr *MockTeamsServiceMockRecorder) GetTeamMembershipByID(ctx, orgID, teamID, user interface{}) *gomock.Call
GetTeamMembershipByID indicates an expected call of GetTeamMembershipByID.
func (*MockTeamsServiceMockRecorder) GetTeamMembershipBySlug ¶
func (mr *MockTeamsServiceMockRecorder) GetTeamMembershipBySlug(ctx, org, slug, user interface{}) *gomock.Call
GetTeamMembershipBySlug indicates an expected call of GetTeamMembershipBySlug.
func (*MockTeamsServiceMockRecorder) IsTeamRepoByID ¶
func (mr *MockTeamsServiceMockRecorder) IsTeamRepoByID(ctx, orgID, teamID, owner, repo interface{}) *gomock.Call
IsTeamRepoByID indicates an expected call of IsTeamRepoByID.
func (*MockTeamsServiceMockRecorder) IsTeamRepoBySlug ¶
func (mr *MockTeamsServiceMockRecorder) IsTeamRepoBySlug(ctx, org, slug, owner, repo interface{}) *gomock.Call
IsTeamRepoBySlug indicates an expected call of IsTeamRepoBySlug.
func (*MockTeamsServiceMockRecorder) ListChildTeamsByParentID ¶
func (mr *MockTeamsServiceMockRecorder) ListChildTeamsByParentID(ctx, orgID, teamID, opts interface{}) *gomock.Call
ListChildTeamsByParentID indicates an expected call of ListChildTeamsByParentID.
func (*MockTeamsServiceMockRecorder) ListChildTeamsByParentSlug ¶
func (mr *MockTeamsServiceMockRecorder) ListChildTeamsByParentSlug(ctx, org, slug, opts interface{}) *gomock.Call
ListChildTeamsByParentSlug indicates an expected call of ListChildTeamsByParentSlug.
func (*MockTeamsServiceMockRecorder) ListCommentsByID ¶
func (mr *MockTeamsServiceMockRecorder) ListCommentsByID(ctx, orgID, teamID, discussionNumber, options interface{}) *gomock.Call
ListCommentsByID indicates an expected call of ListCommentsByID.
func (*MockTeamsServiceMockRecorder) ListCommentsBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListCommentsBySlug(ctx, org, slug, discussionNumber, options interface{}) *gomock.Call
ListCommentsBySlug indicates an expected call of ListCommentsBySlug.
func (*MockTeamsServiceMockRecorder) ListDiscussionsByID ¶
func (mr *MockTeamsServiceMockRecorder) ListDiscussionsByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
ListDiscussionsByID indicates an expected call of ListDiscussionsByID.
func (*MockTeamsServiceMockRecorder) ListDiscussionsBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListDiscussionsBySlug(ctx, org, slug, opts interface{}) *gomock.Call
ListDiscussionsBySlug indicates an expected call of ListDiscussionsBySlug.
func (*MockTeamsServiceMockRecorder) ListExternalGroups ¶
func (mr *MockTeamsServiceMockRecorder) ListExternalGroups(ctx, org, opts interface{}) *gomock.Call
ListExternalGroups indicates an expected call of ListExternalGroups.
func (*MockTeamsServiceMockRecorder) ListIDPGroupsForTeamByID ¶
func (mr *MockTeamsServiceMockRecorder) ListIDPGroupsForTeamByID(ctx, orgID, teamID interface{}) *gomock.Call
ListIDPGroupsForTeamByID indicates an expected call of ListIDPGroupsForTeamByID.
func (*MockTeamsServiceMockRecorder) ListIDPGroupsForTeamBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListIDPGroupsForTeamBySlug(ctx, org, slug interface{}) *gomock.Call
ListIDPGroupsForTeamBySlug indicates an expected call of ListIDPGroupsForTeamBySlug.
func (*MockTeamsServiceMockRecorder) ListIDPGroupsInOrganization ¶
func (mr *MockTeamsServiceMockRecorder) ListIDPGroupsInOrganization(ctx, org, opts interface{}) *gomock.Call
ListIDPGroupsInOrganization indicates an expected call of ListIDPGroupsInOrganization.
func (*MockTeamsServiceMockRecorder) ListPendingTeamInvitationsByID ¶
func (mr *MockTeamsServiceMockRecorder) ListPendingTeamInvitationsByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
ListPendingTeamInvitationsByID indicates an expected call of ListPendingTeamInvitationsByID.
func (*MockTeamsServiceMockRecorder) ListPendingTeamInvitationsBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListPendingTeamInvitationsBySlug(ctx, org, slug, opts interface{}) *gomock.Call
ListPendingTeamInvitationsBySlug indicates an expected call of ListPendingTeamInvitationsBySlug.
func (*MockTeamsServiceMockRecorder) ListTeamMembersByID ¶
func (mr *MockTeamsServiceMockRecorder) ListTeamMembersByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
ListTeamMembersByID indicates an expected call of ListTeamMembersByID.
func (*MockTeamsServiceMockRecorder) ListTeamMembersBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListTeamMembersBySlug(ctx, org, slug, opts interface{}) *gomock.Call
ListTeamMembersBySlug indicates an expected call of ListTeamMembersBySlug.
func (*MockTeamsServiceMockRecorder) ListTeamProjectsByID ¶
func (mr *MockTeamsServiceMockRecorder) ListTeamProjectsByID(ctx, orgID, teamID interface{}) *gomock.Call
ListTeamProjectsByID indicates an expected call of ListTeamProjectsByID.
func (*MockTeamsServiceMockRecorder) ListTeamProjectsBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListTeamProjectsBySlug(ctx, org, slug interface{}) *gomock.Call
ListTeamProjectsBySlug indicates an expected call of ListTeamProjectsBySlug.
func (*MockTeamsServiceMockRecorder) ListTeamReposByID ¶
func (mr *MockTeamsServiceMockRecorder) ListTeamReposByID(ctx, orgID, teamID, opts interface{}) *gomock.Call
ListTeamReposByID indicates an expected call of ListTeamReposByID.
func (*MockTeamsServiceMockRecorder) ListTeamReposBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ListTeamReposBySlug(ctx, org, slug, opts interface{}) *gomock.Call
ListTeamReposBySlug indicates an expected call of ListTeamReposBySlug.
func (*MockTeamsServiceMockRecorder) ListTeams ¶
func (mr *MockTeamsServiceMockRecorder) ListTeams(ctx, org, opts interface{}) *gomock.Call
ListTeams indicates an expected call of ListTeams.
func (*MockTeamsServiceMockRecorder) ListUserTeams ¶
func (mr *MockTeamsServiceMockRecorder) ListUserTeams(ctx, opts interface{}) *gomock.Call
ListUserTeams indicates an expected call of ListUserTeams.
func (*MockTeamsServiceMockRecorder) RemoveConnectedExternalGroup ¶
func (mr *MockTeamsServiceMockRecorder) RemoveConnectedExternalGroup(ctx, org, slug interface{}) *gomock.Call
RemoveConnectedExternalGroup indicates an expected call of RemoveConnectedExternalGroup.
func (*MockTeamsServiceMockRecorder) RemoveTeamMembershipByID ¶
func (mr *MockTeamsServiceMockRecorder) RemoveTeamMembershipByID(ctx, orgID, teamID, user interface{}) *gomock.Call
RemoveTeamMembershipByID indicates an expected call of RemoveTeamMembershipByID.
func (*MockTeamsServiceMockRecorder) RemoveTeamMembershipBySlug ¶
func (mr *MockTeamsServiceMockRecorder) RemoveTeamMembershipBySlug(ctx, org, slug, user interface{}) *gomock.Call
RemoveTeamMembershipBySlug indicates an expected call of RemoveTeamMembershipBySlug.
func (*MockTeamsServiceMockRecorder) RemoveTeamProjectByID ¶
func (mr *MockTeamsServiceMockRecorder) RemoveTeamProjectByID(ctx, orgID, teamID, projectID interface{}) *gomock.Call
RemoveTeamProjectByID indicates an expected call of RemoveTeamProjectByID.
func (*MockTeamsServiceMockRecorder) RemoveTeamProjectBySlug ¶
func (mr *MockTeamsServiceMockRecorder) RemoveTeamProjectBySlug(ctx, org, slug, projectID interface{}) *gomock.Call
RemoveTeamProjectBySlug indicates an expected call of RemoveTeamProjectBySlug.
func (*MockTeamsServiceMockRecorder) RemoveTeamRepoByID ¶
func (mr *MockTeamsServiceMockRecorder) RemoveTeamRepoByID(ctx, orgID, teamID, owner, repo interface{}) *gomock.Call
RemoveTeamRepoByID indicates an expected call of RemoveTeamRepoByID.
func (*MockTeamsServiceMockRecorder) RemoveTeamRepoBySlug ¶
func (mr *MockTeamsServiceMockRecorder) RemoveTeamRepoBySlug(ctx, org, slug, owner, repo interface{}) *gomock.Call
RemoveTeamRepoBySlug indicates an expected call of RemoveTeamRepoBySlug.
func (*MockTeamsServiceMockRecorder) ReviewTeamProjectsByID ¶
func (mr *MockTeamsServiceMockRecorder) ReviewTeamProjectsByID(ctx, orgID, teamID, projectID interface{}) *gomock.Call
ReviewTeamProjectsByID indicates an expected call of ReviewTeamProjectsByID.
func (*MockTeamsServiceMockRecorder) ReviewTeamProjectsBySlug ¶
func (mr *MockTeamsServiceMockRecorder) ReviewTeamProjectsBySlug(ctx, org, slug, projectID interface{}) *gomock.Call
ReviewTeamProjectsBySlug indicates an expected call of ReviewTeamProjectsBySlug.
func (*MockTeamsServiceMockRecorder) UpdateConnectedExternalGroup ¶
func (mr *MockTeamsServiceMockRecorder) UpdateConnectedExternalGroup(ctx, org, slug, eg interface{}) *gomock.Call
UpdateConnectedExternalGroup indicates an expected call of UpdateConnectedExternalGroup.
type MockUsersService ¶
type MockUsersService struct {
// contains filtered or unexported fields
}
MockUsersService is a mock of UsersService interface.
func NewMockUsersService ¶
func NewMockUsersService(ctrl *gomock.Controller) *MockUsersService
NewMockUsersService creates a new mock instance.
func (*MockUsersService) AcceptInvitation ¶
func (m *MockUsersService) AcceptInvitation(ctx context.Context, invitationID int64) (*github.Response, error)
AcceptInvitation mocks base method.
func (*MockUsersService) AddEmails ¶
func (m *MockUsersService) AddEmails(ctx context.Context, emails []string) ([]*github.UserEmail, *github.Response, error)
AddEmails mocks base method.
func (*MockUsersService) CreateGPGKey ¶
func (m *MockUsersService) CreateGPGKey(ctx context.Context, armoredPublicKey string) (*github.GPGKey, *github.Response, error)
CreateGPGKey mocks base method.
func (*MockUsersService) CreateKey ¶
func (m *MockUsersService) CreateKey(ctx context.Context, key *github.Key) (*github.Key, *github.Response, error)
CreateKey mocks base method.
func (*MockUsersService) CreateProject ¶
func (m *MockUsersService) CreateProject(ctx context.Context, opts *github.CreateUserProjectOptions) (*github.Project, *github.Response, error)
CreateProject mocks base method.
func (*MockUsersService) CreateSSHSigningKey ¶
func (m *MockUsersService) CreateSSHSigningKey(ctx context.Context, key *github.Key) (*github.SSHSigningKey, *github.Response, error)
CreateSSHSigningKey mocks base method.
func (*MockUsersService) DeclineInvitation ¶
func (m *MockUsersService) DeclineInvitation(ctx context.Context, invitationID int64) (*github.Response, error)
DeclineInvitation mocks base method.
func (*MockUsersService) DeleteEmails ¶
func (m *MockUsersService) DeleteEmails(ctx context.Context, emails []string) (*github.Response, error)
DeleteEmails mocks base method.
func (*MockUsersService) DeleteGPGKey ¶
DeleteGPGKey mocks base method.
func (*MockUsersService) DeletePackage ¶
func (m *MockUsersService) DeletePackage(ctx context.Context, user, packageType, packageName string) (*github.Response, error)
DeletePackage mocks base method.
func (*MockUsersService) DeleteSSHSigningKey ¶
func (m *MockUsersService) DeleteSSHSigningKey(ctx context.Context, id int64) (*github.Response, error)
DeleteSSHSigningKey mocks base method.
func (*MockUsersService) DemoteSiteAdmin ¶
func (m *MockUsersService) DemoteSiteAdmin(ctx context.Context, user string) (*github.Response, error)
DemoteSiteAdmin mocks base method.
func (*MockUsersService) EXPECT ¶
func (m *MockUsersService) EXPECT() *MockUsersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUsersService) Edit ¶
func (m *MockUsersService) Edit(ctx context.Context, user *github.User) (*github.User, *github.Response, error)
Edit mocks base method.
func (*MockUsersService) Get ¶
func (m *MockUsersService) Get(ctx context.Context, user string) (*github.User, *github.Response, error)
Get mocks base method.
func (*MockUsersService) GetByID ¶
func (m *MockUsersService) GetByID(ctx context.Context, id int64) (*github.User, *github.Response, error)
GetByID mocks base method.
func (*MockUsersService) GetGPGKey ¶
func (m *MockUsersService) GetGPGKey(ctx context.Context, id int64) (*github.GPGKey, *github.Response, error)
GetGPGKey mocks base method.
func (*MockUsersService) GetHovercard ¶
func (m *MockUsersService) GetHovercard(ctx context.Context, user string, opts *github.HovercardOptions) (*github.Hovercard, *github.Response, error)
GetHovercard mocks base method.
func (*MockUsersService) GetKey ¶
func (m *MockUsersService) GetKey(ctx context.Context, id int64) (*github.Key, *github.Response, error)
GetKey mocks base method.
func (*MockUsersService) GetPackage ¶
func (m *MockUsersService) GetPackage(ctx context.Context, user, packageType, packageName string) (*github.Package, *github.Response, error)
GetPackage mocks base method.
func (*MockUsersService) GetSSHSigningKey ¶
func (m *MockUsersService) GetSSHSigningKey(ctx context.Context, id int64) (*github.SSHSigningKey, *github.Response, error)
GetSSHSigningKey mocks base method.
func (*MockUsersService) IsBlocked ¶
func (m *MockUsersService) IsBlocked(ctx context.Context, user string) (bool, *github.Response, error)
IsBlocked mocks base method.
func (*MockUsersService) IsFollowing ¶
func (m *MockUsersService) IsFollowing(ctx context.Context, user, target string) (bool, *github.Response, error)
IsFollowing mocks base method.
func (*MockUsersService) ListAll ¶
func (m *MockUsersService) ListAll(ctx context.Context, opts *github.UserListOptions) ([]*github.User, *github.Response, error)
ListAll mocks base method.
func (*MockUsersService) ListBlockedUsers ¶
func (m *MockUsersService) ListBlockedUsers(ctx context.Context, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ListBlockedUsers mocks base method.
func (*MockUsersService) ListEmails ¶
func (m *MockUsersService) ListEmails(ctx context.Context, opts *github.ListOptions) ([]*github.UserEmail, *github.Response, error)
ListEmails mocks base method.
func (*MockUsersService) ListFollowers ¶
func (m *MockUsersService) ListFollowers(ctx context.Context, user string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ListFollowers mocks base method.
func (*MockUsersService) ListFollowing ¶
func (m *MockUsersService) ListFollowing(ctx context.Context, user string, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ListFollowing mocks base method.
func (*MockUsersService) ListGPGKeys ¶
func (m *MockUsersService) ListGPGKeys(ctx context.Context, user string, opts *github.ListOptions) ([]*github.GPGKey, *github.Response, error)
ListGPGKeys mocks base method.
func (*MockUsersService) ListInvitations ¶
func (m *MockUsersService) ListInvitations(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
ListInvitations mocks base method.
func (*MockUsersService) ListKeys ¶
func (m *MockUsersService) ListKeys(ctx context.Context, user string, opts *github.ListOptions) ([]*github.Key, *github.Response, error)
ListKeys mocks base method.
func (*MockUsersService) ListPackages ¶
func (m *MockUsersService) ListPackages(ctx context.Context, user string, opts *github.PackageListOptions) ([]*github.Package, *github.Response, error)
ListPackages mocks base method.
func (*MockUsersService) ListProjects ¶
func (m *MockUsersService) ListProjects(ctx context.Context, user string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
ListProjects mocks base method.
func (*MockUsersService) ListSSHSigningKeys ¶
func (m *MockUsersService) ListSSHSigningKeys(ctx context.Context, user string, opts *github.ListOptions) ([]*github.SSHSigningKey, *github.Response, error)
ListSSHSigningKeys mocks base method.
func (*MockUsersService) PackageDeleteVersion ¶
func (m *MockUsersService) PackageDeleteVersion(ctx context.Context, user, packageType, packageName string, packageVersionID int64) (*github.Response, error)
PackageDeleteVersion mocks base method.
func (*MockUsersService) PackageGetAllVersions ¶
func (m *MockUsersService) PackageGetAllVersions(ctx context.Context, user, packageType, packageName string, opts *github.PackageListOptions) ([]*github.PackageVersion, *github.Response, error)
PackageGetAllVersions mocks base method.
func (*MockUsersService) PackageGetVersion ¶
func (m *MockUsersService) PackageGetVersion(ctx context.Context, user, packageType, packageName string, packageVersionID int64) (*github.PackageVersion, *github.Response, error)
PackageGetVersion mocks base method.
func (*MockUsersService) PackageRestoreVersion ¶
func (m *MockUsersService) PackageRestoreVersion(ctx context.Context, user, packageType, packageName string, packageVersionID int64) (*github.Response, error)
PackageRestoreVersion mocks base method.
func (*MockUsersService) PromoteSiteAdmin ¶
func (m *MockUsersService) PromoteSiteAdmin(ctx context.Context, user string) (*github.Response, error)
PromoteSiteAdmin mocks base method.
func (*MockUsersService) RestorePackage ¶
func (m *MockUsersService) RestorePackage(ctx context.Context, user, packageType, packageName string) (*github.Response, error)
RestorePackage mocks base method.
func (*MockUsersService) Suspend ¶
func (m *MockUsersService) Suspend(ctx context.Context, user string, opts *github.UserSuspendOptions) (*github.Response, error)
Suspend mocks base method.
func (*MockUsersService) UnblockUser ¶
UnblockUser mocks base method.
type MockUsersServiceMockRecorder ¶
type MockUsersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUsersServiceMockRecorder is the mock recorder for MockUsersService.
func (*MockUsersServiceMockRecorder) AcceptInvitation ¶
func (mr *MockUsersServiceMockRecorder) AcceptInvitation(ctx, invitationID interface{}) *gomock.Call
AcceptInvitation indicates an expected call of AcceptInvitation.
func (*MockUsersServiceMockRecorder) AddEmails ¶
func (mr *MockUsersServiceMockRecorder) AddEmails(ctx, emails interface{}) *gomock.Call
AddEmails indicates an expected call of AddEmails.
func (*MockUsersServiceMockRecorder) BlockUser ¶
func (mr *MockUsersServiceMockRecorder) BlockUser(ctx, user interface{}) *gomock.Call
BlockUser indicates an expected call of BlockUser.
func (*MockUsersServiceMockRecorder) CreateGPGKey ¶
func (mr *MockUsersServiceMockRecorder) CreateGPGKey(ctx, armoredPublicKey interface{}) *gomock.Call
CreateGPGKey indicates an expected call of CreateGPGKey.
func (*MockUsersServiceMockRecorder) CreateKey ¶
func (mr *MockUsersServiceMockRecorder) CreateKey(ctx, key interface{}) *gomock.Call
CreateKey indicates an expected call of CreateKey.
func (*MockUsersServiceMockRecorder) CreateProject ¶
func (mr *MockUsersServiceMockRecorder) CreateProject(ctx, opts interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockUsersServiceMockRecorder) CreateSSHSigningKey ¶
func (mr *MockUsersServiceMockRecorder) CreateSSHSigningKey(ctx, key interface{}) *gomock.Call
CreateSSHSigningKey indicates an expected call of CreateSSHSigningKey.
func (*MockUsersServiceMockRecorder) DeclineInvitation ¶
func (mr *MockUsersServiceMockRecorder) DeclineInvitation(ctx, invitationID interface{}) *gomock.Call
DeclineInvitation indicates an expected call of DeclineInvitation.
func (*MockUsersServiceMockRecorder) DeleteEmails ¶
func (mr *MockUsersServiceMockRecorder) DeleteEmails(ctx, emails interface{}) *gomock.Call
DeleteEmails indicates an expected call of DeleteEmails.
func (*MockUsersServiceMockRecorder) DeleteGPGKey ¶
func (mr *MockUsersServiceMockRecorder) DeleteGPGKey(ctx, id interface{}) *gomock.Call
DeleteGPGKey indicates an expected call of DeleteGPGKey.
func (*MockUsersServiceMockRecorder) DeleteKey ¶
func (mr *MockUsersServiceMockRecorder) DeleteKey(ctx, id interface{}) *gomock.Call
DeleteKey indicates an expected call of DeleteKey.
func (*MockUsersServiceMockRecorder) DeletePackage ¶
func (mr *MockUsersServiceMockRecorder) DeletePackage(ctx, user, packageType, packageName interface{}) *gomock.Call
DeletePackage indicates an expected call of DeletePackage.
func (*MockUsersServiceMockRecorder) DeleteSSHSigningKey ¶
func (mr *MockUsersServiceMockRecorder) DeleteSSHSigningKey(ctx, id interface{}) *gomock.Call
DeleteSSHSigningKey indicates an expected call of DeleteSSHSigningKey.
func (*MockUsersServiceMockRecorder) DemoteSiteAdmin ¶
func (mr *MockUsersServiceMockRecorder) DemoteSiteAdmin(ctx, user interface{}) *gomock.Call
DemoteSiteAdmin indicates an expected call of DemoteSiteAdmin.
func (*MockUsersServiceMockRecorder) Edit ¶
func (mr *MockUsersServiceMockRecorder) Edit(ctx, user interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockUsersServiceMockRecorder) Follow ¶
func (mr *MockUsersServiceMockRecorder) Follow(ctx, user interface{}) *gomock.Call
Follow indicates an expected call of Follow.
func (*MockUsersServiceMockRecorder) Get ¶
func (mr *MockUsersServiceMockRecorder) Get(ctx, user interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockUsersServiceMockRecorder) GetByID ¶
func (mr *MockUsersServiceMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockUsersServiceMockRecorder) GetGPGKey ¶
func (mr *MockUsersServiceMockRecorder) GetGPGKey(ctx, id interface{}) *gomock.Call
GetGPGKey indicates an expected call of GetGPGKey.
func (*MockUsersServiceMockRecorder) GetHovercard ¶
func (mr *MockUsersServiceMockRecorder) GetHovercard(ctx, user, opts interface{}) *gomock.Call
GetHovercard indicates an expected call of GetHovercard.
func (*MockUsersServiceMockRecorder) GetKey ¶
func (mr *MockUsersServiceMockRecorder) GetKey(ctx, id interface{}) *gomock.Call
GetKey indicates an expected call of GetKey.
func (*MockUsersServiceMockRecorder) GetPackage ¶
func (mr *MockUsersServiceMockRecorder) GetPackage(ctx, user, packageType, packageName interface{}) *gomock.Call
GetPackage indicates an expected call of GetPackage.
func (*MockUsersServiceMockRecorder) GetSSHSigningKey ¶
func (mr *MockUsersServiceMockRecorder) GetSSHSigningKey(ctx, id interface{}) *gomock.Call
GetSSHSigningKey indicates an expected call of GetSSHSigningKey.
func (*MockUsersServiceMockRecorder) IsBlocked ¶
func (mr *MockUsersServiceMockRecorder) IsBlocked(ctx, user interface{}) *gomock.Call
IsBlocked indicates an expected call of IsBlocked.
func (*MockUsersServiceMockRecorder) IsFollowing ¶
func (mr *MockUsersServiceMockRecorder) IsFollowing(ctx, user, target interface{}) *gomock.Call
IsFollowing indicates an expected call of IsFollowing.
func (*MockUsersServiceMockRecorder) ListAll ¶
func (mr *MockUsersServiceMockRecorder) ListAll(ctx, opts interface{}) *gomock.Call
ListAll indicates an expected call of ListAll.
func (*MockUsersServiceMockRecorder) ListBlockedUsers ¶
func (mr *MockUsersServiceMockRecorder) ListBlockedUsers(ctx, opts interface{}) *gomock.Call
ListBlockedUsers indicates an expected call of ListBlockedUsers.
func (*MockUsersServiceMockRecorder) ListEmails ¶
func (mr *MockUsersServiceMockRecorder) ListEmails(ctx, opts interface{}) *gomock.Call
ListEmails indicates an expected call of ListEmails.
func (*MockUsersServiceMockRecorder) ListFollowers ¶
func (mr *MockUsersServiceMockRecorder) ListFollowers(ctx, user, opts interface{}) *gomock.Call
ListFollowers indicates an expected call of ListFollowers.
func (*MockUsersServiceMockRecorder) ListFollowing ¶
func (mr *MockUsersServiceMockRecorder) ListFollowing(ctx, user, opts interface{}) *gomock.Call
ListFollowing indicates an expected call of ListFollowing.
func (*MockUsersServiceMockRecorder) ListGPGKeys ¶
func (mr *MockUsersServiceMockRecorder) ListGPGKeys(ctx, user, opts interface{}) *gomock.Call
ListGPGKeys indicates an expected call of ListGPGKeys.
func (*MockUsersServiceMockRecorder) ListInvitations ¶
func (mr *MockUsersServiceMockRecorder) ListInvitations(ctx, opts interface{}) *gomock.Call
ListInvitations indicates an expected call of ListInvitations.
func (*MockUsersServiceMockRecorder) ListKeys ¶
func (mr *MockUsersServiceMockRecorder) ListKeys(ctx, user, opts interface{}) *gomock.Call
ListKeys indicates an expected call of ListKeys.
func (*MockUsersServiceMockRecorder) ListPackages ¶
func (mr *MockUsersServiceMockRecorder) ListPackages(ctx, user, opts interface{}) *gomock.Call
ListPackages indicates an expected call of ListPackages.
func (*MockUsersServiceMockRecorder) ListProjects ¶
func (mr *MockUsersServiceMockRecorder) ListProjects(ctx, user, opts interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockUsersServiceMockRecorder) ListSSHSigningKeys ¶
func (mr *MockUsersServiceMockRecorder) ListSSHSigningKeys(ctx, user, opts interface{}) *gomock.Call
ListSSHSigningKeys indicates an expected call of ListSSHSigningKeys.
func (*MockUsersServiceMockRecorder) PackageDeleteVersion ¶
func (mr *MockUsersServiceMockRecorder) PackageDeleteVersion(ctx, user, packageType, packageName, packageVersionID interface{}) *gomock.Call
PackageDeleteVersion indicates an expected call of PackageDeleteVersion.
func (*MockUsersServiceMockRecorder) PackageGetAllVersions ¶
func (mr *MockUsersServiceMockRecorder) PackageGetAllVersions(ctx, user, packageType, packageName, opts interface{}) *gomock.Call
PackageGetAllVersions indicates an expected call of PackageGetAllVersions.
func (*MockUsersServiceMockRecorder) PackageGetVersion ¶
func (mr *MockUsersServiceMockRecorder) PackageGetVersion(ctx, user, packageType, packageName, packageVersionID interface{}) *gomock.Call
PackageGetVersion indicates an expected call of PackageGetVersion.
func (*MockUsersServiceMockRecorder) PackageRestoreVersion ¶
func (mr *MockUsersServiceMockRecorder) PackageRestoreVersion(ctx, user, packageType, packageName, packageVersionID interface{}) *gomock.Call
PackageRestoreVersion indicates an expected call of PackageRestoreVersion.
func (*MockUsersServiceMockRecorder) PromoteSiteAdmin ¶
func (mr *MockUsersServiceMockRecorder) PromoteSiteAdmin(ctx, user interface{}) *gomock.Call
PromoteSiteAdmin indicates an expected call of PromoteSiteAdmin.
func (*MockUsersServiceMockRecorder) RestorePackage ¶
func (mr *MockUsersServiceMockRecorder) RestorePackage(ctx, user, packageType, packageName interface{}) *gomock.Call
RestorePackage indicates an expected call of RestorePackage.
func (*MockUsersServiceMockRecorder) Suspend ¶
func (mr *MockUsersServiceMockRecorder) Suspend(ctx, user, opts interface{}) *gomock.Call
Suspend indicates an expected call of Suspend.
func (*MockUsersServiceMockRecorder) UnblockUser ¶
func (mr *MockUsersServiceMockRecorder) UnblockUser(ctx, user interface{}) *gomock.Call
UnblockUser indicates an expected call of UnblockUser.
func (*MockUsersServiceMockRecorder) Unfollow ¶
func (mr *MockUsersServiceMockRecorder) Unfollow(ctx, user interface{}) *gomock.Call
Unfollow indicates an expected call of Unfollow.
func (*MockUsersServiceMockRecorder) Unsuspend ¶
func (mr *MockUsersServiceMockRecorder) Unsuspend(ctx, user interface{}) *gomock.Call
Unsuspend indicates an expected call of Unsuspend.