Versions in this module Expand all Collapse all v1 v1.4.1 Sep 11, 2020 Changes in this version + const AcceptedLicenseVersions + const CACert + const IncognitoMode + const LicenseAccepted + const LocalPort + const Namespace + const NamespaceDeprecated + const PersistentConfigKey + const Token + const TrackingClientID + const URL + const UsePortForward + var BackyardsIngressServiceName = "backyards-ingressgateway" + var BackyardsServiceAccountName = "backyards" + var IGWMatchLabels = map[string]string + var IGWPort = 80 + var IGWPortWithPortforward = 8080 + var Log = log.Log + var PersistentGlobalSettings = Settings + var PersistentSettings = Settings + type CLI interface + Color func() bool + DumpK8sResources func(objects []runtime.Object) error + GetK8sClient func() (k8sclient.Client, error) + GetK8sConfig func() (*rest.Config, error) + GetK8sManager func() (k8sclient.Manager, error) + GetK8sManagerForConfig func(*rest.Config) (k8sclient.Manager, error) + GetPersistentConfig func() PersistentConfig + GetPersistentGlobalConfig func() PersistentGlobalConfig + GetRootCommand func() *cobra.Command + GetToken func() string + IfConfirmed func(string, bool, func() error) error + Initialize func() error + InitializedEndpoint func() (endpoint.Endpoint, error) + Interactive func() bool + InteractiveTerminal func() bool + LabelManager func() k8s.LabelManager + Logger func() log.Logger + Out func() io.Writer + OutputFormat func() string + PersistentEndpoint func() (endpoint.Endpoint, error) + func NewCli(out io.Writer, log log.Logger, rootCmd *cobra.Command) CLI + type PersistentConfig interface + BaseURL func() string + CACert func() string + GetConfigFileUsed func() string + LocalPort func() int + Namespace func() string + PersistConfig func() error + SetToken func(string) + SetTrackingClientID func(string) + Token func() string + TrackingClientID func() string + UsePortForward func() bool + type PersistentGlobalConfig interface + IncognitoMode func() bool + LicenseAcceptedForVersion func(string) bool + PersistConfig func() error + SetLicenseAcceptedForVersion func(string) + type Setting struct + Default string + Deprecated string + Description string + Env string + Flag string + Kind reflect.Kind + Shorthand string + ShorthandDeprecated string + type Settings map[string]Setting + func (i Settings) Bind(viper *viper.Viper, flags *flag.FlagSet) + func (i Settings) Configure(flags *flag.FlagSet)