Documentation
¶
Index ¶
Constants ¶
View Source
const ( // WantUpdateNotification is the key for WantUpdateNotification WantUpdateNotification = "WantUpdateNotification" // ReminderWaitPeriodInHours is the key for WantUpdateNotification ReminderWaitPeriodInHours = "ReminderWaitPeriodInHours" // WantReportError is the key for WantReportError WantReportError = "WantReportError" // WantReportErrorPrompt is the key for WantReportErrorPrompt WantReportErrorPrompt = "WantReportErrorPrompt" // WantKubectlDownloadMsg is the key for WantKubectlDownloadMsg WantKubectlDownloadMsg = "WantKubectlDownloadMsg" // WantNoneDriverWarning is the key for WantNoneDriverWarning WantNoneDriverWarning = "WantNoneDriverWarning" // MachineProfile is the key for MachineProfile MachineProfile = "profile" // ShowDriverDeprecationNotification is the key for ShowDriverDeprecationNotification ShowDriverDeprecationNotification = "ShowDriverDeprecationNotification" // ShowBootstrapperDeprecationNotification is the key for ShowBootstrapperDeprecationNotification 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 NodePort int NodeName string APIServerName string APIServerNames []string APIServerIPs []net.IP DNSDomain string ContainerRuntime string CRISocket string NetworkPlugin string FeatureGates string ServiceCIDR string ImageRepository string ExtraOptions util.ExtraOptionSlice ShouldLoadCachedImages bool EnableDefaultCNI bool }
KubernetesConfig contains the parameters used to configure the VM Kubernetes.
type Loader ¶ added in v0.31.0
Loader loads the kubernetes and machine config based on the machine profile name
var DefaultLoader Loader = &simpleConfigLoader{}
DefaultLoader is the default config loader
type MachineConfig ¶ added in v0.26.0
type MachineConfig struct { MinikubeISO string Memory int CPUs int DiskSize int VMDriver string ContainerRuntime 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 Hidden bool // Only used by kvm2 NoVTXCheck bool // Only used by virtualbox }
MachineConfig contains the parameters used to start a cluster.
type MinikubeConfig ¶ added in v0.12.0
type MinikubeConfig map[string]interface{}
MinikubeConfig represents minikube config
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.