Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for port_name (0.53 sec)

  1. pilot/pkg/model/gateway.go

    	} else if strings.HasPrefix(name, "https.") && strings.Count(name, ".") == 4 {
    		name = name[len("https."):]
    		// format: https.<port>.<port_name>.<gw name>.<gw namespace>
    		portNums, rest, ok := strings.Cut(name, ".")
    		if !ok {
    			return
    		}
    		portNumber, _ = strconv.Atoi(portNums)
    		portName, rest, ok = strings.Cut(rest, ".")
    		if !ok {
    			return
    		}
    		gwName, gwNs, ok := strings.Cut(rest, ".")
    		if !ok {
    			return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/service/portname.go

    Xiaopeng Han <******@****.***> 1694789158 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 15 14:45:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    ) krt.Collection[model.ServiceInfo] {
    	ServicesInfo := krt.NewCollection(Services, func(ctx krt.HandlerContext, s *v1.Service) *model.ServiceInfo {
    		portNames := map[int32]model.ServicePortName{}
    		for _, p := range s.Spec.Ports {
    			portNames[p.Port] = model.ServicePortName{
    				PortName:       p.Name,
    				TargetPortName: p.TargetPort.StrVal,
    			}
    		}
    		waypointKey := ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. 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)
  5. tests/integration/security/filebased_tls_origination/destination_rule_tls_test.go

          sni: server
    `).ApplyOrFail(t)
    
    			for _, portName := range []string{"grpc", "http", "tcp"} {
    				portName := portName
    				t.NewSubTest(portName).Run(func(t framework.TestContext) {
    					opts := echo.CallOptions{
    						To:    server,
    						Count: 1,
    						Port: echo.Port{
    							Name: portName,
    						},
    						Check: check.OK(),
    					}
    					if portName == "tcp" {
    						opts.Scheme = scheme.TCP
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(null)
                .add(SHORT_NAME, java.util.Optional.of("1"))
                .add(LONG_NAME, java.util.Optional.of("1"))
                .add(SHORT_NAME, java.util.Optional.empty())
                .add(LONG_NAME, java.util.Optional.empty())
                .add(SHORT_NAME, Optional.of("2"))
                .add(SHORT_NAME, Optional.absent())
                .addValue(null)
                .add(SHORT_NAME, new int[] {1})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(null)
                .add(SHORT_NAME, Optional.of("1"))
                .add(LONG_NAME, Optional.of("1"))
                .add(SHORT_NAME, Optional.absent())
                .add(LONG_NAME, Optional.absent())
                .add(SHORT_NAME, Optional.of("2"))
                .add(SHORT_NAME, Optional.absent())
                .addValue(null)
                .add(SHORT_NAME, new int[] {1})
                .add(LONG_NAME, new int[] {2})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. pkg/config/kube/conversion.go

    )
    
    // ConvertProtocol from k8s protocol and port name
    func ConvertProtocol(port int32, portName string, proto corev1.Protocol, appProto *string) protocol.Instance {
    	if proto == corev1.ProtocolUDP {
    		return protocol.UDP
    	}
    
    	// If application protocol is set, we will use that
    	// If not, use the port name
    	name := portName
    	if appProto != nil {
    		name = *appProto
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 02:01:47 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. 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)
Back to top