MCPcopy
hub / github.com/docker/compose / On

Method On

pkg/api/event.go:104–104  ·  pkg/api/event.go::EventProcessor.On

On notify about (sub)task and progress processing operation

(events ...Resource)

Source from the content-addressed store, hash-verified

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 15

copyMethod · 0.65
pushMethod · 0.65
toPushProgressEventFunction · 0.65
PullModelMethod · 0.65
ConfigureModelMethod · 0.65
exportMethod · 0.65
UpMethod · 0.65
restartMethod · 0.65
removeMethod · 0.65
pullMethod · 0.65
pullServiceImageMethod · 0.65
toPullProgressEventFunction · 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