Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeClient
- func (fake *FakeClient) Forward(localConn io.ReadWriteCloser, remoteAddress string) error
- func (fake *FakeClient) ForwardArgsForCall(i int) (io.ReadWriteCloser, string)
- func (fake *FakeClient) ForwardCallCount() int
- func (fake *FakeClient) ForwardReturns(result1 error)
- func (fake *FakeClient) Open(width int, height int, desirePTY bool) (*sshapi.Session, error)
- func (fake *FakeClient) OpenArgsForCall(i int) (int, int, bool)
- func (fake *FakeClient) OpenCallCount() int
- func (fake *FakeClient) OpenReturns(result1 *sshapi.Session, result2 error)
- type FakeClientDialer
- func (fake *FakeClientDialer) Dial(appName string, instanceIndex int, config *config_package.Config) (ssh.Client, error)
- func (fake *FakeClientDialer) DialArgsForCall(i int) (string, int, *config_package.Config)
- func (fake *FakeClientDialer) DialCallCount() int
- func (fake *FakeClientDialer) DialReturns(result1 ssh.Client, result2 error)
- type FakeListener
- func (fake *FakeListener) Listen(network string, laddr string) (<-chan io.ReadWriteCloser, <-chan error)
- func (fake *FakeListener) ListenArgsForCall(i int) (string, string)
- func (fake *FakeListener) ListenCallCount() int
- func (fake *FakeListener) ListenReturns(result1 <-chan io.ReadWriteCloser, result2 <-chan error)
- type FakeSession
- func (fake *FakeSession) Close() error
- func (fake *FakeSession) CloseCallCount() int
- func (fake *FakeSession) CloseReturns(result1 error)
- func (fake *FakeSession) KeepAlive() (stopChan chan<- struct{})
- func (fake *FakeSession) KeepAliveCallCount() int
- func (fake *FakeSession) KeepAliveReturns(result1 chan<- struct{})
- func (fake *FakeSession) Resize(width int, height int) error
- func (fake *FakeSession) ResizeArgsForCall(i int) (int, int)
- func (fake *FakeSession) ResizeCallCount() int
- func (fake *FakeSession) ResizeReturns(result1 error)
- func (fake *FakeSession) Run(arg1 string) error
- func (fake *FakeSession) RunArgsForCall(i int) string
- func (fake *FakeSession) RunCallCount() int
- func (fake *FakeSession) RunReturns(result1 error)
- func (fake *FakeSession) Shell() error
- func (fake *FakeSession) ShellCallCount() int
- func (fake *FakeSession) ShellReturns(result1 error)
- func (fake *FakeSession) Wait() error
- func (fake *FakeSession) WaitCallCount() int
- func (fake *FakeSession) WaitReturns(result1 error)
- type FakeSessionFactory
- func (fake *FakeSessionFactory) New(client ssh.Client, width int, height int, desirePTY bool) (ssh.Session, error)
- func (fake *FakeSessionFactory) NewArgsForCall(i int) (ssh.Client, int, int, bool)
- func (fake *FakeSessionFactory) NewCallCount() int
- func (fake *FakeSessionFactory) NewReturns(result1 ssh.Session, result2 error)
- type FakeTerm
- func (fake *FakeTerm) GetWinsize(fd uintptr) (width int, height int)
- func (fake *FakeTerm) GetWinsizeArgsForCall(i int) uintptr
- func (fake *FakeTerm) GetWinsizeCallCount() int
- func (fake *FakeTerm) GetWinsizeReturns(result1 int, result2 int)
- func (fake *FakeTerm) IsTTY(fd uintptr) bool
- func (fake *FakeTerm) IsTTYArgsForCall(i int) uintptr
- func (fake *FakeTerm) IsTTYCallCount() int
- func (fake *FakeTerm) IsTTYReturns(result1 bool)
- func (fake *FakeTerm) RestoreTerminal(fd uintptr, state *term.State) error
- func (fake *FakeTerm) RestoreTerminalArgsForCall(i int) (uintptr, *term.State)
- func (fake *FakeTerm) RestoreTerminalCallCount() int
- func (fake *FakeTerm) RestoreTerminalReturns(result1 error)
- func (fake *FakeTerm) SetRawTerminal(fd uintptr) (*term.State, error)
- func (fake *FakeTerm) SetRawTerminalArgsForCall(i int) uintptr
- func (fake *FakeTerm) SetRawTerminalCallCount() int
- func (fake *FakeTerm) SetRawTerminalReturns(result1 *term.State, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { OpenStub func(width, height int, desirePTY bool) (*sshapi.Session, error) ForwardStub func(localConn io.ReadWriteCloser, remoteAddress string) error // contains filtered or unexported fields }
func (*FakeClient) Forward ¶
func (fake *FakeClient) Forward(localConn io.ReadWriteCloser, remoteAddress string) error
func (*FakeClient) ForwardArgsForCall ¶
func (fake *FakeClient) ForwardArgsForCall(i int) (io.ReadWriteCloser, string)
func (*FakeClient) ForwardCallCount ¶
func (fake *FakeClient) ForwardCallCount() int
func (*FakeClient) ForwardReturns ¶
func (fake *FakeClient) ForwardReturns(result1 error)
func (*FakeClient) OpenArgsForCall ¶
func (fake *FakeClient) OpenArgsForCall(i int) (int, int, bool)
func (*FakeClient) OpenCallCount ¶
func (fake *FakeClient) OpenCallCount() int
func (*FakeClient) OpenReturns ¶
func (fake *FakeClient) OpenReturns(result1 *sshapi.Session, result2 error)
type FakeClientDialer ¶
type FakeClientDialer struct { DialStub func(appName string, instanceIndex int, config *config_package.Config) (ssh.Client, error) // contains filtered or unexported fields }
func (*FakeClientDialer) Dial ¶
func (fake *FakeClientDialer) Dial(appName string, instanceIndex int, config *config_package.Config) (ssh.Client, error)
func (*FakeClientDialer) DialArgsForCall ¶
func (fake *FakeClientDialer) DialArgsForCall(i int) (string, int, *config_package.Config)
func (*FakeClientDialer) DialCallCount ¶
func (fake *FakeClientDialer) DialCallCount() int
func (*FakeClientDialer) DialReturns ¶
func (fake *FakeClientDialer) DialReturns(result1 ssh.Client, result2 error)
type FakeListener ¶
type FakeListener struct { ListenStub func(network, laddr string) (<-chan io.ReadWriteCloser, <-chan error) // contains filtered or unexported fields }
func (*FakeListener) Listen ¶
func (fake *FakeListener) Listen(network string, laddr string) (<-chan io.ReadWriteCloser, <-chan error)
func (*FakeListener) ListenArgsForCall ¶
func (fake *FakeListener) ListenArgsForCall(i int) (string, string)
func (*FakeListener) ListenCallCount ¶
func (fake *FakeListener) ListenCallCount() int
func (*FakeListener) ListenReturns ¶
func (fake *FakeListener) ListenReturns(result1 <-chan io.ReadWriteCloser, result2 <-chan error)
type FakeSession ¶
type FakeSession struct { KeepAliveStub func() (stopChan chan<- struct{}) ResizeStub func(width, height int) error ShellStub func() error RunStub func(string) error WaitStub func() error CloseStub func() error // contains filtered or unexported fields }
func (*FakeSession) Close ¶
func (fake *FakeSession) Close() error
func (*FakeSession) CloseCallCount ¶
func (fake *FakeSession) CloseCallCount() int
func (*FakeSession) CloseReturns ¶
func (fake *FakeSession) CloseReturns(result1 error)
func (*FakeSession) KeepAlive ¶
func (fake *FakeSession) KeepAlive() (stopChan chan<- struct{})
func (*FakeSession) KeepAliveCallCount ¶
func (fake *FakeSession) KeepAliveCallCount() int
func (*FakeSession) KeepAliveReturns ¶
func (fake *FakeSession) KeepAliveReturns(result1 chan<- struct{})
func (*FakeSession) ResizeArgsForCall ¶
func (fake *FakeSession) ResizeArgsForCall(i int) (int, int)
func (*FakeSession) ResizeCallCount ¶
func (fake *FakeSession) ResizeCallCount() int
func (*FakeSession) ResizeReturns ¶
func (fake *FakeSession) ResizeReturns(result1 error)
func (*FakeSession) Run ¶
func (fake *FakeSession) Run(arg1 string) error
func (*FakeSession) RunArgsForCall ¶
func (fake *FakeSession) RunArgsForCall(i int) string
func (*FakeSession) RunCallCount ¶
func (fake *FakeSession) RunCallCount() int
func (*FakeSession) RunReturns ¶
func (fake *FakeSession) RunReturns(result1 error)
func (*FakeSession) Shell ¶
func (fake *FakeSession) Shell() error
func (*FakeSession) ShellCallCount ¶
func (fake *FakeSession) ShellCallCount() int
func (*FakeSession) ShellReturns ¶
func (fake *FakeSession) ShellReturns(result1 error)
func (*FakeSession) Wait ¶
func (fake *FakeSession) Wait() error
func (*FakeSession) WaitCallCount ¶
func (fake *FakeSession) WaitCallCount() int
func (*FakeSession) WaitReturns ¶
func (fake *FakeSession) WaitReturns(result1 error)
type FakeSessionFactory ¶
type FakeSessionFactory struct { NewStub func(client ssh.Client, width, height int, desirePTY bool) (ssh.Session, error) // contains filtered or unexported fields }
func (*FakeSessionFactory) NewArgsForCall ¶
func (*FakeSessionFactory) NewCallCount ¶
func (fake *FakeSessionFactory) NewCallCount() int
func (*FakeSessionFactory) NewReturns ¶
func (fake *FakeSessionFactory) NewReturns(result1 ssh.Session, result2 error)
type FakeTerm ¶
type FakeTerm struct { SetRawTerminalStub func(fd uintptr) (*term.State, error) RestoreTerminalStub func(fd uintptr, state *term.State) error GetWinsizeStub func(fd uintptr) (width int, height int) IsTTYStub func(fd uintptr) bool // contains filtered or unexported fields }
func (*FakeTerm) GetWinsizeArgsForCall ¶
func (*FakeTerm) GetWinsizeCallCount ¶
func (*FakeTerm) GetWinsizeReturns ¶
func (*FakeTerm) IsTTYArgsForCall ¶
func (*FakeTerm) IsTTYCallCount ¶
func (*FakeTerm) IsTTYReturns ¶
func (*FakeTerm) RestoreTerminal ¶
func (*FakeTerm) RestoreTerminalArgsForCall ¶
func (*FakeTerm) RestoreTerminalCallCount ¶
func (*FakeTerm) RestoreTerminalReturns ¶
func (*FakeTerm) SetRawTerminal ¶
func (*FakeTerm) SetRawTerminalArgsForCall ¶
func (*FakeTerm) SetRawTerminalCallCount ¶
Click to show internal directories.
Click to hide internal directories.