Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultKubernetesVersion is the default kubernetes version DefaultKubernetesVersion = "v1.17.3" // NewestKubernetesVersion is the newest Kubernetes version to test against NewestKubernetesVersion = "v1.17.3" // OldestKubernetesVersion is the oldest Kubernetes version to test against OldestKubernetesVersion = "v1.11.10" // DefaultMachineName is the default name for the VM DefaultMachineName = "minikube" // DefaultNodeName is the default name for the kubeadm node within the VM DefaultNodeName = "minikube" // DockerDaemonPort is the port Docker daemon listening inside a minikube node (vm or container). DockerDaemonPort = 2376 // APIServerPort is the default API server port APIServerPort = 8443 // SSHPort is the SSH serviceport on the node vm and container SSHPort = 22 // APIServerName is the default API server name APIServerName = "minikubeCA" // ClusterDNSDomain is the default DNS domain ClusterDNSDomain = "cluster.local" // DefaultServiceCIDR is The CIDR to be used for service cluster IPs DefaultServiceCIDR = "10.96.0.0/12" // DockerHostEnv is used for docker daemon settings DockerHostEnv = "DOCKER_HOST" // DockerCertPathEnv is used for docker daemon settings DockerCertPathEnv = "DOCKER_CERT_PATH" // DockerTLSVerifyEnv is used for docker daemon settings DockerTLSVerifyEnv = "DOCKER_TLS_VERIFY" // MinikubeActiveDockerdEnv holds the docker daemon which user's shell is pointing at // value would be profile or empty if pointing to the user's host daemon. MinikubeActiveDockerdEnv = "MINIKUBE_ACTIVE_DOCKERD" // PodmanVarlinkBridgeEnv is used for podman settings PodmanVarlinkBridgeEnv = "PODMAN_VARLINK_BRIDGE" )
Variables ¶
View Source
var ( // IsMinikubeChildProcess is the name of "is minikube child process" variable IsMinikubeChildProcess = "IS_MINIKUBE_CHILD_PROCESS" // GvisorConfigTomlTargetName is the go-bindata target name for the gvisor config.toml GvisorConfigTomlTargetName = "gvisor-config.toml" // MountProcessFileName is the filename of the mount process MountProcessFileName = ".mount-process" )
View Source
var ( SHASuffix = ".sha256" // DefaultISOURL is the default location of the minikube.iso file DefaultISOURL = fmt.Sprintf("https://storage.googleapis.com/%s/minikube-%s.iso", minikubeVersion.GetISOPath(), minikubeVersion.GetISOVersion()) // DefaultISOSHAURL is the default location of the minikube.iso.sha256 file DefaultISOSHAURL = DefaultISOURL + SHASuffix // DockerDaemonEnvs is list of docker-daemon related environment variables. DockerDaemonEnvs = [3]string{DockerHostEnv, DockerTLSVerifyEnv, DockerCertPathEnv} // DefaultMinipath is the default Minikube path (under the home directory) DefaultMinipath = filepath.Join(homedir.HomeDir(), ".minikube") KubeconfigEnvVar = clientcmd.RecommendedConfigPathEnvVar // KubeconfigPath is the path to the Kubernetes client config KubeconfigPath = clientcmd.RecommendedHomeFile ImageRepositories = map[string][]string{ "global": {""}, "cn": {"registry.cn-hangzhou.aliyuncs.com/google_containers"}, } // KubernetesReleaseBinaries are Kubernetes release binaries required for // kubeadm (kubelet, kubeadm) and the addon manager (kubectl) KubernetesReleaseBinaries = []string{"kubelet", "kubeadm", "kubectl"} // ImageCacheDir is the path to the image cache directory ImageCacheDir = localpath.MakeMiniPath("cache", "images") )
View Source
var DefaultMountDir = homedir.HomeDir()
DefaultMountDir is the default mount dir
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.