Documentation ¶
Index ¶
Constants ¶
View Source
const ( WantUpdateNotification = "WantUpdateNotification" ReminderWaitPeriodInHours = "ReminderWaitPeriodInHours" WantReportError = "WantReportError" WantReportErrorPrompt = "WantReportErrorPrompt" WantKubectlDownloadMsg = "WantKubectlDownloadMsg" WantNoneDriverWarning = "WantNoneDriverWarning" MachineProfile = "profile" ShowDriverDeprecationNotification = "ShowDriverDeprecationNotification" ShowBootstrapperDeprecationNotification = "ShowBootstrapperDeprecationNotification" )
Variables ¶
This section is empty.
Functions ¶
func GetMachineName ¶ added in v0.19.0
func GetMachineName() string
GetMachineName gets the machine name for the VM
Types ¶
type Config ¶ added in v0.26.0
type Config struct { MachineConfig MachineConfig KubernetesConfig KubernetesConfig }
Config contains machine and k8s config
type KubernetesConfig ¶ added in v0.26.0
type KubernetesConfig struct { KubernetesVersion string NodeIP string NodeName string APIServerName string APIServerNames []string APIServerIPs []net.IP DNSDomain string ContainerRuntime string NetworkPlugin string FeatureGates string ServiceCIDR string ExtraOptions util.ExtraOptionSlice ShouldLoadCachedImages bool }
KubernetesConfig contains the parameters used to configure the VM Kubernetes.
type MachineConfig ¶ added in v0.26.0
type MachineConfig struct { MinikubeISO string Memory int CPUs int DiskSize int VMDriver string HyperkitVpnKitSock string // Only used by the Hyperkit driver HyperkitVSockPorts []string // Only used by the Hyperkit driver XhyveDiskDriver string // Only used by the xhyve driver DockerEnv []string // Each entry is formatted as KEY=VALUE. InsecureRegistry []string RegistryMirror []string HostOnlyCIDR string // Only used by the virtualbox driver HypervVirtualSwitch string KvmNetwork string // Only used by the KVM driver Downloader util.ISODownloader `json:"-"` DockerOpt []string // Each entry is formatted as KEY=VALUE. DisableDriverMounts bool // Only used by virtualbox and xhyve UUID string // Only used by hyperkit to restore the mac address GPU bool // Only used by kvm2 }
MachineConfig contains the parameters used to start a cluster.
type MinikubeConfig ¶ added in v0.12.0
type MinikubeConfig map[string]interface{}
func ReadConfig ¶ added in v0.12.0
func ReadConfig() (MinikubeConfig, error)
ReadConfig reads in the JSON minikube config
Click to show internal directories.
Click to hide internal directories.