Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for servicePort (0.12 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. pkg/controlplane/controller/kubernetesservice/controller_test.go

    	}
    
    	createTests := []struct {
    		testName     string
    		serviceName  string
    		servicePorts []corev1.ServicePort
    		serviceType  corev1.ServiceType
    		expectCreate *corev1.Service // nil means none expected
    	}{
    		{
    			testName:    "service does not exist",
    			serviceName: "foo",
    			servicePorts: []corev1.ServicePort{
    				{Name: "foo", Port: 8080, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 10:41:06 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. operator/pkg/translate/strategic_port_merge_test.go

    			overlayPorts:        []*v1.ServicePort{httpPort, httpsPort, quicPort},
    			expectedMergedPorts: []*v1.ServicePort{httpPort, httpsPort, quicPort},
    		},
    		{
    			name:                "same base and overlay",
    			basePorts:           []*v1.ServicePort{httpPort, httpsPort},
    			overlayPorts:        []*v1.ServicePort{httpsPort, httpPort},
    			expectedMergedPorts: []*v1.ServicePort{httpPort, httpsPort},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:37 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/common/ports/ports.go

    var (
    	HTTP             = echo.Port{Name: "http", Protocol: protocol.HTTP, ServicePort: 80, WorkloadPort: 18080}
    	GRPC             = echo.Port{Name: "grpc", Protocol: protocol.GRPC, ServicePort: 7070, WorkloadPort: 17070}
    	HTTP2            = echo.Port{Name: "http2", Protocol: protocol.HTTP, ServicePort: 85, WorkloadPort: 18085}
    	TCP              = echo.Port{Name: "tcp", Protocol: protocol.TCP, ServicePort: 9090, WorkloadPort: 19090}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 08 16:17:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/kubernetesservice/controller.go

    // If the NodePort value is 0, just the servicePort is used, otherwise, a node port is exposed.
    func createPortAndServiceSpec(servicePort int, targetServicePort int, nodePort int, servicePortName string) ([]corev1.ServicePort, corev1.ServiceType) {
    	// Use the Cluster IP type for the service port if NodePort isn't provided.
    	// Otherwise, we will be binding the master service to a NodePort.
    	servicePorts := []corev1.ServicePort{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/apis/networking/v1beta1/conversion.go

    		return err
    	}
    	if len(in.ServiceName) > 0 || in.ServicePort.IntVal != 0 || in.ServicePort.StrVal != "" || in.ServicePort.Type == intstr.String {
    		out.Service = &networking.IngressServiceBackend{}
    		out.Service.Name = in.ServiceName
    		out.Service.Port.Name = in.ServicePort.StrVal
    		out.Service.Port.Number = in.ServicePort.IntVal
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. pkg/quota/v1/evaluator/core/services_test.go

    					Type: api.ServiceTypeNodePort,
    					Ports: []api.ServicePort{
    						{
    							Port: 27443,
    						},
    					},
    				},
    			},
    			required: []corev1.ResourceName{corev1.ResourceServicesNodePorts},
    		},
    		"multi-nodeports": {
    			service: &api.Service{
    				Spec: api.ServiceSpec{
    					Type: api.ServiceTypeNodePort,
    					Ports: []api.ServicePort{
    						{
    							Port: 27443,
    						},
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 16 15:48:58 UTC 2021
    - 9.4K bytes
    - Viewed (0)
  10. pkg/registry/core/service/portallocator/controller/repair_test.go

    			ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "one"},
    			Spec: corev1.ServiceSpec{
    				Ports: []corev1.ServicePort{{NodePort: 111}},
    			},
    		},
    		&corev1.Service{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "two", Name: "two"},
    			Spec: corev1.ServiceSpec{
    				Ports: []corev1.ServicePort{{NodePort: 122}, {NodePort: 133}},
    			},
    		},
    		&corev1.Service{ // outside range, will be dropped
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top