Documentation ¶
Overview ¶
Package git is a generated GoMock package.
Index ¶
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.
func (*MockFactory) GetLastModified ¶
func (m *MockFactory) GetLastModified(repoPath, filePath string) (string, error)
GetLastModified mocks base method.
func (*MockFactory) GetRepository ¶
func (m *MockFactory) GetRepository(url, path string, reference plumbing.ReferenceName, auth *http.BasicAuth) (string, error)
GetRepository mocks base method.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) GetLastModified ¶
func (mr *MockFactoryMockRecorder) GetLastModified(repoPath, filePath interface{}) *gomock.Call
GetLastModified indicates an expected call of GetLastModified.
func (*MockFactoryMockRecorder) GetRepository ¶
func (mr *MockFactoryMockRecorder) GetRepository(url, path, reference, auth interface{}) *gomock.Call
GetRepository indicates an expected call of GetRepository.
type RepositoryFactory ¶
type RepositoryFactory struct{}
func (RepositoryFactory) GetLastModified ¶
func (f RepositoryFactory) GetLastModified(repoAbsolutePath string, fileRelativePath string) (string, error)
func (RepositoryFactory) GetRepository ¶
func (f RepositoryFactory) GetRepository(url string, path string, reference plumbing.ReferenceName, auth *http.BasicAuth) (string, error)
Click to show internal directories.
Click to hide internal directories.