mocks

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: GPL-3.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockForge

type MockForge struct {
	// contains filtered or unexported fields
}

MockForge is a mock of Forge interface.

func NewMockForge

func NewMockForge(ctrl *gomock.Controller) *MockForge

NewMockForge creates a new mock instance.

func (*MockForge) EXPECT

func (m *MockForge) EXPECT() *MockForgeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockForge) GenerateBranchName

func (m *MockForge) GenerateBranchName(issueInfo *issue.Info) string

GenerateBranchName mocks base method.

func (*MockForge) GetIssueInfo

func (m *MockForge) GetIssueInfo(issueRef string) (*issue.Info, error)

GetIssueInfo mocks base method.

func (*MockForge) Name

func (m *MockForge) Name() string

Name mocks base method.

func (*MockForge) ParseIssueReference

func (m *MockForge) ParseIssueReference(issueRef string) (*issue.Reference, error)

ParseIssueReference mocks base method.

func (*MockForge) ValidateForgeRepository

func (m *MockForge) ValidateForgeRepository(repoPath string) error

ValidateForgeRepository mocks base method.

type MockForgeMockRecorder

type MockForgeMockRecorder struct {
	// contains filtered or unexported fields
}

MockForgeMockRecorder is the mock recorder for MockForge.

func (*MockForgeMockRecorder) GenerateBranchName

func (mr *MockForgeMockRecorder) GenerateBranchName(issueInfo any) *gomock.Call

GenerateBranchName indicates an expected call of GenerateBranchName.

func (*MockForgeMockRecorder) GetIssueInfo

func (mr *MockForgeMockRecorder) GetIssueInfo(issueRef any) *gomock.Call

GetIssueInfo indicates an expected call of GetIssueInfo.

func (*MockForgeMockRecorder) Name

func (mr *MockForgeMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockForgeMockRecorder) ParseIssueReference

func (mr *MockForgeMockRecorder) ParseIssueReference(issueRef any) *gomock.Call

ParseIssueReference indicates an expected call of ParseIssueReference.

func (*MockForgeMockRecorder) ValidateForgeRepository

func (mr *MockForgeMockRecorder) ValidateForgeRepository(repoPath any) *gomock.Call

ValidateForgeRepository indicates an expected call of ValidateForgeRepository.

type MockManagerInterface

type MockManagerInterface struct {
	// contains filtered or unexported fields
}

MockManagerInterface is a mock of ManagerInterface interface.

func NewMockManagerInterface

func NewMockManagerInterface(ctrl *gomock.Controller) *MockManagerInterface

NewMockManagerInterface creates a new mock instance.

func (*MockManagerInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManagerInterface) GetForge

func (m *MockManagerInterface) GetForge(name string) (forge.Forge, error)

GetForge mocks base method.

func (*MockManagerInterface) GetForgeForRepository

func (m *MockManagerInterface) GetForgeForRepository(repoPath string) (forge.Forge, error)

GetForgeForRepository mocks base method.

type MockManagerInterfaceMockRecorder

type MockManagerInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerInterfaceMockRecorder is the mock recorder for MockManagerInterface.

func (*MockManagerInterfaceMockRecorder) GetForge

func (mr *MockManagerInterfaceMockRecorder) GetForge(name any) *gomock.Call

GetForge indicates an expected call of GetForge.

func (*MockManagerInterfaceMockRecorder) GetForgeForRepository

func (mr *MockManagerInterfaceMockRecorder) GetForgeForRepository(repoPath any) *gomock.Call

GetForgeForRepository indicates an expected call of GetForgeForRepository.

Jump to

Keyboard shortcuts

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