Documentation ¶
Overview ¶
Package mocks provides mocked implmentations of interfaces in client/runner
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeSSHSession
- func (fake *FakeSSHSession) CopyFile(arg1 io.Reader, arg2 string, arg3 string) error
- func (fake *FakeSSHSession) CopyFileArgsForCall(i int) (io.Reader, string, string)
- func (fake *FakeSSHSession) CopyFileCallCount() int
- func (fake *FakeSSHSession) CopyFileCalls(stub func(io.Reader, string, string) error)
- func (fake *FakeSSHSession) CopyFileReturns(result1 error)
- func (fake *FakeSSHSession) CopyFileReturnsOnCall(i int, result1 error)
- func (fake *FakeSSHSession) Invocations() map[string][][]interface{}
- func (fake *FakeSSHSession) Run(arg1 string) (*bytes.Buffer, *bytes.Buffer, error)
- func (fake *FakeSSHSession) RunArgsForCall(i int) string
- func (fake *FakeSSHSession) RunCallCount() int
- func (fake *FakeSSHSession) RunCalls(stub func(string) (*bytes.Buffer, *bytes.Buffer, error))
- func (fake *FakeSSHSession) RunReturns(result1 *bytes.Buffer, result2 *bytes.Buffer, result3 error)
- func (fake *FakeSSHSession) RunReturnsOnCall(i int, result1 *bytes.Buffer, result2 *bytes.Buffer, result3 error)
- func (fake *FakeSSHSession) RunSession(arg1 ...string) error
- func (fake *FakeSSHSession) RunSessionArgsForCall(i int) []string
- func (fake *FakeSSHSession) RunSessionCallCount() int
- func (fake *FakeSSHSession) RunSessionCalls(stub func(...string) error)
- func (fake *FakeSSHSession) RunSessionReturns(result1 error)
- func (fake *FakeSSHSession) RunSessionReturnsOnCall(i int, result1 error)
- func (fake *FakeSSHSession) RunStream(arg1 string, arg2 bool) error
- func (fake *FakeSSHSession) RunStreamArgsForCall(i int) (string, bool)
- func (fake *FakeSSHSession) RunStreamCallCount() int
- func (fake *FakeSSHSession) RunStreamCalls(stub func(string, bool) error)
- func (fake *FakeSSHSession) RunStreamReturns(result1 error)
- func (fake *FakeSSHSession) RunStreamReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSSHSession ¶
type FakeSSHSession struct { CopyFileStub func(io.Reader, string, string) error RunStub func(string) (*bytes.Buffer, *bytes.Buffer, error) RunSessionStub func(...string) error RunStreamStub func(string, bool) error // contains filtered or unexported fields }
func (*FakeSSHSession) CopyFileArgsForCall ¶
func (*FakeSSHSession) CopyFileCallCount ¶
func (fake *FakeSSHSession) CopyFileCallCount() int
func (*FakeSSHSession) CopyFileCalls ¶
func (*FakeSSHSession) CopyFileReturns ¶
func (fake *FakeSSHSession) CopyFileReturns(result1 error)
func (*FakeSSHSession) CopyFileReturnsOnCall ¶
func (fake *FakeSSHSession) CopyFileReturnsOnCall(i int, result1 error)
func (*FakeSSHSession) Invocations ¶
func (fake *FakeSSHSession) Invocations() map[string][][]interface{}
func (*FakeSSHSession) RunArgsForCall ¶
func (fake *FakeSSHSession) RunArgsForCall(i int) string
func (*FakeSSHSession) RunCallCount ¶
func (fake *FakeSSHSession) RunCallCount() int
func (*FakeSSHSession) RunReturns ¶
func (*FakeSSHSession) RunReturnsOnCall ¶
func (*FakeSSHSession) RunSession ¶
func (fake *FakeSSHSession) RunSession(arg1 ...string) error
func (*FakeSSHSession) RunSessionArgsForCall ¶
func (fake *FakeSSHSession) RunSessionArgsForCall(i int) []string
func (*FakeSSHSession) RunSessionCallCount ¶
func (fake *FakeSSHSession) RunSessionCallCount() int
func (*FakeSSHSession) RunSessionCalls ¶
func (fake *FakeSSHSession) RunSessionCalls(stub func(...string) error)
func (*FakeSSHSession) RunSessionReturns ¶
func (fake *FakeSSHSession) RunSessionReturns(result1 error)
func (*FakeSSHSession) RunSessionReturnsOnCall ¶
func (fake *FakeSSHSession) RunSessionReturnsOnCall(i int, result1 error)
func (*FakeSSHSession) RunStream ¶
func (fake *FakeSSHSession) RunStream(arg1 string, arg2 bool) error
func (*FakeSSHSession) RunStreamArgsForCall ¶
func (fake *FakeSSHSession) RunStreamArgsForCall(i int) (string, bool)
func (*FakeSSHSession) RunStreamCallCount ¶
func (fake *FakeSSHSession) RunStreamCallCount() int
func (*FakeSSHSession) RunStreamCalls ¶
func (fake *FakeSSHSession) RunStreamCalls(stub func(string, bool) error)
func (*FakeSSHSession) RunStreamReturns ¶
func (fake *FakeSSHSession) RunStreamReturns(result1 error)
func (*FakeSSHSession) RunStreamReturnsOnCall ¶
func (fake *FakeSSHSession) RunStreamReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.