mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +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.