addStartFunc appends a function to be run. These are run synchronously in order, so the function should start a go routine if it needs to do anything blocking
(name string, fn server.Component)
| 842 | // addStartFunc appends a function to be run. These are run synchronously in order, |
| 843 | // so the function should start a go routine if it needs to do anything blocking |
| 844 | func (s *Server) addStartFunc(name string, fn server.Component) { |
| 845 | s.server.RunComponent(name, fn) |
| 846 | } |
| 847 | |
| 848 | // adds a readiness probe for Istiod Server. |
| 849 | func (s *Server) addReadinessProbe(name string, fn readinessProbe) { |
no test coverage detected