Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for portsMatch (0.15 sec)

  1. pkg/controller/endpointslicemirroring/reconciler_test.go

    			continue
    		}
    
    		var matchingEndpointsV4, matchingEndpointsV6 []discovery.Endpoint
    
    		for _, epSlice := range endpointSlices {
    			if portsMatch(epSubset.Ports, epSlice.Ports) {
    				switch epSlice.AddressType {
    				case discovery.AddressTypeIPv4:
    					matchingEndpointsV4 = append(matchingEndpointsV4, epSlice.Endpoints...)
    				case discovery.AddressTypeIPv6:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/tls.go

    	}
    
    	labelMatch := labels.Instance(match.SourceLabels).SubsetOf(proxyLabels)
    
    	portMatch := match.Port == 0 || match.Port == uint32(port)
    
    	nsMatch := match.SourceNamespace == "" || match.SourceNamespace == proxyNamespace
    
    	return gatewayMatch && labelMatch && portMatch && nsMatch
    }
    
    // Match by source labels, the listener port where traffic comes in, the gateway on which the rule is being
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway.go

    }
    
    func isPortMatch(port uint32, server *networking.Server) bool {
    	// if there's no port predicate, portMatch is true; otherwise we evaluate the port predicate against the server's port
    	portMatch := port == 0
    	if port != 0 {
    		portMatch = server.Port.Number == port
    	}
    	return portMatch
    }
    
    func isGatewayMatch(gateway string, gatewayNames []string) bool {
    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