Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 119 for dialFn (0.09 sec)

  1. cmd/sftp-server_test.go

    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err := sshPasswordAuth(newSSHCon, []byte("dillon"))
    	if err == nil || !errors.Is(err, errSFTPUserHasNoPolicies) {
    		c.Fatalf("expected err(%s) but got (%s)", errSFTPUserHasNoPolicies, err)
    	}
    
    	newSSHCon = newSSHConnMock("dillon")
    	_, err = sshPasswordAuth(newSSHCon, []byte("dillon"))
    	if err == nil || !errors.Is(err, errNoSuchUser) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/probe/dialer_windows.go

    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    				syscall.SetsockoptLinger(syscall.Handle(fd), syscall.SOL_SOCKET, syscall.SO_LINGER, &syscall.Linger{Onoff: 1, Linger: 1})
    			})
    		},
    	}
    	return dialer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. pkg/probe/dialer_others.go

    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    				syscall.SetsockoptLinger(int(fd), syscall.SOL_SOCKET, syscall.SO_LINGER, &syscall.Linger{Onoff: 1, Linger: 1})
    			})
    		},
    	}
    	return dialer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    		},
    
    		"insecure, custom dial": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: true},
    			Dial:      d.DialContext,
    		},
    		"secure, no roots, custom dial": {
    			TLSConfig:   &tls.Config{InsecureSkipVerify: false},
    			Dial:        d.DialContext,
    			ExpectError: "unknown authority|not trusted",
    		},
    		"secure with roots, custom dial": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: false, RootCAs: roots},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/status/dialer_others.go

    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    				_ = syscall.SetsockoptLinger(int(fd), syscall.SOL_SOCKET, syscall.SO_LINGER, &syscall.Linger{Onoff: 1, Linger: 1})
    			})
    		},
    	}
    	return dialer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/dialer_windows.go

    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    				syscall.SetsockoptLinger(syscall.Handle(fd), syscall.SOL_SOCKET, syscall.SO_LINGER, &syscall.Linger{Onoff: 1, Linger: 1})
    			})
    		},
    	}
    	return dialer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.css

    }
    .menu-delete-btn {
      position: absolute;
      right: 2px;
    }
    
    {{/* Used to disable events when a modal dialog is displayed */}}
    #dialog-overlay {
      display: none;
      position: fixed;
      left: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
      background-color: rgba(1,1,1,0.1);
    }
    
    .dialog {
      {{/* Displayed centered horizontally near the top */}}
      display: none;
      position: fixed;
      margin: 0px;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. pkg/test/echo/server/forwarder/util.go

    		return dialer.(hbone.Dialer)
    	}
    	out := &net.Dialer{
    		Timeout: common.ConnectionTimeout,
    	}
    	if cfg.forceDNSLookup {
    		out.Resolver = newResolver(common.ConnectionTimeout, "", "")
    	}
    	return out
    }
    
    func newResolver(timeout time.Duration, protocol, dnsServer string) *net.Resolver {
    	return &net.Resolver{
    		PreferGo: true,
    		Dial: func(ctx context.Context, network, address string) (net.Conn, error) {
    			d := net.Dialer{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/net/tcpsock_unix_test.go

    			cancel()
    		}()
    		go func(i int) {
    			defer wg.Done()
    			var dialer Dialer
    			// Try to connect to a real host on a port
    			// that it is not listening on.
    			_, err := dialer.DialContext(ctx, "tcp", "golang.org:3")
    			if err == nil {
    				t.Errorf("Dial to unbound port succeeded on attempt %d", i)
    			}
    			<-sem
    		}(i)
    	}
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/net/http/transport_default_wasm.go

    // license that can be found in the LICENSE file.
    
    //go:build (js && wasm) || wasip1
    
    package http
    
    import (
    	"context"
    	"net"
    )
    
    func defaultTransportDialContext(dialer *net.Dialer) func(context.Context, string, string) (net.Conn, error) {
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:10 UTC 2023
    - 364 bytes
    - Viewed (0)
Back to top