Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,491 for port (0.06 sec)

  1. internal/http/check_port_test.go

    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    		{"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)},
    	}
    
    	for _, testCase := range testCases {
    		err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{})
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/networking/v1/generated.proto

    // IngressPortStatus represents the error condition of a service port
    message IngressPortStatus {
      // port is the port number of the ingress port.
      optional int32 port = 1;
    
      // protocol is the protocol of the ingress port.
      // The supported values are: "TCP", "UDP", "SCTP"
      optional string protocol = 2;
    
      // error is to record the problem with the service port
      // The format of the error shall comply with the following rules:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. 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)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    		if filter.Verify(l) {
    			verifiedListeners = append(verifiedListeners, l)
    		}
    	}
    
    	// Sort by port, addr, type
    	sort.Slice(verifiedListeners, func(i, j int) bool {
    		iPort := retrieveListenerPort(verifiedListeners[i])
    		jPort := retrieveListenerPort(verifiedListeners[j])
    		if iPort != jPort {
    			return iPort < jPort
    		}
    		iAddr := retrieveListenerAddress(verifiedListeners[i])
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. istioctl/pkg/dashboard/dashboard.go

    	kiali.PersistentFlags().IntVar(&kialiPort, "ui-port", defaultKialiPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(kiali)
    
    	prom := promDashCmd(cliContext)
    	prom.PersistentFlags().IntVar(&promPort, "ui-port", defaultPrometheusPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(prom)
    
    	graf := grafanaDashCmd(cliContext)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. 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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

                }
                buf.append('/');
            }
            return buf.toString();
        }
    
        public String getServer() {
            return server;
        }
    
        public void setServer(final String server) {
            this.server = server;
        }
    
        public int getPort() {
            return port;
        }
    
        public void setPort(final int port) {
            this.port = port;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. cmd/net_test.go

    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    		if testCase.expectedHost != host {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host)
    		}
    
    		if testCase.expectedPort != port {
    			t.Fatalf("port: expected = %v, got = %v", testCase.expectedPort, port)
    		}
    	}
    }
    
    func TestSortIPs(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K 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. 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)
Back to top