github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+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 }