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) ExecutePreHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) ExecuteWorktreeCheckoutHooks(operation string, ctx *hooks.HookContext) error
- func (m *MockHookManagerInterface) RegisterPostHook(operation string, hook hooks.PostHook) error
- func (m *MockHookManagerInterface) RegisterWorktreeCheckoutHook(operation string, hook hooks.WorktreeCheckoutHook) error
- type MockHookManagerInterfaceMockRecorder
- 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) RegisterPostHook(operation, hook any) *gomock.Call
- func (mr *MockHookManagerInterfaceMockRecorder) RegisterWorktreeCheckoutHook(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) 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) RegisterPostHook ¶
func (m *MockHookManagerInterface) RegisterPostHook(operation string, hook hooks.PostHook) error
RegisterPostHook mocks base method.
func (*MockHookManagerInterface) RegisterWorktreeCheckoutHook ¶
func (m *MockHookManagerInterface) RegisterWorktreeCheckoutHook(operation string, hook hooks.WorktreeCheckoutHook) error
RegisterWorktreeCheckoutHook 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) 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) RegisterPostHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterPostHook(operation, hook any) *gomock.Call
RegisterPostHook indicates an expected call of RegisterPostHook.
func (*MockHookManagerInterfaceMockRecorder) RegisterWorktreeCheckoutHook ¶
func (mr *MockHookManagerInterfaceMockRecorder) RegisterWorktreeCheckoutHook(operation, hook any) *gomock.Call
RegisterWorktreeCheckoutHook indicates an expected call of RegisterWorktreeCheckoutHook.