Documentation ¶
Index ¶
- type MockRepo
- func (repo *MockRepo) AssertCloneCalled(t *testing.T, localPath string, repoUrl string)
- func (repo *MockRepo) AssertCloneNotCalled(t *testing.T, localPath string, repoUrl string)
- func (repo *MockRepo) Clone(localPath string, repoUrl string) (*git.Repository, error)
- func (repo *MockRepo) Delete(localPath string) error
- func (repo *MockRepo) Init(localPath string) (*git.Repository, error)
- func (repo *MockRepo) Open(localPath string) (*git.Repository, error)
- func (repo *MockRepo) Pull(repository *git.Repository) error
- func (repo *MockRepo) StubClone(shouldError bool)
- func (repo *MockRepo) StubDelete(shouldError bool)
- func (repo *MockRepo) StubInit(shouldError bool)
- func (repo *MockRepo) StubOpen(shouldError bool)
- func (repo *MockRepo) StubPull(shouldError bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
func NewMockRepo ¶
func NewMockRepo() *MockRepo
func (*MockRepo) AssertCloneCalled ¶
func (*MockRepo) AssertCloneNotCalled ¶
func (*MockRepo) StubDelete ¶
Click to show internal directories.
Click to hide internal directories.