MCPcopy
hub / github.com/kubernetes/node-problem-detector / Dial

Method Dial

test/e2e/lib/ssh/lib.go:169–172  ·  view source on GitHub ↗
(network, addr string, config *ssh.ClientConfig)

Source from the content-addressed store, hash-verified

167var realTimeoutDialer sshDialer = &timeoutDialer{&realSSHDialer{}, sshDialTimeout}
168
169func (d *timeoutDialer) Dial(network, addr string, config *ssh.ClientConfig) (*ssh.Client, error) {
170 config.Timeout = d.timeout
171 return d.dialer.Dial(network, addr, config)
172}
173
174// RunSSHCommand returns the stdout, stderr, and exit code from running cmd on
175// host as specific user, along with any SSH-level error.

Callers 1

TestTimeoutDialerFunction · 0.95

Calls 1

DialMethod · 0.65

Tested by 1

TestTimeoutDialerFunction · 0.76