Documentation ¶
Index ¶
- Variables
- func IsPositive(name string, val string) error
- func IsValidCIDR(name string, cidr string) error
- func IsValidDiskSize(name string, disksize string) error
- func IsValidDriver(string, driver string) error
- func IsValidPath(name string, path string) error
- func RequiresRestartMsg(string, string) error
- func SetBool(m MinikubeConfig, name string, val string) error
- func SetInt(m MinikubeConfig, name string, val string) error
- func SetString(m MinikubeConfig, name string, val string) error
- func WriteConfig(m MinikubeConfig) error
- type MinikubeConfig
- type Setting
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigCmd = &cobra.Command{ Use: "config SUBCOMMAND [flags]", Short: "Modify minishift config", Long: `config modifies minishift config files using subcommands like "minishift config set vm-driver kvm" Configurable fields: ` + "\n\n" + configurableFields(), Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
Functions ¶
func IsPositive ¶
func IsValidCIDR ¶
func IsValidDiskSize ¶
func IsValidDriver ¶
func IsValidPath ¶
func RequiresRestartMsg ¶
func WriteConfig ¶
func WriteConfig(m MinikubeConfig) error
Writes a minikube config to the JSON file
Types ¶
type MinikubeConfig ¶
type MinikubeConfig map[string]interface{}
func ReadConfig ¶
func ReadConfig() (MinikubeConfig, error)
ReadConfig reads in the JSON minishift config
Click to show internal directories.
Click to hide internal directories.