add controllers

change kiali mux to go-restful

add knative
This commit is contained in:
Jeff
2019-03-20 11:12:40 +08:00
committed by zryfish
parent 4c7c837771
commit aa4d07c80a
241 changed files with 53767 additions and 749 deletions

View File

@@ -85,7 +85,7 @@ func NewNamespaceController(
return controller
}
func (c *NamespaceController) Start(stopCh <-chan struct{}) {
func (c *NamespaceController) Start(stopCh <-chan struct{}) error {
go func() {
defer utilruntime.HandleCrash()
defer c.workqueue.ShutDown()
@@ -109,6 +109,8 @@ func (c *NamespaceController) Start(stopCh <-chan struct{}) {
<-stopCh
glog.Info("shutting down workers")
}()
return nil
}
func (c *NamespaceController) runWorker() {