Documentation
¶
Index ¶
Constants ¶
const ( // APIServerPort is the default API server port APIServerPort = 8443 // APIServerName is the default API server name APIServerName = "minikubeCA" // ClusterDNSDomain is the default DNS domain ClusterDNSDomain = "cluster.local" )
const ( // GvisorFilesPath is the path to the gvisor files saved by go-bindata GvisorFilesPath = "/tmp/gvisor" // GvisorConfigTomlTargetName is the go-bindata target name for the gvisor config.toml GvisorConfigTomlTargetName = "gvisor-config.toml" )
const DefaultMachineName = "minikube"
DefaultMachineName is the default name for the VM
const DefaultNodeName = "minikube"
DefaultNodeName is the default name for the kubeadm node within the VM
const (
// IsMinikubeChildProcess is the name of "is minikube child process" variable
IsMinikubeChildProcess = "IS_MINIKUBE_CHILD_PROCESS"
)
const (
// SHASuffix is the suffix of a SHA-256 checksum file
SHASuffix = ".sha256"
)
Variables ¶
var DefaultISOSHAURL = DefaultISOURL + SHASuffix
DefaultISOSHAURL is the default location of the minikube.iso.sha256 file
var DefaultISOURL = fmt.Sprintf("https://storage.googleapis.com/%s/minikube-%s.iso", minikubeVersion.GetISOPath(), minikubeVersion.GetISOVersion())
DefaultISOURL is the default location of the minikube.iso file
var DefaultKubernetesVersion = "v1.17.0"
DefaultKubernetesVersion is the default kubernetes version
var DefaultMinipath = filepath.Join(homedir.HomeDir(), ".minikube")
DefaultMinipath is the default Minikube path (under the home directory)
var DefaultMountDir = homedir.HomeDir()
DefaultMountDir is the default mount dir
var ImageCacheDir = localpath.MakeMiniPath("cache", "images")
ImageCacheDir is the path to the image cache directory
var ImageRepositories = map[string][]string{
"global": {""},
"cn": {"registry.cn-hangzhou.aliyuncs.com/google_containers"},
}
ImageRepositories contains all known image repositories
var KubeadmBinaries = []string{"kubelet", "kubeadm"}
KubeadmBinaries are Kubernetes release binaries required for kubeadm
var KubeconfigEnvVar = clientcmd.RecommendedConfigPathEnvVar
KubeconfigEnvVar is the env var to check for the Kubernetes client config
var KubeconfigPath = clientcmd.RecommendedHomeFile
KubeconfigPath is the path to the Kubernetes client config
var MountProcessFileName = ".mount-process"
MountProcessFileName is the filename of the mount process
var NewestKubernetesVersion = "v1.17.0"
NewestKubernetesVersion is the newest Kubernetes version to test against
var OldestKubernetesVersion = "v1.11.10"
OldestKubernetesVersion is the oldest Kubernetes version to test against
Functions ¶
This section is empty.
Types ¶
This section is empty.