mocks

package
v0.22.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: 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) CreateConfigDirectory

func (m *MockManager) CreateConfigDirectory(configPath string) error

CreateConfigDirectory mocks base method.

func (*MockManager) DefaultConfig

func (m *MockManager) DefaultConfig() config.Config

DefaultConfig 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) EnsureConfigFile

func (m *MockManager) EnsureConfigFile(configPath string) (config.Config, bool, error)

EnsureConfigFile mocks base method.

func (*MockManager) LoadConfig

func (m *MockManager) LoadConfig(configPath string) (config.Config, error)

LoadConfig mocks base method.

func (*MockManager) LoadConfigStrict

func (m *MockManager) LoadConfigStrict(configPath string) (config.Config, error)

LoadConfigStrict mocks base method.

func (*MockManager) SaveConfig

func (m *MockManager) SaveConfig(arg0 config.Config, configPath string) error

SaveConfig mocks base method.

func (*MockManager) ValidateRepositoriesDir added in v0.21.0

func (m *MockManager) ValidateRepositoriesDir(repositoriesDir string) error

ValidateRepositoriesDir mocks base method.

func (*MockManager) ValidateStatusFile added in v0.21.0

func (m *MockManager) ValidateStatusFile(statusFile string) error

ValidateStatusFile mocks base method.

func (*MockManager) ValidateWorkspacesDir added in v0.21.0

func (m *MockManager) ValidateWorkspacesDir(workspacesDir string) error

ValidateWorkspacesDir mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) CreateConfigDirectory

func (mr *MockManagerMockRecorder) CreateConfigDirectory(configPath any) *gomock.Call

CreateConfigDirectory indicates an expected call of CreateConfigDirectory.

func (*MockManagerMockRecorder) DefaultConfig

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

DefaultConfig indicates an expected call of DefaultConfig.

func (*MockManagerMockRecorder) EnsureConfigFile

func (mr *MockManagerMockRecorder) EnsureConfigFile(configPath any) *gomock.Call

EnsureConfigFile indicates an expected call of EnsureConfigFile.

func (*MockManagerMockRecorder) LoadConfig

func (mr *MockManagerMockRecorder) LoadConfig(configPath any) *gomock.Call

LoadConfig indicates an expected call of LoadConfig.

func (*MockManagerMockRecorder) LoadConfigStrict

func (mr *MockManagerMockRecorder) LoadConfigStrict(configPath any) *gomock.Call

LoadConfigStrict indicates an expected call of LoadConfigStrict.

func (*MockManagerMockRecorder) SaveConfig

func (mr *MockManagerMockRecorder) SaveConfig(arg0, configPath any) *gomock.Call

SaveConfig indicates an expected call of SaveConfig.

func (*MockManagerMockRecorder) ValidateRepositoriesDir added in v0.21.0

func (mr *MockManagerMockRecorder) ValidateRepositoriesDir(repositoriesDir any) *gomock.Call

ValidateRepositoriesDir indicates an expected call of ValidateRepositoriesDir.

func (*MockManagerMockRecorder) ValidateStatusFile added in v0.21.0

func (mr *MockManagerMockRecorder) ValidateStatusFile(statusFile any) *gomock.Call

ValidateStatusFile indicates an expected call of ValidateStatusFile.

func (*MockManagerMockRecorder) ValidateWorkspacesDir added in v0.21.0

func (mr *MockManagerMockRecorder) ValidateWorkspacesDir(workspacesDir any) *gomock.Call

ValidateWorkspacesDir indicates an expected call of ValidateWorkspacesDir.

Jump to

Keyboard shortcuts

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