Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockFactory
- type MockFactoryMockRecorder
- type MockFilter
- type MockFilterMockRecorder
- type MockFilterRepository
- func (m *MockFilterRepository) EXPECT() *MockFilterRepositoryMockRecorder
- func (m *MockFilterRepository) GetFile(fileName string) (string, error)
- func (m *MockFilterRepository) HasFile(path string) (bool, error)
- func (m *MockFilterRepository) Host() string
- func (m *MockFilterRepository) Name() string
- func (m *MockFilterRepository) Owner() string
- type MockFilterRepositoryMockRecorder
- func (mr *MockFilterRepositoryMockRecorder) GetFile(fileName any) *gomock.Call
- func (mr *MockFilterRepositoryMockRecorder) HasFile(path any) *gomock.Call
- func (mr *MockFilterRepositoryMockRecorder) Host() *gomock.Call
- func (mr *MockFilterRepositoryMockRecorder) Name() *gomock.Call
- func (mr *MockFilterRepositoryMockRecorder) Owner() *gomock.Call
- type MockGitClient
- func (m *MockGitClient) CommitChanges(msg string) error
- func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
- func (m *MockGitClient) Execute(arg ...string) (string, string, error)
- func (m *MockGitClient) HasLocalChanges() (bool, error)
- func (m *MockGitClient) HasRemoteChanges(branchName string) (bool, error)
- func (m *MockGitClient) Prepare(repo host.Repository, retry bool) (string, error)
- func (m *MockGitClient) Push(branchName string) error
- func (m *MockGitClient) UpdateTaskBranch(branchName string, forceRebase bool, repo host.Repository) (bool, error)
- type MockGitClientMockRecorder
- func (mr *MockGitClientMockRecorder) CommitChanges(msg any) *gomock.Call
- func (mr *MockGitClientMockRecorder) Execute(arg ...any) *gomock.Call
- func (mr *MockGitClientMockRecorder) HasLocalChanges() *gomock.Call
- func (mr *MockGitClientMockRecorder) HasRemoteChanges(branchName any) *gomock.Call
- func (mr *MockGitClientMockRecorder) Prepare(repo, retry any) *gomock.Call
- func (mr *MockGitClientMockRecorder) Push(branchName any) *gomock.Call
- func (mr *MockGitClientMockRecorder) UpdateTaskBranch(branchName, forceRebase, repo any) *gomock.Call
- type MockHost
- func (m *MockHost) CreateFromName(name string) (host.Repository, error)
- func (m *MockHost) EXPECT() *MockHostMockRecorder
- func (m *MockHost) ListRepositories(since *time.Time, result chan []host.Repository, errChan chan error)
- func (m *MockHost) ListRepositoriesWithOpenPullRequests(result chan []host.Repository, errChan chan error)
- type MockHostMockRecorder
- type MockRepository
- func (m *MockRepository) BaseBranch() string
- func (m *MockRepository) CanMergePullRequest(pr any) (bool, error)
- func (m *MockRepository) CloneUrlHttp() string
- func (m *MockRepository) CloneUrlSsh() string
- func (m *MockRepository) ClosePullRequest(msg string, pr any) error
- func (m *MockRepository) CreatePullRequest(branch string, data host.PullRequestData) error
- func (m *MockRepository) CreatePullRequestComment(body string, pr any) error
- func (m *MockRepository) DeleteBranch(pr any) error
- func (m *MockRepository) DeletePullRequestComment(comment host.PullRequestComment, pr any) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) FindPullRequest(branch string) (any, error)
- func (m *MockRepository) FullName() string
- func (m *MockRepository) GetFile(fileName string) (string, error)
- func (m *MockRepository) GetPullRequestBody(pr any) string
- func (m *MockRepository) GetPullRequestCreationTime(pr any) time.Time
- func (m *MockRepository) HasFile(path string) (bool, error)
- func (m *MockRepository) HasSuccessfulPullRequestBuild(pr any) (bool, error)
- func (m *MockRepository) Host() string
- func (m *MockRepository) IsPullRequestClosed(pr any) bool
- func (m *MockRepository) IsPullRequestMerged(pr any) bool
- func (m *MockRepository) IsPullRequestOpen(pr any) bool
- func (m *MockRepository) ListPullRequestComments(pr any) ([]host.PullRequestComment, error)
- func (m *MockRepository) MergePullRequest(deleteBranch bool, pr any) error
- func (m *MockRepository) Name() string
- func (m *MockRepository) Owner() string
- func (m *MockRepository) UpdatePullRequest(data host.PullRequestData, pr any) error
- func (m *MockRepository) WebUrl() string
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) BaseBranch() *gomock.Call
- func (mr *MockRepositoryMockRecorder) CanMergePullRequest(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) CloneUrlHttp() *gomock.Call
- func (mr *MockRepositoryMockRecorder) CloneUrlSsh() *gomock.Call
- func (mr *MockRepositoryMockRecorder) ClosePullRequest(msg, pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) CreatePullRequest(branch, data any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) CreatePullRequestComment(body, pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) DeleteBranch(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) DeletePullRequestComment(comment, pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) FindPullRequest(branch any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) FullName() *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetFile(fileName any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetPullRequestBody(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetPullRequestCreationTime(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) HasFile(path any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) HasSuccessfulPullRequestBuild(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Host() *gomock.Call
- func (mr *MockRepositoryMockRecorder) IsPullRequestClosed(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) IsPullRequestMerged(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) IsPullRequestOpen(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) ListPullRequestComments(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) MergePullRequest(deleteBranch, pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Name() *gomock.Call
- func (mr *MockRepositoryMockRecorder) Owner() *gomock.Call
- func (mr *MockRepositoryMockRecorder) UpdatePullRequest(data, pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) WebUrl() *gomock.Call
- type MockTask
- func (m *MockTask) Actions() []action.Action
- func (m *MockTask) AutoMergeAfter() time.Duration
- func (m *MockTask) BranchName() string
- func (m *MockTask) Checksum() string
- func (m *MockTask) EXPECT() *MockTaskMockRecorder
- func (m *MockTask) Filters() []filter.Filter
- func (m *MockTask) OnPrClosed(arg0 host.Repository) error
- func (m *MockTask) OnPrCreated(arg0 host.Repository) error
- func (m *MockTask) OnPrMerged(arg0 host.Repository) error
- func (m *MockTask) PrTitle() string
- func (m *MockTask) SourceTask() *schema.Task
- func (m *MockTask) Stop()
- type MockTaskMockRecorder
- func (mr *MockTaskMockRecorder) Actions() *gomock.Call
- func (mr *MockTaskMockRecorder) AutoMergeAfter() *gomock.Call
- func (mr *MockTaskMockRecorder) BranchName() *gomock.Call
- func (mr *MockTaskMockRecorder) Checksum() *gomock.Call
- func (mr *MockTaskMockRecorder) Filters() *gomock.Call
- func (mr *MockTaskMockRecorder) OnPrClosed(arg0 any) *gomock.Call
- func (mr *MockTaskMockRecorder) OnPrCreated(arg0 any) *gomock.Call
- func (mr *MockTaskMockRecorder) OnPrMerged(arg0 any) *gomock.Call
- func (mr *MockTaskMockRecorder) PrTitle() *gomock.Call
- func (mr *MockTaskMockRecorder) SourceTask() *gomock.Call
- func (mr *MockTaskMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface.
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance.
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) Create ¶
func (mr *MockFactoryMockRecorder) Create(params any) *gomock.Call
Create indicates an expected call of Create.
func (*MockFactoryMockRecorder) Name ¶
func (mr *MockFactoryMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockFilter ¶
type MockFilter struct {
// contains filtered or unexported fields
}
MockFilter is a mock of Filter interface.
func NewMockFilter ¶
func NewMockFilter(ctrl *gomock.Controller) *MockFilter
NewMockFilter creates a new mock instance.
func (*MockFilter) Do ¶
func (m *MockFilter) Do(arg0 context.Context) (bool, error)
Do mocks base method.
func (*MockFilter) EXPECT ¶
func (m *MockFilter) EXPECT() *MockFilterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFilterMockRecorder ¶
type MockFilterMockRecorder struct {
// contains filtered or unexported fields
}
MockFilterMockRecorder is the mock recorder for MockFilter.
func (*MockFilterMockRecorder) Do ¶
func (mr *MockFilterMockRecorder) Do(arg0 any) *gomock.Call
Do indicates an expected call of Do.
func (*MockFilterMockRecorder) String ¶
func (mr *MockFilterMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockFilterRepository ¶
type MockFilterRepository struct {
// contains filtered or unexported fields
}
MockFilterRepository is a mock of FilterRepository interface.
func NewMockFilterRepository ¶
func NewMockFilterRepository(ctrl *gomock.Controller) *MockFilterRepository
NewMockFilterRepository creates a new mock instance.
func (*MockFilterRepository) EXPECT ¶
func (m *MockFilterRepository) EXPECT() *MockFilterRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFilterRepository) GetFile ¶
func (m *MockFilterRepository) GetFile(fileName string) (string, error)
GetFile mocks base method.
func (*MockFilterRepository) HasFile ¶
func (m *MockFilterRepository) HasFile(path string) (bool, error)
HasFile mocks base method.
func (*MockFilterRepository) Host ¶
func (m *MockFilterRepository) Host() string
Host mocks base method.
func (*MockFilterRepository) Name ¶
func (m *MockFilterRepository) Name() string
Name mocks base method.
func (*MockFilterRepository) Owner ¶
func (m *MockFilterRepository) Owner() string
Owner mocks base method.
type MockFilterRepositoryMockRecorder ¶
type MockFilterRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFilterRepositoryMockRecorder is the mock recorder for MockFilterRepository.
func (*MockFilterRepositoryMockRecorder) GetFile ¶
func (mr *MockFilterRepositoryMockRecorder) GetFile(fileName any) *gomock.Call
GetFile indicates an expected call of GetFile.
func (*MockFilterRepositoryMockRecorder) HasFile ¶
func (mr *MockFilterRepositoryMockRecorder) HasFile(path any) *gomock.Call
HasFile indicates an expected call of HasFile.
func (*MockFilterRepositoryMockRecorder) Host ¶
func (mr *MockFilterRepositoryMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host.
func (*MockFilterRepositoryMockRecorder) Name ¶
func (mr *MockFilterRepositoryMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockFilterRepositoryMockRecorder) Owner ¶
func (mr *MockFilterRepositoryMockRecorder) Owner() *gomock.Call
Owner indicates an expected call of Owner.
type MockGitClient ¶
type MockGitClient struct {
// contains filtered or unexported fields
}
MockGitClient is a mock of GitClient interface.
func NewMockGitClient ¶
func NewMockGitClient(ctrl *gomock.Controller) *MockGitClient
NewMockGitClient creates a new mock instance.
func (*MockGitClient) CommitChanges ¶
func (m *MockGitClient) CommitChanges(msg string) error
CommitChanges mocks base method.
func (*MockGitClient) EXPECT ¶
func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitClient) Execute ¶
func (m *MockGitClient) Execute(arg ...string) (string, string, error)
Execute mocks base method.
func (*MockGitClient) HasLocalChanges ¶
func (m *MockGitClient) HasLocalChanges() (bool, error)
HasLocalChanges mocks base method.
func (*MockGitClient) HasRemoteChanges ¶
func (m *MockGitClient) HasRemoteChanges(branchName string) (bool, error)
HasRemoteChanges mocks base method.
func (*MockGitClient) Prepare ¶
func (m *MockGitClient) Prepare(repo host.Repository, retry bool) (string, error)
Prepare mocks base method.
func (*MockGitClient) Push ¶
func (m *MockGitClient) Push(branchName string) error
Push mocks base method.
func (*MockGitClient) UpdateTaskBranch ¶
func (m *MockGitClient) UpdateTaskBranch(branchName string, forceRebase bool, repo host.Repository) (bool, error)
UpdateTaskBranch mocks base method.
type MockGitClientMockRecorder ¶
type MockGitClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitClientMockRecorder is the mock recorder for MockGitClient.
func (*MockGitClientMockRecorder) CommitChanges ¶
func (mr *MockGitClientMockRecorder) CommitChanges(msg any) *gomock.Call
CommitChanges indicates an expected call of CommitChanges.
func (*MockGitClientMockRecorder) Execute ¶
func (mr *MockGitClientMockRecorder) Execute(arg ...any) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockGitClientMockRecorder) HasLocalChanges ¶
func (mr *MockGitClientMockRecorder) HasLocalChanges() *gomock.Call
HasLocalChanges indicates an expected call of HasLocalChanges.
func (*MockGitClientMockRecorder) HasRemoteChanges ¶
func (mr *MockGitClientMockRecorder) HasRemoteChanges(branchName any) *gomock.Call
HasRemoteChanges indicates an expected call of HasRemoteChanges.
func (*MockGitClientMockRecorder) Prepare ¶
func (mr *MockGitClientMockRecorder) Prepare(repo, retry any) *gomock.Call
Prepare indicates an expected call of Prepare.
func (*MockGitClientMockRecorder) Push ¶
func (mr *MockGitClientMockRecorder) Push(branchName any) *gomock.Call
Push indicates an expected call of Push.
func (*MockGitClientMockRecorder) UpdateTaskBranch ¶
func (mr *MockGitClientMockRecorder) UpdateTaskBranch(branchName, forceRebase, repo any) *gomock.Call
UpdateTaskBranch indicates an expected call of UpdateTaskBranch.
type MockHost ¶
type MockHost struct {
// contains filtered or unexported fields
}
MockHost is a mock of Host interface.
func NewMockHost ¶
func NewMockHost(ctrl *gomock.Controller) *MockHost
NewMockHost creates a new mock instance.
func (*MockHost) CreateFromName ¶
func (m *MockHost) CreateFromName(name string) (host.Repository, error)
CreateFromName mocks base method.
func (*MockHost) EXPECT ¶
func (m *MockHost) EXPECT() *MockHostMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHost) ListRepositories ¶
func (m *MockHost) ListRepositories(since *time.Time, result chan []host.Repository, errChan chan error)
ListRepositories mocks base method.
func (*MockHost) ListRepositoriesWithOpenPullRequests ¶
func (m *MockHost) ListRepositoriesWithOpenPullRequests(result chan []host.Repository, errChan chan error)
ListRepositoriesWithOpenPullRequests mocks base method.
type MockHostMockRecorder ¶
type MockHostMockRecorder struct {
// contains filtered or unexported fields
}
MockHostMockRecorder is the mock recorder for MockHost.
func (*MockHostMockRecorder) CreateFromName ¶
func (mr *MockHostMockRecorder) CreateFromName(name any) *gomock.Call
CreateFromName indicates an expected call of CreateFromName.
func (*MockHostMockRecorder) ListRepositories ¶
func (mr *MockHostMockRecorder) ListRepositories(since, result, errChan any) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockHostMockRecorder) ListRepositoriesWithOpenPullRequests ¶
func (mr *MockHostMockRecorder) ListRepositoriesWithOpenPullRequests(result, errChan any) *gomock.Call
ListRepositoriesWithOpenPullRequests indicates an expected call of ListRepositoriesWithOpenPullRequests.
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) BaseBranch ¶
func (m *MockRepository) BaseBranch() string
BaseBranch mocks base method.
func (*MockRepository) CanMergePullRequest ¶
func (m *MockRepository) CanMergePullRequest(pr any) (bool, error)
CanMergePullRequest mocks base method.
func (*MockRepository) CloneUrlHttp ¶
func (m *MockRepository) CloneUrlHttp() string
CloneUrlHttp mocks base method.
func (*MockRepository) CloneUrlSsh ¶
func (m *MockRepository) CloneUrlSsh() string
CloneUrlSsh mocks base method.
func (*MockRepository) ClosePullRequest ¶
func (m *MockRepository) ClosePullRequest(msg string, pr any) error
ClosePullRequest mocks base method.
func (*MockRepository) CreatePullRequest ¶
func (m *MockRepository) CreatePullRequest(branch string, data host.PullRequestData) error
CreatePullRequest mocks base method.
func (*MockRepository) CreatePullRequestComment ¶
func (m *MockRepository) CreatePullRequestComment(body string, pr any) error
CreatePullRequestComment mocks base method.
func (*MockRepository) DeleteBranch ¶
func (m *MockRepository) DeleteBranch(pr any) error
DeleteBranch mocks base method.
func (*MockRepository) DeletePullRequestComment ¶
func (m *MockRepository) DeletePullRequestComment(comment host.PullRequestComment, pr any) error
DeletePullRequestComment mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) FindPullRequest ¶
func (m *MockRepository) FindPullRequest(branch string) (any, error)
FindPullRequest mocks base method.
func (*MockRepository) FullName ¶
func (m *MockRepository) FullName() string
FullName mocks base method.
func (*MockRepository) GetFile ¶
func (m *MockRepository) GetFile(fileName string) (string, error)
GetFile mocks base method.
func (*MockRepository) GetPullRequestBody ¶
func (m *MockRepository) GetPullRequestBody(pr any) string
GetPullRequestBody mocks base method.
func (*MockRepository) GetPullRequestCreationTime ¶
func (m *MockRepository) GetPullRequestCreationTime(pr any) time.Time
GetPullRequestCreationTime mocks base method.
func (*MockRepository) HasFile ¶
func (m *MockRepository) HasFile(path string) (bool, error)
HasFile mocks base method.
func (*MockRepository) HasSuccessfulPullRequestBuild ¶
func (m *MockRepository) HasSuccessfulPullRequestBuild(pr any) (bool, error)
HasSuccessfulPullRequestBuild mocks base method.
func (*MockRepository) IsPullRequestClosed ¶
func (m *MockRepository) IsPullRequestClosed(pr any) bool
IsPullRequestClosed mocks base method.
func (*MockRepository) IsPullRequestMerged ¶
func (m *MockRepository) IsPullRequestMerged(pr any) bool
IsPullRequestMerged mocks base method.
func (*MockRepository) IsPullRequestOpen ¶
func (m *MockRepository) IsPullRequestOpen(pr any) bool
IsPullRequestOpen mocks base method.
func (*MockRepository) ListPullRequestComments ¶
func (m *MockRepository) ListPullRequestComments(pr any) ([]host.PullRequestComment, error)
ListPullRequestComments mocks base method.
func (*MockRepository) MergePullRequest ¶
func (m *MockRepository) MergePullRequest(deleteBranch bool, pr any) error
MergePullRequest mocks base method.
func (*MockRepository) UpdatePullRequest ¶
func (m *MockRepository) UpdatePullRequest(data host.PullRequestData, pr any) error
UpdatePullRequest mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) BaseBranch ¶
func (mr *MockRepositoryMockRecorder) BaseBranch() *gomock.Call
BaseBranch indicates an expected call of BaseBranch.
func (*MockRepositoryMockRecorder) CanMergePullRequest ¶
func (mr *MockRepositoryMockRecorder) CanMergePullRequest(pr any) *gomock.Call
CanMergePullRequest indicates an expected call of CanMergePullRequest.
func (*MockRepositoryMockRecorder) CloneUrlHttp ¶
func (mr *MockRepositoryMockRecorder) CloneUrlHttp() *gomock.Call
CloneUrlHttp indicates an expected call of CloneUrlHttp.
func (*MockRepositoryMockRecorder) CloneUrlSsh ¶
func (mr *MockRepositoryMockRecorder) CloneUrlSsh() *gomock.Call
CloneUrlSsh indicates an expected call of CloneUrlSsh.
func (*MockRepositoryMockRecorder) ClosePullRequest ¶
func (mr *MockRepositoryMockRecorder) ClosePullRequest(msg, pr any) *gomock.Call
ClosePullRequest indicates an expected call of ClosePullRequest.
func (*MockRepositoryMockRecorder) CreatePullRequest ¶
func (mr *MockRepositoryMockRecorder) CreatePullRequest(branch, data any) *gomock.Call
CreatePullRequest indicates an expected call of CreatePullRequest.
func (*MockRepositoryMockRecorder) CreatePullRequestComment ¶
func (mr *MockRepositoryMockRecorder) CreatePullRequestComment(body, pr any) *gomock.Call
CreatePullRequestComment indicates an expected call of CreatePullRequestComment.
func (*MockRepositoryMockRecorder) DeleteBranch ¶
func (mr *MockRepositoryMockRecorder) DeleteBranch(pr any) *gomock.Call
DeleteBranch indicates an expected call of DeleteBranch.
func (*MockRepositoryMockRecorder) DeletePullRequestComment ¶
func (mr *MockRepositoryMockRecorder) DeletePullRequestComment(comment, pr any) *gomock.Call
DeletePullRequestComment indicates an expected call of DeletePullRequestComment.
func (*MockRepositoryMockRecorder) FindPullRequest ¶
func (mr *MockRepositoryMockRecorder) FindPullRequest(branch any) *gomock.Call
FindPullRequest indicates an expected call of FindPullRequest.
func (*MockRepositoryMockRecorder) FullName ¶
func (mr *MockRepositoryMockRecorder) FullName() *gomock.Call
FullName indicates an expected call of FullName.
func (*MockRepositoryMockRecorder) GetFile ¶
func (mr *MockRepositoryMockRecorder) GetFile(fileName any) *gomock.Call
GetFile indicates an expected call of GetFile.
func (*MockRepositoryMockRecorder) GetPullRequestBody ¶
func (mr *MockRepositoryMockRecorder) GetPullRequestBody(pr any) *gomock.Call
GetPullRequestBody indicates an expected call of GetPullRequestBody.
func (*MockRepositoryMockRecorder) GetPullRequestCreationTime ¶
func (mr *MockRepositoryMockRecorder) GetPullRequestCreationTime(pr any) *gomock.Call
GetPullRequestCreationTime indicates an expected call of GetPullRequestCreationTime.
func (*MockRepositoryMockRecorder) HasFile ¶
func (mr *MockRepositoryMockRecorder) HasFile(path any) *gomock.Call
HasFile indicates an expected call of HasFile.
func (*MockRepositoryMockRecorder) HasSuccessfulPullRequestBuild ¶
func (mr *MockRepositoryMockRecorder) HasSuccessfulPullRequestBuild(pr any) *gomock.Call
HasSuccessfulPullRequestBuild indicates an expected call of HasSuccessfulPullRequestBuild.
func (*MockRepositoryMockRecorder) Host ¶
func (mr *MockRepositoryMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host.
func (*MockRepositoryMockRecorder) IsPullRequestClosed ¶
func (mr *MockRepositoryMockRecorder) IsPullRequestClosed(pr any) *gomock.Call
IsPullRequestClosed indicates an expected call of IsPullRequestClosed.
func (*MockRepositoryMockRecorder) IsPullRequestMerged ¶
func (mr *MockRepositoryMockRecorder) IsPullRequestMerged(pr any) *gomock.Call
IsPullRequestMerged indicates an expected call of IsPullRequestMerged.
func (*MockRepositoryMockRecorder) IsPullRequestOpen ¶
func (mr *MockRepositoryMockRecorder) IsPullRequestOpen(pr any) *gomock.Call
IsPullRequestOpen indicates an expected call of IsPullRequestOpen.
func (*MockRepositoryMockRecorder) ListPullRequestComments ¶
func (mr *MockRepositoryMockRecorder) ListPullRequestComments(pr any) *gomock.Call
ListPullRequestComments indicates an expected call of ListPullRequestComments.
func (*MockRepositoryMockRecorder) MergePullRequest ¶
func (mr *MockRepositoryMockRecorder) MergePullRequest(deleteBranch, pr any) *gomock.Call
MergePullRequest indicates an expected call of MergePullRequest.
func (*MockRepositoryMockRecorder) Name ¶
func (mr *MockRepositoryMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockRepositoryMockRecorder) Owner ¶
func (mr *MockRepositoryMockRecorder) Owner() *gomock.Call
Owner indicates an expected call of Owner.
func (*MockRepositoryMockRecorder) UpdatePullRequest ¶
func (mr *MockRepositoryMockRecorder) UpdatePullRequest(data, pr any) *gomock.Call
UpdatePullRequest indicates an expected call of UpdatePullRequest.
func (*MockRepositoryMockRecorder) WebUrl ¶
func (mr *MockRepositoryMockRecorder) WebUrl() *gomock.Call
WebUrl indicates an expected call of WebUrl.
type MockTask ¶
type MockTask struct {
// contains filtered or unexported fields
}
MockTask is a mock of Task interface.
func NewMockTask ¶
func NewMockTask(ctrl *gomock.Controller) *MockTask
NewMockTask creates a new mock instance.
func (*MockTask) AutoMergeAfter ¶
AutoMergeAfter mocks base method.
func (*MockTask) EXPECT ¶
func (m *MockTask) EXPECT() *MockTaskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTask) OnPrClosed ¶
func (m *MockTask) OnPrClosed(arg0 host.Repository) error
OnPrClosed mocks base method.
func (*MockTask) OnPrCreated ¶
func (m *MockTask) OnPrCreated(arg0 host.Repository) error
OnPrCreated mocks base method.
func (*MockTask) OnPrMerged ¶
func (m *MockTask) OnPrMerged(arg0 host.Repository) error
OnPrMerged mocks base method.
func (*MockTask) SourceTask ¶
SourceTask mocks base method.
type MockTaskMockRecorder ¶
type MockTaskMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskMockRecorder is the mock recorder for MockTask.
func (*MockTaskMockRecorder) Actions ¶
func (mr *MockTaskMockRecorder) Actions() *gomock.Call
Actions indicates an expected call of Actions.
func (*MockTaskMockRecorder) AutoMergeAfter ¶
func (mr *MockTaskMockRecorder) AutoMergeAfter() *gomock.Call
AutoMergeAfter indicates an expected call of AutoMergeAfter.
func (*MockTaskMockRecorder) BranchName ¶
func (mr *MockTaskMockRecorder) BranchName() *gomock.Call
BranchName indicates an expected call of BranchName.
func (*MockTaskMockRecorder) Checksum ¶
func (mr *MockTaskMockRecorder) Checksum() *gomock.Call
Checksum indicates an expected call of Checksum.
func (*MockTaskMockRecorder) Filters ¶
func (mr *MockTaskMockRecorder) Filters() *gomock.Call
Filters indicates an expected call of Filters.
func (*MockTaskMockRecorder) OnPrClosed ¶
func (mr *MockTaskMockRecorder) OnPrClosed(arg0 any) *gomock.Call
OnPrClosed indicates an expected call of OnPrClosed.
func (*MockTaskMockRecorder) OnPrCreated ¶
func (mr *MockTaskMockRecorder) OnPrCreated(arg0 any) *gomock.Call
OnPrCreated indicates an expected call of OnPrCreated.
func (*MockTaskMockRecorder) OnPrMerged ¶
func (mr *MockTaskMockRecorder) OnPrMerged(arg0 any) *gomock.Call
OnPrMerged indicates an expected call of OnPrMerged.
func (*MockTaskMockRecorder) PrTitle ¶
func (mr *MockTaskMockRecorder) PrTitle() *gomock.Call
PrTitle indicates an expected call of PrTitle.
func (*MockTaskMockRecorder) SourceTask ¶
func (mr *MockTaskMockRecorder) SourceTask() *gomock.Call
SourceTask indicates an expected call of SourceTask.
func (*MockTaskMockRecorder) Stop ¶
func (mr *MockTaskMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.