• k8s-merge-robot's avatar
    Merge pull request #27168 from smarterclayton/flatten_types · 9d8e79be
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    ObjectMeta, ListMeta, and TypeMeta should implement their interfaces
    
    Make unversioned.ListMeta implement List. Update all the *List types so they implement GetListMeta.
    This helps avoid using reflection to get list information.
    
    Remove all unnecessary boilerplate, move the interfaces to the right
    places, and add a test that verifies that objects implement one, the
    other, but never both.
    
    @ncdc @lavalamp this supercedes #26964 with the boilerplate removed.  Added tests
    9d8e79be
Name
Last commit
Last update
..
backward_compatibility_test.go Loading commit data...
conversion.go Loading commit data...
conversion_generated.go Loading commit data...
conversion_test.go Loading commit data...
deep_copy_generated.go Loading commit data...
defaults.go Loading commit data...
defaults_test.go Loading commit data...
doc.go Loading commit data...
generated.pb.go Loading commit data...
generated.proto Loading commit data...
meta.go Loading commit data...
register.go Loading commit data...
types.generated.go Loading commit data...
types.go Loading commit data...
types_swagger_doc_generated.go Loading commit data...