Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PerformApplicationHealthCheck (0.47 sec)

  1. pkg/istio-agent/health/health_check.go

    	if val == 0 {
    		return def
    	}
    	return val
    }
    
    // PerformApplicationHealthCheck Performs the application-provided configuration health check.
    // Instead of a heartbeat-based health checks, we only send on a health state change, and this is
    // determined by the success & failure threshold provided by the user.
    func (w *WorkloadHealthChecker) PerformApplicationHealthCheck(callback func(*ProbeEvent), quit chan struct{}) {
    	if w == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. pkg/istio-agent/health/health_check_test.go

    				}
    				if prev && !want {
    					assert.NoError(t, listener.Close())
    				}
    				<-cont
    				prev = want
    			}
    		}()
    
    		eventNum := atomic.NewInt32(0)
    		go tcpHealthChecker.PerformApplicationHealthCheck(func(event *ProbeEvent) {
    			if int(eventNum.Load()) >= len(tcpHealthStatuses) {
    				return
    			}
    			if event.Healthy != expectedTCPEvents[eventNum.Load()].Healthy {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pkg/istio-agent/xds_proxy.go

    	go func() {
    		if err := proxy.downstreamGrpcServer.Serve(proxy.downstreamListener); err != nil {
    			log.Errorf("failed to accept downstream gRPC connection %v", err)
    		}
    	}()
    
    	go proxy.healthChecker.PerformApplicationHealthCheck(func(healthEvent *health.ProbeEvent) {
    		// Store the same response as Delta and SotW. Depending on how Envoy connects we will use one or the other.
    		req := &discovery.DiscoveryRequest{TypeUrl: model.HealthInfoType}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top