Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { APIVersion() string BinaryName() string ColorEnabled() config.ColorSetting CurrentUser() (config.User, error) Locale() string Plugins() map[string]config.Plugin SetTargetInformation(api string, apiVersion string, auth string, loggregator string, doppler string, uaa string, routing string, skipSSLValidation bool) SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string) Target() string TargetedOrganization() config.Organization TargetedSpace() config.Space Experimental() bool }
Config a way of getting basic CF configuration
type ExtendedCommander ¶
type UI ¶
type UI interface { DisplayHeaderFlavorText(text string, keys ...map[string]interface{}) DisplayHelpHeader(text string) DisplayNewline() DisplayOK() DisplayPair(attribute string, formattedString string, keys ...map[string]interface{}) DisplayTable(prefix string, table [][]string) DisplayText(template string, data ...map[string]interface{}) DisplayTextWithKeyTranslations(template string, keysToTranslate []string, data ...map[string]interface{}) }
UI is the interface to STDOUT
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
package ui will provide hooks into STDOUT, STDERR and STDIN.
|
package ui will provide hooks into STDOUT, STDERR and STDIN. |
uifakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
v2fakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.