Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addMatcher (0.35 sec)

  1. pkg/webhooks/validation/controller/controller.go

    func (c *Controller) startCaBundleWatcher(stop <-chan struct{}) {
    	if c.o.CABundleWatcher == nil {
    		return
    	}
    	id, watchCh := c.o.CABundleWatcher.AddWatcher()
    	defer c.o.CABundleWatcher.RemoveWatcher(id)
    
    	for {
    		select {
    		case <-watchCh:
    			c.syncAll()
    		case <-stop:
    			return
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server.go

    func (s *Server) initIstiodCertLoader() error {
    	if err := s.loadIstiodCert(); err != nil {
    		return fmt.Errorf("first time load IstiodCert failed: %v", err)
    	}
    	_, watchCh := s.istiodCertBundleWatcher.AddWatcher()
    	s.addStartFunc("reload certs", func(stop <-chan struct{}) error {
    		go s.reloadIstiodCert(watchCh, stop)
    		return nil
    	})
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top