github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/actor/sharedaction/secure_shell_client.go (about) 1 package sharedaction 2 3 import "code.cloudfoundry.org/cli/util/clissh" 4 5 //go:generate counterfeiter . SecureShellClient 6 7 type SecureShellClient interface { 8 Connect(username string, passcode string, sshEndpoint string, sshHostKeyFingerprint string, skipHostValidation bool) error 9 Close() error 10 InteractiveSession(commands []string, terminalRequest clissh.TTYRequest) error 11 LocalPortForward(localPortForwardSpecs []clissh.LocalPortForward) error 12 Wait() error 13 }