MCPcopy Create free account
hub / github.com/docker/compose / EventProcessor

Interface EventProcessor

pkg/api/event.go:100–107  ·  view source on GitHub ↗

EventProcessor is notified about Compose operations and tasks

Source from the content-addressed store, hash-verified

98
99// EventProcessor is notified about Compose operations and tasks
100type EventProcessor interface {
101 // Start is triggered as a Compose operation is starting with context
102 Start(ctx context.Context, operation string)
103 // On notify about (sub)task and progress processing operation
104 On(events ...Resource)
105 // Done is triggered as a Compose operation completed
106 Done(operation string, success bool)
107}

Callers 16

copyMethod · 0.65
pushMethod · 0.65
toPushProgressEventFunction · 0.65
PullModelMethod · 0.65
ConfigureModelMethod · 0.65
exportMethod · 0.65
UpMethod · 0.65
restartMethod · 0.65
BatchDebounceEventsFunction · 0.65
fsyncWithRetryCountMethod · 0.65
TestComposeCancelFunction · 0.65

Implementers 6

noopEventProcessorpkg/compose/executor_test.go
ignorepkg/compose/progress.go
ttyWritercmd/display/tty.go
quietcmd/display/quiet.go
jsonWritercmd/display/json.go
plainWritercmd/display/plain.go

Calls

no outgoing calls

Tested by

no test coverage detected