Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for port1 (0.05 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: ns},
    		Spec: v1.ServiceSpec{
    			Selector: map[string]string{"foo": "bar"},
    			Ports: []v1.ServicePort{
    				{Name: "port0", Port: 80, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)},
    				{Name: "port1", Port: 88, Protocol: "TCP", TargetPort: intstr.FromInt32(8088)},
    			},
    		},
    	})
    	err := endpoints.syncService(tCtx, "other/foo")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar_test.go

    		},
    	}
    
    	port8000 = []*Port{
    		{
    			Name:     "uds",
    			Port:     8000,
    			Protocol: "HTTP",
    		},
    	}
    
    	port9000 = []*Port{
    		{
    			Name: "port1",
    			Port: 9000,
    		},
    	}
    
    	twoPorts = []*Port{
    		{
    			Name:     "uds",
    			Port:     8000,
    			Protocol: "HTTP",
    		},
    		{
    			Name:     "uds",
    			Port:     7000,
    			Protocol: "HTTP",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // to your compiler flags.
    # define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX \
        || GTEST_OS_QNX)
    #endif  // GTEST_HAS_PTHREAD
    
    #if GTEST_HAS_PTHREAD
    // gtest-port.h guarantees to #include <pthread.h> when GTEST_HAS_PTHREAD is
    // true.
    # include <pthread.h>  // NOLINT
    
    // For timespec and nanosleep, used below.
    # include <time.h>  // NOLINT
    #endif
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // to your compiler flags.
    # define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX \
        || GTEST_OS_QNX)
    #endif  // GTEST_HAS_PTHREAD
    
    #if GTEST_HAS_PTHREAD
    // gtest-port.h guarantees to #include <pthread.h> when GTEST_HAS_PTHREAD is
    // true.
    # include <pthread.h>  // NOLINT
    
    // For timespec and nanosleep, used below.
    # include <time.h>  // NOLINT
    #endif
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  5. tests/integration/security/authz_test.go

    					cases := []struct {
    						ports []echo.Port
    						path  string
    						allow allowValue
    					}{
    						{
    							ports: []echo.Port{ports.GRPC, ports.TCP},
    							allow: allow,
    						},
    						{
    							ports: []echo.Port{ports.HTTP, ports.HTTP2},
    							path:  "/allow",
    							allow: allow,
    						},
    						{
    							ports: []echo.Port{ports.HTTP, ports.HTTP2},
    							path:  "/allow?param=value",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    func TestServiceUpdateNeedsPush(t *testing.T) {
    	newService := func(exportTo visibility.Instance, ports []int) *model.Service {
    		s := &model.Service{
    			Attributes: model.ServiceAttributes{
    				ExportTo: sets.New(exportTo),
    			},
    		}
    		for _, port := range ports {
    			s.Ports = append(s.Ports, &model.Port{
    				Port: port,
    			})
    		}
    		return s
    	}
    
    	type testcase struct {
    		name     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    	t.Helper()
    	// avoid mutating input
    	svc = svc.DeepCopy()
    	// simulate actual k8s behavior
    	for i, port := range svc.Spec.Ports {
    		if port.TargetPort.IntVal == 0 && port.TargetPort.StrVal == "" {
    			svc.Spec.Ports[i].TargetPort.IntVal = port.Port
    		}
    	}
    
    	_, err := c.CoreV1().Services(svc.Namespace).Create(context.Background(), svc, metav1.CreateOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    			ports:          privilegedPorts,
    			expectListener: false,
    		},
    		{
    			name:           "unprivileged proxy; explicit NONE mode; unprivileged ports",
    			unprivileged:   true,
    			mode:           model.InterceptionNone,
    			ports:          unprivilegedPorts,
    			expectListener: true,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			for _, port := range tc.ports {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  9. pkg/proxy/endpointschangetracker_test.go

    			Port:     ptr.To[int32](11),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	complexAfter1_s2 := func(eps *discovery.EndpointSlice) {
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"1.1.1.2"},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p12"),
    			Port:     ptr.To[int32](12),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}, {
    			Name:     ptr.To("p122"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	})
    }
    
    func sortPorts(ports []*model.Port) {
    	sort.Slice(ports, func(i, j int) bool {
    		if ports[i].Port == ports[j].Port {
    			if ports[i].Name == ports[j].Name {
    				return ports[i].Protocol < ports[j].Protocol
    			}
    			return ports[i].Name < ports[j].Name
    		}
    		return ports[i].Port < ports[j].Port
    	})
    }
    
    func Test_autoAllocateIP_conditions(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top