mocks

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 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() 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) GetConfig added in v0.27.0

func (m *MockManager) GetConfig() (config.Config, error)

GetConfig mocks base method.

func (*MockManager) GetConfigPath added in v0.27.0

func (m *MockManager) GetConfigPath() string

GetConfigPath mocks base method.

func (*MockManager) GetConfigStrict added in v0.27.0

func (m *MockManager) GetConfigStrict() (config.Config, error)

GetConfigStrict mocks base method.

func (*MockManager) GetConfigWithFallback added in v0.27.0

func (m *MockManager) GetConfigWithFallback() (config.Config, error)

GetConfigWithFallback mocks base method.

func (*MockManager) SaveConfig

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

SaveConfig mocks base method.

func (*MockManager) SetConfigPath added in v0.27.0

func (m *MockManager) SetConfigPath(configPath string)

SetConfigPath 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() *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) GetConfig added in v0.27.0

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

GetConfig indicates an expected call of GetConfig.

func (*MockManagerMockRecorder) GetConfigPath added in v0.27.0

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

GetConfigPath indicates an expected call of GetConfigPath.

func (*MockManagerMockRecorder) GetConfigStrict added in v0.27.0

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

GetConfigStrict indicates an expected call of GetConfigStrict.

func (*MockManagerMockRecorder) GetConfigWithFallback added in v0.27.0

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

GetConfigWithFallback indicates an expected call of GetConfigWithFallback.

func (*MockManagerMockRecorder) SaveConfig

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

SaveConfig indicates an expected call of SaveConfig.

func (*MockManagerMockRecorder) SetConfigPath added in v0.27.0

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

SetConfigPath indicates an expected call of SetConfigPath.

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