Documentation ¶
Overview ¶
Package latest defines the default output serializations that code should use and imports the required schemas. It also ensures all previously known and supported API versions are available for conversion. Consumers may import this package in lieu of importing individual versions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var OldestVersion = unversioned.GroupVersion{Group: "", Version: "v1beta3"}
OldestVersion is the string that represents the oldest server version supported, for client code that wants to hardcode the lowest common denominator.
var Version = unversioned.GroupVersion{Group: "", Version: "v1"}
Version is the string that represents the current external default version.
var Versions = []unversioned.GroupVersion{{Group: "", Version: "v1"}, {Group: "", Version: "v1beta3"}}
Versions is the list of versions that are recognized in code. The order provided may be assumed to be most preferred to least preferred, and clients may choose to prefer the earlier items in the list over the latter items when presented with a set of versions to choose.
Functions ¶
func IsKindInAnyOriginGroup ¶ added in v1.1.2
IsKindInAnyOriginGroup returns true if OpenShift owns the kind described in any apiVersion. TODO: this may not work once we divide builds/deployments/images into their own API groups
func OriginKind ¶ added in v0.2.1
func OriginKind(gvk unversioned.GroupVersionKind) bool
OriginKind returns true if OpenShift owns the GroupVersionKind.
Types ¶
This section is empty.