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) } } shouldShowLibmachineLogs := viper.GetBool(showLibmachineLogs) if glog.V(3) { log.SetDebug(true) } if !shouldShowLibmachineLogs { log.SetOutWriter(ioutil.Discard) log.SetErrWriter(ioutil.Discard) } if enableUpdateNotification { notify.MaybePrintUpdateTextFromGithub(os.Stdout) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
func CheckEndpointReady ¶ added in v0.8.0
func CheckService ¶ added in v0.8.0
CheckService waits for the specified service to be ready by returning an error until the service is up The check is done by polling the endpoint associated with the service and when the endpoint exists, returning no error->service-online
Types ¶
type ShellConfig ¶ added in v0.7.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.