mocks

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChecksService) ListCheckRunsForRef

func (m *MockChecksService) ListCheckRunsForRef(ctx context.Context, owner, repo, ref string, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)

ListCheckRunsForRef mocks base method.

type MockChecksServiceMockRecorder

type MockChecksServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockChecksServiceMockRecorder is the mock recorder for MockChecksService.

func (*MockChecksServiceMockRecorder) ListCheckRunsForRef

func (mr *MockChecksServiceMockRecorder) ListCheckRunsForRef(ctx, owner, repo, ref, opts 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(ctx context.Context, owner, repo string, ref *github.Reference) (*github.Reference, *github.Response, error)

CreateRef mocks base method.

func (*MockGitService) DeleteRef

func (m *MockGitService) DeleteRef(ctx context.Context, owner, repo, ref string) (*github.Response, error)

DeleteRef mocks base method.

func (*MockGitService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGitService) GetCommit added in v0.15.0

func (m *MockGitService) GetCommit(ctx context.Context, owner, repo, ref string) (*github.Commit, *github.Response, error)

GetCommit mocks base method.

func (*MockGitService) GetRef

func (m *MockGitService) GetRef(ctx context.Context, owner, repo, ref string) (*github.Reference, *github.Response, error)

GetRef mocks base method.

func (*MockGitService) ListMatchingRefs added in v0.15.0

func (m *MockGitService) ListMatchingRefs(ctx context.Context, owner, repo string, opts *github.ReferenceListOptions) ([]*github.Reference, *github.Response, error)

ListMatchingRefs mocks base method.

type MockGitServiceMockRecorder

type MockGitServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitServiceMockRecorder is the mock recorder for MockGitService.

func (*MockGitServiceMockRecorder) CreateRef

func (mr *MockGitServiceMockRecorder) CreateRef(ctx, owner, repo, ref interface{}) *gomock.Call

CreateRef indicates an expected call of CreateRef.

func (*MockGitServiceMockRecorder) DeleteRef

func (mr *MockGitServiceMockRecorder) DeleteRef(ctx, owner, repo, ref interface{}) *gomock.Call

DeleteRef indicates an expected call of DeleteRef.

func (*MockGitServiceMockRecorder) GetCommit added in v0.15.0

func (mr *MockGitServiceMockRecorder) GetCommit(ctx, owner, repo, ref interface{}) *gomock.Call

GetCommit indicates an expected call of GetCommit.

func (*MockGitServiceMockRecorder) GetRef

func (mr *MockGitServiceMockRecorder) GetRef(ctx, owner, repo, ref interface{}) *gomock.Call

GetRef indicates an expected call of GetRef.

func (*MockGitServiceMockRecorder) ListMatchingRefs added in v0.15.0

func (mr *MockGitServiceMockRecorder) ListMatchingRefs(ctx, owner, repo, opts interface{}) *gomock.Call

ListMatchingRefs indicates an expected call of ListMatchingRefs.

type MockIssuesService

type MockIssuesService struct {
	// contains filtered or unexported fields
}

MockIssuesService is a mock of IssuesService interface.

func NewMockIssuesService

func NewMockIssuesService(ctrl *gomock.Controller) *MockIssuesService

NewMockIssuesService creates a new mock instance.

func (*MockIssuesService) AddAssignees

func (m *MockIssuesService) AddAssignees(ctx context.Context, owner, repo string, number int, assignees []string) (*github.Issue, *github.Response, error)

AddAssignees mocks base method.

func (*MockIssuesService) AddLabelsToIssue

func (m *MockIssuesService) AddLabelsToIssue(ctx context.Context, owner, repo string, number int, labels []string) ([]*github.Label, *github.Response, error)

AddLabelsToIssue mocks base method.

func (*MockIssuesService) CreateComment

func (m *MockIssuesService) CreateComment(ctx context.Context, owner, repo string, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)

CreateComment mocks base method.

func (*MockIssuesService) DeleteComment

func (m *MockIssuesService) DeleteComment(ctx context.Context, owner, repo string, commentID int64) (*github.Response, error)

DeleteComment mocks base method.

func (*MockIssuesService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIssuesService) Edit

func (m *MockIssuesService) Edit(ctx context.Context, owner, repo string, number int, issue *github.IssueRequest) (*github.Issue, *github.Response, error)

Edit mocks base method.

func (*MockIssuesService) Get

func (m *MockIssuesService) Get(ctx context.Context, owner, repo string, number int) (*github.Issue, *github.Response, error)

Get mocks base method.

func (*MockIssuesService) ListByRepo

func (m *MockIssuesService) ListByRepo(ctx context.Context, owner, repo string, opts *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)

ListByRepo mocks base method.

func (*MockIssuesService) ListComments

func (m *MockIssuesService) ListComments(ctx context.Context, owner, repo string, number int, opts *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)

ListComments mocks base method.

func (*MockIssuesService) ListLabelsByIssue

func (m *MockIssuesService) ListLabelsByIssue(ctx context.Context, owner, repo string, number int, opt *github.ListOptions) ([]*github.Label, *github.Response, error)

ListLabelsByIssue mocks base method.

func (*MockIssuesService) RemoveLabelForIssue

func (m *MockIssuesService) RemoveLabelForIssue(ctx context.Context, owner, repo string, number int, label string) (*github.Response, error)

RemoveLabelForIssue mocks base method.

type MockIssuesServiceMockRecorder

type MockIssuesServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockIssuesServiceMockRecorder is the mock recorder for MockIssuesService.

func (*MockIssuesServiceMockRecorder) AddAssignees

func (mr *MockIssuesServiceMockRecorder) AddAssignees(ctx, owner, repo, number, assignees interface{}) *gomock.Call

AddAssignees indicates an expected call of AddAssignees.

func (*MockIssuesServiceMockRecorder) AddLabelsToIssue

func (mr *MockIssuesServiceMockRecorder) AddLabelsToIssue(ctx, owner, repo, number, labels interface{}) *gomock.Call

AddLabelsToIssue indicates an expected call of AddLabelsToIssue.

func (*MockIssuesServiceMockRecorder) CreateComment

func (mr *MockIssuesServiceMockRecorder) CreateComment(ctx, owner, repo, number, comment interface{}) *gomock.Call

CreateComment indicates an expected call of CreateComment.

func (*MockIssuesServiceMockRecorder) DeleteComment

func (mr *MockIssuesServiceMockRecorder) DeleteComment(ctx, owner, repo, commentID interface{}) *gomock.Call

DeleteComment indicates an expected call of DeleteComment.

func (*MockIssuesServiceMockRecorder) Edit

func (mr *MockIssuesServiceMockRecorder) Edit(ctx, owner, repo, number, issue interface{}) *gomock.Call

Edit indicates an expected call of Edit.

func (*MockIssuesServiceMockRecorder) Get

func (mr *MockIssuesServiceMockRecorder) Get(ctx, owner, repo, number interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIssuesServiceMockRecorder) ListByRepo

func (mr *MockIssuesServiceMockRecorder) ListByRepo(ctx, owner, repo, opts interface{}) *gomock.Call

ListByRepo indicates an expected call of ListByRepo.

func (*MockIssuesServiceMockRecorder) ListComments

func (mr *MockIssuesServiceMockRecorder) ListComments(ctx, owner, repo, number, opts interface{}) *gomock.Call

ListComments indicates an expected call of ListComments.

func (*MockIssuesServiceMockRecorder) ListLabelsByIssue

func (mr *MockIssuesServiceMockRecorder) ListLabelsByIssue(ctx, owner, repo, number, opt interface{}) *gomock.Call

ListLabelsByIssue indicates an expected call of ListLabelsByIssue.

func (*MockIssuesServiceMockRecorder) RemoveLabelForIssue

func (mr *MockIssuesServiceMockRecorder) RemoveLabelForIssue(ctx, owner, repo, number, label 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMetricsProvider) IncreaseCronTaskErrors

func (m *MockMetricsProvider) IncreaseCronTaskErrors(name string)

IncreaseCronTaskErrors mocks base method.

func (*MockMetricsProvider) IncreaseGithubCacheHits

func (m *MockMetricsProvider) IncreaseGithubCacheHits(method, handler string)

IncreaseGithubCacheHits mocks base method.

func (*MockMetricsProvider) IncreaseGithubCacheMisses

func (m *MockMetricsProvider) IncreaseGithubCacheMisses(method, handler string)

IncreaseGithubCacheMisses mocks base method.

func (*MockMetricsProvider) IncreaseRateLimiterErrors added in v0.3.0

func (m *MockMetricsProvider) IncreaseRateLimiterErrors()

IncreaseRateLimiterErrors mocks base method.

func (*MockMetricsProvider) IncreaseWebhookErrors

func (m *MockMetricsProvider) IncreaseWebhookErrors(name string)

IncreaseWebhookErrors mocks base method.

func (*MockMetricsProvider) IncreaseWebhookRequest

func (m *MockMetricsProvider) IncreaseWebhookRequest(name string)

IncreaseWebhookRequest mocks base method.

func (*MockMetricsProvider) ObserveCronTaskDuration

func (m *MockMetricsProvider) ObserveCronTaskDuration(name string, elapsed float64)

ObserveCronTaskDuration mocks base method.

func (*MockMetricsProvider) ObserveGithubRequestDuration

func (m *MockMetricsProvider) ObserveGithubRequestDuration(method, handler, statusCode string, elapsed float64)

ObserveGithubRequestDuration mocks base method.

func (*MockMetricsProvider) ObserveHTTPRequestDuration

func (m *MockMetricsProvider) ObserveHTTPRequestDuration(method, handler, statusCode string, elapsed 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(name interface{}) *gomock.Call

IncreaseCronTaskErrors indicates an expected call of IncreaseCronTaskErrors.

func (*MockMetricsProviderMockRecorder) IncreaseGithubCacheHits

func (mr *MockMetricsProviderMockRecorder) IncreaseGithubCacheHits(method, handler interface{}) *gomock.Call

IncreaseGithubCacheHits indicates an expected call of IncreaseGithubCacheHits.

func (*MockMetricsProviderMockRecorder) IncreaseGithubCacheMisses

func (mr *MockMetricsProviderMockRecorder) IncreaseGithubCacheMisses(method, handler interface{}) *gomock.Call

IncreaseGithubCacheMisses indicates an expected call of IncreaseGithubCacheMisses.

func (*MockMetricsProviderMockRecorder) IncreaseRateLimiterErrors added in v0.3.0

func (mr *MockMetricsProviderMockRecorder) IncreaseRateLimiterErrors() *gomock.Call

IncreaseRateLimiterErrors indicates an expected call of IncreaseRateLimiterErrors.

func (*MockMetricsProviderMockRecorder) IncreaseWebhookErrors

func (mr *MockMetricsProviderMockRecorder) IncreaseWebhookErrors(name interface{}) *gomock.Call

IncreaseWebhookErrors indicates an expected call of IncreaseWebhookErrors.

func (*MockMetricsProviderMockRecorder) IncreaseWebhookRequest

func (mr *MockMetricsProviderMockRecorder) IncreaseWebhookRequest(name interface{}) *gomock.Call

IncreaseWebhookRequest indicates an expected call of IncreaseWebhookRequest.

func (*MockMetricsProviderMockRecorder) ObserveCronTaskDuration

func (mr *MockMetricsProviderMockRecorder) ObserveCronTaskDuration(name, elapsed interface{}) *gomock.Call

ObserveCronTaskDuration indicates an expected call of ObserveCronTaskDuration.

func (*MockMetricsProviderMockRecorder) ObserveGithubRequestDuration

func (mr *MockMetricsProviderMockRecorder) ObserveGithubRequestDuration(method, handler, statusCode, elapsed interface{}) *gomock.Call

ObserveGithubRequestDuration indicates an expected call of ObserveGithubRequestDuration.

func (*MockMetricsProviderMockRecorder) ObserveHTTPRequestDuration

func (mr *MockMetricsProviderMockRecorder) ObserveHTTPRequestDuration(method, handler, statusCode, elapsed 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOrganizationsService) GetOrgMembership

func (m *MockOrganizationsService) GetOrgMembership(ctx context.Context, user, org string) (*github.Membership, *github.Response, error)

GetOrgMembership mocks base method.

func (*MockOrganizationsService) IsMember

func (m *MockOrganizationsService) IsMember(ctx context.Context, org, user string) (bool, *github.Response, error)

IsMember mocks base method.

func (*MockOrganizationsService) ListMembers

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(ctx, user, org interface{}) *gomock.Call

GetOrgMembership indicates an expected call of GetOrgMembership.

func (*MockOrganizationsServiceMockRecorder) IsMember

func (mr *MockOrganizationsServiceMockRecorder) IsMember(ctx, org, user interface{}) *gomock.Call

IsMember indicates an expected call of IsMember.

func (*MockOrganizationsServiceMockRecorder) ListMembers

func (mr *MockOrganizationsServiceMockRecorder) ListMembers(ctx, org, opts 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) CreateReview added in v0.5.8

CreateReview mocks base method.

func (*MockPullRequestsService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPullRequestsService) Get

func (m *MockPullRequestsService) Get(ctx context.Context, owner, repo string, number int) (*github.PullRequest, *github.Response, error)

Get mocks base method.

func (*MockPullRequestsService) List

List mocks base method.

func (*MockPullRequestsService) ListFiles

func (m *MockPullRequestsService) ListFiles(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.CommitFile, *github.Response, error)

ListFiles mocks base method.

func (*MockPullRequestsService) ListReviewers

func (m *MockPullRequestsService) ListReviewers(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) (*github.Reviewers, *github.Response, error)

ListReviewers mocks base method.

func (*MockPullRequestsService) ListReviews

func (m *MockPullRequestsService) ListReviews(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)

ListReviews mocks base method.

func (*MockPullRequestsService) Merge

func (m *MockPullRequestsService) Merge(ctx context.Context, owner, repo string, number int, commitMessage string, options *github.PullRequestOptions) (*github.PullRequestMergeResult, *github.Response, error)

Merge mocks base method.

func (*MockPullRequestsService) RequestReviewers

func (m *MockPullRequestsService) RequestReviewers(ctx context.Context, owner, repo string, number int, reviewers github.ReviewersRequest) (*github.PullRequest, *github.Response, error)

RequestReviewers mocks base method.

func (*MockPullRequestsService) UpdateBranch

UpdateBranch mocks base method.

type MockPullRequestsServiceMockRecorder

type MockPullRequestsServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockPullRequestsServiceMockRecorder is the mock recorder for MockPullRequestsService.

func (*MockPullRequestsServiceMockRecorder) CreateReview added in v0.5.8

func (mr *MockPullRequestsServiceMockRecorder) CreateReview(ctx, owner, repo, number, review interface{}) *gomock.Call

CreateReview indicates an expected call of CreateReview.

func (*MockPullRequestsServiceMockRecorder) Get

func (mr *MockPullRequestsServiceMockRecorder) Get(ctx, owner, repo, number interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockPullRequestsServiceMockRecorder) List

func (mr *MockPullRequestsServiceMockRecorder) List(ctx, owner, repo, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockPullRequestsServiceMockRecorder) ListFiles

func (mr *MockPullRequestsServiceMockRecorder) ListFiles(ctx, owner, repo, number, opts interface{}) *gomock.Call

ListFiles indicates an expected call of ListFiles.

func (*MockPullRequestsServiceMockRecorder) ListReviewers

func (mr *MockPullRequestsServiceMockRecorder) ListReviewers(ctx, owner, repo, number, opts interface{}) *gomock.Call

ListReviewers indicates an expected call of ListReviewers.

func (*MockPullRequestsServiceMockRecorder) ListReviews

func (mr *MockPullRequestsServiceMockRecorder) ListReviews(ctx, owner, repo, number, opts interface{}) *gomock.Call

ListReviews indicates an expected call of ListReviews.

func (*MockPullRequestsServiceMockRecorder) Merge

func (mr *MockPullRequestsServiceMockRecorder) Merge(ctx, owner, repo, number, commitMessage, options interface{}) *gomock.Call

Merge indicates an expected call of Merge.

func (*MockPullRequestsServiceMockRecorder) RequestReviewers

func (mr *MockPullRequestsServiceMockRecorder) RequestReviewers(ctx, owner, repo, number, reviewers interface{}) *gomock.Call

RequestReviewers indicates an expected call of RequestReviewers.

func (*MockPullRequestsServiceMockRecorder) UpdateBranch

func (mr *MockPullRequestsServiceMockRecorder) UpdateBranch(ctx, owner, repo, number, opts 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(ctx context.Context, owner, repo, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error)

CreateStatus mocks base method.

func (*MockRepositoriesService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRepositoriesService) Get

Get mocks base method.

func (*MockRepositoriesService) GetBranch

func (m *MockRepositoriesService) GetBranch(ctx context.Context, owner, repo, branch string, followRedirects bool) (*github.Branch, *github.Response, error)

GetBranch mocks base method.

func (*MockRepositoriesService) GetCombinedStatus

func (m *MockRepositoriesService) GetCombinedStatus(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error)

GetCombinedStatus mocks base method.

func (*MockRepositoriesService) ListBranches added in v0.16.6

func (m *MockRepositoriesService) ListBranches(ctx context.Context, owner, repo string, opts *github.BranchListOptions) ([]*github.Branch, *github.Response, error)

ListBranches mocks base method.

func (*MockRepositoriesService) ListStatuses

func (m *MockRepositoriesService) ListStatuses(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)

ListStatuses mocks base method.

func (*MockRepositoriesService) ListTeams

func (m *MockRepositoriesService) ListTeams(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Team, *github.Response, error)

ListTeams 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(ctx, owner, repo, ref, status interface{}) *gomock.Call

CreateStatus indicates an expected call of CreateStatus.

func (*MockRepositoriesServiceMockRecorder) Get

func (mr *MockRepositoriesServiceMockRecorder) Get(ctx, owner, repo interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRepositoriesServiceMockRecorder) GetBranch

func (mr *MockRepositoriesServiceMockRecorder) GetBranch(ctx, owner, repo, branch, followRedirects interface{}) *gomock.Call

GetBranch indicates an expected call of GetBranch.

func (*MockRepositoriesServiceMockRecorder) GetCombinedStatus

func (mr *MockRepositoriesServiceMockRecorder) GetCombinedStatus(ctx, owner, repo, ref, opts interface{}) *gomock.Call

GetCombinedStatus indicates an expected call of GetCombinedStatus.

func (*MockRepositoriesServiceMockRecorder) ListBranches added in v0.16.6

func (mr *MockRepositoriesServiceMockRecorder) ListBranches(ctx, owner, repo, opts interface{}) *gomock.Call

ListBranches indicates an expected call of ListBranches.

func (*MockRepositoriesServiceMockRecorder) ListStatuses

func (mr *MockRepositoriesServiceMockRecorder) ListStatuses(ctx, owner, repo, ref, opts interface{}) *gomock.Call

ListStatuses indicates an expected call of ListStatuses.

func (*MockRepositoriesServiceMockRecorder) ListTeams

func (mr *MockRepositoriesServiceMockRecorder) ListTeams(ctx, owner, repo, opts interface{}) *gomock.Call

ListTeams indicates an expected call of ListTeams.

type MockTeamsService added in v0.5.8

type MockTeamsService struct {
	// contains filtered or unexported fields
}

MockTeamsService is a mock of TeamsService interface.

func NewMockTeamsService added in v0.5.8

func NewMockTeamsService(ctrl *gomock.Controller) *MockTeamsService

NewMockTeamsService creates a new mock instance.

func (*MockTeamsService) EXPECT added in v0.5.8

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTeamsService) ListTeamMembersBySlug added in v0.5.8

func (m *MockTeamsService) ListTeamMembersBySlug(ctx context.Context, org, slug string, opts *github.TeamListTeamMembersOptions) ([]*github.User, *github.Response, error)

ListTeamMembersBySlug mocks base method.

type MockTeamsServiceMockRecorder added in v0.5.8

type MockTeamsServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTeamsServiceMockRecorder is the mock recorder for MockTeamsService.

func (*MockTeamsServiceMockRecorder) ListTeamMembersBySlug added in v0.5.8

func (mr *MockTeamsServiceMockRecorder) ListTeamMembersBySlug(ctx, org, slug, opts interface{}) *gomock.Call

ListTeamMembersBySlug indicates an expected call of ListTeamMembersBySlug.

Jump to

Keyboard shortcuts

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