code: func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) *REST {
  	strategy := apiservice.NewStrategy(scheme)
  	store := &genericregistry.Store{
  		NewFunc:                  func() runtime.Object { return &apiregistration.APIService{} },
  		NewListFunc:              func() runtime.Object { return &apiregistration.APIServiceList{} },
  		PredicateFunc:            apiservice.MatchAPIService,
  		DefaultQualifiedResource: apiregistration.Resource("apiservices"),
  
  		CreateStrategy: strategy,
  		UpdateStrategy: strategy,
  		DeleteStrategy: strategy,
  	}
  	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: apiservice.GetAttrs}
  	if err := store.CompleteWithOptions(options); err != nil {
  		panic(err) // TODO: Propagate error up
  	}
  	return &REST{store}
  }
docs: // NewREST returns a RESTStorage object that will work against API services.