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" )
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 = "minishiftVM"
MachineName is the name to use for the VM.
View Source
const MinikubeContext = "minishift"
MinikubeContext is the kubeconfig context name used for minishift
Variables ¶
View Source
var ConfigFilePath = MakeMiniPath("config")
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.