Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/compozy/agh
/ Execute
Method
Execute
internal/hooks/executor.go:44–44 ·
view source on GitHub ↗
(ctx context.Context, hook RegisteredHook, payload []byte)
Source
from the content-addressed store, hash-verified
42
type
Executor
interface
{
43
Kind() HookExecutorKind
44
Execute(ctx context.Context, hook RegisteredHook, payload []byte) ([]byte, error)
45
}
Callers
8
executePromptTemplate
Function · 0.65
TestRegistry
Function · 0.65
TestNewDocCommand_GeneratesDocs
Function · 0.65
TestNewDocCommand_CreatesOutputDir
Function · 0.65
TestNewDocCommand_GeneratesAllCommands
Function · 0.65
TestDispatchRuntimeAndExecutorResolvers
Function · 0.65
renderMemoryExtractorPrompt
Function · 0.65
runHook
Method · 0.65
Implementers
6
stubExecutor
internal/hooks/types_test.go
NativeExecutor
internal/hooks/executor_native.go
SubprocessExecutor
internal/hooks/executor_subprocess.go
pipelineTestExecutor
internal/hooks/pipeline_test.go
WasmExecutor
internal/hooks/executor_wasm_stub.go
hookValidationExecutor
internal/config/hooks.go
Calls
no outgoing calls
Tested by
5
TestRegistry
Function · 0.52
TestNewDocCommand_GeneratesDocs
Function · 0.52
TestNewDocCommand_CreatesOutputDir
Function · 0.52
TestNewDocCommand_GeneratesAllCommands
Function · 0.52
TestDispatchRuntimeAndExecutorResolvers
Function · 0.52