Documentation ¶
Index ¶
- type Repositories
- func (_m *Repositories) AddAdminEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.AdminEnforcement, *github.Response, error)
- func (_m *Repositories) AddAppRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 []string) ([]*github.App, *github.Response, error)
- func (_m *Repositories) AddCollaborator(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.CollaboratorInvitation, *github.Response, error)
- func (_m *Repositories) CompareCommits(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string) (*github.CommitsComparison, *github.Response, error)
- func (_m *Repositories) CompareCommitsRaw(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string, ...) (string, *github.Response, error)
- func (_m *Repositories) Create(_a0 context.Context, _a1 string, _a2 *github.Repository) (*github.Repository, *github.Response, error)
- func (_m *Repositories) CreateComment(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RepositoryComment, *github.Response, error)
- func (_m *Repositories) CreateDeployment(_a0 context.Context, _a1 string, _a2 string, _a3 *github.DeploymentRequest) (*github.Deployment, *github.Response, error)
- func (_m *Repositories) CreateDeploymentStatus(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.DeploymentStatus, *github.Response, error)
- func (_m *Repositories) CreateFile(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RepositoryContentResponse, *github.Response, error)
- func (_m *Repositories) CreateFork(_a0 context.Context, _a1 string, _a2 string, ...) (*github.Repository, *github.Response, error)
- func (_m *Repositories) CreateFromTemplate(_a0 context.Context, _a1 string, _a2 string, _a3 *github.TemplateRepoRequest) (*github.Repository, *github.Response, error)
- func (_m *Repositories) CreateHook(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Hook) (*github.Hook, *github.Response, error)
- func (_m *Repositories) CreateKey(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Key) (*github.Key, *github.Response, error)
- func (_m *Repositories) CreateProject(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ProjectOptions) (*github.Project, *github.Response, error)
- func (_m *Repositories) CreateRelease(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (_m *Repositories) CreateStatus(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RepoStatus, *github.Response, error)
- func (_m *Repositories) Delete(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
- func (_m *Repositories) DeleteComment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeleteDeployment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeleteFile(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RepositoryContentResponse, *github.Response, error)
- func (_m *Repositories) DeleteHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeleteInvitation(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeleteKey(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeletePreReceiveHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeleteRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DeleteReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) DisableAutomatedSecurityFixes(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
- func (_m *Repositories) DisableDismissalRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (_m *Repositories) DisablePages(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
- func (_m *Repositories) DisableVulnerabilityAlerts(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
- func (_m *Repositories) Dispatch(_a0 context.Context, _a1 string, _a2 string, _a3 github.DispatchRequestOptions) (*github.Repository, *github.Response, error)
- func (_m *Repositories) DownloadContents(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (io.ReadCloser, *github.Response, error)
- func (_m *Repositories) DownloadContentsWithMeta(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (io.ReadCloser, *github.RepositoryContent, *github.Response, error)
- func (_m *Repositories) DownloadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *http.Client) (io.ReadCloser, string, error)
- func (_m *Repositories) Edit(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Repository) (*github.Repository, *github.Response, error)
- func (_m *Repositories) EditHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.Hook) (*github.Hook, *github.Response, error)
- func (_m *Repositories) EditRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.RepositoryRelease, *github.Response, error)
- func (_m *Repositories) EditReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.ReleaseAsset, *github.Response, error)
- func (_m *Repositories) EnableAutomatedSecurityFixes(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
- func (_m *Repositories) EnablePages(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Pages) (*github.Pages, *github.Response, error)
- func (_m *Repositories) EnableVulnerabilityAlerts(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
- func (_m *Repositories) Get(_a0 context.Context, _a1 string, _a2 string) (*github.Repository, *github.Response, error)
- func (_m *Repositories) GetAdminEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.AdminEnforcement, *github.Response, error)
- func (_m *Repositories) GetArchiveLink(_a0 context.Context, _a1 string, _a2 string, _a3 github.ArchiveFormat, ...) (*url.URL, *github.Response, error)
- func (_m *Repositories) GetBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Branch, *github.Response, error)
- func (_m *Repositories) GetBranchProtection(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Protection, *github.Response, error)
- func (_m *Repositories) GetByID(_a0 context.Context, _a1 int64) (*github.Repository, *github.Response, error)
- func (_m *Repositories) GetCodeOfConduct(_a0 context.Context, _a1 string, _a2 string) (*github.CodeOfConduct, *github.Response, error)
- func (_m *Repositories) GetCombinedStatus(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.CombinedStatus, *github.Response, error)
- func (_m *Repositories) GetComment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.RepositoryComment, *github.Response, error)
- func (_m *Repositories) GetCommit(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryCommit, *github.Response, error)
- func (_m *Repositories) GetCommitRaw(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 github.RawOptions) (string, *github.Response, error)
- func (_m *Repositories) GetCommitSHA1(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string) (string, *github.Response, error)
- func (_m *Repositories) GetCommunityHealthMetrics(_a0 context.Context, _a1 string, _a2 string) (*github.CommunityHealthMetrics, *github.Response, error)
- func (_m *Repositories) GetContents(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
- func (_m *Repositories) GetDeployment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Deployment, *github.Response, error)
- func (_m *Repositories) GetDeploymentStatus(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 int64) (*github.DeploymentStatus, *github.Response, error)
- func (_m *Repositories) GetHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Hook, *github.Response, error)
- func (_m *Repositories) GetKey(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Key, *github.Response, error)
- func (_m *Repositories) GetLatestPagesBuild(_a0 context.Context, _a1 string, _a2 string) (*github.PagesBuild, *github.Response, error)
- func (_m *Repositories) GetLatestRelease(_a0 context.Context, _a1 string, _a2 string) (*github.RepositoryRelease, *github.Response, error)
- func (_m *Repositories) GetPageBuild(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.PagesBuild, *github.Response, error)
- func (_m *Repositories) GetPagesInfo(_a0 context.Context, _a1 string, _a2 string) (*github.Pages, *github.Response, error)
- func (_m *Repositories) GetPermissionLevel(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryPermissionLevel, *github.Response, error)
- func (_m *Repositories) GetPreReceiveHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.PreReceiveHook, *github.Response, error)
- func (_m *Repositories) GetPullRequestReviewEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (_m *Repositories) GetReadme(_a0 context.Context, _a1 string, _a2 string, ...) (*github.RepositoryContent, *github.Response, error)
- func (_m *Repositories) GetRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.RepositoryRelease, *github.Response, error)
- func (_m *Repositories) GetReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.ReleaseAsset, *github.Response, error)
- func (_m *Repositories) GetReleaseByTag(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryRelease, *github.Response, error)
- func (_m *Repositories) GetRequiredStatusChecks(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RequiredStatusChecks, *github.Response, error)
- func (_m *Repositories) GetSignaturesProtectedBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.SignaturesProtectedBranch, *github.Response, error)
- func (_m *Repositories) GetVulnerabilityAlerts(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)
- func (_m *Repositories) IsCollaborator(_a0 context.Context, _a1 string, _a2 string, _a3 string) (bool, *github.Response, error)
- func (_m *Repositories) License(_a0 context.Context, _a1 string, _a2 string) (*github.RepositoryLicense, *github.Response, error)
- func (_m *Repositories) List(_a0 context.Context, _a1 string, _a2 *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error)
- func (_m *Repositories) ListAll(_a0 context.Context, _a1 *github.RepositoryListAllOptions) ([]*github.Repository, *github.Response, error)
- func (_m *Repositories) ListAllTopics(_a0 context.Context, _a1 string, _a2 string) ([]string, *github.Response, error)
- func (_m *Repositories) ListApps(_a0 context.Context, _a1 string, _a2 string, _a3 string) ([]*github.App, *github.Response, error)
- func (_m *Repositories) ListBranches(_a0 context.Context, _a1 string, _a2 string, _a3 *github.BranchListOptions) ([]*github.Branch, *github.Response, error)
- func (_m *Repositories) ListBranchesHeadCommit(_a0 context.Context, _a1 string, _a2 string, _a3 string) ([]*github.BranchCommit, *github.Response, error)
- func (_m *Repositories) ListByOrg(_a0 context.Context, _a1 string, _a2 *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
- func (_m *Repositories) ListCodeFrequency(_a0 context.Context, _a1 string, _a2 string) ([]*github.WeeklyStats, *github.Response, error)
- func (_m *Repositories) ListCollaborators(_a0 context.Context, _a1 string, _a2 string, ...) ([]*github.User, *github.Response, error)
- func (_m *Repositories) ListComments(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
- func (_m *Repositories) ListCommitActivity(_a0 context.Context, _a1 string, _a2 string) ([]*github.WeeklyCommitActivity, *github.Response, error)
- func (_m *Repositories) ListCommitComments(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) ([]*github.RepositoryComment, *github.Response, error)
- func (_m *Repositories) ListCommits(_a0 context.Context, _a1 string, _a2 string, _a3 *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
- func (_m *Repositories) ListContributors(_a0 context.Context, _a1 string, _a2 string, ...) ([]*github.Contributor, *github.Response, error)
- func (_m *Repositories) ListContributorsStats(_a0 context.Context, _a1 string, _a2 string) ([]*github.ContributorStats, *github.Response, error)
- func (_m *Repositories) ListDeploymentStatuses(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) ([]*github.DeploymentStatus, *github.Response, error)
- func (_m *Repositories) ListDeployments(_a0 context.Context, _a1 string, _a2 string, ...) ([]*github.Deployment, *github.Response, error)
- func (_m *Repositories) ListForks(_a0 context.Context, _a1 string, _a2 string, ...) ([]*github.Repository, *github.Response, error)
- func (_m *Repositories) ListHooks(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Hook, *github.Response, error)
- func (_m *Repositories) ListInvitations(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
- func (_m *Repositories) ListKeys(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Key, *github.Response, error)
- func (_m *Repositories) ListLanguages(_a0 context.Context, _a1 string, _a2 string) (map[string]int, *github.Response, error)
- func (_m *Repositories) ListPagesBuilds(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.PagesBuild, *github.Response, error)
- func (_m *Repositories) ListParticipation(_a0 context.Context, _a1 string, _a2 string) (*github.RepositoryParticipation, *github.Response, error)
- func (_m *Repositories) ListPreReceiveHooks(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error)
- func (_m *Repositories) ListProjects(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
- func (_m *Repositories) ListPunchCard(_a0 context.Context, _a1 string, _a2 string) ([]*github.PunchCard, *github.Response, error)
- func (_m *Repositories) ListReleaseAssets(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) ([]*github.ReleaseAsset, *github.Response, error)
- func (_m *Repositories) ListReleases(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
- func (_m *Repositories) ListRequiredStatusChecksContexts(_a0 context.Context, _a1 string, _a2 string, _a3 string) ([]string, *github.Response, error)
- func (_m *Repositories) ListStatuses(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) ([]*github.RepoStatus, *github.Response, error)
- func (_m *Repositories) ListTags(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
- func (_m *Repositories) ListTeams(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (_m *Repositories) ListTrafficClones(_a0 context.Context, _a1 string, _a2 string, ...) (*github.TrafficClones, *github.Response, error)
- func (_m *Repositories) ListTrafficPaths(_a0 context.Context, _a1 string, _a2 string) ([]*github.TrafficPath, *github.Response, error)
- func (_m *Repositories) ListTrafficReferrers(_a0 context.Context, _a1 string, _a2 string) ([]*github.TrafficReferrer, *github.Response, error)
- func (_m *Repositories) ListTrafficViews(_a0 context.Context, _a1 string, _a2 string, ...) (*github.TrafficViews, *github.Response, error)
- func (_m *Repositories) Merge(_a0 context.Context, _a1 string, _a2 string, ...) (*github.RepositoryCommit, *github.Response, error)
- func (_m *Repositories) OptionalSignaturesOnProtectedBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *Repositories) PingHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) RemoveAdminEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *Repositories) RemoveAppRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 []string) ([]*github.App, *github.Response, error)
- func (_m *Repositories) RemoveBranchProtection(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *Repositories) RemoveCollaborator(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *Repositories) RemovePullRequestReviewEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *Repositories) RemoveRequiredStatusChecks(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *Repositories) ReplaceAllTopics(_a0 context.Context, _a1 string, _a2 string, _a3 []string) ([]string, *github.Response, error)
- func (_m *Repositories) ReplaceAppRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 []string) ([]*github.App, *github.Response, error)
- func (_m *Repositories) RequestPageBuild(_a0 context.Context, _a1 string, _a2 string) (*github.PagesBuild, *github.Response, error)
- func (_m *Repositories) RequireSignaturesOnProtectedBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.SignaturesProtectedBranch, *github.Response, error)
- func (_m *Repositories) TestHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *Repositories) Transfer(_a0 context.Context, _a1 string, _a2 string, _a3 github.TransferRequest) (*github.Repository, *github.Response, error)
- func (_m *Repositories) UpdateBranchProtection(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.Protection, *github.Response, error)
- func (_m *Repositories) UpdateComment(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.RepositoryComment, *github.Response, error)
- func (_m *Repositories) UpdateFile(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RepositoryContentResponse, *github.Response, error)
- func (_m *Repositories) UpdateInvitation(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 string) (*github.RepositoryInvitation, *github.Response, error)
- func (_m *Repositories) UpdatePages(_a0 context.Context, _a1 string, _a2 string, _a3 *github.PagesUpdate) (*github.Response, error)
- func (_m *Repositories) UpdatePreReceiveHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.PreReceiveHook, *github.Response, error)
- func (_m *Repositories) UpdatePullRequestReviewEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (_m *Repositories) UpdateRequiredStatusChecks(_a0 context.Context, _a1 string, _a2 string, _a3 string, ...) (*github.RequiredStatusChecks, *github.Response, error)
- func (_m *Repositories) UploadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.ReleaseAsset, *github.Response, error)
- type Users
- func (_m *Users) AcceptInvitation(_a0 context.Context, _a1 int64) (*github.Response, error)
- func (_m *Users) AddEmails(_a0 context.Context, _a1 []string) ([]*github.UserEmail, *github.Response, error)
- func (_m *Users) BlockUser(_a0 context.Context, _a1 string) (*github.Response, error)
- func (_m *Users) CreateGPGKey(_a0 context.Context, _a1 string) (*github.GPGKey, *github.Response, error)
- func (_m *Users) CreateKey(_a0 context.Context, _a1 *github.Key) (*github.Key, *github.Response, error)
- func (_m *Users) CreateProject(_a0 context.Context, _a1 *github.CreateUserProjectOptions) (*github.Project, *github.Response, error)
- func (_m *Users) DeclineInvitation(_a0 context.Context, _a1 int64) (*github.Response, error)
- func (_m *Users) DeleteEmails(_a0 context.Context, _a1 []string) (*github.Response, error)
- func (_m *Users) DeleteGPGKey(_a0 context.Context, _a1 int64) (*github.Response, error)
- func (_m *Users) DeleteKey(_a0 context.Context, _a1 int64) (*github.Response, error)
- func (_m *Users) DemoteSiteAdmin(_a0 context.Context, _a1 string) (*github.Response, error)
- func (_m *Users) Edit(_a0 context.Context, _a1 *github.User) (*github.User, *github.Response, error)
- func (_m *Users) Follow(_a0 context.Context, _a1 string) (*github.Response, error)
- func (_m *Users) Get(_a0 context.Context, _a1 string) (*github.User, *github.Response, error)
- func (_m *Users) GetByID(_a0 context.Context, _a1 int64) (*github.User, *github.Response, error)
- func (_m *Users) GetGPGKey(_a0 context.Context, _a1 int64) (*github.GPGKey, *github.Response, error)
- func (_m *Users) GetHovercard(_a0 context.Context, _a1 string, _a2 *github.HovercardOptions) (*github.Hovercard, *github.Response, error)
- func (_m *Users) GetKey(_a0 context.Context, _a1 int64) (*github.Key, *github.Response, error)
- func (_m *Users) IsBlocked(_a0 context.Context, _a1 string) (bool, *github.Response, error)
- func (_m *Users) IsFollowing(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)
- func (_m *Users) ListAll(_a0 context.Context, _a1 *github.UserListOptions) ([]*github.User, *github.Response, error)
- func (_m *Users) ListBlockedUsers(_a0 context.Context, _a1 *github.ListOptions) ([]*github.User, *github.Response, error)
- func (_m *Users) ListEmails(_a0 context.Context, _a1 *github.ListOptions) ([]*github.UserEmail, *github.Response, error)
- func (_m *Users) ListFollowers(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.User, *github.Response, error)
- func (_m *Users) ListFollowing(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.User, *github.Response, error)
- func (_m *Users) ListGPGKeys(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.GPGKey, *github.Response, error)
- func (_m *Users) ListInvitations(_a0 context.Context, _a1 *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
- func (_m *Users) ListKeys(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.Key, *github.Response, error)
- func (_m *Users) ListProjects(_a0 context.Context, _a1 string, _a2 *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
- func (_m *Users) PromoteSiteAdmin(_a0 context.Context, _a1 string) (*github.Response, error)
- func (_m *Users) Suspend(_a0 context.Context, _a1 string, _a2 *github.UserSuspendOptions) (*github.Response, error)
- func (_m *Users) UnblockUser(_a0 context.Context, _a1 string) (*github.Response, error)
- func (_m *Users) Unfollow(_a0 context.Context, _a1 string) (*github.Response, error)
- func (_m *Users) Unsuspend(_a0 context.Context, _a1 string) (*github.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repositories ¶
Repositories is an autogenerated mock type for the Repositories type
func (*Repositories) AddAdminEnforcement ¶
func (_m *Repositories) AddAdminEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.AdminEnforcement, *github.Response, error)
AddAdminEnforcement provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) AddAppRestrictions ¶
func (_m *Repositories) AddAppRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 []string) ([]*github.App, *github.Response, error)
AddAppRestrictions provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) AddCollaborator ¶
func (_m *Repositories) AddCollaborator(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryAddCollaboratorOptions) (*github.CollaboratorInvitation, *github.Response, error)
AddCollaborator provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) CompareCommits ¶
func (_m *Repositories) CompareCommits(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string) (*github.CommitsComparison, *github.Response, error)
CompareCommits provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) CompareCommitsRaw ¶
func (_m *Repositories) CompareCommitsRaw(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string, _a5 github.RawOptions) (string, *github.Response, error)
CompareCommitsRaw provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5
func (*Repositories) Create ¶
func (_m *Repositories) Create(_a0 context.Context, _a1 string, _a2 *github.Repository) (*github.Repository, *github.Response, error)
Create provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) CreateComment ¶
func (_m *Repositories) CreateComment(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
CreateComment provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) CreateDeployment ¶
func (_m *Repositories) CreateDeployment(_a0 context.Context, _a1 string, _a2 string, _a3 *github.DeploymentRequest) (*github.Deployment, *github.Response, error)
CreateDeployment provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateDeploymentStatus ¶
func (_m *Repositories) CreateDeploymentStatus(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.DeploymentStatusRequest) (*github.DeploymentStatus, *github.Response, error)
CreateDeploymentStatus provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) CreateFile ¶
func (_m *Repositories) CreateFile(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
CreateFile provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) CreateFork ¶
func (_m *Repositories) CreateFork(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryCreateForkOptions) (*github.Repository, *github.Response, error)
CreateFork provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateFromTemplate ¶
func (_m *Repositories) CreateFromTemplate(_a0 context.Context, _a1 string, _a2 string, _a3 *github.TemplateRepoRequest) (*github.Repository, *github.Response, error)
CreateFromTemplate provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateHook ¶
func (_m *Repositories) CreateHook(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Hook) (*github.Hook, *github.Response, error)
CreateHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateKey ¶
func (_m *Repositories) CreateKey(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Key) (*github.Key, *github.Response, error)
CreateKey provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateProject ¶
func (_m *Repositories) CreateProject(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ProjectOptions) (*github.Project, *github.Response, error)
CreateProject provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateRelease ¶
func (_m *Repositories) CreateRelease(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
CreateRelease provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) CreateStatus ¶
func (_m *Repositories) CreateStatus(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
CreateStatus provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) Delete ¶
func (_m *Repositories) Delete(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
Delete provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) DeleteComment ¶
func (_m *Repositories) DeleteComment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteComment provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeleteDeployment ¶
func (_m *Repositories) DeleteDeployment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteDeployment provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeleteFile ¶
func (_m *Repositories) DeleteFile(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
DeleteFile provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) DeleteHook ¶
func (_m *Repositories) DeleteHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeleteInvitation ¶
func (_m *Repositories) DeleteInvitation(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteInvitation provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeleteKey ¶
func (_m *Repositories) DeleteKey(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteKey provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeletePreReceiveHook ¶
func (_m *Repositories) DeletePreReceiveHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeletePreReceiveHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeleteRelease ¶
func (_m *Repositories) DeleteRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteRelease provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DeleteReleaseAsset ¶
func (_m *Repositories) DeleteReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DisableAutomatedSecurityFixes ¶
func (_m *Repositories) DisableAutomatedSecurityFixes(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
DisableAutomatedSecurityFixes provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) DisableDismissalRestrictions ¶
func (_m *Repositories) DisableDismissalRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
DisableDismissalRestrictions provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DisablePages ¶
func (_m *Repositories) DisablePages(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
DisablePages provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) DisableVulnerabilityAlerts ¶
func (_m *Repositories) DisableVulnerabilityAlerts(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
DisableVulnerabilityAlerts provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) Dispatch ¶
func (_m *Repositories) Dispatch(_a0 context.Context, _a1 string, _a2 string, _a3 github.DispatchRequestOptions) (*github.Repository, *github.Response, error)
Dispatch provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) DownloadContents ¶
func (_m *Repositories) DownloadContents(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryContentGetOptions) (io.ReadCloser, *github.Response, error)
DownloadContents provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) DownloadContentsWithMeta ¶
func (_m *Repositories) DownloadContentsWithMeta(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryContentGetOptions) (io.ReadCloser, *github.RepositoryContent, *github.Response, error)
DownloadContentsWithMeta provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) DownloadReleaseAsset ¶
func (_m *Repositories) DownloadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *http.Client) (io.ReadCloser, string, error)
DownloadReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) Edit ¶
func (_m *Repositories) Edit(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Repository) (*github.Repository, *github.Response, error)
Edit provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) EditHook ¶
func (_m *Repositories) EditHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.Hook) (*github.Hook, *github.Response, error)
EditHook provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) EditRelease ¶
func (_m *Repositories) EditRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
EditRelease provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) EditReleaseAsset ¶
func (_m *Repositories) EditReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.ReleaseAsset) (*github.ReleaseAsset, *github.Response, error)
EditReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) EnableAutomatedSecurityFixes ¶
func (_m *Repositories) EnableAutomatedSecurityFixes(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
EnableAutomatedSecurityFixes provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) EnablePages ¶
func (_m *Repositories) EnablePages(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Pages) (*github.Pages, *github.Response, error)
EnablePages provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) EnableVulnerabilityAlerts ¶
func (_m *Repositories) EnableVulnerabilityAlerts(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)
EnableVulnerabilityAlerts provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) Get ¶
func (_m *Repositories) Get(_a0 context.Context, _a1 string, _a2 string) (*github.Repository, *github.Response, error)
Get provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) GetAdminEnforcement ¶
func (_m *Repositories) GetAdminEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.AdminEnforcement, *github.Response, error)
GetAdminEnforcement provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetArchiveLink ¶
func (_m *Repositories) GetArchiveLink(_a0 context.Context, _a1 string, _a2 string, _a3 github.ArchiveFormat, _a4 *github.RepositoryContentGetOptions, _a5 bool) (*url.URL, *github.Response, error)
GetArchiveLink provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5
func (*Repositories) GetBranch ¶
func (_m *Repositories) GetBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Branch, *github.Response, error)
GetBranch provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetBranchProtection ¶
func (_m *Repositories) GetBranchProtection(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Protection, *github.Response, error)
GetBranchProtection provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetByID ¶
func (_m *Repositories) GetByID(_a0 context.Context, _a1 int64) (*github.Repository, *github.Response, error)
GetByID provides a mock function with given fields: _a0, _a1
func (*Repositories) GetCodeOfConduct ¶
func (_m *Repositories) GetCodeOfConduct(_a0 context.Context, _a1 string, _a2 string) (*github.CodeOfConduct, *github.Response, error)
GetCodeOfConduct provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) GetCombinedStatus ¶
func (_m *Repositories) GetCombinedStatus(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
GetCombinedStatus provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) GetComment ¶
func (_m *Repositories) GetComment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.RepositoryComment, *github.Response, error)
GetComment provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetCommit ¶
func (_m *Repositories) GetCommit(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryCommit, *github.Response, error)
GetCommit provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetCommitRaw ¶
func (_m *Repositories) GetCommitRaw(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 github.RawOptions) (string, *github.Response, error)
GetCommitRaw provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) GetCommitSHA1 ¶
func (_m *Repositories) GetCommitSHA1(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string) (string, *github.Response, error)
GetCommitSHA1 provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) GetCommunityHealthMetrics ¶
func (_m *Repositories) GetCommunityHealthMetrics(_a0 context.Context, _a1 string, _a2 string) (*github.CommunityHealthMetrics, *github.Response, error)
GetCommunityHealthMetrics provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) GetContents ¶
func (_m *Repositories) GetContents(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) GetDeployment ¶
func (_m *Repositories) GetDeployment(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Deployment, *github.Response, error)
GetDeployment provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetDeploymentStatus ¶
func (_m *Repositories) GetDeploymentStatus(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 int64) (*github.DeploymentStatus, *github.Response, error)
GetDeploymentStatus provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) GetHook ¶
func (_m *Repositories) GetHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Hook, *github.Response, error)
GetHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetKey ¶
func (_m *Repositories) GetKey(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Key, *github.Response, error)
GetKey provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetLatestPagesBuild ¶
func (_m *Repositories) GetLatestPagesBuild(_a0 context.Context, _a1 string, _a2 string) (*github.PagesBuild, *github.Response, error)
GetLatestPagesBuild provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) GetLatestRelease ¶
func (_m *Repositories) GetLatestRelease(_a0 context.Context, _a1 string, _a2 string) (*github.RepositoryRelease, *github.Response, error)
GetLatestRelease provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) GetPageBuild ¶
func (_m *Repositories) GetPageBuild(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.PagesBuild, *github.Response, error)
GetPageBuild provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetPagesInfo ¶
func (_m *Repositories) GetPagesInfo(_a0 context.Context, _a1 string, _a2 string) (*github.Pages, *github.Response, error)
GetPagesInfo provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) GetPermissionLevel ¶
func (_m *Repositories) GetPermissionLevel(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryPermissionLevel, *github.Response, error)
GetPermissionLevel provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetPreReceiveHook ¶
func (_m *Repositories) GetPreReceiveHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.PreReceiveHook, *github.Response, error)
GetPreReceiveHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetPullRequestReviewEnforcement ¶
func (_m *Repositories) GetPullRequestReviewEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
GetPullRequestReviewEnforcement provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetReadme ¶
func (_m *Repositories) GetReadme(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryContentGetOptions) (*github.RepositoryContent, *github.Response, error)
GetReadme provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetRelease ¶
func (_m *Repositories) GetRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.RepositoryRelease, *github.Response, error)
GetRelease provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetReleaseAsset ¶
func (_m *Repositories) GetReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.ReleaseAsset, *github.Response, error)
GetReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetReleaseByTag ¶
func (_m *Repositories) GetReleaseByTag(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryRelease, *github.Response, error)
GetReleaseByTag provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetRequiredStatusChecks ¶
func (_m *Repositories) GetRequiredStatusChecks(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RequiredStatusChecks, *github.Response, error)
GetRequiredStatusChecks provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetSignaturesProtectedBranch ¶
func (_m *Repositories) GetSignaturesProtectedBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.SignaturesProtectedBranch, *github.Response, error)
GetSignaturesProtectedBranch provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) GetVulnerabilityAlerts ¶
func (_m *Repositories) GetVulnerabilityAlerts(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)
GetVulnerabilityAlerts provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) IsCollaborator ¶
func (_m *Repositories) IsCollaborator(_a0 context.Context, _a1 string, _a2 string, _a3 string) (bool, *github.Response, error)
IsCollaborator provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) License ¶
func (_m *Repositories) License(_a0 context.Context, _a1 string, _a2 string) (*github.RepositoryLicense, *github.Response, error)
License provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) List ¶
func (_m *Repositories) List(_a0 context.Context, _a1 string, _a2 *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error)
List provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListAll ¶
func (_m *Repositories) ListAll(_a0 context.Context, _a1 *github.RepositoryListAllOptions) ([]*github.Repository, *github.Response, error)
ListAll provides a mock function with given fields: _a0, _a1
func (*Repositories) ListAllTopics ¶
func (_m *Repositories) ListAllTopics(_a0 context.Context, _a1 string, _a2 string) ([]string, *github.Response, error)
ListAllTopics provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListApps ¶
func (_m *Repositories) ListApps(_a0 context.Context, _a1 string, _a2 string, _a3 string) ([]*github.App, *github.Response, error)
ListApps provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListBranches ¶
func (_m *Repositories) ListBranches(_a0 context.Context, _a1 string, _a2 string, _a3 *github.BranchListOptions) ([]*github.Branch, *github.Response, error)
ListBranches provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListBranchesHeadCommit ¶
func (_m *Repositories) ListBranchesHeadCommit(_a0 context.Context, _a1 string, _a2 string, _a3 string) ([]*github.BranchCommit, *github.Response, error)
ListBranchesHeadCommit provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListByOrg ¶
func (_m *Repositories) ListByOrg(_a0 context.Context, _a1 string, _a2 *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
ListByOrg provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListCodeFrequency ¶
func (_m *Repositories) ListCodeFrequency(_a0 context.Context, _a1 string, _a2 string) ([]*github.WeeklyStats, *github.Response, error)
ListCodeFrequency provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListCollaborators ¶
func (_m *Repositories) ListCollaborators(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListCollaboratorsOptions) ([]*github.User, *github.Response, error)
ListCollaborators provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListComments ¶
func (_m *Repositories) ListComments(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
ListComments provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListCommitActivity ¶
func (_m *Repositories) ListCommitActivity(_a0 context.Context, _a1 string, _a2 string) ([]*github.WeeklyCommitActivity, *github.Response, error)
ListCommitActivity provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListCommitComments ¶
func (_m *Repositories) ListCommitComments(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
ListCommitComments provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) ListCommits ¶
func (_m *Repositories) ListCommits(_a0 context.Context, _a1 string, _a2 string, _a3 *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
ListCommits provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListContributors ¶
func (_m *Repositories) ListContributors(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListContributorsOptions) ([]*github.Contributor, *github.Response, error)
ListContributors provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListContributorsStats ¶
func (_m *Repositories) ListContributorsStats(_a0 context.Context, _a1 string, _a2 string) ([]*github.ContributorStats, *github.Response, error)
ListContributorsStats provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListDeploymentStatuses ¶
func (_m *Repositories) ListDeploymentStatuses(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.ListOptions) ([]*github.DeploymentStatus, *github.Response, error)
ListDeploymentStatuses provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) ListDeployments ¶
func (_m *Repositories) ListDeployments(_a0 context.Context, _a1 string, _a2 string, _a3 *github.DeploymentsListOptions) ([]*github.Deployment, *github.Response, error)
ListDeployments provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListForks ¶
func (_m *Repositories) ListForks(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryListForksOptions) ([]*github.Repository, *github.Response, error)
ListForks provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListHooks ¶
func (_m *Repositories) ListHooks(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Hook, *github.Response, error)
ListHooks provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListInvitations ¶
func (_m *Repositories) ListInvitations(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
ListInvitations provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListKeys ¶
func (_m *Repositories) ListKeys(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Key, *github.Response, error)
ListKeys provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListLanguages ¶
func (_m *Repositories) ListLanguages(_a0 context.Context, _a1 string, _a2 string) (map[string]int, *github.Response, error)
ListLanguages provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListPagesBuilds ¶
func (_m *Repositories) ListPagesBuilds(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.PagesBuild, *github.Response, error)
ListPagesBuilds provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListParticipation ¶
func (_m *Repositories) ListParticipation(_a0 context.Context, _a1 string, _a2 string) (*github.RepositoryParticipation, *github.Response, error)
ListParticipation provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListPreReceiveHooks ¶
func (_m *Repositories) ListPreReceiveHooks(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error)
ListPreReceiveHooks provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListProjects ¶
func (_m *Repositories) ListProjects(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
ListProjects provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListPunchCard ¶
func (_m *Repositories) ListPunchCard(_a0 context.Context, _a1 string, _a2 string) ([]*github.PunchCard, *github.Response, error)
ListPunchCard provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListReleaseAssets ¶
func (_m *Repositories) ListReleaseAssets(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
ListReleaseAssets provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) ListReleases ¶
func (_m *Repositories) ListReleases(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
ListReleases provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListRequiredStatusChecksContexts ¶
func (_m *Repositories) ListRequiredStatusChecksContexts(_a0 context.Context, _a1 string, _a2 string, _a3 string) ([]string, *github.Response, error)
ListRequiredStatusChecksContexts provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListStatuses ¶
func (_m *Repositories) ListStatuses(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
ListStatuses provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) ListTags ¶
func (_m *Repositories) ListTags(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
ListTags provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListTeams ¶
func (_m *Repositories) ListTeams(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Team, *github.Response, error)
ListTeams provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListTrafficClones ¶
func (_m *Repositories) ListTrafficClones(_a0 context.Context, _a1 string, _a2 string, _a3 *github.TrafficBreakdownOptions) (*github.TrafficClones, *github.Response, error)
ListTrafficClones provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ListTrafficPaths ¶
func (_m *Repositories) ListTrafficPaths(_a0 context.Context, _a1 string, _a2 string) ([]*github.TrafficPath, *github.Response, error)
ListTrafficPaths provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListTrafficReferrers ¶
func (_m *Repositories) ListTrafficReferrers(_a0 context.Context, _a1 string, _a2 string) ([]*github.TrafficReferrer, *github.Response, error)
ListTrafficReferrers provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) ListTrafficViews ¶
func (_m *Repositories) ListTrafficViews(_a0 context.Context, _a1 string, _a2 string, _a3 *github.TrafficBreakdownOptions) (*github.TrafficViews, *github.Response, error)
ListTrafficViews provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) Merge ¶
func (_m *Repositories) Merge(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryMergeRequest) (*github.RepositoryCommit, *github.Response, error)
Merge provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) OptionalSignaturesOnProtectedBranch ¶
func (_m *Repositories) OptionalSignaturesOnProtectedBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
OptionalSignaturesOnProtectedBranch provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) PingHook ¶
func (_m *Repositories) PingHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
PingHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) RemoveAdminEnforcement ¶
func (_m *Repositories) RemoveAdminEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
RemoveAdminEnforcement provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) RemoveAppRestrictions ¶
func (_m *Repositories) RemoveAppRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 []string) ([]*github.App, *github.Response, error)
RemoveAppRestrictions provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) RemoveBranchProtection ¶
func (_m *Repositories) RemoveBranchProtection(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
RemoveBranchProtection provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) RemoveCollaborator ¶
func (_m *Repositories) RemoveCollaborator(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
RemoveCollaborator provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) RemovePullRequestReviewEnforcement ¶
func (_m *Repositories) RemovePullRequestReviewEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
RemovePullRequestReviewEnforcement provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) RemoveRequiredStatusChecks ¶
func (_m *Repositories) RemoveRequiredStatusChecks(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
RemoveRequiredStatusChecks provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ReplaceAllTopics ¶
func (_m *Repositories) ReplaceAllTopics(_a0 context.Context, _a1 string, _a2 string, _a3 []string) ([]string, *github.Response, error)
ReplaceAllTopics provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) ReplaceAppRestrictions ¶
func (_m *Repositories) ReplaceAppRestrictions(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 []string) ([]*github.App, *github.Response, error)
ReplaceAppRestrictions provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) RequestPageBuild ¶
func (_m *Repositories) RequestPageBuild(_a0 context.Context, _a1 string, _a2 string) (*github.PagesBuild, *github.Response, error)
RequestPageBuild provides a mock function with given fields: _a0, _a1, _a2
func (*Repositories) RequireSignaturesOnProtectedBranch ¶
func (_m *Repositories) RequireSignaturesOnProtectedBranch(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.SignaturesProtectedBranch, *github.Response, error)
RequireSignaturesOnProtectedBranch provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) TestHook ¶
func (_m *Repositories) TestHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
TestHook provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) Transfer ¶
func (_m *Repositories) Transfer(_a0 context.Context, _a1 string, _a2 string, _a3 github.TransferRequest) (*github.Repository, *github.Response, error)
Transfer provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) UpdateBranchProtection ¶
func (_m *Repositories) UpdateBranchProtection(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.ProtectionRequest) (*github.Protection, *github.Response, error)
UpdateBranchProtection provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UpdateComment ¶
func (_m *Repositories) UpdateComment(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
UpdateComment provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UpdateFile ¶
func (_m *Repositories) UpdateFile(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
UpdateFile provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UpdateInvitation ¶
func (_m *Repositories) UpdateInvitation(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 string) (*github.RepositoryInvitation, *github.Response, error)
UpdateInvitation provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UpdatePages ¶
func (_m *Repositories) UpdatePages(_a0 context.Context, _a1 string, _a2 string, _a3 *github.PagesUpdate) (*github.Response, error)
UpdatePages provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Repositories) UpdatePreReceiveHook ¶
func (_m *Repositories) UpdatePreReceiveHook(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.PreReceiveHook) (*github.PreReceiveHook, *github.Response, error)
UpdatePreReceiveHook provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UpdatePullRequestReviewEnforcement ¶
func (_m *Repositories) UpdatePullRequestReviewEnforcement(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.PullRequestReviewsEnforcementUpdate) (*github.PullRequestReviewsEnforcement, *github.Response, error)
UpdatePullRequestReviewEnforcement provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UpdateRequiredStatusChecks ¶
func (_m *Repositories) UpdateRequiredStatusChecks(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.RequiredStatusChecksRequest) (*github.RequiredStatusChecks, *github.Response, error)
UpdateRequiredStatusChecks provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Repositories) UploadReleaseAsset ¶
func (_m *Repositories) UploadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.UploadOptions, _a5 *os.File) (*github.ReleaseAsset, *github.Response, error)
UploadReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5
type Users ¶
Users is an autogenerated mock type for the Users type
func (*Users) AcceptInvitation ¶
AcceptInvitation provides a mock function with given fields: _a0, _a1
func (*Users) AddEmails ¶
func (_m *Users) AddEmails(_a0 context.Context, _a1 []string) ([]*github.UserEmail, *github.Response, error)
AddEmails provides a mock function with given fields: _a0, _a1
func (*Users) CreateGPGKey ¶
func (_m *Users) CreateGPGKey(_a0 context.Context, _a1 string) (*github.GPGKey, *github.Response, error)
CreateGPGKey provides a mock function with given fields: _a0, _a1
func (*Users) CreateKey ¶
func (_m *Users) CreateKey(_a0 context.Context, _a1 *github.Key) (*github.Key, *github.Response, error)
CreateKey provides a mock function with given fields: _a0, _a1
func (*Users) CreateProject ¶
func (_m *Users) CreateProject(_a0 context.Context, _a1 *github.CreateUserProjectOptions) (*github.Project, *github.Response, error)
CreateProject provides a mock function with given fields: _a0, _a1
func (*Users) DeclineInvitation ¶
DeclineInvitation provides a mock function with given fields: _a0, _a1
func (*Users) DeleteEmails ¶
DeleteEmails provides a mock function with given fields: _a0, _a1
func (*Users) DeleteGPGKey ¶
DeleteGPGKey provides a mock function with given fields: _a0, _a1
func (*Users) DemoteSiteAdmin ¶
DemoteSiteAdmin provides a mock function with given fields: _a0, _a1
func (*Users) Edit ¶
func (_m *Users) Edit(_a0 context.Context, _a1 *github.User) (*github.User, *github.Response, error)
Edit provides a mock function with given fields: _a0, _a1
func (*Users) GetGPGKey ¶
func (_m *Users) GetGPGKey(_a0 context.Context, _a1 int64) (*github.GPGKey, *github.Response, error)
GetGPGKey provides a mock function with given fields: _a0, _a1
func (*Users) GetHovercard ¶
func (_m *Users) GetHovercard(_a0 context.Context, _a1 string, _a2 *github.HovercardOptions) (*github.Hovercard, *github.Response, error)
GetHovercard provides a mock function with given fields: _a0, _a1, _a2
func (*Users) IsFollowing ¶
func (_m *Users) IsFollowing(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)
IsFollowing provides a mock function with given fields: _a0, _a1, _a2
func (*Users) ListAll ¶
func (_m *Users) ListAll(_a0 context.Context, _a1 *github.UserListOptions) ([]*github.User, *github.Response, error)
ListAll provides a mock function with given fields: _a0, _a1
func (*Users) ListBlockedUsers ¶
func (_m *Users) ListBlockedUsers(_a0 context.Context, _a1 *github.ListOptions) ([]*github.User, *github.Response, error)
ListBlockedUsers provides a mock function with given fields: _a0, _a1
func (*Users) ListEmails ¶
func (_m *Users) ListEmails(_a0 context.Context, _a1 *github.ListOptions) ([]*github.UserEmail, *github.Response, error)
ListEmails provides a mock function with given fields: _a0, _a1
func (*Users) ListFollowers ¶
func (_m *Users) ListFollowers(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.User, *github.Response, error)
ListFollowers provides a mock function with given fields: _a0, _a1, _a2
func (*Users) ListFollowing ¶
func (_m *Users) ListFollowing(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.User, *github.Response, error)
ListFollowing provides a mock function with given fields: _a0, _a1, _a2
func (*Users) ListGPGKeys ¶
func (_m *Users) ListGPGKeys(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.GPGKey, *github.Response, error)
ListGPGKeys provides a mock function with given fields: _a0, _a1, _a2
func (*Users) ListInvitations ¶
func (_m *Users) ListInvitations(_a0 context.Context, _a1 *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
ListInvitations provides a mock function with given fields: _a0, _a1
func (*Users) ListKeys ¶
func (_m *Users) ListKeys(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.Key, *github.Response, error)
ListKeys provides a mock function with given fields: _a0, _a1, _a2
func (*Users) ListProjects ¶
func (_m *Users) ListProjects(_a0 context.Context, _a1 string, _a2 *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
ListProjects provides a mock function with given fields: _a0, _a1, _a2
func (*Users) PromoteSiteAdmin ¶
PromoteSiteAdmin provides a mock function with given fields: _a0, _a1
func (*Users) Suspend ¶
func (_m *Users) Suspend(_a0 context.Context, _a1 string, _a2 *github.UserSuspendOptions) (*github.Response, error)
Suspend provides a mock function with given fields: _a0, _a1, _a2
func (*Users) UnblockUser ¶
UnblockUser provides a mock function with given fields: _a0, _a1