"golang.org/x/crypto/ssh" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) var _ = Describe("Diego SSH Plugin", func() { var ( fakeTerminalHelper *terminal_helper_fakes.FakeTerminalHelper fakeListenerFactory *fakes.FakeListenerFactory fakeAppFactory *app_fakes.FakeAppFactory fakeInfoFactory *info_fakes.FakeInfoFactory fakeCredFactory *credential_fakes.FakeCredentialFactory fakeConnection *fake_ssh.FakeConn fakeSecureClient *fakes.FakeSecureClient fakeSecureDialer *fakes.FakeSecureDialer fakeSecureSession *fakes.FakeSecureSession terminalHelper terminal.TerminalHelper keepAliveDuration time.Duration secureShell cmd.SecureShell stdinPipe *fake_io.FakeWriteCloser ) BeforeEach(func() { fakeTerminalHelper = &terminal_helper_fakes.FakeTerminalHelper{} terminalHelper = terminal.DefaultHelper() fakeListenerFactory = &fakes.FakeListenerFactory{} fakeListenerFactory.ListenStub = net.Listen