type RESTStorageProvider … // NewCoreGenericConfig returns a new core rest generic config. func (c *CompletedConfig) NewCoreGenericConfig() *corerest.GenericConfig { … } // GenericStorageProviders returns a set of APIs for a generic control plane. // They ought to be a subset of those served by kube-apiserver. func (c *CompletedConfig) GenericStorageProviders(discovery discovery.DiscoveryInterface) ([]RESTStorageProvider, error) { … } // InstallAPIs will install the APIs for the restStorageProviders if they are enabled. func (s *Server) InstallAPIs(restStorageProviders ...RESTStorageProvider) error { … }