Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + const ExperimentalWarning + func CheckVersionOutdated(current string, minimum string) (bool, error) + func DisplayNotLoggedInText(binaryName string, ui UI) + func MinimumCCAPIVersionCheck(current string, minimum string, customCommand ...string) error + func MinimumUAAAPIVersionCheck(current string, minimum string, customCommand ...string) error + func WarnIfAPIVersionBelowSupportedMinimum(apiVersion string, ui UI) error + func WarnIfCLIVersionBelowAPIDefinedMinimum(config Config, apiVersion string, ui UI) error + type APIVersionTooHighError struct + func (a APIVersionTooHighError) Error() string + type Config interface + APIVersion func() string + AccessToken func() string + AddPlugin func(configv3.Plugin) + AddPluginRepository func(name string, url string) + AuthorizationEndpoint func() string + BinaryName func() string + BinaryVersion func() string + CFPassword func() string + CFUsername func() string + ColorEnabled func() configv3.ColorSetting + CurrentUser func() (configv3.User, error) + CurrentUserName func() (string, error) + DialTimeout func() time.Duration + DockerPassword func() string + Experimental func() bool + GetPlugin func(pluginName string) (configv3.Plugin, bool) + GetPluginCaseInsensitive func(pluginName string) (configv3.Plugin, bool) + HasTargetedOrganization func() bool + HasTargetedSpace func() bool + IsCFOnK8s func() bool + IsTTY func() bool + Locale func() string + LogCacheEndpoint func() string + MinCLIVersion func() string + NOAARequestRetryCount func() int + NetworkPolicyV1Endpoint func() string + OverallPollingTimeout func() time.Duration + PluginHome func() string + PluginRepositories func() []configv3.PluginRepository + Plugins func() []configv3.Plugin + PollingInterval func() time.Duration + RefreshToken func() string + RemovePlugin func(string) + RequestRetryCount func() int + RoutingEndpoint func() string + SSHOAuthClient func() string + SetAccessToken func(token string) + SetAsyncTimeout func(timeout int) + SetColorEnabled func(enabled string) + SetKubernetesAuthInfo func(authInfo string) + SetLocale func(locale string) + SetMinCLIVersion func(version string) + SetOrganizationInformation func(guid string, name string) + SetRefreshToken func(token string) + SetSpaceInformation func(guid string, name string, allowSSH bool) + SetTargetInformation func(args configv3.TargetInformationArgs) + SetTokenInformation func(accessToken string, refreshToken string, sshOAuthClient string) + SetTrace func(trace string) + SetUAAClientCredentials func(client string, clientSecret string) + SetUAAEndpoint func(uaaEndpoint string) + SetUAAGrantType func(uaaGrantType string) + SkipSSLValidation func() bool + StagingTimeout func() time.Duration + StartupTimeout func() time.Duration + Target func() string + TargetedOrganization func() configv3.Organization + TargetedOrganizationName func() string + TargetedSpace func() configv3.Space + TerminalWidth func() int + UAADisableKeepAlives func() bool + UAAEndpoint func() string + UAAGrantType func() string + UAAOAuthClient func() string + UAAOAuthClientSecret func() string + UnsetOrganizationAndSpaceInformation func() + UnsetSpaceInformation func() + UnsetUserInformation func() + V7SetSpaceInformation func(guid string, name string) + Verbose func() (bool, []string) + WriteConfig func() error + WritePluginConfig func() error + type ExtendedCommander interface + Setup func(Config, UI) error + type SharedActor interface + CheckTarget func(targetedOrganizationRequired bool, targetedSpaceRequired bool) error + IsLoggedIn func() bool + IsOrgTargeted func() bool + IsSpaceTargeted func() bool + RequireCurrentUser func() (string, error) + RequireTargetedOrg func() (string, error) + type UI interface + DeferText func(template string, data ...map[string]interface{}) + DisplayBoolPrompt func(defaultResponse bool, template string, ...) (bool, error) + DisplayChangesForPush func(changeSet []ui.Change) error + DisplayDeprecationWarning func() + DisplayDiffAddition func(line string, depth int, addHyphen bool) + DisplayDiffRemoval func(line string, depth int, addHyphen bool) + DisplayDiffUnchanged func(line string, depth int, addHyphen bool) + DisplayError func(err error) + DisplayFileDeprecationWarning func() + DisplayHeader func(text string) + DisplayInstancesTableForApp func(table [][]string) + DisplayJSON func(name string, jsonData interface{}) error + DisplayKeyValueTable func(prefix string, table [][]string, padding int) + DisplayKeyValueTableForApp func(table [][]string) + DisplayLogMessage func(message ui.LogMessage, displayHeader bool) + DisplayNewline func() + DisplayNonWrappingTable func(prefix string, table [][]string, padding int) + DisplayOK func() + DisplayOptionalTextPrompt func(defaultValue string, template string, templateValues ...map[string]interface{}) (string, error) + DisplayPasswordPrompt func(template string, templateValues ...map[string]interface{}) (string, error) + DisplayTableWithHeader func(prefix string, table [][]string, padding int) + DisplayText func(template string, data ...map[string]interface{}) + DisplayTextMenu func(choices []string, promptTemplate string, ...) (string, error) + DisplayTextPrompt func(template string, templateValues ...map[string]interface{}) (string, error) + DisplayTextWithBold func(text string, keys ...map[string]interface{}) + DisplayTextWithFlavor func(text string, keys ...map[string]interface{}) + DisplayWarning func(formattedString string, keys ...map[string]interface{}) + DisplayWarnings func(warnings []string) + GetErr func() io.Writer + GetIn func() io.Reader + GetOut func() io.Writer + RequestLoggerFileWriter func(filePaths []string) *ui.RequestLoggerFileWriter + RequestLoggerTerminalDisplay func() *ui.RequestLoggerTerminalDisplay + TranslateText func(template string, data ...map[string]interface{}) string + UserFriendlyDate func(input time.Time) string + Writer func() io.Writer Other modules containing this package github.com/LukasHeimann/cloudfoundrycli