Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMemory = 2048 DefaultCPUS = 2 DefaultDiskSize = "20g" )
View Source
const APIServerPort = 8443
APIServerPort is the port that the API server should listen on.
View Source
const DefaultVMDriver = "kvm"
View Source
const MachineName = "minishift"
MachineName is the name to use for the VM.
View Source
const MinOpenshiftSuportedVersion = "v1.4.1"
Minimum Openshift supported version
View Source
const MiniShiftEnvPrefix = "MINISHIFT"
MiniShiftEnvPrefix is the prefix for the environmental variables
View Source
const MiniShiftHomeEnv = "MINISHIFT_HOME"
MiniShiftHomeEnv is the environment variable used to change the Minishift home directory
View Source
const OC_BINARY_NAME = "oc"
View Source
const VersionPrefix = "v"
Variables ¶
View Source
var ConfigFile = MakeMiniPath("config", "config.json")
View Source
var DefaultIsoUrl = githubProject + "/releases/download/" + isoVersion + "/" + isoName
View Source
var KubeConfigPath = filepath.Join(Minipath, "machines", MachineName+"_kubeconfig")
View Source
var Minipath = getMinishiftHomeDir()
Fix for windows
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.