Documentation
¶
Index ¶
- type TUIDisplayer
- type TUIMessage
- type TUIMessenger
- type TUITitle
- func (t *TUITitle) ShowDescription(description string)
- func (t *TUITitle) ShowInitDetails(jobName, taskName, workDir, mountDir, targetDir string)
- func (t *TUITitle) ShowSubTitle(mainTitle string, subTitle string)
- func (t *TUITitle) ShowTaskDetails(taskName, actionName, workDir, mountDir, targetDir string)
- func (t *TUITitle) ShowTitle(title string)
- func (t *TUITitle) ShowTitleAndDescription(title, description string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TUIDisplayer ¶
type TUIDisplayer interface {
ShowTitleAndDescription(title, description string)
ShowTitle(title string)
ShowSubTitle(mainTitle, subtitle string)
ShowDescription(description string)
ShowInitDetails(jobName, taskName, workDir, mountDir, targetDir string)
ShowTaskDetails(taskName, actionName, workDir, mountDir, targetDir string)
}
func NewTitle ¶
func NewTitle() TUIDisplayer
type TUIMessage ¶
type TUIMessage struct {
}
func (*TUIMessage) ShowError ¶
func (t *TUIMessage) ShowError(title, msg string, err error)
func (*TUIMessage) ShowInfo ¶
func (t *TUIMessage) ShowInfo(title, msg string)
func (*TUIMessage) ShowSuccess ¶
func (t *TUIMessage) ShowSuccess(title, msg string)
func (*TUIMessage) ShowWarning ¶
func (t *TUIMessage) ShowWarning(title, msg string)
type TUIMessenger ¶
type TUIMessenger interface {
ShowError(title, msg string, err error)
ShowInfo(title, msg string)
ShowSuccess(title, msg string)
ShowWarning(title, msg string)
}
func NewTUIMessage ¶
func NewTUIMessage() TUIMessenger
type TUITitle ¶
type TUITitle struct {
}
func (*TUITitle) ShowDescription ¶
func (*TUITitle) ShowInitDetails ¶
func (*TUITitle) ShowSubTitle ¶
func (*TUITitle) ShowTaskDetails ¶
func (*TUITitle) ShowTitleAndDescription ¶
Click to show internal directories.
Click to hide internal directories.