Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "minikube", Short: "Minikube is a tool for managing local Kubernetes clusters.", Long: `Minikube is a CLI tool that provisions and manages single-node Kubernetes clusters optimized for development workflows.`, PersistentPreRun: func(cmd *cobra.Command, args []string) { for _, path := range dirs { if err := os.MkdirAll(path, 0777); err != nil { glog.Exitf("Error creating minikube directory: %s", err) } } if !glog.V(3) { log.SetOutWriter(ioutil.Discard) log.SetErrWriter(ioutil.Discard) } if glog.V(7) { log.SetDebug(true) } logDir := pflag.Lookup("log_dir") if !logDir.Changed { logDir.Value.Set(constants.MakeMiniPath("logs")) } if enableUpdateNotification { notify.MaybePrintUpdateTextFromGithub(os.Stderr) } util.MaybePrintKubectlDownloadMsg(runtime.GOOS, os.Stderr) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type EnvNoProxyGetter ¶ added in v0.17.0
type EnvNoProxyGetter struct{}
func (EnvNoProxyGetter) GetNoProxyVar ¶ added in v0.17.0
func (EnvNoProxyGetter) GetNoProxyVar() (string, string)
type LibmachineShellDetector ¶ added in v0.17.0
type LibmachineShellDetector struct{}
type NoProxyGetter ¶ added in v0.17.0
type ShellConfig ¶ added in v0.7.0
type ShellDetector ¶ added in v0.17.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.