MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Close

Method Close

util/clissh/ssh.go:80–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func (c *SecureShell) Close() error {
81 for _, listener := range c.localListeners {
82 listener.Close()
83 }
84 return c.secureClient.Close()
85}
86
87func (c *SecureShell) Connect(username string, passcode string, appSSHEndpoint string, appSSHHostKeyFingerprint string, skipHostValidation bool) error {
88 hostKeyCallbackFunction := fingerprintCallback(skipHostValidation, appSSHHostKeyFingerprint)

Callers

nothing calls this directly

Implementers 4

secureShellcf/ssh/ssh.go
FakeSecureShellcf/ssh/sshfakes/fake_secure_shell.go
FakeSecureShellClientactor/sharedaction/sharedactionfakes/f
SecureShellutil/clissh/ssh.go

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected