• Clayton Coleman's avatar
    List output with differing types should be more resilient · 545a5a86
    Clayton Coleman authored
    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.
    545a5a86
helper.go 4.88 KB