Documentation ¶
Index ¶
Constants ¶
View Source
const ( MachineName = "minishift" // Name to use for the VM APIServerPort = 8443 // Port that the API server should listen on MiniShiftEnvPrefix = "MINISHIFT" // Prefix for the environmental variables MiniShiftHomeEnv = "MINISHIFT_HOME" // Environment variable used to change the Minishift home directory VersionPrefix = "v" MinOpenshiftSupportedVersion = "v1.4.1" DefaultMemory = 2048 DefaultCPUS = 2 DefaultDiskSize = "20g" UpdateMarkerFileName = "updated" )
View Source
const DefaultVMDriver = "kvm"
View Source
const OC_BINARY_NAME = "oc"
Variables ¶
View Source
var ( // Fix for windows Minipath = getMinishiftHomeDir() KubeConfigPath = filepath.Join(Minipath, "machines", MachineName+"_kubeconfig") ConfigFile = MakeMiniPath("config", "config.json") DefaultB2dIsoUrl = "https://github.com/minishift/minishift-b2d-iso/releases/download/" + version.GetB2dIsoVersion() + "/" + "minishift-b2d.iso" DefaultCentOsIsoUrl = "https://github.com/minishift/minishift-centos-iso/releases/download/" + version.GetCentOsIsoVersion() + "/" + "minishift-centos7.iso" )
View Source
var SupportedVMDrivers = [...]string{
"virtualbox",
"kvm",
}
Functions ¶
func MakeMiniPath ¶
MakeMiniPath is a utility to calculate a relative path to our directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.