package testapi
import "k8s.io/kubernetes/pkg/api/testapi"
Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
Index ¶
Functions ¶
func Codec ¶
Codec returns the codec for the API version to test against, as set by the KUBE_API_VERSION env var.
func ResourceVersioner ¶
func ResourceVersioner() runtime.ResourceVersioner
ResourceVersioner returns the ResourceVersioner for the API version to test against, as set by the KUBE_API_VERSION env var.
func Version ¶
func Version() string
Version returns the API version to test against, as set by the KUBE_API_VERSION env var.
Source Files ¶
testapi.go
- Version
- v0.4.4
- Published
- Nov 19, 2014
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 32 seconds ago –
Tools for package owners.