mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-21 02:43:38 +00:00
kubectl get can output a series of objects as a List in versioned form, but not all API objects are available in the same schema. Make the act of converting a []runtime.Object to api.List more robust and add a test to verify its behavior in Get. Makes it easier for client code to output unified objects.
5.4 KiB
5.4 KiB