termui

package
v0.0.0-...-5cb6d66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL