Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,759 for port (0.07 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: 2024-11-03 19:28
    - Last Modified: 2023-05-03 21:12
    - 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: 2024-11-06 22:53
    - Last Modified: 2024-03-11 18:43
    - 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: 2024-11-06 22:53
    - Last Modified: 2024-10-24 17:36
    - 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: 2024-11-06 22:53
    - Last Modified: 2023-11-29 12:37
    - 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: 2024-11-06 22:53
    - Last Modified: 2024-04-15 01:29
    - 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: 2024-11-03 03:35
    - Last Modified: 2024-10-25 12:31
    - 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: 2024-11-10 03:50
    - Last Modified: 2024-02-22 01:36
    - 1.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

          return configureSocket((SSLSocket) delegate.createSocket(host, port, localHost, localPort));
        }
    
        @Override public Socket createSocket(InetAddress host, int port) throws IOException {
          return configureSocket((SSLSocket) delegate.createSocket(host, port));
        }
    
        @Override public Socket createSocket(
    Registered: 2024-11-01 11:42
    - Last Modified: 2019-03-14 21:57
    - 6.5K bytes
    - Viewed (0)
  9. 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: 2024-11-03 19:28
    - Last Modified: 2024-04-19 08:43
    - 9.3K 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: 2024-11-03 19:28
    - Last Modified: 2024-05-24 23:05
    - 2.1K bytes
    - Viewed (0)
Back to top