Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) CreateConfigDirectory() error
- func (m *MockManager) DefaultConfig() config.Config
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetConfig() (config.Config, error)
- func (m *MockManager) GetConfigPath() string
- func (m *MockManager) GetConfigStrict() (config.Config, error)
- func (m *MockManager) GetConfigWithFallback() (config.Config, error)
- func (m *MockManager) SaveConfig(arg0 config.Config) error
- func (m *MockManager) SetConfigPath(configPath string)
- func (m *MockManager) ValidateRepositoriesDir(repositoriesDir string) error
- func (m *MockManager) ValidateStatusFile(statusFile string) error
- func (m *MockManager) ValidateWorkspacesDir(workspacesDir string) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) CreateConfigDirectory() *gomock.Call
- func (mr *MockManagerMockRecorder) DefaultConfig() *gomock.Call
- func (mr *MockManagerMockRecorder) GetConfig() *gomock.Call
- func (mr *MockManagerMockRecorder) GetConfigPath() *gomock.Call
- func (mr *MockManagerMockRecorder) GetConfigStrict() *gomock.Call
- func (mr *MockManagerMockRecorder) GetConfigWithFallback() *gomock.Call
- func (mr *MockManagerMockRecorder) SaveConfig(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) SetConfigPath(configPath any) *gomock.Call
- func (mr *MockManagerMockRecorder) ValidateRepositoriesDir(repositoriesDir any) *gomock.Call
- func (mr *MockManagerMockRecorder) ValidateStatusFile(statusFile any) *gomock.Call
- func (mr *MockManagerMockRecorder) ValidateWorkspacesDir(workspacesDir any) *gomock.Call
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.1
func (m *MockManager) GetConfig() (config.Config, error)
GetConfig mocks base method.
func (*MockManager) GetConfigPath ¶ added in v0.27.1
func (m *MockManager) GetConfigPath() string
GetConfigPath mocks base method.
func (*MockManager) GetConfigStrict ¶ added in v0.27.1
func (m *MockManager) GetConfigStrict() (config.Config, error)
GetConfigStrict mocks base method.
func (*MockManager) GetConfigWithFallback ¶ added in v0.27.1
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.1
func (m *MockManager) SetConfigPath(configPath string)
SetConfigPath mocks base method.
func (*MockManager) ValidateRepositoriesDir ¶
func (m *MockManager) ValidateRepositoriesDir(repositoriesDir string) error
ValidateRepositoriesDir mocks base method.
func (*MockManager) ValidateStatusFile ¶
func (m *MockManager) ValidateStatusFile(statusFile string) error
ValidateStatusFile mocks base method.
func (*MockManager) ValidateWorkspacesDir ¶
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.1
func (mr *MockManagerMockRecorder) GetConfig() *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockManagerMockRecorder) GetConfigPath ¶ added in v0.27.1
func (mr *MockManagerMockRecorder) GetConfigPath() *gomock.Call
GetConfigPath indicates an expected call of GetConfigPath.
func (*MockManagerMockRecorder) GetConfigStrict ¶ added in v0.27.1
func (mr *MockManagerMockRecorder) GetConfigStrict() *gomock.Call
GetConfigStrict indicates an expected call of GetConfigStrict.
func (*MockManagerMockRecorder) GetConfigWithFallback ¶ added in v0.27.1
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.1
func (mr *MockManagerMockRecorder) SetConfigPath(configPath any) *gomock.Call
SetConfigPath indicates an expected call of SetConfigPath.
func (*MockManagerMockRecorder) ValidateRepositoriesDir ¶
func (mr *MockManagerMockRecorder) ValidateRepositoriesDir(repositoriesDir any) *gomock.Call
ValidateRepositoriesDir indicates an expected call of ValidateRepositoriesDir.
func (*MockManagerMockRecorder) ValidateStatusFile ¶
func (mr *MockManagerMockRecorder) ValidateStatusFile(statusFile any) *gomock.Call
ValidateStatusFile indicates an expected call of ValidateStatusFile.
func (*MockManagerMockRecorder) ValidateWorkspacesDir ¶
func (mr *MockManagerMockRecorder) ValidateWorkspacesDir(workspacesDir any) *gomock.Call
ValidateWorkspacesDir indicates an expected call of ValidateWorkspacesDir.