Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addTerminatingStartFunc (0.25 sec)

  1. pilot/pkg/bootstrap/configcontroller.go

    			return nil
    		})
    		s.addTerminatingStartFunc("status reporter", func(stop <-chan struct{}) error {
    			if writeStatus {
    				s.statusReporter.Start(s.kubeClient.Kube(), args.Namespace, args.PodName, stop)
    			}
    			return nil
    		})
    		s.XDSServer.StatusReporter = s.statusReporter
    	}
    	if writeStatus {
    		s.addTerminatingStartFunc("status distribution", func(stop <-chan struct{}) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server.go

    	s.readinessProbes[name] = fn
    }
    
    // addTerminatingStartFunc adds a function that should terminate before the serve shuts down
    // This is useful to do cleanup activities
    // This is does not guarantee they will terminate gracefully - best effort only
    // Function should be synchronous; once it returns it is considered "done"
    func (s *Server) addTerminatingStartFunc(name string, fn server.Component) {
    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