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