MCPcopy
hub / github.com/keploy/keploy / AppHooks

Interface AppHooks

pkg/client/app/hooks.go:11–14  ·  view source on GitHub ↗

AppHooks defines extension points used during app lifecycle.

Source from the content-addressed store, hash-verified

9
10// AppHooks defines extension points used during app lifecycle.
11type AppHooks interface {
12 BeforeDockerComposeSetup(ctx context.Context, compose *docker.Compose, serviceName string) (bool, error)
13 BeforeDockerSetup(ctx context.Context, cmd string) (string, error)
14}
15
16var HookImpl AppHooks
17

Callers 3

SetupComposeMethod · 0.65
setupComposeInMemoryMethod · 0.65
SetupDockerMethod · 0.65

Implementers 1

Hookspkg/client/app/hooks.go

Calls

no outgoing calls

Tested by

no test coverage detected