Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockChecksService
- type MockChecksServiceMockRecorder
- type MockGitService
- func (m *MockGitService) CreateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference) (*github.Reference, *github.Response, error)
- func (m *MockGitService) DeleteRef(arg0 context.Context, arg1, arg2, arg3 string) (*github.Response, error)
- func (m *MockGitService) EXPECT() *MockGitServiceMockRecorder
- func (m *MockGitService) GetRef(arg0 context.Context, arg1, arg2, arg3 string) (*github.Reference, *github.Response, error)
- type MockGitServiceMockRecorder
- type MockIssuesService
- func (m *MockIssuesService) AddAssignees(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 []string) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) AddLabelsToIssue(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 []string) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) CreateComment(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.IssueComment) (*github.IssueComment, *github.Response, error)
- func (m *MockIssuesService) DeleteComment(arg0 context.Context, arg1, arg2 string, arg3 int64) (*github.Response, error)
- func (m *MockIssuesService) EXPECT() *MockIssuesServiceMockRecorder
- func (m *MockIssuesService) Edit(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.IssueRequest) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.Issue, *github.Response, error)
- func (m *MockIssuesService) ListByRepo(arg0 context.Context, arg1, arg2 string, arg3 *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
- func (m *MockIssuesService) ListComments(arg0 context.Context, arg1, arg2 string, arg3 int, ...) ([]*github.IssueComment, *github.Response, error)
- func (m *MockIssuesService) ListLabelsByIssue(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (m *MockIssuesService) RemoveLabelForIssue(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 string) (*github.Response, error)
- type MockIssuesServiceMockRecorder
- func (mr *MockIssuesServiceMockRecorder) AddAssignees(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) AddLabelsToIssue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) CreateComment(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) DeleteComment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Edit(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListByRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListComments(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) ListLabelsByIssue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIssuesServiceMockRecorder) RemoveLabelForIssue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockMetricsProvider
- func (m *MockMetricsProvider) EXPECT() *MockMetricsProviderMockRecorder
- func (m *MockMetricsProvider) IncreaseCronTaskErrors(arg0 string)
- func (m *MockMetricsProvider) IncreaseGithubCacheHits(arg0, arg1 string)
- func (m *MockMetricsProvider) IncreaseGithubCacheMisses(arg0, arg1 string)
- func (m *MockMetricsProvider) IncreaseWebhookErrors(arg0 string)
- func (m *MockMetricsProvider) IncreaseWebhookRequest(arg0 string)
- func (m *MockMetricsProvider) ObserveCronTaskDuration(arg0 string, arg1 float64)
- func (m *MockMetricsProvider) ObserveGithubRequestDuration(arg0, arg1, arg2 string, arg3 float64)
- func (m *MockMetricsProvider) ObserveHTTPRequestDuration(arg0, arg1, arg2 string, arg3 float64)
- type MockMetricsProviderMockRecorder
- func (mr *MockMetricsProviderMockRecorder) IncreaseCronTaskErrors(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) IncreaseGithubCacheHits(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) IncreaseGithubCacheMisses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) IncreaseWebhookErrors(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) IncreaseWebhookRequest(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) ObserveCronTaskDuration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) ObserveGithubRequestDuration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMetricsProviderMockRecorder) ObserveHTTPRequestDuration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockOrganizationsService
- func (m *MockOrganizationsService) EXPECT() *MockOrganizationsServiceMockRecorder
- func (m *MockOrganizationsService) GetOrgMembership(arg0 context.Context, arg1, arg2 string) (*github.Membership, *github.Response, error)
- func (m *MockOrganizationsService) IsMember(arg0 context.Context, arg1, arg2 string) (bool, *github.Response, error)
- func (m *MockOrganizationsService) ListMembers(arg0 context.Context, arg1 string, arg2 *github.ListMembersOptions) ([]*github.User, *github.Response, error)
- type MockOrganizationsServiceMockRecorder
- func (mr *MockOrganizationsServiceMockRecorder) GetOrgMembership(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) IsMember(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListMembers(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockPullRequestsService
- func (m *MockPullRequestsService) EXPECT() *MockPullRequestsServiceMockRecorder
- func (m *MockPullRequestsService) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) List(arg0 context.Context, arg1, arg2 string, arg3 *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) ListFiles(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
- func (m *MockPullRequestsService) ListReviewers(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) (*github.Reviewers, *github.Response, error)
- func (m *MockPullRequestsService) ListReviews(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)
- func (m *MockPullRequestsService) Merge(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 string, ...) (*github.PullRequestMergeResult, *github.Response, error)
- func (m *MockPullRequestsService) RequestReviewers(arg0 context.Context, arg1, arg2 string, arg3 int, ...) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestsService) UpdateBranch(arg0 context.Context, arg1, arg2 string, arg3 int, ...) (*github.PullRequestBranchUpdateResponse, *github.Response, error)
- type MockPullRequestsServiceMockRecorder
- func (mr *MockPullRequestsServiceMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListFiles(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListReviewers(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) ListReviews(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) Merge(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) RequestReviewers(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPullRequestsServiceMockRecorder) UpdateBranch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockRepositoriesService
- func (m *MockRepositoriesService) CreateStatus(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
- func (m *MockRepositoriesService) EXPECT() *MockRepositoriesServiceMockRecorder
- func (m *MockRepositoriesService) Get(arg0 context.Context, arg1, arg2 string) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) GetBranch(arg0 context.Context, arg1, arg2, arg3 string) (*github.Branch, *github.Response, error)
- func (m *MockRepositoriesService) GetCombinedStatus(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
- func (m *MockRepositoriesService) ListStatuses(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
- func (m *MockRepositoriesService) ListTeams(arg0 context.Context, arg1, arg2 string, arg3 *github.ListOptions) ([]*github.Team, *github.Response, error)
- type MockRepositoriesServiceMockRecorder
- func (mr *MockRepositoriesServiceMockRecorder) CreateStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetBranch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) GetCombinedStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListStatuses(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) ListTeams(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChecksService ¶
type MockChecksService struct {
// contains filtered or unexported fields
}
MockChecksService is a mock of ChecksService interface
func NewMockChecksService ¶
func NewMockChecksService(ctrl *gomock.Controller) *MockChecksService
NewMockChecksService creates a new mock instance
func (*MockChecksService) EXPECT ¶
func (m *MockChecksService) EXPECT() *MockChecksServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockChecksService) ListCheckRunsForRef ¶
func (m *MockChecksService) ListCheckRunsForRef(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
ListCheckRunsForRef mocks base method
type MockChecksServiceMockRecorder ¶
type MockChecksServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockChecksServiceMockRecorder is the mock recorder for MockChecksService
func (*MockChecksServiceMockRecorder) ListCheckRunsForRef ¶
func (mr *MockChecksServiceMockRecorder) ListCheckRunsForRef(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListCheckRunsForRef indicates an expected call of ListCheckRunsForRef
type MockGitService ¶
type MockGitService struct {
// contains filtered or unexported fields
}
MockGitService is a mock of GitService interface
func NewMockGitService ¶
func NewMockGitService(ctrl *gomock.Controller) *MockGitService
NewMockGitService creates a new mock instance
func (*MockGitService) CreateRef ¶
func (m *MockGitService) CreateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference) (*github.Reference, *github.Response, error)
CreateRef mocks base method
func (*MockGitService) DeleteRef ¶
func (m *MockGitService) DeleteRef(arg0 context.Context, arg1, arg2, arg3 string) (*github.Response, error)
DeleteRef mocks base method
func (*MockGitService) EXPECT ¶
func (m *MockGitService) EXPECT() *MockGitServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockGitServiceMockRecorder ¶
type MockGitServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGitServiceMockRecorder is the mock recorder for MockGitService
func (*MockGitServiceMockRecorder) CreateRef ¶
func (mr *MockGitServiceMockRecorder) CreateRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateRef indicates an expected call of CreateRef
func (*MockGitServiceMockRecorder) DeleteRef ¶
func (mr *MockGitServiceMockRecorder) DeleteRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteRef indicates an expected call of DeleteRef
func (*MockGitServiceMockRecorder) GetRef ¶
func (mr *MockGitServiceMockRecorder) GetRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetRef indicates an expected call of GetRef
type MockIssuesService ¶
type MockIssuesService struct {
// contains filtered or unexported fields
}
MockIssuesService is a mock of IssuesService interface
func NewMockIssuesService ¶
func NewMockIssuesService(ctrl *gomock.Controller) *MockIssuesService
NewMockIssuesService creates a new mock instance
func (*MockIssuesService) AddAssignees ¶
func (m *MockIssuesService) AddAssignees(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 []string) (*github.Issue, *github.Response, error)
AddAssignees mocks base method
func (*MockIssuesService) AddLabelsToIssue ¶
func (m *MockIssuesService) AddLabelsToIssue(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 []string) ([]*github.Label, *github.Response, error)
AddLabelsToIssue mocks base method
func (*MockIssuesService) CreateComment ¶
func (m *MockIssuesService) CreateComment(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.IssueComment) (*github.IssueComment, *github.Response, error)
CreateComment mocks base method
func (*MockIssuesService) DeleteComment ¶
func (m *MockIssuesService) DeleteComment(arg0 context.Context, arg1, arg2 string, arg3 int64) (*github.Response, error)
DeleteComment mocks base method
func (*MockIssuesService) EXPECT ¶
func (m *MockIssuesService) EXPECT() *MockIssuesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIssuesService) Edit ¶
func (m *MockIssuesService) Edit(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.IssueRequest) (*github.Issue, *github.Response, error)
Edit mocks base method
func (*MockIssuesService) Get ¶
func (m *MockIssuesService) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.Issue, *github.Response, error)
Get mocks base method
func (*MockIssuesService) ListByRepo ¶
func (m *MockIssuesService) ListByRepo(arg0 context.Context, arg1, arg2 string, arg3 *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
ListByRepo mocks base method
func (*MockIssuesService) ListComments ¶
func (m *MockIssuesService) ListComments(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)
ListComments mocks base method
func (*MockIssuesService) ListLabelsByIssue ¶
func (m *MockIssuesService) ListLabelsByIssue(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.Label, *github.Response, error)
ListLabelsByIssue mocks base method
type MockIssuesServiceMockRecorder ¶
type MockIssuesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIssuesServiceMockRecorder is the mock recorder for MockIssuesService
func (*MockIssuesServiceMockRecorder) AddAssignees ¶
func (mr *MockIssuesServiceMockRecorder) AddAssignees(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddAssignees indicates an expected call of AddAssignees
func (*MockIssuesServiceMockRecorder) AddLabelsToIssue ¶
func (mr *MockIssuesServiceMockRecorder) AddLabelsToIssue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddLabelsToIssue indicates an expected call of AddLabelsToIssue
func (*MockIssuesServiceMockRecorder) CreateComment ¶
func (mr *MockIssuesServiceMockRecorder) CreateComment(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment
func (*MockIssuesServiceMockRecorder) DeleteComment ¶
func (mr *MockIssuesServiceMockRecorder) DeleteComment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment
func (*MockIssuesServiceMockRecorder) Edit ¶
func (mr *MockIssuesServiceMockRecorder) Edit(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockIssuesServiceMockRecorder) Get ¶
func (mr *MockIssuesServiceMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockIssuesServiceMockRecorder) ListByRepo ¶
func (mr *MockIssuesServiceMockRecorder) ListByRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListByRepo indicates an expected call of ListByRepo
func (*MockIssuesServiceMockRecorder) ListComments ¶
func (mr *MockIssuesServiceMockRecorder) ListComments(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListComments indicates an expected call of ListComments
func (*MockIssuesServiceMockRecorder) ListLabelsByIssue ¶
func (mr *MockIssuesServiceMockRecorder) ListLabelsByIssue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListLabelsByIssue indicates an expected call of ListLabelsByIssue
func (*MockIssuesServiceMockRecorder) RemoveLabelForIssue ¶
func (mr *MockIssuesServiceMockRecorder) RemoveLabelForIssue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RemoveLabelForIssue indicates an expected call of RemoveLabelForIssue
type MockMetricsProvider ¶
type MockMetricsProvider struct {
// contains filtered or unexported fields
}
MockMetricsProvider is a mock of MetricsProvider interface
func NewMockMetricsProvider ¶
func NewMockMetricsProvider(ctrl *gomock.Controller) *MockMetricsProvider
NewMockMetricsProvider creates a new mock instance
func (*MockMetricsProvider) EXPECT ¶
func (m *MockMetricsProvider) EXPECT() *MockMetricsProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMetricsProvider) IncreaseCronTaskErrors ¶
func (m *MockMetricsProvider) IncreaseCronTaskErrors(arg0 string)
IncreaseCronTaskErrors mocks base method
func (*MockMetricsProvider) IncreaseGithubCacheHits ¶
func (m *MockMetricsProvider) IncreaseGithubCacheHits(arg0, arg1 string)
IncreaseGithubCacheHits mocks base method
func (*MockMetricsProvider) IncreaseGithubCacheMisses ¶
func (m *MockMetricsProvider) IncreaseGithubCacheMisses(arg0, arg1 string)
IncreaseGithubCacheMisses mocks base method
func (*MockMetricsProvider) IncreaseWebhookErrors ¶
func (m *MockMetricsProvider) IncreaseWebhookErrors(arg0 string)
IncreaseWebhookErrors mocks base method
func (*MockMetricsProvider) IncreaseWebhookRequest ¶
func (m *MockMetricsProvider) IncreaseWebhookRequest(arg0 string)
IncreaseWebhookRequest mocks base method
func (*MockMetricsProvider) ObserveCronTaskDuration ¶
func (m *MockMetricsProvider) ObserveCronTaskDuration(arg0 string, arg1 float64)
ObserveCronTaskDuration mocks base method
func (*MockMetricsProvider) ObserveGithubRequestDuration ¶
func (m *MockMetricsProvider) ObserveGithubRequestDuration(arg0, arg1, arg2 string, arg3 float64)
ObserveGithubRequestDuration mocks base method
func (*MockMetricsProvider) ObserveHTTPRequestDuration ¶
func (m *MockMetricsProvider) ObserveHTTPRequestDuration(arg0, arg1, arg2 string, arg3 float64)
ObserveHTTPRequestDuration mocks base method
type MockMetricsProviderMockRecorder ¶
type MockMetricsProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsProviderMockRecorder is the mock recorder for MockMetricsProvider
func (*MockMetricsProviderMockRecorder) IncreaseCronTaskErrors ¶
func (mr *MockMetricsProviderMockRecorder) IncreaseCronTaskErrors(arg0 interface{}) *gomock.Call
IncreaseCronTaskErrors indicates an expected call of IncreaseCronTaskErrors
func (*MockMetricsProviderMockRecorder) IncreaseGithubCacheHits ¶
func (mr *MockMetricsProviderMockRecorder) IncreaseGithubCacheHits(arg0, arg1 interface{}) *gomock.Call
IncreaseGithubCacheHits indicates an expected call of IncreaseGithubCacheHits
func (*MockMetricsProviderMockRecorder) IncreaseGithubCacheMisses ¶
func (mr *MockMetricsProviderMockRecorder) IncreaseGithubCacheMisses(arg0, arg1 interface{}) *gomock.Call
IncreaseGithubCacheMisses indicates an expected call of IncreaseGithubCacheMisses
func (*MockMetricsProviderMockRecorder) IncreaseWebhookErrors ¶
func (mr *MockMetricsProviderMockRecorder) IncreaseWebhookErrors(arg0 interface{}) *gomock.Call
IncreaseWebhookErrors indicates an expected call of IncreaseWebhookErrors
func (*MockMetricsProviderMockRecorder) IncreaseWebhookRequest ¶
func (mr *MockMetricsProviderMockRecorder) IncreaseWebhookRequest(arg0 interface{}) *gomock.Call
IncreaseWebhookRequest indicates an expected call of IncreaseWebhookRequest
func (*MockMetricsProviderMockRecorder) ObserveCronTaskDuration ¶
func (mr *MockMetricsProviderMockRecorder) ObserveCronTaskDuration(arg0, arg1 interface{}) *gomock.Call
ObserveCronTaskDuration indicates an expected call of ObserveCronTaskDuration
func (*MockMetricsProviderMockRecorder) ObserveGithubRequestDuration ¶
func (mr *MockMetricsProviderMockRecorder) ObserveGithubRequestDuration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveGithubRequestDuration indicates an expected call of ObserveGithubRequestDuration
func (*MockMetricsProviderMockRecorder) ObserveHTTPRequestDuration ¶
func (mr *MockMetricsProviderMockRecorder) ObserveHTTPRequestDuration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveHTTPRequestDuration indicates an expected call of ObserveHTTPRequestDuration
type MockOrganizationsService ¶
type MockOrganizationsService struct {
// contains filtered or unexported fields
}
MockOrganizationsService is a mock of OrganizationsService interface
func NewMockOrganizationsService ¶
func NewMockOrganizationsService(ctrl *gomock.Controller) *MockOrganizationsService
NewMockOrganizationsService creates a new mock instance
func (*MockOrganizationsService) EXPECT ¶
func (m *MockOrganizationsService) EXPECT() *MockOrganizationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOrganizationsService) GetOrgMembership ¶
func (m *MockOrganizationsService) GetOrgMembership(arg0 context.Context, arg1, arg2 string) (*github.Membership, *github.Response, error)
GetOrgMembership mocks base method
func (*MockOrganizationsService) IsMember ¶
func (m *MockOrganizationsService) IsMember(arg0 context.Context, arg1, arg2 string) (bool, *github.Response, error)
IsMember mocks base method
func (*MockOrganizationsService) ListMembers ¶
func (m *MockOrganizationsService) ListMembers(arg0 context.Context, arg1 string, arg2 *github.ListMembersOptions) ([]*github.User, *github.Response, error)
ListMembers mocks base method
type MockOrganizationsServiceMockRecorder ¶
type MockOrganizationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrganizationsServiceMockRecorder is the mock recorder for MockOrganizationsService
func (*MockOrganizationsServiceMockRecorder) GetOrgMembership ¶
func (mr *MockOrganizationsServiceMockRecorder) GetOrgMembership(arg0, arg1, arg2 interface{}) *gomock.Call
GetOrgMembership indicates an expected call of GetOrgMembership
func (*MockOrganizationsServiceMockRecorder) IsMember ¶
func (mr *MockOrganizationsServiceMockRecorder) IsMember(arg0, arg1, arg2 interface{}) *gomock.Call
IsMember indicates an expected call of IsMember
func (*MockOrganizationsServiceMockRecorder) ListMembers ¶
func (mr *MockOrganizationsServiceMockRecorder) ListMembers(arg0, arg1, arg2 interface{}) *gomock.Call
ListMembers indicates an expected call of ListMembers
type MockPullRequestsService ¶
type MockPullRequestsService struct {
// contains filtered or unexported fields
}
MockPullRequestsService is a mock of PullRequestsService interface
func NewMockPullRequestsService ¶
func NewMockPullRequestsService(ctrl *gomock.Controller) *MockPullRequestsService
NewMockPullRequestsService creates a new mock instance
func (*MockPullRequestsService) EXPECT ¶
func (m *MockPullRequestsService) EXPECT() *MockPullRequestsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPullRequestsService) Get ¶
func (m *MockPullRequestsService) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.PullRequest, *github.Response, error)
Get mocks base method
func (*MockPullRequestsService) List ¶
func (m *MockPullRequestsService) List(arg0 context.Context, arg1, arg2 string, arg3 *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
List mocks base method
func (*MockPullRequestsService) ListFiles ¶
func (m *MockPullRequestsService) ListFiles(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
ListFiles mocks base method
func (*MockPullRequestsService) ListReviewers ¶
func (m *MockPullRequestsService) ListReviewers(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) (*github.Reviewers, *github.Response, error)
ListReviewers mocks base method
func (*MockPullRequestsService) ListReviews ¶
func (m *MockPullRequestsService) ListReviews(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)
ListReviews mocks base method
func (*MockPullRequestsService) Merge ¶
func (m *MockPullRequestsService) Merge(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 string, arg5 *github.PullRequestOptions) (*github.PullRequestMergeResult, *github.Response, error)
Merge mocks base method
func (*MockPullRequestsService) RequestReviewers ¶
func (m *MockPullRequestsService) RequestReviewers(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 github.ReviewersRequest) (*github.PullRequest, *github.Response, error)
RequestReviewers mocks base method
func (*MockPullRequestsService) UpdateBranch ¶
func (m *MockPullRequestsService) UpdateBranch(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.PullRequestBranchUpdateOptions) (*github.PullRequestBranchUpdateResponse, *github.Response, error)
UpdateBranch mocks base method
type MockPullRequestsServiceMockRecorder ¶
type MockPullRequestsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPullRequestsServiceMockRecorder is the mock recorder for MockPullRequestsService
func (*MockPullRequestsServiceMockRecorder) Get ¶
func (mr *MockPullRequestsServiceMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockPullRequestsServiceMockRecorder) List ¶
func (mr *MockPullRequestsServiceMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockPullRequestsServiceMockRecorder) ListFiles ¶
func (mr *MockPullRequestsServiceMockRecorder) ListFiles(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles
func (*MockPullRequestsServiceMockRecorder) ListReviewers ¶
func (mr *MockPullRequestsServiceMockRecorder) ListReviewers(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListReviewers indicates an expected call of ListReviewers
func (*MockPullRequestsServiceMockRecorder) ListReviews ¶
func (mr *MockPullRequestsServiceMockRecorder) ListReviews(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListReviews indicates an expected call of ListReviews
func (*MockPullRequestsServiceMockRecorder) Merge ¶
func (mr *MockPullRequestsServiceMockRecorder) Merge(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Merge indicates an expected call of Merge
func (*MockPullRequestsServiceMockRecorder) RequestReviewers ¶
func (mr *MockPullRequestsServiceMockRecorder) RequestReviewers(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RequestReviewers indicates an expected call of RequestReviewers
func (*MockPullRequestsServiceMockRecorder) UpdateBranch ¶
func (mr *MockPullRequestsServiceMockRecorder) UpdateBranch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateBranch indicates an expected call of UpdateBranch
type MockRepositoriesService ¶
type MockRepositoriesService struct {
// contains filtered or unexported fields
}
MockRepositoriesService is a mock of RepositoriesService interface
func NewMockRepositoriesService ¶
func NewMockRepositoriesService(ctrl *gomock.Controller) *MockRepositoriesService
NewMockRepositoriesService creates a new mock instance
func (*MockRepositoriesService) CreateStatus ¶
func (m *MockRepositoriesService) CreateStatus(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
CreateStatus mocks base method
func (*MockRepositoriesService) EXPECT ¶
func (m *MockRepositoriesService) EXPECT() *MockRepositoriesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepositoriesService) Get ¶
func (m *MockRepositoriesService) Get(arg0 context.Context, arg1, arg2 string) (*github.Repository, *github.Response, error)
Get mocks base method
func (*MockRepositoriesService) GetBranch ¶
func (m *MockRepositoriesService) GetBranch(arg0 context.Context, arg1, arg2, arg3 string) (*github.Branch, *github.Response, error)
GetBranch mocks base method
func (*MockRepositoriesService) GetCombinedStatus ¶
func (m *MockRepositoriesService) GetCombinedStatus(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
GetCombinedStatus mocks base method
func (*MockRepositoriesService) ListStatuses ¶
func (m *MockRepositoriesService) ListStatuses(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
ListStatuses mocks base method
type MockRepositoriesServiceMockRecorder ¶
type MockRepositoriesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoriesServiceMockRecorder is the mock recorder for MockRepositoriesService
func (*MockRepositoriesServiceMockRecorder) CreateStatus ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateStatus indicates an expected call of CreateStatus
func (*MockRepositoriesServiceMockRecorder) Get ¶
func (mr *MockRepositoriesServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRepositoriesServiceMockRecorder) GetBranch ¶
func (mr *MockRepositoriesServiceMockRecorder) GetBranch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetBranch indicates an expected call of GetBranch
func (*MockRepositoriesServiceMockRecorder) GetCombinedStatus ¶
func (mr *MockRepositoriesServiceMockRecorder) GetCombinedStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetCombinedStatus indicates an expected call of GetCombinedStatus
func (*MockRepositoriesServiceMockRecorder) ListStatuses ¶
func (mr *MockRepositoriesServiceMockRecorder) ListStatuses(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListStatuses indicates an expected call of ListStatuses
func (*MockRepositoriesServiceMockRecorder) ListTeams ¶
func (mr *MockRepositoriesServiceMockRecorder) ListTeams(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListTeams indicates an expected call of ListTeams