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

Function AlwaysOkPrompt

pkg/compose/compose.go:186–190  ·  view source on GitHub ↗

AlwaysOkPrompt returns a Prompt implementation that always returns true without user interaction.

()

Source from the content-addressed store, hash-verified

184
185// AlwaysOkPrompt returns a Prompt implementation that always returns true without user interaction.
186func AlwaysOkPrompt() Prompt {
187 return func(message string, defaultValue bool) (bool, error) {
188 return true, nil
189 }
190}
191
192// WithEventProcessor configure component to get notified on Compose operation and progress events.
193// Typically used to configure a progress UI

Callers 3

runUpFunction · 0.92
runCreateFunction · 0.92
runPublishFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected