Affected by GO-2022-0792
and 2 other vulnerabilities
GO-2022-0792 : Privilege Escalation in Kubernetes in github.com/kubernetes/kubernetes
GO-2022-0857 : Information Exposure in Kubernetes in github.com/kubernetes/kubernetes
GO-2022-0893 : Access Restriction Bypass in kubernetes in github.com/kubernetes/kubernetes
Discover Packages
github.com/kubernetes/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.