Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMemory = 1024 DefaultCPUS = 1 DefaultDiskSize = "20g" )
View Source
const ( RemoteOpenShiftErrPath = "/var/lib/minishift/openshift.err" RemoteOpenShiftOutPath = "/var/lib/minishift/openshift.out" 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 minikube 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 MinikubeContext = "minishift"
MinikubeContext is the kubeconfig context name used for minishift
Variables ¶
View Source
var DefaultIsoUrl = "https://github.com/jimmidyson/minishift/releases/download/v" + version.GetVersion() + "/boot2docker.iso"
View Source
var KubeconfigPath = clientcmd.RecommendedHomeFile
TODO: Fix for windows KubeconfigPath is the path to the Kubernetes client config
View Source
var LogFlags = [...]string{
"v",
"vmodule",
}
Only pass along these flags to openshift.
View Source
var Minipath = filepath.Join(homedir.HomeDir(), ".minishift")
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.