Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTCPListeners (0.12 sec)

  1. pilot/pkg/xds/lds_test.go

    	// Expect 2 listeners : 2 orig_dst, 2 outbound (http, tcp1)
    	if (len(adsc.GetHTTPListeners()) + len(adsc.GetTCPListeners())) != 4 {
    		t.Fatalf("Expected 4 listeners, got %d\n", len(adsc.GetHTTPListeners())+len(adsc.GetTCPListeners()))
    	}
    
    	// Expect 9 CDS clusters:
    	// 2 inbound(http, inbound passthroughipv4) notes: no passthroughipv6
    	// 9 outbound (2 http services, 1 tcp service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/adsc/adsc.go

    func (a *ADSC) GetHTTPListeners() map[string]*listener.Listener {
    	a.mutex.Lock()
    	defer a.mutex.Unlock()
    	return a.httpListeners
    }
    
    // GetTCPListeners returns all the tcp listeners.
    func (a *ADSC) GetTCPListeners() map[string]*listener.Listener {
    	a.mutex.RLock()
    	defer a.mutex.RUnlock()
    	return a.tcpListeners
    }
    
    // GetEdsClusters returns all the eds type clusters.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top