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

Function WithPrompt

pkg/compose/compose.go:148–153  ·  view source on GitHub ↗

WithPrompt configure a UI component for Compose service to interact with user and confirm actions

(prompt Prompt)

Source from the content-addressed store, hash-verified

146
147// WithPrompt configure a UI component for Compose service to interact with user and confirm actions
148func WithPrompt(prompt Prompt) Option {
149 return func(s *composeService) error {
150 s.prompt = prompt
151 return nil
152 }
153}
154
155// WithMaxConcurrency defines upper limit for concurrent operations against engine API
156func WithMaxConcurrency(maxConcurrency int) Option {

Callers 4

pluginMainFunction · 0.92
runUpFunction · 0.92
runCreateFunction · 0.92
runPublishFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected