apiserver: make config completion structural recursion

This commit is contained in:
Dr. Stefan Schimanski
2017-09-06 18:06:18 +02:00
parent 7d09148ad7
commit 1bcea54104
9 changed files with 87 additions and 74 deletions

View File

@@ -77,7 +77,7 @@ type Controller struct {
}
// NewBootstrapController returns a controller for watching the core capabilities of the master
func (c *Config) NewBootstrapController(legacyRESTStorage corerest.LegacyRESTStorage, serviceClient coreclient.ServicesGetter, nsClient coreclient.NamespacesGetter) *Controller {
func (c *completedConfig) NewBootstrapController(legacyRESTStorage corerest.LegacyRESTStorage, serviceClient coreclient.ServicesGetter, nsClient coreclient.NamespacesGetter) *Controller {
return &Controller{
ServiceClient: serviceClient,
NamespaceClient: nsClient,