Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for portNames (0.32 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/api/v1/pod/util.go

    // targetPort is a number, use that.  If the targetPort is a string, look that
    // string up in all named ports in all containers in the target pod.  If no
    // match is found, fail.
    func FindPort(pod *v1.Pod, svcPort *v1.ServicePort) (int, error) {
    	portName := svcPort.TargetPort
    	switch portName.Type {
    	case intstr.String:
    		name := portName.StrVal
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K 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. 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 (1)
  7. 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)
  8. 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)
  9. 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)
  10. pilot/pkg/networking/telemetry/telemetry_test.go

    	}
    }
    
    func TestBuildInboundStatPrefix(t *testing.T) {
    	tests := []struct {
    		name        string
    		statPattern string
    		tm          FilterChainMetadata
    		subset      string
    		port        uint32
    		portName    string
    		want        string
    	}{
    		{
    			"Service only pattern",
    			"%SERVICE%",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top