Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 410 for serviceFor (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go

    			services: []*v1.Service{
    				{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "alfa"},
    					Spec: v1.ServiceSpec{
    						Type:      v1.ServiceTypeClusterIP,
    						ClusterIP: "hit",
    						Ports: []v1.ServicePort{
    							{Port: 1234, TargetPort: intstr.FromInt32(1234)},
    						},
    					},
    				},
    			},
    			endpoints: matchingEndpoints,
    
    			clusterMode:  expectation{error: true},
    			endpointMode: expectation{error: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. tests/integration/pilot/tunneling_test.go

    					"forwardProxyPort":              proxyConfig.Port,
    					"tlsEnabled":                    proxyConfig.TLSEnabled,
    					"externalSvcTcpPort":            ports.TCPForHTTP.ServicePort,
    					"externalSvcTlsPort":            ports.HTTPS.ServicePort,
    					"EgressGatewayIstioLabel":       i.Settings().EgressGatewayIstioLabel,
    					"EgressGatewayServiceName":      i.Settings().EgressGatewayServiceName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/util_test.go

    	se1 := config.Config{
    		Meta: config.Meta{GroupVersionKind: gvk.ServiceEntry, Namespace: "default", Name: "se-1"},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"*.google.com"},
    			Ports: []*networking.ServicePort{
    				{Number: 80, Name: "http-number", Protocol: "http"},
    				{Number: 8080, Name: "http2-number", Protocol: "http2"},
    			},
    			WorkloadSelector: &networking.WorkloadSelector{
    				Labels: map[string]string{"app": "foo"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 22:32:10 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/util.go

    	explicitName bool
    }
    
    func findServiceTargetPort(servicePort *model.Port, k8sService *v1.Service) serviceTargetPort {
    	for _, p := range k8sService.Spec.Ports {
    		// TODO(@hzxuzhonghu): check protocol as well as port
    		if p.Name == servicePort.Name || p.Port == int32(servicePort.Port) {
    			if p.TargetPort.Type == intstr.Int && p.TargetPort.IntVal > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 02:01:47 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. pkg/proxy/config/api_test.go

    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}}
    	service1v2 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 20}}}}
    	service2 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe_test.go

    	http := "HTTP"
    	cases := []struct {
    		port             corev1.ServicePort
    		expectedProtocol string
    	}{
    		{
    			port: corev1.ServicePort{
    				Name:     "http",
    				Protocol: corev1.ProtocolTCP,
    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    			port: corev1.ServicePort{
    				Name:     "GRPC-port",
    				Protocol: corev1.ProtocolTCP,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. pkg/apis/networking/v1beta1/conversion_test.go

    		external v1beta1.IngressSpec
    		internal networking.IngressSpec
    	}{
    		"service-port-number": {
    			external: v1beta1.IngressSpec{
    				Backend: &v1beta1.IngressBackend{
    					ServiceName: "test-backend",
    					ServicePort: intstr.FromInt32(8080),
    				},
    			},
    			internal: networking.IngressSpec{
    				DefaultBackend: &networking.IngressBackend{
    					Service: &networking.IngressServiceBackend{
    						Name: "test-backend",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. pkg/registry/core/service/storage/alloc.go

    // NodePort specified, return this NodePort otherwise return 0.
    func findRequestedNodePort(port int, servicePorts []api.ServicePort) int {
    	for i := range servicePorts {
    		servicePort := servicePorts[i]
    		if port == int(servicePort.Port) && servicePort.NodePort != 0 {
    			return int(servicePort.NodePort)
    		}
    	}
    	return 0
    }
    
    func shouldAllocateNodePorts(service *api.Service) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go

    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: networking.ServiceEntry{
    					Addresses: []string{"1.2.3.4"},
    					Hosts:     []string{"a.example.com", "b.example.com"},
    					Ports: []*networking.ServicePort{{
    						Number: 80,
    						Name:   "http",
    					}},
    					SubjectAltNames: []string{"san1"},
    					Resolution:      networking.ServiceEntry_DNS,
    				},
    			},
    			result: []*workloadapi.Service{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Ingress.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top