Affected by GO-2022-0617
and 3 other vulnerabilities
GO-2022-0617 : WITHDRAWN: Potential proxy IP restriction bypass in Kubernetes in k8s.io/kubernetes
GO-2025-3521 : Kubernetes GitRepo Volume Inadvertent Local Repository Access in k8s.io/kubernetes
GO-2025-3522 : Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API in k8s.io/kubernetes
GO-2025-3547 : Kubernetes kube-apiserver Vulnerable to Race Condition in k8s.io/kubernetes
Discover Packages
k8s.io/kubernetes
pkg
kubelet
util
swap
package
Version:
v1.32.0-alpha.2
Opens a new window with list of versions in this module.
Published: Oct 17, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
IsSwapOn detects whether swap in enabled on the system by inspecting
/proc/swaps. If the file does not exist, an os.NotFound error will be returned.
If running on windows, swap is assumed to always be false.
func IsTmpfsNoswapOptionSupported(mounter mount.Interface, mountPath string ) bool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.