Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMemory = 2048 DefaultCPUS = 2 DefaultDiskSize = "20g" )
View Source
const ( DefaultConfigViewFormat = "- {{.ConfigKey}}: {{.ConfigValue}}\n" RemoteOpenShiftCAPath = "/var/lib/minishift/openshift.local.config/master/ca.crt" )
View Source
const APIServerPort = 8443
APIServerPort is the port that the API server should listen on.
View Source
const DefaultVMDriver = "kvm"
View Source
const DockerAPIVersion = "1.23"
DockerAPIVersion is the API version implemented by Docker running in the minishift VM.
View Source
const MachineName = "minishift"
MachineName is the name to use for the VM.
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"
Variables ¶
View Source
var ConfigFile = MakeMiniPath("config", "config.json")
View Source
var DefaultIsoUrl = githubProject + "/releases/download/" + isoVersion + "/" + isoName
View Source
var Minipath = getMinishiftHomeDir()
Fix for windows
View Source
var OcCachePath = MakeMiniPath("cache", "oc")
View Source
var SupportedVMDrivers = [...]string{
"virtualbox",
"kvm",
}
View Source
var TmpFilePath = MakeMiniPath("tmp")
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.