code: func NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) genericapiserver.APIGroupInfo {
  	apiGroupInfo := genericapiserver.NewDefaultAPIGroupInfo(apiregistration.GroupName, aggregatorscheme.Scheme, metav1.ParameterCodec, aggregatorscheme.Codecs)
  
  	if apiResourceConfigSource.VersionEnabled(v1beta1.SchemeGroupVersion) {
  		storage := map[string]rest.Storage{}
  		apiServiceREST := apiservicestorage.NewREST(aggregatorscheme.Scheme, restOptionsGetter)
  		storage["apiservices"] = apiServiceREST
  		storage["apiservices/status"] = apiservicestorage.NewStatusREST(aggregatorscheme.Scheme, apiServiceREST)
  		apiGroupInfo.VersionedResourcesStorageMap["v1beta1"] = storage
  	}
  
  	if apiResourceConfigSource.VersionEnabled(v1.SchemeGroupVersion) {
  		storage := map[string]rest.Storage{}
  		apiServiceREST := apiservicestorage.NewREST(aggregatorscheme.Scheme, restOptionsGetter)
  		storage["apiservices"] = apiServiceREST
  		storage["apiservices/status"] = apiservicestorage.NewStatusREST(aggregatorscheme.Scheme, apiServiceREST)
  		apiGroupInfo.VersionedResourcesStorageMap["v1"] = storage
  	}
  
  	return apiGroupInfo
  }
docs: // NewRESTStorage returns an APIGroupInfo object that will work against apiservice.