Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,267 for port (0.19 sec)

  1. 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)
  2. 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)
  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 21 19:28:08 GMT 2024
    - Last Modified: Sat Jul 08 19:18:31 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. manifests/charts/gateway/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/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)
  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,
    			},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. 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])
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  9. 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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top