Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeJobFinder
- func (fake *FakeJobFinder) FindJobs(hostIdentifier string, connection instance.SSHConnection) (instance.Jobs, error)
- func (fake *FakeJobFinder) FindJobsArgsForCall(i int) (string, instance.SSHConnection)
- func (fake *FakeJobFinder) FindJobsCallCount() int
- func (fake *FakeJobFinder) FindJobsReturns(result1 instance.Jobs, result2 error)
- func (fake *FakeJobFinder) FindJobsReturnsOnCall(i int, result1 instance.Jobs, result2 error)
- func (fake *FakeJobFinder) Invocations() map[string][][]interface{}
- type FakeLogger
- func (fake *FakeLogger) Debug(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) DebugArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) DebugCallCount() int
- func (fake *FakeLogger) Error(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) ErrorArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) ErrorCallCount() int
- func (fake *FakeLogger) Info(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) InfoArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) InfoCallCount() int
- func (fake *FakeLogger) Invocations() map[string][][]interface{}
- type FakeSSHConnection
- func (fake *FakeSSHConnection) Invocations() map[string][][]interface{}
- func (fake *FakeSSHConnection) Run(cmd string) ([]byte, []byte, int, error)
- func (fake *FakeSSHConnection) RunArgsForCall(i int) string
- func (fake *FakeSSHConnection) RunCallCount() int
- func (fake *FakeSSHConnection) RunReturns(result1 []byte, result2 []byte, result3 int, result4 error)
- func (fake *FakeSSHConnection) RunReturnsOnCall(i int, result1 []byte, result2 []byte, result3 int, result4 error)
- func (fake *FakeSSHConnection) Stream(cmd string, writer io.Writer) ([]byte, int, error)
- func (fake *FakeSSHConnection) StreamArgsForCall(i int) (string, io.Writer)
- func (fake *FakeSSHConnection) StreamCallCount() int
- func (fake *FakeSSHConnection) StreamReturns(result1 []byte, result2 int, result3 error)
- func (fake *FakeSSHConnection) StreamReturnsOnCall(i int, result1 []byte, result2 int, result3 error)
- func (fake *FakeSSHConnection) StreamStdin(cmd string, reader io.Reader) ([]byte, []byte, int, error)
- func (fake *FakeSSHConnection) StreamStdinArgsForCall(i int) (string, io.Reader)
- func (fake *FakeSSHConnection) StreamStdinCallCount() int
- func (fake *FakeSSHConnection) StreamStdinReturns(result1 []byte, result2 []byte, result3 int, result4 error)
- func (fake *FakeSSHConnection) StreamStdinReturnsOnCall(i int, result1 []byte, result2 []byte, result3 int, result4 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeJobFinder ¶
type FakeJobFinder struct { FindJobsStub func(hostIdentifier string, connection instance.SSHConnection) (instance.Jobs, error) // contains filtered or unexported fields }
func (*FakeJobFinder) FindJobs ¶
func (fake *FakeJobFinder) FindJobs(hostIdentifier string, connection instance.SSHConnection) (instance.Jobs, error)
func (*FakeJobFinder) FindJobsArgsForCall ¶
func (fake *FakeJobFinder) FindJobsArgsForCall(i int) (string, instance.SSHConnection)
func (*FakeJobFinder) FindJobsCallCount ¶
func (fake *FakeJobFinder) FindJobsCallCount() int
func (*FakeJobFinder) FindJobsReturns ¶
func (fake *FakeJobFinder) FindJobsReturns(result1 instance.Jobs, result2 error)
func (*FakeJobFinder) FindJobsReturnsOnCall ¶
func (fake *FakeJobFinder) FindJobsReturnsOnCall(i int, result1 instance.Jobs, result2 error)
func (*FakeJobFinder) Invocations ¶
func (fake *FakeJobFinder) Invocations() map[string][][]interface{}
type FakeLogger ¶
type FakeLogger struct { DebugStub func(tag, msg string, args ...interface{}) InfoStub func(tag, msg string, args ...interface{}) ErrorStub func(tag, msg string, args ...interface{}) // contains filtered or unexported fields }
func (*FakeLogger) Debug ¶
func (fake *FakeLogger) Debug(tag string, msg string, args ...interface{})
func (*FakeLogger) DebugArgsForCall ¶
func (fake *FakeLogger) DebugArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) DebugCallCount ¶
func (fake *FakeLogger) DebugCallCount() int
func (*FakeLogger) Error ¶
func (fake *FakeLogger) Error(tag string, msg string, args ...interface{})
func (*FakeLogger) ErrorArgsForCall ¶
func (fake *FakeLogger) ErrorArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) ErrorCallCount ¶
func (fake *FakeLogger) ErrorCallCount() int
func (*FakeLogger) Info ¶
func (fake *FakeLogger) Info(tag string, msg string, args ...interface{})
func (*FakeLogger) InfoArgsForCall ¶
func (fake *FakeLogger) InfoArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) InfoCallCount ¶
func (fake *FakeLogger) InfoCallCount() int
func (*FakeLogger) Invocations ¶
func (fake *FakeLogger) Invocations() map[string][][]interface{}
type FakeSSHConnection ¶
type FakeSSHConnection struct { StreamStub func(cmd string, writer io.Writer) ([]byte, int, error) StreamStdinStub func(cmd string, reader io.Reader) ([]byte, []byte, int, error) RunStub func(cmd string) ([]byte, []byte, int, error) // contains filtered or unexported fields }
func (*FakeSSHConnection) Invocations ¶
func (fake *FakeSSHConnection) Invocations() map[string][][]interface{}
func (*FakeSSHConnection) RunArgsForCall ¶
func (fake *FakeSSHConnection) RunArgsForCall(i int) string
func (*FakeSSHConnection) RunCallCount ¶
func (fake *FakeSSHConnection) RunCallCount() int
func (*FakeSSHConnection) RunReturns ¶
func (fake *FakeSSHConnection) RunReturns(result1 []byte, result2 []byte, result3 int, result4 error)
func (*FakeSSHConnection) RunReturnsOnCall ¶
func (*FakeSSHConnection) StreamArgsForCall ¶
func (fake *FakeSSHConnection) StreamArgsForCall(i int) (string, io.Writer)
func (*FakeSSHConnection) StreamCallCount ¶
func (fake *FakeSSHConnection) StreamCallCount() int
func (*FakeSSHConnection) StreamReturns ¶
func (fake *FakeSSHConnection) StreamReturns(result1 []byte, result2 int, result3 error)
func (*FakeSSHConnection) StreamReturnsOnCall ¶
func (fake *FakeSSHConnection) StreamReturnsOnCall(i int, result1 []byte, result2 int, result3 error)
func (*FakeSSHConnection) StreamStdin ¶
func (*FakeSSHConnection) StreamStdinArgsForCall ¶
func (fake *FakeSSHConnection) StreamStdinArgsForCall(i int) (string, io.Reader)
func (*FakeSSHConnection) StreamStdinCallCount ¶
func (fake *FakeSSHConnection) StreamStdinCallCount() int
func (*FakeSSHConnection) StreamStdinReturns ¶
func (fake *FakeSSHConnection) StreamStdinReturns(result1 []byte, result2 []byte, result3 int, result4 error)
func (*FakeSSHConnection) StreamStdinReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.