Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProgressIndicator ¶
type MockProgressIndicator struct{}
func NewMockProgressIndicator ¶
func NewMockProgressIndicator() *MockProgressIndicator
func (*MockProgressIndicator) Fail ¶
func (s *MockProgressIndicator) Fail()
func (*MockProgressIndicator) Start ¶
func (s *MockProgressIndicator) Start(string)
func (MockProgressIndicator) Stop ¶
func (s MockProgressIndicator) Stop()
func (MockProgressIndicator) Success ¶
func (s MockProgressIndicator) Success()
type MockPrompter ¶
type MockPrompter struct { PromptYesNoVal bool PromptYesNoErr error PromptYesNoCallCount int PromptMultiSelectVal []string PromptMultiSelectErr error PromptMultiSelectCallCount int }
func NewMockPrompter ¶
func NewMockPrompter() *MockPrompter
func (*MockPrompter) MultiSelect ¶ added in v0.18.21
func (p *MockPrompter) MultiSelect(msg string, options []string) ([]string, error)
func (*MockPrompter) PromptYesNo ¶
func (p *MockPrompter) PromptYesNo(msg string) (bool, error)
type PlainProgress ¶ added in v0.18.19
type PlainProgress struct { }
func NewPlainProgress ¶ added in v0.18.19
func NewPlainProgress() *PlainProgress
func (*PlainProgress) Fail ¶ added in v0.18.19
func (p *PlainProgress) Fail()
func (*PlainProgress) Start ¶ added in v0.18.19
func (p *PlainProgress) Start(msg string)
func (*PlainProgress) Stop ¶ added in v0.18.19
func (p *PlainProgress) Stop()
func (*PlainProgress) Success ¶ added in v0.18.19
func (p *PlainProgress) Success()
type ProgressIndicator ¶
type ProgressIndicator interface { Fail() Success() Start(msg string) Stop() }
type PromptUIPrompter ¶
type PromptUIPrompter struct{}
func NewPromptUIPrompter ¶
func NewPromptUIPrompter() *PromptUIPrompter
func (*PromptUIPrompter) MultiSelect ¶ added in v0.18.21
func (p *PromptUIPrompter) MultiSelect(msg string, options []string) ([]string, error)
func (*PromptUIPrompter) PromptYesNo ¶
func (p *PromptUIPrompter) PromptYesNo(msg string) (bool, error)
type Spinner ¶
type Spinner struct {
*spinnerLib.Spinner
}
func NewSpinner ¶
func NewSpinner() *Spinner
Click to show internal directories.
Click to hide internal directories.