code: func (c completedConfig) New() (*WardleServer, error) {
  	genericServer, err := c.GenericConfig.New("sample-apiserver", genericapiserver.NewEmptyDelegate())
  	if err != nil {
  		return nil, err
  	}
  
  	s := &WardleServer{
  		GenericAPIServer: genericServer,
  	}
  
  	apiGroupInfo := genericapiserver.NewDefaultAPIGroupInfo(wardle.GroupName, Scheme, metav1.ParameterCodec, Codecs)
  
  	v1alpha1storage := map[string]rest.Storage{}
  	v1alpha1storage["flunders"] = wardleregistry.RESTInPeace(flunderstorage.NewREST(Scheme, c.GenericConfig.RESTOptionsGetter))
  	v1alpha1storage["fischers"] = wardleregistry.RESTInPeace(fischerstorage.NewREST(Scheme, c.GenericConfig.RESTOptionsGetter))
  	apiGroupInfo.VersionedResourcesStorageMap["v1alpha1"] = v1alpha1storage
  
  	v1beta1storage := map[string]rest.Storage{}
  	v1beta1storage["flunders"] = wardleregistry.RESTInPeace(flunderstorage.NewREST(Scheme, c.GenericConfig.RESTOptionsGetter))
  	apiGroupInfo.VersionedResourcesStorageMap["v1beta1"] = v1beta1storage
  
  	if err := s.GenericAPIServer.InstallAPIGroup(&apiGroupInfo); err != nil {
  		return nil, err
  	}
  
  	return s, nil
  }
docs: // New returns a new instance of WardleServer from the given config.