Documentation
¶
Index ¶
- type MockUI
- func (m *MockUI) CallCount(method string) int
- func (m *MockUI) ClearCalls()
- func (m *MockUI) GetCalls() []string
- func (m *MockUI) RecordCall(method string)
- func (m *MockUI) ShowCompletion() error
- func (m *MockUI) ShowStepProgress(_ context.Context, current, total int, stepName string) error
- func (m *MockUI) ShowStepRetrying(_ context.Context, stepName string) error
- func (m *MockUI) ShowStepSkipped(_ context.Context, stepName string) error
- func (m *MockUI) ShowWelcome() error
- func (m *MockUI) VerifyCalls(expected []string) bool
- func (m *MockUI) WasCalled(method string) bool
- type PTermUI
- func (p *PTermUI) ShowCompletion() error
- func (p *PTermUI) ShowStepProgress(_ context.Context, current, total int, stepName string) error
- func (p *PTermUI) ShowStepRetrying(_ context.Context, stepName string) error
- func (p *PTermUI) ShowStepSkipped(_ context.Context, stepName string) error
- func (p *PTermUI) ShowWelcome() error
- type Result
- type Step
- type StepFunc
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUI ¶
type MockUI struct {
Calls []string
ReturnError error
WelcomeShown bool
CompletionShown bool
// contains filtered or unexported fields
}
func (*MockUI) ClearCalls ¶
func (m *MockUI) ClearCalls()
func (*MockUI) RecordCall ¶
func (*MockUI) ShowCompletion ¶
func (*MockUI) ShowStepProgress ¶
func (*MockUI) ShowStepRetrying ¶
func (*MockUI) ShowStepSkipped ¶
func (*MockUI) ShowWelcome ¶
func (*MockUI) VerifyCalls ¶
type PTermUI ¶
func NewPTermUI ¶
func (*PTermUI) ShowCompletion ¶
func (*PTermUI) ShowStepProgress ¶
func (*PTermUI) ShowStepRetrying ¶
func (*PTermUI) ShowStepSkipped ¶
func (*PTermUI) ShowWelcome ¶
type Result ¶
Click to show internal directories.
Click to hide internal directories.