Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHookManagerInterface
- func (m *MockHookManagerInterface) DisableHook(operation, hookName string) error
- func (m *MockHookManagerInterface) EXPECT() *MockHookManagerInterfaceMockRecorder
- func (m *MockHookManagerInterface) EnableHook(operation, hookName string) error
- func (m *MockHookManagerInterface) ExecuteErrorHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecutePostHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecutePreHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecuteWorktreeCheckoutHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ListHooks(operation string) ([]hooks.Hook, error)
- func (m *MockHookManagerInterface) RegisterErrorHook(operation string, hook hooks.ErrorHook) error
- func (m *MockHookManagerInterface) RegisterPostHook(operation string, hook hooks.PostHook) error
- func (m *MockHookManagerInterface) RegisterPreHook(operation string, hook hooks.PreHook) error
- func (m *MockHookManagerInterface) RegisterWorktreeCheckoutHook(operation string, hook hooks.WorktreeCheckoutHook) error
- func (m *MockHookManagerInterface) RemoveHook(operation, hookName string) error
- type MockHookManagerInterfaceMockRecorder
- func (mr *MockHookManagerInterfaceMockRecorder) DisableHook(operation, hookName any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) EnableHook(operation, hookName any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecuteErrorHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecutePostHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecutePreHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecuteWorktreeCheckoutHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ListHooks(operation any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterErrorHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterPreHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterWorktreeCheckoutHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RemoveHook(operation, hookName any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHookManagerInterface ¶
type MockHookManagerInterface struct {
// contains filtered or unexported fields
}
MockHookManagerInterface is a mock of HookManagerInterface interface.
func NewMockHookManagerInterface ¶
func NewMockHookManagerInterface(ctrl *gomock.Controller) *MockHookManagerInterface
NewMockHookManagerInterface creates a new mock instance.
func (*MockHookManagerInterface) DisableHook ¶
func (m *MockHookManagerInterface) DisableHook(operation, hookName string) error
DisableHook mocks base method.
func (*MockHookManagerInterface) EXPECT ¶
func (m *MockHookManagerInterface) EXPECT() *MockHookManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHookManagerInterface) EnableHook ¶
func (m *MockHookManagerInterface) EnableHook(operation, hookName string) error
EnableHook mocks base method.
func (*MockHookManagerInterface) ExecuteErrorHooks ¶
func (m *MockHookManagerInterface) ExecuteErrorHooks(operation string, ctx *hooks.HookContext) error
ExecuteErrorHooks mocks base method.
func (*MockHookManagerInterface) ExecutePostHooks ¶
func (m *MockHookManagerInterface) ExecutePostHooks(operation string, ctx *hooks.HookContext) error
ExecutePostHooks mocks base method.
func (*MockHookManagerInterface) ExecutePreHooks ¶
func (m *MockHookManagerInterface) ExecutePreHooks(operation string, ctx *hooks.HookContext) error
ExecutePreHooks mocks base method.
func (*MockHookManagerInterface) ExecuteWorktreeCheckoutHooks ¶
func (m *MockHookManagerInterface) ExecuteWorktreeCheckoutHooks(operation string, ctx *hooks.HookContext) error
ExecuteWorktreeCheckoutHooks mocks base method.
func (*MockHookManagerInterface) ListHooks ¶
func (m *MockHookManagerInterface) ListHooks(operation string) ([]hooks.Hook, error)
ListHooks mocks base method.
func (*MockHookManagerInterface) RegisterErrorHook ¶
func (m *MockHookManagerInterface) RegisterErrorHook(operation string, hook hooks.ErrorHook) error
RegisterErrorHook mocks base method.
func (*MockHookManagerInterface) RegisterPostHook ¶
func (m *MockHookManagerInterface) RegisterPostHook(operation string, hook hooks.PostHook) error
RegisterPostHook mocks base method.
func (*MockHookManagerInterface) RegisterPreHook ¶
func (m *MockHookManagerInterface) RegisterPreHook(operation string, hook hooks.PreHook) error
RegisterPreHook mocks base method.
func (*MockHookManagerInterface) RegisterWorktreeCheckoutHook ¶
func (m *MockHookManagerInterface) RegisterWorktreeCheckoutHook(operation string, hook hooks.WorktreeCheckoutHook) error
RegisterWorktreeCheckoutHook mocks base method.
func (*MockHookManagerInterface) RemoveHook ¶
func (m *MockHookManagerInterface) RemoveHook(operation, hookName string) error
RemoveHook mocks base method.
type MockHookManagerInterfaceMockRecorder ¶
type MockHookManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockHookManagerInterfaceMockRecorder is the mock recorder for MockHookManagerInterface.
func (*MockHookManagerInterfaceMockRecorder) DisableHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) DisableHook(operation, hookName any) *gomock.Call
DisableHook indicates an expected call of DisableHook.
func (*MockHookManagerInterfaceMockRecorder) EnableHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) EnableHook(operation, hookName any) *gomock.Call
EnableHook indicates an expected call of EnableHook.
func (*MockHookManagerInterfaceMockRecorder) ExecuteErrorHooks ¶
func (mr *MockHookManagerInterfaceMockRecorder) ExecuteErrorHooks(operation, ctx any) *gomock.Call
ExecuteErrorHooks indicates an expected call of ExecuteErrorHooks.
func (*MockHookManagerInterfaceMockRecorder) ExecutePostHooks ¶
func (mr *MockHookManagerInterfaceMockRecorder) ExecutePostHooks(operation, ctx any) *gomock.Call
ExecutePostHooks indicates an expected call of ExecutePostHooks.
func (*MockHookManagerInterfaceMockRecorder) ExecutePreHooks ¶
func (mr *MockHookManagerInterfaceMockRecorder) ExecutePreHooks(operation, ctx any) *gomock.Call
ExecutePreHooks indicates an expected call of ExecutePreHooks.
func (*MockHookManagerInterfaceMockRecorder) ExecuteWorktreeCheckoutHooks ¶
func (mr *MockHookManagerInterfaceMockRecorder) ExecuteWorktreeCheckoutHooks(operation, ctx any) *gomock.Call
ExecuteWorktreeCheckoutHooks indicates an expected call of ExecuteWorktreeCheckoutHooks.
func (*MockHookManagerInterfaceMockRecorder) ListHooks ¶
func (mr *MockHookManagerInterfaceMockRecorder) ListHooks(operation any) *gomock.Call
ListHooks indicates an expected call of ListHooks.
func (*MockHookManagerInterfaceMockRecorder) RegisterErrorHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterErrorHook(operation, hook any) *gomock.Call
RegisterErrorHook indicates an expected call of RegisterErrorHook.
func (*MockHookManagerInterfaceMockRecorder) RegisterPostHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostHook(operation, hook any) *gomock.Call
RegisterPostHook indicates an expected call of RegisterPostHook.
func (*MockHookManagerInterfaceMockRecorder) RegisterPreHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterPreHook(operation, hook any) *gomock.Call
RegisterPreHook indicates an expected call of RegisterPreHook.
func (*MockHookManagerInterfaceMockRecorder) RegisterWorktreeCheckoutHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterWorktreeCheckoutHook(operation, hook any) *gomock.Call
RegisterWorktreeCheckoutHook indicates an expected call of RegisterWorktreeCheckoutHook.
func (*MockHookManagerInterfaceMockRecorder) RemoveHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RemoveHook(operation, hookName any) *gomock.Call
RemoveHook indicates an expected call of RemoveHook.