Affected by GO-2024-2748
and 3 other vulnerabilities
GO-2024-2748 : Privilege Escalation in Kubernetes in k8s.io/apimachinery
GO-2024-2754 : Sensitive Information leak via Log File in Kubernetes in k8s.io/kubernetes
GO-2024-2755 : Sensitive Information leak via Log File in Kubernetes in k8s.io/kubernetes
GO-2024-2994 : Kubernetes sets incorrect permissions on Windows containers logs in k8s.io/kubernetes
Discover Packages
k8s.io/kubernetes
pkg
api
testapi
package
Version:
v0.5.4
Opens a new window with list of versions in this module.
Published: Nov 25, 2014
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
Codec returns the codec for the API version to test against, as set by the
KUBE_API_VERSION env var.
MetadataAccessor returns the MetadataAccessor for the API version to test against,
as set by the KUBE_API_VERSION env var.
SelfLink returns a self link that will appear to be for the version Version().
'resource' should be the resource path, e.g. "pods" for the Pod type. 'name' should be
empty for lists.
Version returns the API version to test against, as set by the KUBE_API_VERSION env var.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.