github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+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 }