Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 463 for PORT (0.06 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller.go

    		tps := make(map[model.Port]*model.Port)
    		tpsList := make([]model.Port, 0)
    		for _, port := range service.Spec.Ports {
    			svcPort, exists := svc.Ports.Get(port.Name)
    			if !exists {
    				continue
    			}
    			// find target port
    			portNum, err := FindPort(pod, &port)
    			if err != nil {
    				log.Warnf("Failed to find port for service %s/%s: %v", service.Namespace, service.Name, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  2. pkg/proxy/servicechangetracker_test.go

    	if len(healthCheckNodePorts) != 1 {
    		t.Errorf("expected 1 healthcheck port, got %v", healthCheckNodePorts)
    	} else {
    		nsn := makeNSN("ns1", "only-local-load-balancer")
    		if port, found := healthCheckNodePorts[nsn]; !found || port != 345 {
    			t.Errorf("expected healthcheck port [%q]=345: got %v", nsn, healthCheckNodePorts)
    		}
    	}
    
    	// Remove some stuff
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/networking/v1/types.go

    	// port on a pod. If this field is not provided, this matches all port names and
    	// numbers.
    	// If present, only traffic on the specified protocol AND port will be matched.
    	// +optional
    	Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`
    
    	// endPort indicates that the range of ports from port to endPort if set, inclusive,
    	// should be allowed by the policy. This field cannot be defined if the port field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. src/net/net_fake.go

    			return syscall.EINVAL
    		}
    
    		if port == 0 {
    			var prevPort int32
    			portWrapped := false
    			nextPort := func() (int, bool) {
    				for {
    					port := nextPortCounter.Add(1)
    					if port <= 0 || port >= 1<<16 {
    						// nextPortCounter ran off the end of the port space.
    						// Bump it back into range.
    						for {
    							if nextPortCounter.CompareAndSwap(port, 0) {
    								break
    							}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe_test.go

    		},
    		{
    			port: corev1.ServicePort{
    				AppProtocol: &http,
    				Protocol:    corev1.ProtocolTCP,
    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolTCP,
    				Port:     80,
    			},
    			expectedProtocol: "auto-detect",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolUDP,
    				Port:     80,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. pkg/config/analysis/msg/messages.yaml

        code: IST0118
        level: Info
        description: "Port name is not under naming convention. Protocol detection is applied to the port."
        template: "Port name %s (port: %d, targetPort: %s) doesn't follow the naming convention of Istio port."
        args:
          - name: portName
            type: string
          - name: port
            type: int
          - name: targetPort
            type: string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

              port: 80
          route:
            - destination:
                host: {{.EgressService}}.{{.EgressNamespace}}.svc.cluster.local
                subset: server
                port:
                  number: 443
              weight: 100
        - match:
            - gateways:
                - istio-egressgateway-filebased
              port: 443
          route:
            - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. tests/integration/telemetry/api/stats_test.go

    		To: GetTarget(),
    		Port: echo.Port{
    			Name: "http",
    		},
    		Check: check.OK(),
    	})
    	from.CallOrFail(t, echo.CallOptions{
    		To: apps.Naked,
    		Port: echo.Port{
    			Name: "http",
    		},
    		Retry: echo.Retry{
    			NoRetry: true,
    		},
    	})
    }
    
    // SendTCPTraffic makes a client call to the "server" service on the tcp port.
    func SendTCPTraffic(from echo.Instance) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/syscall/syscall_unix.go

    	var socklen _Socklen = SizeofSockaddrAny
    	if n, err = recvfrom(fd, p, flags, &rsa, &socklen); err != nil {
    		return
    	}
    	pp := (*RawSockaddrInet4)(unsafe.Pointer(&rsa))
    	port := (*[2]byte)(unsafe.Pointer(&pp.Port))
    	from.Port = int(port[0])<<8 + int(port[1])
    	from.Addr = pp.Addr
    	return
    }
    
    func recvfromInet6(fd int, p []byte, flags int, from *SockaddrInet6) (n int, err error) {
    	var rsa RawSockaddrAny
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util_test.go

    					{
    						Port: &networking.PortSelector{
    							Number: 8080,
    						},
    						LoadBalancer: &networking.LoadBalancerSettings{
    							LbPolicy: &networking.LoadBalancerSettings_Simple{
    								Simple: networking.LoadBalancerSettings_LEAST_REQUEST,
    							},
    						},
    					},
    				},
    			},
    			port: &model.Port{Port: 8080},
    			expected: &networking.TrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top