Documentation
¶
Overview ¶
Package host is a generated GoMock package.
Package host is a generated GoMock package.
Index ¶
- type MockCacher
- func (m *MockCacher) Delete(key string) error
- func (m *MockCacher) DeleteAllByTag(tagName string) error
- func (m *MockCacher) EXPECT() *MockCacherMockRecorder
- func (m *MockCacher) Get(key string) ([]byte, error)
- func (m *MockCacher) GetAllByTag(tag string) ([][]byte, error)
- func (m *MockCacher) Set(key string, value []byte) error
- func (m *MockCacher) SetWithTags(key string, value []byte, tags ...string) error
- type MockCacherMockRecorder
- func (mr *MockCacherMockRecorder) Delete(key any) *gomock.Call
- func (mr *MockCacherMockRecorder) DeleteAllByTag(tagName any) *gomock.Call
- func (mr *MockCacherMockRecorder) Get(key any) *gomock.Call
- func (mr *MockCacherMockRecorder) GetAllByTag(tag any) *gomock.Call
- func (mr *MockCacherMockRecorder) Set(key, value any) *gomock.Call
- func (mr *MockCacherMockRecorder) SetWithTags(key, value any, tags ...any) *gomock.Call
- type MockHost
- func (m *MockHost) AuthenticatedUser() (*host.UserInfo, error)
- func (m *MockHost) CreateFromJson(dec *json.Decoder) (host.Repository, error)
- func (m *MockHost) CreateFromName(name string) (host.Repository, error)
- func (m *MockHost) EXPECT() *MockHostMockRecorder
- func (m *MockHost) Name() string
- func (m *MockHost) PullRequestFactory() host.PullRequestFactory
- func (m *MockHost) PullRequestIterator() host.PullRequestIterator
- func (m *MockHost) RepositoryIterator() host.RepositoryIterator
- func (m *MockHost) Type() host.Type
- type MockHostDetail
- type MockHostDetailMockRecorder
- type MockHostMockRecorder
- func (mr *MockHostMockRecorder) AuthenticatedUser() *gomock.Call
- func (mr *MockHostMockRecorder) CreateFromJson(dec any) *gomock.Call
- func (mr *MockHostMockRecorder) CreateFromName(name any) *gomock.Call
- func (mr *MockHostMockRecorder) Name() *gomock.Call
- func (mr *MockHostMockRecorder) PullRequestFactory() *gomock.Call
- func (mr *MockHostMockRecorder) PullRequestIterator() *gomock.Call
- func (mr *MockHostMockRecorder) RepositoryIterator() *gomock.Call
- func (mr *MockHostMockRecorder) Type() *gomock.Call
- type MockPullRequestCache
- func (m *MockPullRequestCache) Delete(branchName, repo string)
- func (m *MockPullRequestCache) EXPECT() *MockPullRequestCacheMockRecorder
- func (m *MockPullRequestCache) Get(branchName, repoName string) *host.PullRequest
- func (m *MockPullRequestCache) LastUpdatedAtFor(arg0 host.Host) *time.Time
- func (m *MockPullRequestCache) Set(branchName, repoName string, pr *host.PullRequest)
- func (m *MockPullRequestCache) SetLastUpdatedAtFor(arg0 host.Host, updatedAt time.Time)
- func (m *MockPullRequestCache) SetPullRequestFactory(hostType host.Type, fac host.PullRequestFactory)
- type MockPullRequestCacheMockRecorder
- func (mr *MockPullRequestCacheMockRecorder) Delete(branchName, repo any) *gomock.Call
- func (mr *MockPullRequestCacheMockRecorder) Get(branchName, repoName any) *gomock.Call
- func (mr *MockPullRequestCacheMockRecorder) LastUpdatedAtFor(arg0 any) *gomock.Call
- func (mr *MockPullRequestCacheMockRecorder) Set(branchName, repoName, pr any) *gomock.Call
- func (mr *MockPullRequestCacheMockRecorder) SetLastUpdatedAtFor(arg0, updatedAt any) *gomock.Call
- func (mr *MockPullRequestCacheMockRecorder) SetPullRequestFactory(hostType, fac any) *gomock.Call
- type MockPullRequestIterator
- type MockPullRequestIteratorMockRecorder
- type MockRepository
- func (m *MockRepository) BaseBranch() string
- func (m *MockRepository) CanMergePullRequest(pr *host.PullRequest) (bool, error)
- func (m *MockRepository) CloneUrlHttp() string
- func (m *MockRepository) CloneUrlSsh() string
- func (m *MockRepository) ClosePullRequest(msg string, pr *host.PullRequest) (*host.PullRequest, error)
- func (m *MockRepository) CreatePullRequest(branch string, data host.PullRequestData) (*host.PullRequest, error)
- func (m *MockRepository) CreatePullRequestComment(body string, pr *host.PullRequest) error
- func (m *MockRepository) DeleteBranch(pr *host.PullRequest) error
- func (m *MockRepository) DeletePullRequestComment(comment host.PullRequestComment, pr *host.PullRequest) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) FindPullRequest(branch string) (*host.PullRequest, error)
- func (m *MockRepository) FullName() string
- func (m *MockRepository) GetPullRequestBody(pr *host.PullRequest) string
- func (m *MockRepository) HasSuccessfulPullRequestBuild(pr *host.PullRequest) (bool, error)
- func (m *MockRepository) Host() host.HostDetail
- func (m *MockRepository) IsArchived() bool
- func (m *MockRepository) ListPullRequestComments(pr *host.PullRequest) ([]host.PullRequestComment, error)
- func (m *MockRepository) MergePullRequest(deleteBranch bool, pr *host.PullRequest) error
- func (m *MockRepository) Name() string
- func (m *MockRepository) Owner() string
- func (m *MockRepository) Raw() any
- func (m *MockRepository) SupportsPullRequests() bool
- func (m *MockRepository) UpdatePullRequest(data host.PullRequestData, pr *host.PullRequest) error
- func (m *MockRepository) UpdatedAt() time.Time
- func (m *MockRepository) WebUrl() string
- type MockRepositoryIterator
- type MockRepositoryIteratorMockRecorder
- type MockRepositoryLister
- type MockRepositoryListerMockRecorder
- 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) GetPullRequestBody(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) HasSuccessfulPullRequestBuild(pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Host() *gomock.Call
- func (mr *MockRepositoryMockRecorder) IsArchived() *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) Raw() *gomock.Call
- func (mr *MockRepositoryMockRecorder) SupportsPullRequests() *gomock.Call
- func (mr *MockRepositoryMockRecorder) UpdatePullRequest(data, pr any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) UpdatedAt() *gomock.Call
- func (mr *MockRepositoryMockRecorder) WebUrl() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCacher ¶
type MockCacher struct {
// contains filtered or unexported fields
}
MockCacher is a mock of Cacher interface.
func NewMockCacher ¶
func NewMockCacher(ctrl *gomock.Controller) *MockCacher
NewMockCacher creates a new mock instance.
func (*MockCacher) DeleteAllByTag ¶
func (m *MockCacher) DeleteAllByTag(tagName string) error
DeleteAllByTag mocks base method.
func (*MockCacher) EXPECT ¶
func (m *MockCacher) EXPECT() *MockCacherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacher) Get ¶
func (m *MockCacher) Get(key string) ([]byte, error)
Get mocks base method.
func (*MockCacher) GetAllByTag ¶
func (m *MockCacher) GetAllByTag(tag string) ([][]byte, error)
GetAllByTag mocks base method.
func (*MockCacher) Set ¶
func (m *MockCacher) Set(key string, value []byte) error
Set mocks base method.
func (*MockCacher) SetWithTags ¶
func (m *MockCacher) SetWithTags(key string, value []byte, tags ...string) error
SetWithTags mocks base method.
type MockCacherMockRecorder ¶
type MockCacherMockRecorder struct {
// contains filtered or unexported fields
}
MockCacherMockRecorder is the mock recorder for MockCacher.
func (*MockCacherMockRecorder) Delete ¶
func (mr *MockCacherMockRecorder) Delete(key any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCacherMockRecorder) DeleteAllByTag ¶
func (mr *MockCacherMockRecorder) DeleteAllByTag(tagName any) *gomock.Call
DeleteAllByTag indicates an expected call of DeleteAllByTag.
func (*MockCacherMockRecorder) Get ¶
func (mr *MockCacherMockRecorder) Get(key any) *gomock.Call
Get indicates an expected call of Get.
func (*MockCacherMockRecorder) GetAllByTag ¶
func (mr *MockCacherMockRecorder) GetAllByTag(tag any) *gomock.Call
GetAllByTag indicates an expected call of GetAllByTag.
func (*MockCacherMockRecorder) Set ¶
func (mr *MockCacherMockRecorder) Set(key, value any) *gomock.Call
Set indicates an expected call of Set.
func (*MockCacherMockRecorder) SetWithTags ¶
func (mr *MockCacherMockRecorder) SetWithTags(key, value any, tags ...any) *gomock.Call
SetWithTags indicates an expected call of SetWithTags.
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) AuthenticatedUser ¶
AuthenticatedUser mocks base method.
func (*MockHost) CreateFromJson ¶
CreateFromJson mocks base method.
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) PullRequestFactory ¶
func (m *MockHost) PullRequestFactory() host.PullRequestFactory
PullRequestFactory mocks base method.
func (*MockHost) PullRequestIterator ¶
func (m *MockHost) PullRequestIterator() host.PullRequestIterator
PullRequestIterator mocks base method.
func (*MockHost) RepositoryIterator ¶
func (m *MockHost) RepositoryIterator() host.RepositoryIterator
RepositoryIterator mocks base method.
type MockHostDetail ¶
type MockHostDetail struct {
// contains filtered or unexported fields
}
MockHostDetail is a mock of HostDetail interface.
func NewMockHostDetail ¶
func NewMockHostDetail(ctrl *gomock.Controller) *MockHostDetail
NewMockHostDetail creates a new mock instance.
func (*MockHostDetail) AuthenticatedUser ¶
func (m *MockHostDetail) AuthenticatedUser() (*host.UserInfo, error)
AuthenticatedUser mocks base method.
func (*MockHostDetail) EXPECT ¶
func (m *MockHostDetail) EXPECT() *MockHostDetailMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHostDetailMockRecorder ¶
type MockHostDetailMockRecorder struct {
// contains filtered or unexported fields
}
MockHostDetailMockRecorder is the mock recorder for MockHostDetail.
func (*MockHostDetailMockRecorder) AuthenticatedUser ¶
func (mr *MockHostDetailMockRecorder) AuthenticatedUser() *gomock.Call
AuthenticatedUser indicates an expected call of AuthenticatedUser.
func (*MockHostDetailMockRecorder) Name ¶
func (mr *MockHostDetailMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockHostMockRecorder ¶
type MockHostMockRecorder struct {
// contains filtered or unexported fields
}
MockHostMockRecorder is the mock recorder for MockHost.
func (*MockHostMockRecorder) AuthenticatedUser ¶
func (mr *MockHostMockRecorder) AuthenticatedUser() *gomock.Call
AuthenticatedUser indicates an expected call of AuthenticatedUser.
func (*MockHostMockRecorder) CreateFromJson ¶
func (mr *MockHostMockRecorder) CreateFromJson(dec any) *gomock.Call
CreateFromJson indicates an expected call of CreateFromJson.
func (*MockHostMockRecorder) CreateFromName ¶
func (mr *MockHostMockRecorder) CreateFromName(name any) *gomock.Call
CreateFromName indicates an expected call of CreateFromName.
func (*MockHostMockRecorder) Name ¶
func (mr *MockHostMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockHostMockRecorder) PullRequestFactory ¶
func (mr *MockHostMockRecorder) PullRequestFactory() *gomock.Call
PullRequestFactory indicates an expected call of PullRequestFactory.
func (*MockHostMockRecorder) PullRequestIterator ¶
func (mr *MockHostMockRecorder) PullRequestIterator() *gomock.Call
PullRequestIterator indicates an expected call of PullRequestIterator.
func (*MockHostMockRecorder) RepositoryIterator ¶
func (mr *MockHostMockRecorder) RepositoryIterator() *gomock.Call
RepositoryIterator indicates an expected call of RepositoryIterator.
func (*MockHostMockRecorder) Type ¶
func (mr *MockHostMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockPullRequestCache ¶
type MockPullRequestCache struct {
// contains filtered or unexported fields
}
MockPullRequestCache is a mock of PullRequestCache interface.
func NewMockPullRequestCache ¶
func NewMockPullRequestCache(ctrl *gomock.Controller) *MockPullRequestCache
NewMockPullRequestCache creates a new mock instance.
func (*MockPullRequestCache) Delete ¶
func (m *MockPullRequestCache) Delete(branchName, repo string)
Delete mocks base method.
func (*MockPullRequestCache) EXPECT ¶
func (m *MockPullRequestCache) EXPECT() *MockPullRequestCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPullRequestCache) Get ¶
func (m *MockPullRequestCache) Get(branchName, repoName string) *host.PullRequest
Get mocks base method.
func (*MockPullRequestCache) LastUpdatedAtFor ¶
func (m *MockPullRequestCache) LastUpdatedAtFor(arg0 host.Host) *time.Time
LastUpdatedAtFor mocks base method.
func (*MockPullRequestCache) Set ¶
func (m *MockPullRequestCache) Set(branchName, repoName string, pr *host.PullRequest)
Set mocks base method.
func (*MockPullRequestCache) SetLastUpdatedAtFor ¶
func (m *MockPullRequestCache) SetLastUpdatedAtFor(arg0 host.Host, updatedAt time.Time)
SetLastUpdatedAtFor mocks base method.
func (*MockPullRequestCache) SetPullRequestFactory ¶
func (m *MockPullRequestCache) SetPullRequestFactory(hostType host.Type, fac host.PullRequestFactory)
SetPullRequestFactory mocks base method.
type MockPullRequestCacheMockRecorder ¶
type MockPullRequestCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockPullRequestCacheMockRecorder is the mock recorder for MockPullRequestCache.
func (*MockPullRequestCacheMockRecorder) Delete ¶
func (mr *MockPullRequestCacheMockRecorder) Delete(branchName, repo any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPullRequestCacheMockRecorder) Get ¶
func (mr *MockPullRequestCacheMockRecorder) Get(branchName, repoName any) *gomock.Call
Get indicates an expected call of Get.
func (*MockPullRequestCacheMockRecorder) LastUpdatedAtFor ¶
func (mr *MockPullRequestCacheMockRecorder) LastUpdatedAtFor(arg0 any) *gomock.Call
LastUpdatedAtFor indicates an expected call of LastUpdatedAtFor.
func (*MockPullRequestCacheMockRecorder) Set ¶
func (mr *MockPullRequestCacheMockRecorder) Set(branchName, repoName, pr any) *gomock.Call
Set indicates an expected call of Set.
func (*MockPullRequestCacheMockRecorder) SetLastUpdatedAtFor ¶
func (mr *MockPullRequestCacheMockRecorder) SetLastUpdatedAtFor(arg0, updatedAt any) *gomock.Call
SetLastUpdatedAtFor indicates an expected call of SetLastUpdatedAtFor.
func (*MockPullRequestCacheMockRecorder) SetPullRequestFactory ¶
func (mr *MockPullRequestCacheMockRecorder) SetPullRequestFactory(hostType, fac any) *gomock.Call
SetPullRequestFactory indicates an expected call of SetPullRequestFactory.
type MockPullRequestIterator ¶
type MockPullRequestIterator struct {
// contains filtered or unexported fields
}
MockPullRequestIterator is a mock of PullRequestIterator interface.
func NewMockPullRequestIterator ¶
func NewMockPullRequestIterator(ctrl *gomock.Controller) *MockPullRequestIterator
NewMockPullRequestIterator creates a new mock instance.
func (*MockPullRequestIterator) EXPECT ¶
func (m *MockPullRequestIterator) EXPECT() *MockPullRequestIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPullRequestIterator) Error ¶
func (m *MockPullRequestIterator) Error() error
Error mocks base method.
func (*MockPullRequestIterator) ListPullRequests ¶
func (m *MockPullRequestIterator) ListPullRequests(since *time.Time) iter.Seq[*host.PullRequest]
ListPullRequests mocks base method.
type MockPullRequestIteratorMockRecorder ¶
type MockPullRequestIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockPullRequestIteratorMockRecorder is the mock recorder for MockPullRequestIterator.
func (*MockPullRequestIteratorMockRecorder) Error ¶
func (mr *MockPullRequestIteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockPullRequestIteratorMockRecorder) ListPullRequests ¶
func (mr *MockPullRequestIteratorMockRecorder) ListPullRequests(since any) *gomock.Call
ListPullRequests indicates an expected call of ListPullRequests.
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 *host.PullRequest) (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 *host.PullRequest) (*host.PullRequest, error)
ClosePullRequest mocks base method.
func (*MockRepository) CreatePullRequest ¶
func (m *MockRepository) CreatePullRequest(branch string, data host.PullRequestData) (*host.PullRequest, error)
CreatePullRequest mocks base method.
func (*MockRepository) CreatePullRequestComment ¶
func (m *MockRepository) CreatePullRequestComment(body string, pr *host.PullRequest) error
CreatePullRequestComment mocks base method.
func (*MockRepository) DeleteBranch ¶
func (m *MockRepository) DeleteBranch(pr *host.PullRequest) error
DeleteBranch mocks base method.
func (*MockRepository) DeletePullRequestComment ¶
func (m *MockRepository) DeletePullRequestComment(comment host.PullRequestComment, pr *host.PullRequest) 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) (*host.PullRequest, error)
FindPullRequest mocks base method.
func (*MockRepository) FullName ¶
func (m *MockRepository) FullName() string
FullName mocks base method.
func (*MockRepository) GetPullRequestBody ¶
func (m *MockRepository) GetPullRequestBody(pr *host.PullRequest) string
GetPullRequestBody mocks base method.
func (*MockRepository) HasSuccessfulPullRequestBuild ¶
func (m *MockRepository) HasSuccessfulPullRequestBuild(pr *host.PullRequest) (bool, error)
HasSuccessfulPullRequestBuild mocks base method.
func (*MockRepository) Host ¶
func (m *MockRepository) Host() host.HostDetail
Host mocks base method.
func (*MockRepository) IsArchived ¶
func (m *MockRepository) IsArchived() bool
IsArchived mocks base method.
func (*MockRepository) ListPullRequestComments ¶
func (m *MockRepository) ListPullRequestComments(pr *host.PullRequest) ([]host.PullRequestComment, error)
ListPullRequestComments mocks base method.
func (*MockRepository) MergePullRequest ¶
func (m *MockRepository) MergePullRequest(deleteBranch bool, pr *host.PullRequest) error
MergePullRequest mocks base method.
func (*MockRepository) SupportsPullRequests ¶ added in v0.41.8
func (m *MockRepository) SupportsPullRequests() bool
SupportsPullRequests mocks base method.
func (*MockRepository) UpdatePullRequest ¶
func (m *MockRepository) UpdatePullRequest(data host.PullRequestData, pr *host.PullRequest) error
UpdatePullRequest mocks base method.
func (*MockRepository) UpdatedAt ¶
func (m *MockRepository) UpdatedAt() time.Time
UpdatedAt mocks base method.
type MockRepositoryIterator ¶
type MockRepositoryIterator struct {
// contains filtered or unexported fields
}
MockRepositoryIterator is a mock of RepositoryIterator interface.
func NewMockRepositoryIterator ¶
func NewMockRepositoryIterator(ctrl *gomock.Controller) *MockRepositoryIterator
NewMockRepositoryIterator creates a new mock instance.
func (*MockRepositoryIterator) EXPECT ¶
func (m *MockRepositoryIterator) EXPECT() *MockRepositoryIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryIterator) Error ¶
func (m *MockRepositoryIterator) Error() error
Error mocks base method.
func (*MockRepositoryIterator) ListRepositories ¶
func (m *MockRepositoryIterator) ListRepositories(since *time.Time) iter.Seq[host.Repository]
ListRepositories mocks base method.
type MockRepositoryIteratorMockRecorder ¶
type MockRepositoryIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryIteratorMockRecorder is the mock recorder for MockRepositoryIterator.
func (*MockRepositoryIteratorMockRecorder) Error ¶
func (mr *MockRepositoryIteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockRepositoryIteratorMockRecorder) ListRepositories ¶
func (mr *MockRepositoryIteratorMockRecorder) ListRepositories(since any) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
type MockRepositoryLister ¶
type MockRepositoryLister struct {
// contains filtered or unexported fields
}
MockRepositoryLister is a mock of RepositoryLister interface.
func NewMockRepositoryLister ¶
func NewMockRepositoryLister(ctrl *gomock.Controller) *MockRepositoryLister
NewMockRepositoryLister creates a new mock instance.
func (*MockRepositoryLister) EXPECT ¶
func (m *MockRepositoryLister) EXPECT() *MockRepositoryListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryLister) List ¶
func (m *MockRepositoryLister) List(hosts []host.Host, result chan host.Repository, errChan chan error)
List mocks base method.
type MockRepositoryListerMockRecorder ¶
type MockRepositoryListerMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryListerMockRecorder is the mock recorder for MockRepositoryLister.
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) GetPullRequestBody ¶
func (mr *MockRepositoryMockRecorder) GetPullRequestBody(pr any) *gomock.Call
GetPullRequestBody indicates an expected call of GetPullRequestBody.
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) IsArchived ¶
func (mr *MockRepositoryMockRecorder) IsArchived() *gomock.Call
IsArchived indicates an expected call of IsArchived.
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) Raw ¶
func (mr *MockRepositoryMockRecorder) Raw() *gomock.Call
Raw indicates an expected call of Raw.
func (*MockRepositoryMockRecorder) SupportsPullRequests ¶ added in v0.41.8
func (mr *MockRepositoryMockRecorder) SupportsPullRequests() *gomock.Call
SupportsPullRequests indicates an expected call of SupportsPullRequests.
func (*MockRepositoryMockRecorder) UpdatePullRequest ¶
func (mr *MockRepositoryMockRecorder) UpdatePullRequest(data, pr any) *gomock.Call
UpdatePullRequest indicates an expected call of UpdatePullRequest.
func (*MockRepositoryMockRecorder) UpdatedAt ¶
func (mr *MockRepositoryMockRecorder) UpdatedAt() *gomock.Call
UpdatedAt indicates an expected call of UpdatedAt.
func (*MockRepositoryMockRecorder) WebUrl ¶
func (mr *MockRepositoryMockRecorder) WebUrl() *gomock.Call
WebUrl indicates an expected call of WebUrl.