var registerIntoLegacyRegistryOnce … func init() { … } const legacyAPIServiceName … const StorageVersionPostStartHookName … type ExtraConfig … type Config … type completedConfig … type CompletedConfig … type runnable … type preparedAPIAggregator … type APIAggregator … // Complete fills in any fields not set that are required to have valid data. It's mutating the receiver. func (cfg *Config) Complete() CompletedConfig { … } // NewWithDelegate returns a new instance of APIAggregator from the given config. func (c completedConfig) NewWithDelegate(delegationTarget genericapiserver.DelegationTarget) (*APIAggregator, error) { … } // PrepareRun prepares the aggregator to run, by setting up the OpenAPI spec & // aggregated discovery document and calling the generic PrepareRun. func (s *APIAggregator) PrepareRun() (preparedAPIAggregator, error) { … } func (s preparedAPIAggregator) Run(ctx context.Context) error { … } // AddAPIService adds an API service. It is not thread-safe, so only call it on one thread at a time please. // It's a slow moving API, so its ok to run the controller on a single thread func (s *APIAggregator) AddAPIService(apiService *v1.APIService) error { … } // RemoveAPIService removes the APIService from being handled. It is not thread-safe, so only call it on one thread at a time please. // It's a slow moving API, so it's ok to run the controller on a single thread. func (s *APIAggregator) RemoveAPIService(apiServiceName string) { … } // DefaultAPIResourceConfigSource returns default configuration for an APIResource. func DefaultAPIResourceConfigSource() *serverstorage.ResourceConfig { … }