Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "minishift", Short: "Minishift is a tool for application development in local OpenShift clusters.", Long: `Minishift is a command-line tool that provisions and manages single-node OpenShift 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 minishift directory: %s", err) } } ensureConfigFileExists(constants.ConfigFile) shouldShowLibmachineLogs := viper.GetBool(showLibmachineLogs) if glog.V(3) { log.SetDebug(true) } if !shouldShowLibmachineLogs { log.SetOutWriter(ioutil.Discard) log.SetErrWriter(ioutil.Discard) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func SetRegistrationProxyParameters ¶
func SetRegistrationProxyParameters()
Update RegistrationProxyParameters with proxy information
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.