Documentation ¶
Overview ¶
Package mock_git is a generated GoMock package.
Index ¶
- type MockHelper
- func (m *MockHelper) EXPECT() *MockHelperMockRecorder
- func (m *MockHelper) GetCommit(ctx context.Context, gitURL, refType, ref string) (*git.Commit, error)
- func (m *MockHelper) GetCommitHistoryLink(gitURL, commit string) (string, error)
- func (m *MockHelper) GetHTTPLink(gitURL string) (string, error)
- func (m *MockHelper) GetTagArchive(ctx context.Context, gitURL, tagName string) (*git.Tag, error)
- func (m *MockHelper) ListBranch(ctx context.Context, gitURL string, params *git.SearchParams) ([]string, error)
- func (m *MockHelper) ListTag(ctx context.Context, gitURL string, params *git.SearchParams) ([]string, error)
- type MockHelperMockRecorder
- func (mr *MockHelperMockRecorder) GetCommit(ctx, gitURL, refType, ref interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) GetCommitHistoryLink(gitURL, commit interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) GetHTTPLink(gitURL interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) GetTagArchive(ctx, gitURL, tagName interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) ListBranch(ctx, gitURL, params interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) ListTag(ctx, gitURL, params interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHelper ¶
type MockHelper struct {
// contains filtered or unexported fields
}
MockHelper is a mock of Helper interface.
func NewMockHelper ¶
func NewMockHelper(ctrl *gomock.Controller) *MockHelper
NewMockHelper creates a new mock instance.
func (*MockHelper) EXPECT ¶
func (m *MockHelper) EXPECT() *MockHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelper) GetCommit ¶
func (m *MockHelper) GetCommit(ctx context.Context, gitURL, refType, ref string) (*git.Commit, error)
GetCommit mocks base method.
func (*MockHelper) GetCommitHistoryLink ¶
func (m *MockHelper) GetCommitHistoryLink(gitURL, commit string) (string, error)
GetCommitHistoryLink mocks base method.
func (*MockHelper) GetHTTPLink ¶
func (m *MockHelper) GetHTTPLink(gitURL string) (string, error)
GetHTTPLink mocks base method.
func (*MockHelper) GetTagArchive ¶
GetTagArchive mocks base method.
func (*MockHelper) ListBranch ¶
func (m *MockHelper) ListBranch(ctx context.Context, gitURL string, params *git.SearchParams) ([]string, error)
ListBranch mocks base method.
func (*MockHelper) ListTag ¶
func (m *MockHelper) ListTag(ctx context.Context, gitURL string, params *git.SearchParams) ([]string, error)
ListTag mocks base method.
type MockHelperMockRecorder ¶
type MockHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockHelperMockRecorder is the mock recorder for MockHelper.
func (*MockHelperMockRecorder) GetCommit ¶
func (mr *MockHelperMockRecorder) GetCommit(ctx, gitURL, refType, ref interface{}) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockHelperMockRecorder) GetCommitHistoryLink ¶
func (mr *MockHelperMockRecorder) GetCommitHistoryLink(gitURL, commit interface{}) *gomock.Call
GetCommitHistoryLink indicates an expected call of GetCommitHistoryLink.
func (*MockHelperMockRecorder) GetHTTPLink ¶
func (mr *MockHelperMockRecorder) GetHTTPLink(gitURL interface{}) *gomock.Call
GetHTTPLink indicates an expected call of GetHTTPLink.
func (*MockHelperMockRecorder) GetTagArchive ¶
func (mr *MockHelperMockRecorder) GetTagArchive(ctx, gitURL, tagName interface{}) *gomock.Call
GetTagArchive indicates an expected call of GetTagArchive.
func (*MockHelperMockRecorder) ListBranch ¶
func (mr *MockHelperMockRecorder) ListBranch(ctx, gitURL, params interface{}) *gomock.Call
ListBranch indicates an expected call of ListBranch.
func (*MockHelperMockRecorder) ListTag ¶
func (mr *MockHelperMockRecorder) ListTag(ctx, gitURL, params interface{}) *gomock.Call
ListTag indicates an expected call of ListTag.