Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getWildcardsAndLocalHost (0.26 sec)

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

    	// Return the IP if its a global unicast address.
    	if len(node.GlobalUnicastIP) > 0 {
    		return []string{node.GlobalUnicastIP}
    	}
    	defaultInboundIPs, _ := getWildcardsAndLocalHost(node.GetIPMode())
    	return defaultInboundIPs
    }
    
    func getWildcardsAndLocalHost(ipMode model.IPMode) ([]string, []string) {
    	return wildCards[ipMode], localHosts[ipMode]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. releasenotes/notes/42712.yaml

      - '[Original Design] https://docs.google.com/document/d/1oT6pmRhOw7AtsldU0-HbfA0zA26j9LYiBD_eepeErsQ/'
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 10 22:52:36 UTC 2023
    - 487 bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_builder.go

    	if lb.node.GetInterceptionMode() == model.InterceptionTproxy {
    		isTransparentProxy = proto.BoolTrue
    	}
    
    	filterChains := buildOutboundCatchAllNetworkFilterChains(lb.node, lb.push)
    
    	actualWildcards, _ := getWildcardsAndLocalHost(lb.node.GetIPMode())
    	// add an extra listener that binds to the port that is the recipient of the iptables redirect
    	ipTablesListener := &listener.Listener{
    		Name:             model.VirtualOutboundListenerName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pilot/pkg/networking/core/listener.go

    	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)
  7. 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)
  8. pilot/pkg/networking/core/gateway.go

    		return builder
    	}
    
    	mergedGateway := builder.node.MergedGateway
    	log.Debugf("buildGatewayListeners: gateways after merging: %v", mergedGateway)
    
    	actualWildcards, _ := getWildcardsAndLocalHost(builder.node.GetIPMode())
    	errs := istiomultierror.New()
    	// Mutable objects keyed by listener name so that we can build listeners at the end.
    	mutableopts := make(map[string]mutableListenerOpts)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
Back to top