Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for actualLocalHosts (0.84 sec)

  1. pilot/pkg/networking/core/cluster.go

    	instances []model.ServiceTarget, cp clusterPatcher,
    	enableSidecarServiceInboundListenerMerge bool,
    ) []*cluster.Cluster {
    	clusters := make([]*cluster.Cluster, 0)
    	_, actualLocalHosts := getWildcardsAndLocalHost(proxy.GetIPMode())
    	clustersToBuild := make(map[int][]model.ServiceTarget)
    
    	ingressPortListSet := sets.New[int]()
    	sidecarScope := proxy.SidecarScope
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener.go

    func (lb *ListenerBuilder) buildSidecarOutboundListeners(node *model.Proxy,
    	push *model.PushContext,
    ) []*listener.Listener {
    	noneMode := node.GetInterceptionMode() == model.InterceptionNone
    
    	actualWildcards, actualLocalHosts := getWildcardsAndLocalHost(node.GetIPMode())
    
    	// For conflict resolution
    	listenerMap := make(map[listenerKey]*outboundListenerEntry)
    
    	// The sidecarConfig if provided could filter the list of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    		},
    	}
    	for _, tt := range tests {
    		tt.proxy.DiscoverIPMode()
    		_, actualLocalHosts := getWildcardsAndLocalHost(tt.proxy.GetIPMode())
    		if len(actualLocalHosts) != len(tt.expected) {
    			t.Errorf("Test %s failed, expected: %v got: %v", tt.name, tt.expected, actualLocalHosts)
    		}
    	}
    }
    
    // Test to catch new fields in FilterChainMatch message.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top