Affected by GO-2022-0617
and 6 other vulnerabilities
GO-2022-0617 : WITHDRAWN: Potential proxy IP restriction bypass in Kubernetes in k8s.io/kubernetes
GO-2023-2341 : Kubernetes Improper Input Validation vulnerability in k8s.io/kubernetes
GO-2024-2994 : Kubernetes sets incorrect permissions on Windows containers logs in k8s.io/kubernetes
GO-2025-3465 : Node Denial of Service via kubelet Checkpoint API 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
test
utils
ktesting
package
Version:
v1.27.5
Opens a new window with list of versions in this module.
Published: Aug 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ktesting is a wrapper around k8s.io/klog/v2/ktesting. It provides
those (and only those) functions that test code in Kubernetes should use,
plus better dumping of complex datatypes. It adds the klog command line
flags and increases the default verbosity to 5.
NewTestContext is a wrapper around ktesting.NewTestContext with settings
specific to Kubernetes.
func SetDefaultVerbosity(v int )
SetDefaultVerbosity can be called during init to modify the default
log verbosity of the program.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.