Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewWorkloadHealthChecker (0.37 sec)

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

    }
    
    func TestWorkloadHealthChecker_PerformApplicationHealthCheck(t *testing.T) {
    	t.Run("tcp", func(t *testing.T) {
    		listener, err := NewDelayedListener()
    		assert.NoError(t, err)
    		tcpHealthChecker := NewWorkloadHealthChecker(&v1alpha3.ReadinessProbe{
    			InitialDelaySeconds: 0,
    			TimeoutSeconds:      1,
    			PeriodSeconds:       1,
    			SuccessThreshold:    1,
    			FailureThreshold:    1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. pkg/istio-agent/health/health_check.go

    			if len(ipAddresses) == 0 || status.LegacyLocalhostProbeDestination.Get() {
    				h.HttpGet.Host = "localhost"
    			} else {
    				h.HttpGet.Host = ipAddresses[0]
    			}
    		}
    	}
    	return cfg
    }
    
    func NewWorkloadHealthChecker(cfg *v1alpha3.ReadinessProbe, envoyProbe ready.Prober, proxyAddrs []string, ipv6 bool) *WorkloadHealthChecker {
    	// if a config does not exist return a no-op prober
    	if cfg == nil {
    		return 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)
  3. pkg/istio-agent/xds_proxy.go

    		clusterID:             ia.secOpts.ClusterID,
    		handlers:              map[string]ResponseHandler{},
    		stopChan:              make(chan struct{}),
    		healthChecker:         health.NewWorkloadHealthChecker(ia.proxyConfig.ReadinessProbe, envoyProbe, ia.cfg.ProxyIPAddresses, ia.cfg.IsIPv6),
    		xdsHeaders:            ia.cfg.XDSHeaders,
    		xdsUdsPath:            ia.cfg.XdsUdsPath,
    		wasmCache:             cache,
    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