MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewInteraction

Method NewInteraction

util/ui/ui.go:37–37  ·  view source on GitHub ↗
(prompt string, choices ...interact.Choice)

Source from the content-addressed store, hash-verified

35// Interactor hides interact.NewInteraction for testing purposes
36type Interactor interface {
37 NewInteraction(prompt string, choices ...interact.Choice) Resolver
38}
39
40type interactorFunc func(prompt string, choices ...interact.Choice) Resolver

Callers 6

DisplayBoolPromptMethod · 0.65
DisplayPasswordPromptMethod · 0.65
DisplayTextMenuMethod · 0.65
DisplayTextPromptMethod · 0.65
ui.goFile · 0.65

Implementers 1

FakeInteractorutil/ui/uifakes/fake_interactor.go

Calls

no outgoing calls

Tested by

no test coverage detected