var SpecialDefaultResourcePrefixes … // DefaultWatchCacheSizes defines default resources for which watchcache // should be disabled. func DefaultWatchCacheSizes() map[schema.GroupResource]int { … } // NewStorageFactoryConfig returns a new StorageFactoryConfig set up with necessary resource overrides. func NewStorageFactoryConfig() *StorageFactoryConfig { … } type StorageFactoryConfig … // Complete completes the StorageFactoryConfig with provided etcdOptions returning completedStorageFactoryConfig. // This method mutates the receiver (StorageFactoryConfig). It must never mutate the inputs. func (c *StorageFactoryConfig) Complete(etcdOptions *serveroptions.EtcdOptions) *completedStorageFactoryConfig { … } type completedStorageFactoryConfig … // New returns a new storage factory created from the completed storage factory configuration. func (c *completedStorageFactoryConfig) New() (*serverstorage.DefaultStorageFactory, error) { … }