Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 452 for Port (0.02 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

        }
    
        /**
         * Get the proxy port.
         *
         * @return proxy server port
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Set the proxy port.
         *
         * @param port proxy server port
         */
        public void setPort(int port) {
            this.port = port;
        }
    
        /**
         * Get the proxy username.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    		"http": 80,
    	}
    
    	for _, port := range ingress.service.Spec.Ports {
    		if port.Protocol != "TCP" || !portsToShow[port.Name] {
    			continue
    		}
    
    		// Get port number
    		_, err := pilotcontroller.FindPort(ingress.pods[0], &port)
    		if err == nil {
    			nport := int(port.Port)
    			protocol := string(configKube.ConvertProtocol(port.Port, port.Name, port.Protocol, port.AppProtocol))
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    			return ep, fmt.Errorf("invalid URL endpoint format")
    		}
    
    		var port string
    		host, port, err = net.SplitHostPort(u.Host)
    		if err != nil {
    			if !strings.Contains(err.Error(), "missing port in address") {
    				return ep, fmt.Errorf("invalid URL endpoint format: %w", err)
    			}
    
    			host = u.Host
    		} else {
    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/HostAndPort.java

       * @param port a port number from [0..65535]
       * @return if parsing was successful, a populated HostAndPort object.
       * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out
       *     of range.
       */
      public static HostAndPort fromParts(String host, int port) {
        checkArgument(isValidPort(port), "Port out of range: %s", port);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    				return configWriter.PrintFullSummary(
    					configdump.ClusterFilter{
    						FQDN:      host.Name(fqdn),
    						Port:      port,
    						Subset:    subset,
    						Direction: model.TrafficDirection(direction),
    					},
    					configdump.ListenerFilter{
    						Address: address,
    						Port:    uint32(port),
    						Type:    listenerType,
    						Verbose: verboseProxyConfig,
    					},
    					configdump.RouteFilter{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	"istio.io/istio/pkg/slices"
    )
    
    type EndpointFilter struct {
    	Address string
    	Port    uint32
    	Cluster string
    	Status  string
    }
    
    // Verify returns true if the passed host matches the filter fields
    func (e *EndpointFilter) Verify(ep *endpoint.LbEndpoint, cluster string) bool {
    	if e.Address == "" && e.Port == 0 && e.Cluster == "" && e.Status == "" {
    		return true
    	}
    	if e.Address != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top