Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getWildcardsAndLocalHost (0.22 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_inbound.go

    	return listeners
    }
    
    // inboundVirtualListener builds the virtual inbound listener.
    func (lb *ListenerBuilder) inboundVirtualListener(chains []*listener.FilterChain) *listener.Listener {
    	actualWildcards, _ := getWildcardsAndLocalHost(lb.node.GetIPMode())
    
    	// Build the "virtual" inbound listener. This will capture all inbound redirected traffic and contains:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    			},
    			expected: []string{WildcardAddress, WildcardIPv6Address},
    		},
    	}
    	for _, tt := range tests {
    		tt.proxy.DiscoverIPMode()
    		actualWildcards, _ := getWildcardsAndLocalHost(tt.proxy.GetIPMode())
    		if len(actualWildcards) != len(tt.expected) {
    			t.Errorf("Test %s failed, expected: %v got: %v", tt.name, tt.expected, actualWildcards)
    		}
    	}
    }
    
    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