mocks

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: GPL-3.0 Imports: 3 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 MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) AddRepository

func (m *MockManager) AddRepository(repoURL string, params status.AddRepositoryParams) error

AddRepository mocks base method.

func (*MockManager) AddWorkspace

func (m *MockManager) AddWorkspace(workspacePath string, params status.AddWorkspaceParams) error

AddWorkspace mocks base method.

func (*MockManager) AddWorktree

func (m *MockManager) AddWorktree(params status.AddWorktreeParams) error

AddWorktree mocks base method.

func (*MockManager) CreateInitialStatus

func (m *MockManager) CreateInitialStatus() error

CreateInitialStatus mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetRepository

func (m *MockManager) GetRepository(repoURL string) (*status.Repository, error)

GetRepository mocks base method.

func (*MockManager) GetWorkspace

func (m *MockManager) GetWorkspace(workspacePath string) (*status.Workspace, error)

GetWorkspace mocks base method.

func (*MockManager) GetWorktree

func (m *MockManager) GetWorktree(repoURL, branch string) (*status.WorktreeInfo, error)

GetWorktree mocks base method.

func (*MockManager) ListRepositories

func (m *MockManager) ListRepositories() (map[string]status.Repository, error)

ListRepositories mocks base method.

func (*MockManager) ListWorkspaces

func (m *MockManager) ListWorkspaces() (map[string]status.Workspace, error)

ListWorkspaces mocks base method.

func (*MockManager) RemoveRepository added in v0.26.0

func (m *MockManager) RemoveRepository(repoURL string) error

RemoveRepository mocks base method.

func (*MockManager) RemoveWorkspace added in v0.24.0

func (m *MockManager) RemoveWorkspace(workspaceName string) error

RemoveWorkspace mocks base method.

func (*MockManager) RemoveWorktree

func (m *MockManager) RemoveWorktree(repoURL, branch string) error

RemoveWorktree mocks base method.

func (*MockManager) UpdateWorkspace added in v0.24.0

func (m *MockManager) UpdateWorkspace(workspaceName string, workspace status.Workspace) error

UpdateWorkspace mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) AddRepository

func (mr *MockManagerMockRecorder) AddRepository(repoURL, params any) *gomock.Call

AddRepository indicates an expected call of AddRepository.

func (*MockManagerMockRecorder) AddWorkspace

func (mr *MockManagerMockRecorder) AddWorkspace(workspacePath, params any) *gomock.Call

AddWorkspace indicates an expected call of AddWorkspace.

func (*MockManagerMockRecorder) AddWorktree

func (mr *MockManagerMockRecorder) AddWorktree(params any) *gomock.Call

AddWorktree indicates an expected call of AddWorktree.

func (*MockManagerMockRecorder) CreateInitialStatus

func (mr *MockManagerMockRecorder) CreateInitialStatus() *gomock.Call

CreateInitialStatus indicates an expected call of CreateInitialStatus.

func (*MockManagerMockRecorder) GetRepository

func (mr *MockManagerMockRecorder) GetRepository(repoURL any) *gomock.Call

GetRepository indicates an expected call of GetRepository.

func (*MockManagerMockRecorder) GetWorkspace

func (mr *MockManagerMockRecorder) GetWorkspace(workspacePath any) *gomock.Call

GetWorkspace indicates an expected call of GetWorkspace.

func (*MockManagerMockRecorder) GetWorktree

func (mr *MockManagerMockRecorder) GetWorktree(repoURL, branch any) *gomock.Call

GetWorktree indicates an expected call of GetWorktree.

func (*MockManagerMockRecorder) ListRepositories

func (mr *MockManagerMockRecorder) ListRepositories() *gomock.Call

ListRepositories indicates an expected call of ListRepositories.

func (*MockManagerMockRecorder) ListWorkspaces

func (mr *MockManagerMockRecorder) ListWorkspaces() *gomock.Call

ListWorkspaces indicates an expected call of ListWorkspaces.

func (*MockManagerMockRecorder) RemoveRepository added in v0.26.0

func (mr *MockManagerMockRecorder) RemoveRepository(repoURL any) *gomock.Call

RemoveRepository indicates an expected call of RemoveRepository.

func (*MockManagerMockRecorder) RemoveWorkspace added in v0.24.0

func (mr *MockManagerMockRecorder) RemoveWorkspace(workspaceName any) *gomock.Call

RemoveWorkspace indicates an expected call of RemoveWorkspace.

func (*MockManagerMockRecorder) RemoveWorktree

func (mr *MockManagerMockRecorder) RemoveWorktree(repoURL, branch any) *gomock.Call

RemoveWorktree indicates an expected call of RemoveWorktree.

func (*MockManagerMockRecorder) UpdateWorkspace added in v0.24.0

func (mr *MockManagerMockRecorder) UpdateWorkspace(workspaceName, workspace any) *gomock.Call

UpdateWorkspace indicates an expected call of UpdateWorkspace.

Jump to

Keyboard shortcuts

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