Documentation
¶
Index ¶
- func AdvisoryColor(message string) string
- func CommandColor(message string) string
- func CrashedColor(message string) string
- func EntityNameColor(message string) string
- func FailureColor(message string) string
- func HeaderColor(message string) string
- func LogAppHeaderColor(message string) string
- func LogStderrColor(message string) string
- func LogStdoutColor(message string) string
- func LogSysHeaderColor(message string) string
- func NotLoggedInText() string
- func PromptColor(message string) string
- func StartedColor(message string) string
- func StoppedColor(message string) string
- func SuccessColor(message string) string
- func TableContentColor(message string) string
- func TableContentHeaderColor(message string) string
- func WarningColor(message string) string
- type Color
- type ColoringFunction
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdvisoryColor ¶
func CommandColor ¶
func CrashedColor ¶
func EntityNameColor ¶
func FailureColor ¶
func HeaderColor ¶
func LogAppHeaderColor ¶
func LogStderrColor ¶
func LogStdoutColor ¶
func LogSysHeaderColor ¶
func NotLoggedInText ¶
func NotLoggedInText() string
func PromptColor ¶
func StartedColor ¶
func StoppedColor ¶
func SuccessColor ¶
func TableContentColor ¶
func TableContentHeaderColor ¶
func WarningColor ¶
Types ¶
type UI ¶
type UI interface {
Say(message string, args ...interface{})
Warn(message string, args ...interface{})
Ask(prompt string, args ...interface{}) (answer string)
AskForPassword(prompt string, args ...interface{}) (answer string)
Confirm(message string, args ...interface{}) bool
Ok()
Failed(message string, args ...interface{})
FailWithUsage(ctxt *cli.Context, cmdName string)
ConfigFailure(err error)
ShowConfiguration(*configuration.Configuration)
LoadingIndication()
Wait(duration time.Duration)
DisplayTable(table [][]string)
}
Click to show internal directories.
Click to hide internal directories.