mocks

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Organizations added in v0.2.2

type Organizations struct {
	mock.Mock
}

Organizations is an autogenerated mock type for the Organizations type

func (*Organizations) BlockUser added in v0.2.2

func (_m *Organizations) BlockUser(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

BlockUser provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ConcealMembership added in v0.2.2

func (_m *Organizations) ConcealMembership(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

ConcealMembership provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ConvertMemberToOutsideCollaborator added in v0.2.2

func (_m *Organizations) ConvertMemberToOutsideCollaborator(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

ConvertMemberToOutsideCollaborator provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) CreateHook added in v0.2.2

func (_m *Organizations) CreateHook(_a0 context.Context, _a1 string, _a2 *github.Hook) (*github.Hook, *github.Response, error)

CreateHook provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) CreateOrgInvitation added in v0.2.2

CreateOrgInvitation provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) CreateProject added in v0.2.2

func (_m *Organizations) CreateProject(_a0 context.Context, _a1 string, _a2 *github.ProjectOptions) (*github.Project, *github.Response, error)

CreateProject provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) DeleteHook added in v0.2.2

func (_m *Organizations) DeleteHook(_a0 context.Context, _a1 string, _a2 int64) (*github.Response, error)

DeleteHook provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) Edit added in v0.2.2

Edit provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) EditActionsAllowed added in v0.2.2

func (_m *Organizations) EditActionsAllowed(_a0 context.Context, _a1 string, _a2 github.ActionsAllowed) (*github.ActionsAllowed, *github.Response, error)

EditActionsAllowed provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) EditActionsPermissions added in v0.2.2

func (_m *Organizations) EditActionsPermissions(_a0 context.Context, _a1 string, _a2 github.ActionsPermissions) (*github.ActionsPermissions, *github.Response, error)

EditActionsPermissions provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) EditHook added in v0.2.2

func (_m *Organizations) EditHook(_a0 context.Context, _a1 string, _a2 int64, _a3 *github.Hook) (*github.Hook, *github.Response, error)

EditHook provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Organizations) EditOrgMembership added in v0.2.2

func (_m *Organizations) EditOrgMembership(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Membership) (*github.Membership, *github.Response, error)

EditOrgMembership provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Organizations) Get added in v0.2.2

Get provides a mock function with given fields: _a0, _a1

func (*Organizations) GetActionsAllowed added in v0.2.2

func (_m *Organizations) GetActionsAllowed(_a0 context.Context, _a1 string) (*github.ActionsAllowed, *github.Response, error)

GetActionsAllowed provides a mock function with given fields: _a0, _a1

func (*Organizations) GetActionsPermissions added in v0.2.2

func (_m *Organizations) GetActionsPermissions(_a0 context.Context, _a1 string) (*github.ActionsPermissions, *github.Response, error)

GetActionsPermissions provides a mock function with given fields: _a0, _a1

func (*Organizations) GetAuditLog added in v0.2.2

GetAuditLog provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) GetByID added in v0.2.2

GetByID provides a mock function with given fields: _a0, _a1

func (*Organizations) GetHook added in v0.2.2

func (_m *Organizations) GetHook(_a0 context.Context, _a1 string, _a2 int64) (*github.Hook, *github.Response, error)

GetHook provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) GetOrgMembership added in v0.2.2

func (_m *Organizations) GetOrgMembership(_a0 context.Context, _a1 string, _a2 string) (*github.Membership, *github.Response, error)

GetOrgMembership provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) IsBlocked added in v0.2.2

func (_m *Organizations) IsBlocked(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)

IsBlocked provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) IsMember added in v0.2.2

func (_m *Organizations) IsMember(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)

IsMember provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) IsPublicMember added in v0.2.2

func (_m *Organizations) IsPublicMember(_a0 context.Context, _a1 string, _a2 string) (bool, *github.Response, error)

IsPublicMember provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) List added in v0.2.2

List provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListAll added in v0.2.2

ListAll provides a mock function with given fields: _a0, _a1

func (*Organizations) ListBlockedUsers added in v0.2.2

func (_m *Organizations) ListBlockedUsers(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.User, *github.Response, error)

ListBlockedUsers provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListFailedOrgInvitations added in v0.2.2

func (_m *Organizations) ListFailedOrgInvitations(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.Invitation, *github.Response, error)

ListFailedOrgInvitations provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListHooks added in v0.2.2

func (_m *Organizations) ListHooks(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.Hook, *github.Response, error)

ListHooks provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListInstallations added in v0.2.2

ListInstallations provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListMembers added in v0.2.2

func (_m *Organizations) ListMembers(_a0 context.Context, _a1 string, _a2 *github.ListMembersOptions) ([]*github.User, *github.Response, error)

ListMembers provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListOrgInvitationTeams added in v0.2.2

func (_m *Organizations) ListOrgInvitationTeams(_a0 context.Context, _a1 string, _a2 string, _a3 *github.ListOptions) ([]*github.Team, *github.Response, error)

ListOrgInvitationTeams provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Organizations) ListOrgMemberships added in v0.2.2

ListOrgMemberships provides a mock function with given fields: _a0, _a1

func (*Organizations) ListOutsideCollaborators added in v0.2.2

func (_m *Organizations) ListOutsideCollaborators(_a0 context.Context, _a1 string, _a2 *github.ListOutsideCollaboratorsOptions) ([]*github.User, *github.Response, error)

ListOutsideCollaborators provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListPendingOrgInvitations added in v0.2.2

func (_m *Organizations) ListPendingOrgInvitations(_a0 context.Context, _a1 string, _a2 *github.ListOptions) ([]*github.Invitation, *github.Response, error)

