Documentation ¶
Index ¶
- func CgroupDriver() string
- func DockerInstalledViaSnap() bool
- func GithubActionRunner() bool
- func ISOCacheDir() string
- func ImageCacheDir() string
- func IsAmd64M1Emulation() bool
- func IsCloudShell() bool
- func IsMicrosoftWSL() bool
- func IsNinePSupported() bool
- func IsOnGCE() bool
- func KICCacheDir() string
- func MacOS13Plus() bool
- func MinikubeInstalledViaSnap() bool
- func RuntimeArch() string
- func RuntimeOS() string
- func SocketVMNetClientPath() string
- func SocketVMNetInstalled() bool
- func SocketVMNetPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CgroupDriver ¶ added in v1.29.0
func CgroupDriver() string
CgroupDriver returns detected cgroup driver as configured on host os. If unable to detect, it will return constants.DefaultCgroupDriver instead. ref: https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers
func DockerInstalledViaSnap ¶ added in v1.20.0
func DockerInstalledViaSnap() bool
DockerInstalledViaSnap returns true if the Docker binary path includes "snap".
func GithubActionRunner ¶ added in v1.25.0
func GithubActionRunner() bool
GithubActionRunner returns true if running inside a github action runner
func ISOCacheDir ¶ added in v1.25.2
func ISOCacheDir() string
ISOCacheDir returns the path in the minikube home directory to the virtual machine image cache for the current architecture
func ImageCacheDir ¶ added in v1.25.2
func ImageCacheDir() string
ImageCacheDir returns the path in the minikube home directory to the container image cache for the current architecture
func IsAmd64M1Emulation ¶
func IsAmd64M1Emulation() bool
IsAmd64M1Emulation determines whether amd64 minikube binary is running on M1 mac in emulation mode
func IsCloudShell ¶
func IsCloudShell() bool
IsCloudShell determines whether minikube is running inside CloudShell
func IsMicrosoftWSL ¶
func IsMicrosoftWSL() bool
IsMicrosoftWSL will return true if process is running in WSL in windows checking for WSL env var based on this https://github.com/microsoft/WSL/issues/423#issuecomment-608237689 also based on https://github.com/microsoft/vscode/blob/90a39ba0d49d75e9a4d7e62a6121ad946ecebc58/resources/win32/bin/code.sh#L24
func IsNinePSupported ¶ added in v1.34.0
func IsNinePSupported() bool
func KICCacheDir ¶ added in v1.25.2
func KICCacheDir() string
KICCacheDir returns the path in the minikube home directory to the container node cache for the current architecture
func MacOS13Plus ¶ added in v1.29.0
func MacOS13Plus() bool
MacOS13Plus returns if the current machine is running macOS 13+
func MinikubeInstalledViaSnap ¶ added in v1.20.0
func MinikubeInstalledViaSnap() bool
MinikubeInstalledViaSnap returns true if the minikube binary path includes "snap".
func RuntimeArch ¶ added in v1.21.0
func RuntimeArch() string
RuntimeArch returns the runtime architecture
func RuntimeOS ¶ added in v1.21.0
func RuntimeOS() string
RuntimeOS returns the runtime operating system
func SocketVMNetClientPath ¶ added in v1.29.0
func SocketVMNetClientPath() string
SocketVMNetClientPath returns the path of socket_vmnet_client (QEMU driver only)
func SocketVMNetInstalled ¶ added in v1.28.0
func SocketVMNetInstalled() bool
SocketVMNetInstalled returns if socket_vmnet is installed
func SocketVMNetPath ¶ added in v1.29.0
func SocketVMNetPath() string
SocketVMNetPath returns the path of socket_vmnet (QEMU driver only)
Types ¶
This section is empty.