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 AccessToken() string BinaryName() string ClientID() string ClientSecret() string ColorEnabled() configv3.ColorSetting CurrentUser() (configv3.User, error) Experimental() bool Locale() string Plugins() map[string]configv3.Plugin RefreshToken() string SetAccessToken(token string) SetTargetInformation(api string, apiVersion string, auth string, loggregator string, doppler string, uaa string, routing string, skipSSLValidation bool) SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string) SkipSSLValidation() bool Target() string TargetedOrganization() configv3.Organization TargetedSpace() configv3.Space }
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{}) DisplayBoolPrompt(prompt string, defaultResponse bool) (bool, error) DisplayTable(prefix string, table [][]string) DisplayText(template string, data ...map[string]interface{}) DisplayTextWithKeyTranslations(template string, keysToTranslate []string, data ...map[string]interface{}) DisplayWarning(formattedString string, keys ...map[string]interface{}) DisplayWarnings(warnings []string) }
UI is the interface to STDOUT
Directories ¶
Path | Synopsis |
---|---|
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 This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.