mocks

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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.

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(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 MockCircleCIService added in v0.2.9

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

MockCircleCIService is a mock of CircleCIService interface

func NewMockCircleCIService added in v0.2.9

func NewMockCircleCIService(ctrl *gomock.Controller) *MockCircleCIService

NewMockCircleCIService creates a new mock instance

func (*MockCircleCIService) BuildByProjectWithContext added in v0.2.9

func (m *MockCircleCIService) BuildByProjectWithContext(arg0 context.Context, arg1 circleci.VcsType, arg2, arg3 string, arg4 map[string]interface{}) error

BuildByProjectWithContext mocks base method

func (*MockCircleCIService) EXPECT added in v0.2.9

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

func (*MockCircleCIService) GetPipelineWorkflowWithContext added in v0.2.10

func (m *MockCircleCIService) GetPipelineWorkflowWithContext(arg0 context.Context, arg1, arg2 string) (*circleci.WorkflowList, error)

GetPipelineWorkflowWithContext mocks base method

func (*MockCircleCIService) ListBuildArtifactsWithContext added in v0.2.9

func (m *MockCircleCIService) ListBuildArtifactsWithContext(arg0 context.Context, arg1 circleci.VcsType, arg2, arg3 string, arg4 int) ([]*circleci.Artifact, error)

ListBuildArtifactsWithContext mocks base method

func (*MockCircleCIService) ListRecentBuildsForProjectWithContext added in v0.2.9

func (m *MockCircleCIService) ListRecentBuildsForProjectWithContext(arg0 context.Context, arg1 circleci.VcsType, arg2, arg3, arg4, arg5 string, arg6, arg7 int) ([]*circleci.Build, error)

ListRecentBuildsForProjectWithContext mocks base method

func (*MockCircleCIService) TriggerPipelineWithContext added in v0.2.10

func (m *MockCircleCIService) TriggerPipelineWithContext(arg0 context.Context, arg1 circleci.VcsType, arg2, arg3, arg4, arg5 string, arg6 map[string]interface{}) (*circleci.Pipeline, error)

TriggerPipelineWithContext mocks base method

type MockCircleCIServiceMockRecorder added in v0.2.9

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

MockCircleCIServiceMockRecorder is the mock recorder for MockCircleCIService

func (*MockCircleCIServiceMockRecorder) BuildByProjectWithContext added in v0.2.9

func (mr *MockCircleCIServiceMockRecorder) BuildByProjectWithContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

BuildByProjectWithContext indicates an expected call of BuildByProjectWithContext

func (*MockCircleCIServiceMockRecorder) GetPipelineWorkflowWithContext added in v0.2.10

func (mr *MockCircleCIServiceMockRecorder) GetPipelineWorkflowWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

GetPipelineWorkflowWithContext indicates an expected call of GetPipelineWorkflowWithContext

func (*MockCircleCIServiceMockRecorder) ListBuildArtifactsWithContext added in v0.2.9

func (mr *MockCircleCIServiceMockRecorder) ListBuildArtifactsWithContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListBuildArtifactsWithContext indicates an expected call of ListBuildArtifactsWithContext

func (*MockCircleCIServiceMockRecorder) ListRecentBuildsForProjectWithContext added in v0.2.9

func (mr *MockCircleCIServiceMockRecorder) ListRecentBuildsForProjectWithContext(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

ListRecentBuildsForProjectWithContext indicates an expected call of ListRecentBuildsForProjectWithContext

func (*MockCircleCIServiceMockRecorder) TriggerPipelineWithContext added in v0.2.10

func (mr *MockCircleCIServiceMockRecorder) TriggerPipelineWithContext(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

TriggerPipelineWithContext indicates an expected call of TriggerPipelineWithContext

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

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

func (*MockGitService) GetRef

func (m *MockGitService) GetRef(arg0 context.Context, arg1, arg2, arg3 string) (*github.Reference, *github.Response, error)

GetRef 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(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

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

func (*MockIssuesService) RemoveLabelForIssue

func (m *MockIssuesService) RemoveLabelForIssue(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 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(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

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) IncreaseRateLimiterErrors added in v0.3.0

func (m *MockMetricsProvider) IncreaseRateLimiterErrors()

IncreaseRateLimiterErrors 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) 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(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

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

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

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

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

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

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

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(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

func (*MockRepositoriesService) ListTeams

func (m *MockRepositoriesService) ListTeams(arg0 context.Context, arg1, arg2 string, arg3 *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(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

Jump to

Keyboard shortcuts

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