mock_git

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_git is a generated GoMock package.

Index

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

GetCommitHistoryLink mocks base method.

func (m *MockHelper) GetHTTPLink(gitURL string) (string, error)

GetHTTPLink mocks base method.

func (*MockHelper) GetTagArchive

func (m *MockHelper) GetTagArchive(ctx context.Context, gitURL, tagName string) (*git.Tag, error)

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

GetCommitHistoryLink indicates an expected call of GetCommitHistoryLink.

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.

Jump to

Keyboard shortcuts

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