Documentation ¶
Overview ¶
Package mock_version is a generated GoMock package.
Index ¶
- type MockGitRepo
- func (m *MockGitRepo) CountCommits(arg0, arg1 string) (int, error)
- func (m *MockGitRepo) EXPECT() *MockGitRepoMockRecorder
- func (m *MockGitRepo) FetchTags() error
- func (m *MockGitRepo) GetCommits(arg0, arg1 string) ([]git.Commit, error)
- func (m *MockGitRepo) GetCurrentBranch() (string, error)
- func (m *MockGitRepo) GetLastRelativeTag(arg0 string) (git.Tag, error)
- type MockGitRepoMockRecorder
- func (mr *MockGitRepoMockRecorder) CountCommits(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitRepoMockRecorder) FetchTags() *gomock.Call
- func (mr *MockGitRepoMockRecorder) GetCommits(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitRepoMockRecorder) GetCurrentBranch() *gomock.Call
- func (mr *MockGitRepoMockRecorder) GetLastRelativeTag(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitRepo ¶
type MockGitRepo struct {
// contains filtered or unexported fields
}
MockGitRepo is a mock of GitRepo interface
func NewMockGitRepo ¶
func NewMockGitRepo(ctrl *gomock.Controller) *MockGitRepo
NewMockGitRepo creates a new mock instance
func (*MockGitRepo) CountCommits ¶
func (m *MockGitRepo) CountCommits(arg0, arg1 string) (int, error)
CountCommits mocks base method
func (*MockGitRepo) EXPECT ¶
func (m *MockGitRepo) EXPECT() *MockGitRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGitRepo) GetCommits ¶
func (m *MockGitRepo) GetCommits(arg0, arg1 string) ([]git.Commit, error)
GetCommits mocks base method
func (*MockGitRepo) GetCurrentBranch ¶
func (m *MockGitRepo) GetCurrentBranch() (string, error)
GetCurrentBranch mocks base method
func (*MockGitRepo) GetLastRelativeTag ¶
func (m *MockGitRepo) GetLastRelativeTag(arg0 string) (git.Tag, error)
GetLastRelativeTag mocks base method
type MockGitRepoMockRecorder ¶
type MockGitRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockGitRepoMockRecorder is the mock recorder for MockGitRepo
func (*MockGitRepoMockRecorder) CountCommits ¶
func (mr *MockGitRepoMockRecorder) CountCommits(arg0, arg1 interface{}) *gomock.Call
CountCommits indicates an expected call of CountCommits
func (*MockGitRepoMockRecorder) FetchTags ¶
func (mr *MockGitRepoMockRecorder) FetchTags() *gomock.Call
FetchTags indicates an expected call of FetchTags
func (*MockGitRepoMockRecorder) GetCommits ¶
func (mr *MockGitRepoMockRecorder) GetCommits(arg0, arg1 interface{}) *gomock.Call
GetCommits indicates an expected call of GetCommits
func (*MockGitRepoMockRecorder) GetCurrentBranch ¶
func (mr *MockGitRepoMockRecorder) GetCurrentBranch() *gomock.Call
GetCurrentBranch indicates an expected call of GetCurrentBranch
func (*MockGitRepoMockRecorder) GetLastRelativeTag ¶
func (mr *MockGitRepoMockRecorder) GetLastRelativeTag(arg0 interface{}) *gomock.Call
GetLastRelativeTag indicates an expected call of GetLastRelativeTag