code: func (s *runtimeClassLister) List(selector labels.Selector) (ret []*v1alpha1.RuntimeClass, err error) {
  	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
  		ret = append(ret, m.(*v1alpha1.RuntimeClass))
  	})
  	return ret, err
  }
docs: // List lists all RuntimeClasses in the indexer.