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

Function WithEventProcessor

pkg/compose/compose.go:194–199  ·  pkg/compose/compose.go::WithEventProcessor

WithEventProcessor configure component to get notified on Compose operation and progress events. Typically used to configure a progress UI

(bus api.EventProcessor)

Source from the content-addressed store, hash-verified

192// WithEventProcessor configure component to get notified on Compose operation and progress events.
193// Typically used to configure a progress UI
194func WithEventProcessor(bus api.EventProcessor) Option {
195 return func(s *composeService) error {
196 s.events = bus
197 return nil
198 }
199}
200
201type composeService struct {
202 dockerCli command.Cli

Callers 4

RootCommandFunction · 0.92
runBuildFunction · 0.92
runCommandFunction · 0.92
newTestServiceFunction · 0.85

Calls

no outgoing calls

Tested by 1

newTestServiceFunction · 0.68