Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeDialer
- type FakeSSHSession
- func (fake *FakeSSHSession) Close() error
- func (fake *FakeSSHSession) CloseCallCount() int
- func (fake *FakeSSHSession) CloseReturns(result1 error)
- func (fake *FakeSSHSession) RequestPty(term string, h int, w int, termmodes ssh.TerminalModes) error
- func (fake *FakeSSHSession) RequestPtyArgsForCall(i int) (string, int, int, ssh.TerminalModes)
- func (fake *FakeSSHSession) RequestPtyCallCount() int
- func (fake *FakeSSHSession) RequestPtyReturns(result1 error)
- func (fake *FakeSSHSession) Run(arg1 string) error
- func (fake *FakeSSHSession) RunArgsForCall(i int) string
- func (fake *FakeSSHSession) RunCallCount() int
- func (fake *FakeSSHSession) RunReturns(result1 error)
- func (fake *FakeSSHSession) SendRequest(name string, wantReply bool, payload []byte) (bool, error)
- func (fake *FakeSSHSession) SendRequestArgsForCall(i int) (string, bool, []byte)
- func (fake *FakeSSHSession) SendRequestCallCount() int
- func (fake *FakeSSHSession) SendRequestReturns(result1 bool, result2 error)
- func (fake *FakeSSHSession) Shell() error
- func (fake *FakeSSHSession) ShellCallCount() int
- func (fake *FakeSSHSession) ShellReturns(result1 error)
- func (fake *FakeSSHSession) StderrPipe() (io.Reader, error)
- func (fake *FakeSSHSession) StderrPipeCallCount() int
- func (fake *FakeSSHSession) StderrPipeReturns(result1 io.Reader, result2 error)
- func (fake *FakeSSHSession) StdinPipe() (io.WriteCloser, error)
- func (fake *FakeSSHSession) StdinPipeCallCount() int
- func (fake *FakeSSHSession) StdinPipeReturns(result1 io.WriteCloser, result2 error)
- func (fake *FakeSSHSession) StdoutPipe() (io.Reader, error)
- func (fake *FakeSSHSession) StdoutPipeCallCount() int
- func (fake *FakeSSHSession) StdoutPipeReturns(result1 io.Reader, result2 error)
- func (fake *FakeSSHSession) Wait() error
- func (fake *FakeSSHSession) WaitCallCount() int
- func (fake *FakeSSHSession) WaitReturns(result1 error)
- type FakeSSHSessionFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDialer ¶
type FakeDialer struct { DialStub func(n, addr string) (net.Conn, error) // contains filtered or unexported fields }
func (*FakeDialer) DialArgsForCall ¶
func (fake *FakeDialer) DialArgsForCall(i int) (string, string)
func (*FakeDialer) DialCallCount ¶
func (fake *FakeDialer) DialCallCount() int
func (*FakeDialer) DialReturns ¶
func (fake *FakeDialer) DialReturns(result1 net.Conn, result2 error)
type FakeSSHSession ¶
type FakeSSHSession struct { StdinPipeStub func() (io.WriteCloser, error) StdoutPipeStub func() (io.Reader, error) StderrPipeStub func() (io.Reader, error) SendRequestStub func(name string, wantReply bool, payload []byte) (bool, error) RequestPtyStub func(term string, h, w int, termmodes ssh.TerminalModes) error ShellStub func() error RunStub func(string) error WaitStub func() error CloseStub func() error // contains filtered or unexported fields }
func (*FakeSSHSession) Close ¶
func (fake *FakeSSHSession) Close() error
func (*FakeSSHSession) CloseCallCount ¶
func (fake *FakeSSHSession) CloseCallCount() int
func (*FakeSSHSession) CloseReturns ¶
func (fake *FakeSSHSession) CloseReturns(result1 error)
func (*FakeSSHSession) RequestPty ¶
func (fake *FakeSSHSession) RequestPty(term string, h int, w int, termmodes ssh.TerminalModes) error
func (*FakeSSHSession) RequestPtyArgsForCall ¶
func (fake *FakeSSHSession) RequestPtyArgsForCall(i int) (string, int, int, ssh.TerminalModes)
func (*FakeSSHSession) RequestPtyCallCount ¶
func (fake *FakeSSHSession) RequestPtyCallCount() int
func (*FakeSSHSession) RequestPtyReturns ¶
func (fake *FakeSSHSession) RequestPtyReturns(result1 error)
func (*FakeSSHSession) Run ¶
func (fake *FakeSSHSession) Run(arg1 string) error
func (*FakeSSHSession) RunArgsForCall ¶
func (fake *FakeSSHSession) RunArgsForCall(i int) string
func (*FakeSSHSession) RunCallCount ¶
func (fake *FakeSSHSession) RunCallCount() int
func (*FakeSSHSession) RunReturns ¶
func (fake *FakeSSHSession) RunReturns(result1 error)
func (*FakeSSHSession) SendRequest ¶
func (*FakeSSHSession) SendRequestArgsForCall ¶
func (fake *FakeSSHSession) SendRequestArgsForCall(i int) (string, bool, []byte)
func (*FakeSSHSession) SendRequestCallCount ¶
func (fake *FakeSSHSession) SendRequestCallCount() int
func (*FakeSSHSession) SendRequestReturns ¶
func (fake *FakeSSHSession) SendRequestReturns(result1 bool, result2 error)
func (*FakeSSHSession) Shell ¶
func (fake *FakeSSHSession) Shell() error
func (*FakeSSHSession) ShellCallCount ¶
func (fake *FakeSSHSession) ShellCallCount() int
func (*FakeSSHSession) ShellReturns ¶
func (fake *FakeSSHSession) ShellReturns(result1 error)
func (*FakeSSHSession) StderrPipe ¶
func (fake *FakeSSHSession) StderrPipe() (io.Reader, error)
func (*FakeSSHSession) StderrPipeCallCount ¶
func (fake *FakeSSHSession) StderrPipeCallCount() int
func (*FakeSSHSession) StderrPipeReturns ¶
func (fake *FakeSSHSession) StderrPipeReturns(result1 io.Reader, result2 error)
func (*FakeSSHSession) StdinPipe ¶
func (fake *FakeSSHSession) StdinPipe() (io.WriteCloser, error)
func (*FakeSSHSession) StdinPipeCallCount ¶
func (fake *FakeSSHSession) StdinPipeCallCount() int
func (*FakeSSHSession) StdinPipeReturns ¶
func (fake *FakeSSHSession) StdinPipeReturns(result1 io.WriteCloser, result2 error)
func (*FakeSSHSession) StdoutPipe ¶
func (fake *FakeSSHSession) StdoutPipe() (io.Reader, error)
func (*FakeSSHSession) StdoutPipeCallCount ¶
func (fake *FakeSSHSession) StdoutPipeCallCount() int
func (*FakeSSHSession) StdoutPipeReturns ¶
func (fake *FakeSSHSession) StdoutPipeReturns(result1 io.Reader, result2 error)
func (*FakeSSHSession) Wait ¶
func (fake *FakeSSHSession) Wait() error
func (*FakeSSHSession) WaitCallCount ¶
func (fake *FakeSSHSession) WaitCallCount() int
func (*FakeSSHSession) WaitReturns ¶
func (fake *FakeSSHSession) WaitReturns(result1 error)
type FakeSSHSessionFactory ¶
type FakeSSHSessionFactory struct { NewStub func() (sshapi.SSHSession, error) // contains filtered or unexported fields }
func (*FakeSSHSessionFactory) New ¶
func (fake *FakeSSHSessionFactory) New() (sshapi.SSHSession, error)
func (*FakeSSHSessionFactory) NewCallCount ¶
func (fake *FakeSSHSessionFactory) NewCallCount() int
func (*FakeSSHSessionFactory) NewReturns ¶
func (fake *FakeSSHSessionFactory) NewReturns(result1 sshapi.SSHSession, result2 error)
Click to show internal directories.
Click to hide internal directories.