Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultIsoUrl = "https://storage.googleapis.com/minikube/minikube-0.7.iso" ShaSuffix = ".sha256" DefaultIsoShaUrl = DefaultIsoUrl + ShaSuffix DefaultMemory = 1024 DefaultCPUS = 1 DefaultDiskSize = "20g" DefaultVMDriver = "virtualbox" DefaultStatusFormat = "minikubeVM: {{.MinikubeStatus}}\n" + "localkube: {{.LocalkubeStatus}}\n" GithubMinikubeReleasesURL = "https://storage.googleapis.com/minikube/releases.json" KubernetesVersionGCSURL = "https://storage.googleapis.com/minikube/k8s_releases.json" )
View Source
const ( RemoteLocalKubeErrPath = "/var/lib/localkube/localkube.err" RemoteLocalKubeOutPath = "/var/lib/localkube/localkube.out" LocalkubePIDPath = "/var/run/localkube.pid" )
View Source
const APIServerPort = 8443
APIServerPort is the port that the API server should listen on.
View Source
const DockerAPIVersion = "1.23"
DockerAPIVersion is the API version implemented by Docker running in the minikube VM.
View Source
const MachineName = "minikube"
MachineName is the name to use for the VM.
View Source
const MinikubeContext = "minikube"
MinikubeContext is the kubeconfig context name used for minikube
View Source
const MinikubeEnvPrefix = "MINIKUBE"
MinikubeEnvPrefix is the prefix for the environmental variables
View Source
const ReportingURL = "" /* 130-byte string literal not displayed */
Variables ¶
View Source
var ConfigFile = MakeMiniPath("config", "config.json")
View Source
var ConfigFilePath = MakeMiniPath("config")
View Source
var DefaultKubernetesVersion = version.Get().GitVersion
View Source
var KubeconfigPath = clientcmd.RecommendedHomeFile
KubeconfigPath is the path to the Kubernetes client config
View Source
var LocalkubeDownloadURLPrefix = "https://storage.googleapis.com/minikube/k8sReleases/"
View Source
var LocalkubeLinuxFilename = "localkube-linux-amd64"
View Source
var LogFlags = [...]string{
"v",
"vmodule",
}
Only pass along these flags to localkube.
View Source
var Minipath = filepath.Join(homedir.HomeDir(), ".minikube")
Minipath is the path to the user's minikube dir
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.