Documentation ¶
Index ¶
- type TerminalUserInterface
- func (userInterface *TerminalUserInterface) AskForDesktopShortcut(referenceDescriptor descriptors.AppDescriptor) (canCreate bool)
- func (userInterface *TerminalUserInterface) AskForSecureFirstRun(bootDescriptor descriptors.AppDescriptor) (canRun bool)
- func (userInterface *TerminalUserInterface) AskForUntrustedFirstRun(bootDescriptor descriptors.AppDescriptor) (canRun bool)
- func (userInterface *TerminalUserInterface) Hide()
- func (userInterface *TerminalUserInterface) SetApp(app string)
- func (userInterface *TerminalUserInterface) SetHeader(header string)
- func (userInterface *TerminalUserInterface) SetProgress(progress float64)
- func (userInterface *TerminalUserInterface) SetStatus(status string)
- func (userInterface *TerminalUserInterface) Show()
- func (userInterface *TerminalUserInterface) ShowError(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerminalUserInterface ¶
type TerminalUserInterface struct {
// contains filtered or unexported fields
}
func NewTerminalUserInterface ¶
func NewTerminalUserInterface(launcher launchers.Launcher, terminal terminals.Terminal) *TerminalUserInterface
func (*TerminalUserInterface) AskForDesktopShortcut ¶
func (userInterface *TerminalUserInterface) AskForDesktopShortcut(referenceDescriptor descriptors.AppDescriptor) (canCreate bool)
func (*TerminalUserInterface) AskForSecureFirstRun ¶
func (userInterface *TerminalUserInterface) AskForSecureFirstRun(bootDescriptor descriptors.AppDescriptor) (canRun bool)
func (*TerminalUserInterface) AskForUntrustedFirstRun ¶
func (userInterface *TerminalUserInterface) AskForUntrustedFirstRun(bootDescriptor descriptors.AppDescriptor) (canRun bool)
func (*TerminalUserInterface) Hide ¶
func (userInterface *TerminalUserInterface) Hide()
func (*TerminalUserInterface) SetApp ¶
func (userInterface *TerminalUserInterface) SetApp(app string)
func (*TerminalUserInterface) SetHeader ¶
func (userInterface *TerminalUserInterface) SetHeader(header string)
func (*TerminalUserInterface) SetProgress ¶
func (userInterface *TerminalUserInterface) SetProgress(progress float64)
func (*TerminalUserInterface) SetStatus ¶
func (userInterface *TerminalUserInterface) SetStatus(status string)
func (*TerminalUserInterface) Show ¶
func (userInterface *TerminalUserInterface) Show()
func (*TerminalUserInterface) ShowError ¶
func (userInterface *TerminalUserInterface) ShowError(message string)
Click to show internal directories.
Click to hide internal directories.