mock_code

package
v0.0.0-...-64e8fac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_code is a generated GoMock package.

Index

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

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 (m *MockGitGetter) GetCommitHistoryLink(gitURL, commit string) (string, error)

GetCommitHistoryLink mocks base method.

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 (mr *MockGitGetterMockRecorder) GetCommitHistoryLink(gitURL, commit interface{}) *gomock.Call

GetCommitHistoryLink indicates an expected call of GetCommitHistoryLink.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL