{"modulePath":"github.com/commonlisp/kubernetes","version":"v0.5.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testapi\n\nPackage testapi provides a helper for retrieving the KUBE\\_API\\_VERSION environment variable.\n\n## Functions\n\n```go\nfunc Codec() runtime.Codec\n```\nCodec returns the codec for the API version to test against, as set by the KUBE\\_API\\_VERSION env var.\n\n```go\nfunc MetadataAccessor() meta.MetadataAccessor\n```\nMetadataAccessor returns the MetadataAccessor for the API version to test against, as set by the KUBE\\_API\\_VERSION env var.\n\n```go\nfunc SelfLink(resource, name string) string\n```\nSelfLink 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.\n\n```go\nfunc Version() string\n```\nVersion returns the API version to test against, as set by the KUBE\\_API\\_VERSION env var.\n\n","path":"github.com/commonlisp/kubernetes/pkg/api/testapi","name":"testapi","synopsis":"Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.","isRedistributable":true}
