Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 216 for servicePort (0.45 sec)

  1. pkg/proxy/serviceport.go

    	internalPolicyLocal      bool
    	hintsAnnotation          string
    }
    
    var _ ServicePort = &BaseServicePortInfo{}
    
    // String is part of ServicePort interface.
    func (bsvcPortInfo *BaseServicePortInfo) String() string {
    	return fmt.Sprintf("%s:%d/%s", bsvcPortInfo.clusterIP, bsvcPortInfo.port, bsvcPortInfo.protocol)
    }
    
    // ClusterIP is part of ServicePort interface.
    func (bsvcPortInfo *BaseServicePortInfo) ClusterIP() net.IP {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    			clusterMode: DefaultClusterMode,
    			service: &model.Service{
    				Hostname:   host.Name("foo.example.com"),
    				Ports:      servicePort,
    				Resolution: model.DNSLB,
    				Attributes: model.ServiceAttributes{
    					Namespace: TestServiceNamespace,
    				},
    			},
    			port:      servicePort[0],
    			proxyView: model.ProxyViewAll,
    			destRule: &networking.DestinationRule{
    				Host:    "foo.example.com",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. pkg/proxy/conntrack/cleanup_test.go

    	}
    	servicePort := svcPortMap[tcpPortName]
    	if servicePort == nil || servicePort.String() != "172.30.1.1:53/TCP" {
    		t.Fatalf("expected svcPortMap[%q] to be \"172.30.1.1:53/TCP\", got %q", tcpPortName.String(), servicePort.String())
    	}
    	servicePort = svcPortMap[udpPortName]
    	if servicePort == nil || servicePort.String() != "172.30.1.1:53/UDP" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    						Hostname:  "hostname",
    						Ports: []*workloadapi.Port{
    							{
    								ServicePort: 80,
    								TargetPort:  8080,
    							},
    							{
    								ServicePort: 81,
    								TargetPort:  0,
    							},
    							{
    								ServicePort: 82,
    								TargetPort:  0,
    							},
    							{
    								ServicePort: 83,
    								TargetPort:  0,
    							},
    						},
    					},
    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/pilot/tunneling_test.go

    }
    
    func applyForwardProxyService(ctx framework.TestContext, externalNs string) {
    	var servicePorts []corev1.ServicePort
    	for i, cfg := range forwardProxyConfigurations {
    		servicePorts = append(servicePorts, corev1.ServicePort{
    			Name:       fmt.Sprintf("%s-%d", selectPortName(cfg.HTTPVersion), i),
    			Port:       int32(cfg.Port),
    			TargetPort: intstr.FromInt32(int32(cfg.Port)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tests/integration/security/util/framework.go

    			{
    				Name:         "tcp-8085",
    				ServicePort:  echo.NoServicePort,
    				WorkloadPort: 8085,
    				Protocol:     protocol.HTTP,
    			},
    			{
    				Name:         "tcp-8086",
    				ServicePort:  echo.NoServicePort,
    				WorkloadPort: 8086,
    				Protocol:     protocol.HTTP,
    			},
    			{
    				Name:         "tcp-8087",
    				ServicePort:  echo.NoServicePort,
    				WorkloadPort: 8087,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/networking.k8s.io.v1beta1.Ingress.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/networking.k8s.io.v1beta1.Ingress.yaml

          name: nameValue
        serviceName: serviceNameValue
        servicePort: servicePortValue
      ingressClassName: ingressClassNameValue
      rules:
      - host: hostValue
        http:
          paths:
          - backend:
              resource:
                apiGroup: apiGroupValue
                kind: kindValue
                name: nameValue
              serviceName: serviceNameValue
              servicePort: servicePortValue
            path: pathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/conversion.go

    		instancePort = 0
    		addr = strings.TrimPrefix(addr, model.UnixAddressPrefix)
    	} else if port, ok := wle.Ports[servicePort.Name]; ok && port > 0 {
    		instancePort = port
    	} else if servicePort.TargetPort > 0 {
    		instancePort = servicePort.TargetPort
    	} else {
    		// final fallback is to the service port value
    		instancePort = servicePort.Number
    	}
    
    	tlsMode := getTLSModeFromWorkloadEntry(wle)
    	sa := ""
    	if wle.ServiceAccount != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. tests/integration/security/ca_custom_root/main_test.go

    			{
    				Name:         httpPlaintext,
    				Protocol:     protocol.HTTP,
    				ServicePort:  8090,
    				WorkloadPort: 8090,
    			},
    			{
    				Name:         httpMTLS,
    				Protocol:     protocol.HTTP,
    				ServicePort:  8091,
    				WorkloadPort: 8091,
    			},
    			{
    				Name:         tcpPlaintext,
    				Protocol:     protocol.TCP,
    				ServicePort:  8092,
    				WorkloadPort: 8092,
    			},
    			{
    				Name:         tcpMTLS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top