Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 256 for PORT (0.04 sec)

  1. internal/event/target/nats_contrib_test.go

    )
    
    func TestNatsConnPlain(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14222
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/gateway/gateway.go

    				if svcSelector.Matches(podLabels) {
    					for _, port := range service.Ports {
    						if port.Protocol == "TCP" {
    							// Because the Gateway's server port is the port on which the proxy should listen for incoming connections,
    							// the actual port associated with the service is the `TargetPort` that reaches the sidecar *workload instances*.
    							if tp := port.TargetPort.IntValue(); tp != 0 {
    								servicePorts[uint32(tp)] = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

        def "reserving port is safely reentrant"() {
            when:
            int port = handler.reservePort()
    
            then:
            handler.reservePort() == port
        }
    
        def "cannot reserve port when the handler was stopped"() {
            handler.stop()
    
            when:
            handler.reservePort()
    
            then:
            thrown(IllegalStateException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. samples/addons/jaeger.yaml

        port: 14250
        targetPort: 14250
        protocol: TCP
      - port: 9411
        targetPort: 9411
        name: http-zipkin
      - port: 4317
        name: grpc-otel
      - port: 4318
        name: http-otel
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_waypoint.go

    				for _, ss := range destinationRule.Subsets {
    					if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() {
    						clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "tcp/"+ss.Name).build())
    					}
    					if port.Protocol.IsUnsupported() || port.Protocol.IsHTTP() {
    						clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http/"+ss.Name).build())
    					}
    				}
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pilot/pkg/model/gateway_test.go

    			Port: ServiceInstancePort{
    				ServicePort: &Port{Port: 80},
    				TargetPort:  80,
    			},
    		},
    		{
    			Service: svc,
    			Port: ServiceInstancePort{
    				ServicePort: &Port{Port: 443},
    				TargetPort:  443,
    			},
    		},
    		{
    			Service: svc,
    			Port: ServiceInstancePort{
    				ServicePort: &Port{Port: 15443},
    				TargetPort:  15443,
    			},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. cmd/kube-apiserver/app/options/options.go

    	fs.UintVar(&s.KubeletConfig.Port, "kubelet-port", s.KubeletConfig.Port,
    		"DEPRECATED: kubelet port.")
    	fs.MarkDeprecated("kubelet-port", "kubelet-port is deprecated and will be removed.")
    
    	fs.UintVar(&s.KubeletConfig.ReadOnlyPort, "kubelet-read-only-port", s.KubeletConfig.ReadOnlyPort,
    		"DEPRECATED: kubelet read only port.")
    	fs.MarkDeprecated("kubelet-read-only-port", "kubelet-read-only-port is deprecated and will be removed.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. internal/event/target/nats_tls_contrib_test.go

    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/net.go

    	host, port, err := net.SplitHostPort(addr)
    	if err != nil {
    		if !strings.Contains(err.Error(), "missing port in address") {
    			return "", "", err
    		}
    
    		host = addr
    
    		switch scheme {
    		case "https":
    			port = "443"
    		case "http":
    			port = "80"
    		default:
    			return "", "", errors.New("unable to guess port from scheme")
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/net/udpsock_posix.go

    	"net/netip"
    	"syscall"
    )
    
    func sockaddrToUDP(sa syscall.Sockaddr) Addr {
    	switch sa := sa.(type) {
    	case *syscall.SockaddrInet4:
    		return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port}
    	case *syscall.SockaddrInet6:
    		return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
    	}
    	return nil
    }
    
    func (a *UDPAddr) family() int {
    	if a == nil || len(a.IP) <= IPv4len {
    		return syscall.AF_INET
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top