mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-12 19:15:36 +00:00
VersionedPrinter handles fallback when multiple different APIVersions are present if multiple arguments are passed (for instance, both Kube resources at v1beta3 and a third party's API objects which are only at v1). The cmd PrinterForMapping should always include the current object's "mapping version" as a fallback in the event the preferred API version does not map to the actual object.