Documentation ¶
Overview ¶
Package mock defines the struct and its corresponding methods for mocking handler.IGitHandler
Index ¶
- type GitHandlerMock
- func (mock *GitHandlerMock) CloneRepository(log log.T, authMethod transport.AuthMethod, destPath string) (repository *gogit.Repository, err error)
- func (mock *GitHandlerMock) GetAuthMethod(log log.T) (transport.AuthMethod, error)
- func (mock *GitHandlerMock) PerformCheckout(repository core.IGitRepository) error
- func (mock *GitHandlerMock) Validate() (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHandlerMock ¶
func (*GitHandlerMock) CloneRepository ¶
func (mock *GitHandlerMock) CloneRepository(log log.T, authMethod transport.AuthMethod, destPath string) (repository *gogit.Repository, err error)
func (*GitHandlerMock) GetAuthMethod ¶
func (mock *GitHandlerMock) GetAuthMethod(log log.T) (transport.AuthMethod, error)
func (*GitHandlerMock) PerformCheckout ¶
func (mock *GitHandlerMock) PerformCheckout(repository core.IGitRepository) error
func (*GitHandlerMock) Validate ¶
func (mock *GitHandlerMock) Validate() (bool, error)
Click to show internal directories.
Click to hide internal directories.