MCPcopy
hub / github.com/cloudfoundry/cli / Dial

Method Dial

cf/ssh/ssh.go:455–462  ·  view source on GitHub ↗
(network string, address string, config *ssh.ClientConfig)

Source from the content-addressed store, hash-verified

453type secureDialer struct{}
454
455func (d *secureDialer) Dial(network string, address string, config *ssh.ClientConfig) (SecureClient, error) {
456 client, err := ssh.Dial(network, address, config)
457 if err != nil {
458 return nil, err
459 }
460
461 return &secureClient{client: client}, nil
462}
463
464func DefaultSecureDialer() SecureDialer {
465 return &secureDialer{}

Callers

nothing calls this directly

Calls 1

DialMethod · 0.65

Tested by

no test coverage detected