• Andy Goldstein's avatar
    ObjectMeta, ListMeta, and TypeMeta should implement their interfaces · e3af3451
    Andy Goldstein authored
    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.
    e3af3451
meta.go 2.35 KB