Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for portNames (0.12 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    							},
    						},
    					},
    					PortNames: map[int32]model.ServicePortName{
    						// Not a named port
    						80: {PortName: "80"},
    						// Named port found in WE
    						81: {PortName: "81", TargetPortName: "81-target"},
    						// Named port target found in WE
    						82: {PortName: "82", TargetPortName: "82-target"},
    						// Named port not found in WE
    						83: {PortName: "83", TargetPortName: "83-target"},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    				// ServiceEntry has no explicit named targetPorts; targetPort only allows a number
    				// Instead, there is name matching between the port names
    				if named, f := svc.PortNames[int32(port.ServicePort)]; f {
    					// get port name or target port
    					tv, ok := p.Ports[named.PortName]
    					if ok {
    						// if we match one, override it. Otherwise, use the service port
    						targetPort = tv
    					} else if targetPort == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/service.go

    }
    
    type ServicePortName struct {
    	PortName       string
    	TargetPortName string
    }
    
    type ServiceInfo struct {
    	*workloadapi.Service
    	// LabelSelectors for the Service. Note these are only used internally, not sent over XDS
    	LabelSelector
    	// PortNames provides a mapping of ServicePort -> port names. Note these are only used internally, not sent over XDS
    	PortNames map[int32]ServicePortName
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  4. pkg/proxy/endpointslicecache.go

    			if port.Name == nil {
    				klog.ErrorS(nil, "Ignoring port with nil name", "portName", port.Name)
    				continue
    			}
    			// TODO: handle nil ports to mean "all"
    			if port.Port == nil || *port.Port == int32(0) {
    				klog.ErrorS(nil, "Ignoring invalid endpoint port", "portName", *port.Name)
    				continue
    			}
    
    			svcPortName := ServicePortName{
    				NamespacedName: serviceNN,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    	}
    
    	// This is a gateway. Get all the fields in the gateway's RDS route name
    	routePortNumber, portName, gateway := model.ParseGatewayRDSRouteName(rc.Name)
    	if rMatch.PortNumber != 0 && !anyPortMatches(portMap, routePortNumber, int(rMatch.PortNumber)) {
    		return false
    	}
    	if rMatch.PortName != "" && rMatch.PortName != portName {
    		return false
    	}
    	if rMatch.Gateway != "" && rMatch.Gateway != gateway {
    		return false
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

            val ktFile: KtFile = ktFileStub.psi
            addToFacadeFileMap(ktFile)
    
            val partNames = ktFileStub.facadePartSimpleNames
            if (partNames != null) {
                val packageFqName = ktFileStub.getPackageFqName()
                for (partName in partNames) {
                    val multiFileClassPartFqName: FqName = packageFqName.child(Name.identifier(partName))
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/gateway.go

    // (https.<portNumber>.<portName>.<gatewayName>.<namespace>) so that when a RDS request comes in, we serve the virtual
    // hosts and associated routes for that server.
    //
    // Note that the common case is one where multiple servers are exposed under a single multi-SAN cert on a single port.
    // In this case, we have a single https.<portNumber>.<portName>.<gatewayName>.<namespace> RDS for the HTTPS server.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. tests/integration/telemetry/policy/helper_test.go

        network: external
      ports:
      - number: 80
        name: http
      resolution: DNS
    `
    )
    
    // TestCase represents what is being tested
    type TestCase struct {
    	Name     string
    	PortName string
    	HTTP2    bool
    	Host     string
    	Expected Expected
    }
    
    // Expected contains the metric and query to run against
    // prometheus to validate that expected telemetry information was gathered;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    			for _, port := range slice.Ports {
    				var portNum int32
    				if port.Port != nil {
    					portNum = *port.Port
    				}
    				var portName string
    				if port.Name != nil {
    					portName = *port.Name
    				}
    
    				istioEndpoint := builder.buildIstioEndpoint(a, portNum, portName, discoverabilityPolicy, healthStatus)
    				endpoints = append(endpoints, istioEndpoint)
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster.go

    	sidecarScope := proxy.SidecarScope
    	for _, ingressListener := range sidecarScope.Sidecar.Ingress {
    		// LDS would have setup the inbound clusters
    		// as inbound|portNumber|portName|Hostname[or]SidecarScopeID
    		listenPort := &model.Port{
    			Port:     int(ingressListener.Port.Number),
    			Protocol: protocol.Parse(ingressListener.Port.Protocol),
    			Name:     ingressListener.Port.Name,
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top