Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHookManagerInterface
- func (m *MockHookManagerInterface) EXPECT() *MockHookManagerInterfaceMockRecorder
- func (m *MockHookManagerInterface) ExecuteErrorHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecutePostHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecutePostWorktreeCheckoutHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecutePreHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecutePreWorktreeCreationHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) RegisterPostHook(operation string, hook hooks.PostHook) error
- func (m *MockHookManagerInterface) RegisterPostWorktreeCheckoutHook(operation string, hook hooks.PostWorktreeCheckoutHook) error
- func (m *MockHookManagerInterface) RegisterPreWorktreeCreationHook(operation string, hook hooks.PreWorktreeCreationHook) error
- type MockHookManagerInterfaceMockRecorder
- func (mr *MockHookManagerInterfaceMockRecorder) ExecuteErrorHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecutePostHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecutePostWorktreeCheckoutHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecutePreHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) ExecutePreWorktreeCreationHooks(operation, ctx any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostWorktreeCheckoutHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterPreWorktreeCreationHook(operation, hook 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) EXPECT ¶
func (m *MockHookManagerInterface) EXPECT() *MockHookManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) ExecutePostWorktreeCheckoutHooks ¶ added in v0.29.0
func (m *MockHookManagerInterface) ExecutePostWorktreeCheckoutHooks(operation string, ctx *hooks.HookContext) error
ExecutePostWorktreeCheckoutHooks mocks base method.
func (*MockHookManagerInterface) ExecutePreHooks ¶
func (m *MockHookManagerInterface) ExecutePreHooks(operation string, ctx *hooks.HookContext) error
ExecutePreHooks mocks base method.
func (*MockHookManagerInterface) ExecutePreWorktreeCreationHooks ¶ added in v0.29.0
func (m *MockHookManagerInterface) ExecutePreWorktreeCreationHooks(operation string, ctx *hooks.HookContext) error
ExecutePreWorktreeCreationHooks mocks base method.
func (*MockHookManagerInterface) RegisterPostHook ¶
func (m *MockHookManagerInterface) RegisterPostHook(operation string, hook hooks.PostHook) error
RegisterPostHook mocks base method.
func (*MockHookManagerInterface) RegisterPostWorktreeCheckoutHook ¶ added in v0.29.0
func (m *MockHookManagerInterface) RegisterPostWorktreeCheckoutHook(operation string, hook hooks.PostWorktreeCheckoutHook) error
RegisterPostWorktreeCheckoutHook mocks base method.
func (*MockHookManagerInterface) RegisterPreWorktreeCreationHook ¶ added in v0.29.0
func (m *MockHookManagerInterface) RegisterPreWorktreeCreationHook(operation string, hook hooks.PreWorktreeCreationHook) error
RegisterPreWorktreeCreationHook mocks base method.
type MockHookManagerInterfaceMockRecorder ¶
type MockHookManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockHookManagerInterfaceMockRecorder is the mock recorder for MockHookManagerInterface.
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) ExecutePostWorktreeCheckoutHooks ¶ added in v0.29.0
func (mr *MockHookManagerInterfaceMockRecorder) ExecutePostWorktreeCheckoutHooks(operation, ctx any) *gomock.Call
ExecutePostWorktreeCheckoutHooks indicates an expected call of ExecutePostWorktreeCheckoutHooks.
func (*MockHookManagerInterfaceMockRecorder) ExecutePreHooks ¶
func (mr *MockHookManagerInterfaceMockRecorder) ExecutePreHooks(operation, ctx any) *gomock.Call
ExecutePreHooks indicates an expected call of ExecutePreHooks.
func (*MockHookManagerInterfaceMockRecorder) ExecutePreWorktreeCreationHooks ¶ added in v0.29.0
func (mr *MockHookManagerInterfaceMockRecorder) ExecutePreWorktreeCreationHooks(operation, ctx any) *gomock.Call
ExecutePreWorktreeCreationHooks indicates an expected call of ExecutePreWorktreeCreationHooks.
func (*MockHookManagerInterfaceMockRecorder) RegisterPostHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostHook(operation, hook any) *gomock.Call
RegisterPostHook indicates an expected call of RegisterPostHook.
func (*MockHookManagerInterfaceMockRecorder) RegisterPostWorktreeCheckoutHook ¶ added in v0.29.0
func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostWorktreeCheckoutHook(operation, hook any) *gomock.Call
RegisterPostWorktreeCheckoutHook indicates an expected call of RegisterPostWorktreeCheckoutHook.
func (*MockHookManagerInterfaceMockRecorder) RegisterPreWorktreeCreationHook ¶ added in v0.29.0
func (mr *MockHookManagerInterfaceMockRecorder) RegisterPreWorktreeCreationHook(operation, hook any) *gomock.Call
RegisterPreWorktreeCreationHook indicates an expected call of RegisterPreWorktreeCreationHook.