Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,019 for port (0.16 sec)

  1. internal/http/check_port_linux.go

    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. internal/http/check_port_others.go

    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. 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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. helm/minio/templates/post-job.yaml

    apiVersion: batch/v1
    kind: Job
    metadata:
      name: {{ template "minio.fullname" . }}-post-job
      labels:
        app: {{ template "minio.name" . }}-post-job
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      annotations:
        "helm.sh/hook": post-install,post-upgrade
        "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Jul 08 19:18:31 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. manifests/charts/gateways/istio-ingress/files/profile-demo.yaml

        - port: 80
          targetPort: 8080
          name: http2
        - port: 443
          targetPort: 8443
          name: https
        - port: 31400
          targetPort: 31400
          name: tcp
          # This is the port where sni routing happens
        - port: 15443
          targetPort: 15443
          name: tls
        resources:
          requests:
            cpu: 10m
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. manifests/charts/default/files/profile-demo.yaml

        - port: 80
          targetPort: 8080
          name: http2
        - port: 443
          targetPort: 8443
          name: https
        - port: 31400
          targetPort: 31400
          name: tcp
          # This is the port where sni routing happens
        - port: 15443
          targetPort: 15443
          name: tls
        resources:
          requests:
            cpu: 10m
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. manifests/charts/base/files/profile-demo.yaml

        - port: 80
          targetPort: 8080
          name: http2
        - port: 443
          targetPort: 8443
          name: https
        - port: 31400
          targetPort: 31400
          name: tcp
          # This is the port where sni routing happens
        - port: 15443
          targetPort: 15443
          name: tls
        resources:
          requests:
            cpu: 10m
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. manifests/charts/istio-cni/files/profile-demo.yaml

        - port: 80
          targetPort: 8080
          name: http2
        - port: 443
          targetPort: 8443
          name: https
        - port: 31400
          targetPort: 31400
          name: tcp
          # This is the port where sni routing happens
        - port: 15443
          targetPort: 15443
          name: tls
        resources:
          requests:
            cpu: 10m
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1/generated.proto

      // +listType=atomic
      repeated Endpoint endpoints = 2;
    
      // ports specifies the list of network ports exposed by each endpoint in
      // this slice. Each port must have a unique name. When ports is empty, it
      // indicates that there are no defined ports. When a port is defined with a
      // nil port value, it indicates "all ports". Each slice may include a
      // maximum of 100 ports.
      // +optional
      // +listType=atomic
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top