mocks

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

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 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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL