Documentation ¶
Index ¶
- type FakeUI
- func (ui *FakeUI) Ask(prompt string, args ...interface{}) (answer string)
- func (ui *FakeUI) AskForPassword(prompt string, args ...interface{}) (answer string)
- func (ui *FakeUI) ClearOutputs()
- func (ui *FakeUI) ConfigFailure(err error)
- func (ui *FakeUI) Confirm(prompt string, args ...interface{}) bool
- func (ui *FakeUI) DisplayTable(table [][]string)
- func (ui *FakeUI) DumpOutputs() string
- func (ui *FakeUI) FailWithUsage(ctxt *cli.Context, cmdName string)
- func (ui *FakeUI) Failed(message string, args ...interface{})
- func (ui FakeUI) LoadingIndication()
- func (ui *FakeUI) Ok()
- func (ui *FakeUI) Say(message string, args ...interface{})
- func (ui *FakeUI) ShowConfiguration(config *configuration.Configuration)
- func (c FakeUI) Wait(duration time.Duration)
- func (ui *FakeUI) Warn(message string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeUI ¶
type FakeUI struct { Outputs []string Prompts []string PasswordPrompts []string Inputs []string FailedWithUsage bool ShowConfigurationCalled bool }
func (*FakeUI) AskForPassword ¶
func (*FakeUI) ClearOutputs ¶
func (ui *FakeUI) ClearOutputs()
func (*FakeUI) ConfigFailure ¶
func (*FakeUI) DisplayTable ¶
func (*FakeUI) DumpOutputs ¶
func (FakeUI) LoadingIndication ¶
func (ui FakeUI) LoadingIndication()
func (*FakeUI) ShowConfiguration ¶
func (ui *FakeUI) ShowConfiguration(config *configuration.Configuration)
Click to show internal directories.
Click to hide internal directories.