ListPendingOrgInvitations provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) ListProjects added in v0.2.2

func (_m *Organizations) 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 (*Organizations) PingHook added in v0.2.2

func (_m *Organizations) PingHook(_a0 context.Context, _a1 string, _a2 int64) (*github.Response, error)

PingHook provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) PublicizeMembership added in v0.2.2

func (_m *Organizations) PublicizeMembership(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

PublicizeMembership provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) RemoveMember added in v0.2.2

func (_m *Organizations) RemoveMember(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

RemoveMember provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) RemoveOrgMembership added in v0.2.2

func (_m *Organizations) RemoveOrgMembership(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

RemoveOrgMembership provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) RemoveOutsideCollaborator added in v0.2.2

func (_m *Organizations) RemoveOutsideCollaborator(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

RemoveOutsideCollaborator provides a mock function with given fields: _a0, _a1, _a2

func (*Organizations) UnblockUser added in v0.2.2

func (_m *Organizations) UnblockUser(_a0 context.Context, _a1 string, _a2 string) (*github.Response, error)

UnblockUser provides a mock function with given fields: _a0, _a1, _a2

type Repositories

type Repositories struct {
	mock.Mock
}

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

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

Create provides a mock function with given fields: _a0, _a1, _a2

func (*Repositories) CreateComment

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

CreateFile provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*Repositories) CreateFork

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

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) CreateUpdateEnvironment added in v0.2.2

func (_m *Repositories) CreateUpdateEnvironment(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *github.CreateUpdateEnvironment) (*github.Environment, *github.Response, error)

CreateUpdateEnvironment 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) DeleteEnvironment added in v0.2.2

func (_m *Repositories) DeleteEnvironment(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)

DeleteEnvironment provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Repositories) DeleteFile

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

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

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

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

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

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

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

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) GetEnvironment added in v0.2.2

func (_m *Repositories) GetEnvironment(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Environment, *github.Response, error)

GetEnvironment provides a mock function with given fields: _a0, _a1, _a2, _a3

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

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

License provides a mock function with given fields: _a0, _a1, _a2

func (*Repositories) List

List provides a mock function with given fields: _a0, _a1, _a2

func (*Repositories) ListAll

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

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

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) ListEnvironments added in v0.2.2

func (_m *Repositories) ListEnvironments(_a0 context.Context, _a1 string, _a2 string) (*github.EnvResponse, *github.Response, error)

ListEnvironments provides a mock function with given fields: _a0, _a1, _a2

func (*Repositories) ListForks

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

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

ListTrafficViews provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Repositories) Merge

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

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

UpdateComment provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*Repositories) UpdateFile

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

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

type Users struct {
	mock.Mock
}

Users is an autogenerated mock type for the Users type

func (*Users) AcceptInvitation

func (_m *Users) AcceptInvitation(_a0 context.Context, _a1 int64) (*github.Response, error)

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) BlockUser

func (_m *Users) BlockUser(_a0 context.Context, _a1 string) (*github.Response, error)

BlockUser 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

CreateProject provides a mock function with given fields: _a0, _a1

func (*Users) DeclineInvitation

func (_m *Users) DeclineInvitation(_a0 context.Context, _a1 int64) (*github.Response, error)

DeclineInvitation provides a mock function with given fields: _a0, _a1

func (*Users) DeleteEmails

func (_m *Users) DeleteEmails(_a0 context.Context, _a1 []string) (*github.Response, error)

DeleteEmails provides a mock function with given fields: _a0, _a1

func (*Users) DeleteGPGKey

func (_m *Users) DeleteGPGKey(_a0 context.Context, _a1 int64) (*github.Response, error)

DeleteGPGKey provides a mock function with given fields: _a0, _a1

func (*Users) DeleteKey

func (_m *Users) DeleteKey(_a0 context.Context, _a1 int64) (*github.Response, error)

DeleteKey provides a mock function with given fields: _a0, _a1

func (*Users) DemoteSiteAdmin

func (_m *Users) DemoteSiteAdmin(_a0 context.Context, _a1 string) (*github.Response, error)

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) Follow

func (_m *Users) Follow(_a0 context.Context, _a1 string) (*github.Response, error)

Follow provides a mock function with given fields: _a0, _a1

func (*Users) Get

func (_m *Users) Get(_a0 context.Context, _a1 string) (*github.User, *github.Response, error)

Get provides a mock function with given fields: _a0, _a1

func (*Users) GetByID

func (_m *Users) GetByID(_a0 context.Context, _a1 int64) (*github.User, *github.Response, error)

GetByID 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) GetKey

func (_m *Users) GetKey(_a0 context.Context, _a1 int64) (*github.Key, *github.Response, error)

GetKey provides a mock function with given fields: _a0, _a1

func (*Users) IsBlocked

func (_m *Users) IsBlocked(_a0 context.Context, _a1 string) (bool, *github.Response, error)

IsBlocked provides a mock function with given fields: _a0, _a1

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

func (_m *Users) PromoteSiteAdmin(_a0 context.Context, _a1 string) (*github.Response, error)

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

func (_m *Users) UnblockUser(_a0 context.Context, _a1 string) (*github.Response, error)

UnblockUser provides a mock function with given fields: _a0, _a1

func (*Users) Unfollow

func (_m *Users) Unfollow(_a0 context.Context, _a1 string) (*github.Response, error)

Unfollow provides a mock function with given fields: _a0, _a1

func (*Users) Unsuspend

func (_m *Users) Unsuspend(_a0 context.Context, _a1 string) (*github.Response, error)

Unsuspend provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL