Documentation ¶
Index ¶
- type GitService
- func (_m *GitService) Clone(remote string, branch string, directory string) (*git.Repository, error)
- func (_m *GitService) DiffRemote(repo *git.Repository, branch string) ([]gpoll.CommitDiff, error)
- func (_m *GitService) FetchLatestRemoteCommit(repo *git.Repository, branch string) (*object.Commit, error)
- func (_m *GitService) HeadCommit(repo *git.Repository) (*object.Commit, error)
- type Poller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitService ¶
GitService is an autogenerated mock type for the GitService type
func (*GitService) Clone ¶
func (_m *GitService) Clone(remote string, branch string, directory string) (*git.Repository, error)
Clone provides a mock function with given fields: remote, branch, directory
func (*GitService) DiffRemote ¶
func (_m *GitService) DiffRemote(repo *git.Repository, branch string) ([]gpoll.CommitDiff, error)
DiffRemote provides a mock function with given fields: repo, branch
func (*GitService) FetchLatestRemoteCommit ¶
func (_m *GitService) FetchLatestRemoteCommit(repo *git.Repository, branch string) (*object.Commit, error)
FetchLatestRemoteCommit provides a mock function with given fields: repo, branch
func (*GitService) HeadCommit ¶
func (_m *GitService) HeadCommit(repo *git.Repository) (*object.Commit, error)
HeadCommit provides a mock function with given fields: repo
type Poller ¶
Poller is an autogenerated mock type for the Poller type
func (*Poller) Poll ¶
func (_m *Poller) Poll() ([]gpoll.CommitDiff, error)
Poll provides a mock function with given fields:
func (*Poller) StartAsync ¶
func (_m *Poller) StartAsync() (chan gpoll.CommitDiff, error)
StartAsync provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.