fakes

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Run

func (fake *FakeSSHConnection) Run(cmd string) ([]byte, []byte, int, error)

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 (fake *FakeSSHConnection) RunReturnsOnCall(i int, result1 []byte, result2 []byte, result3 int, result4 error)

func (*FakeSSHConnection) Stream

func (fake *FakeSSHConnection) Stream(cmd string, writer io.Writer) ([]byte, int, error)

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 (fake *FakeSSHConnection) StreamStdin(cmd string, reader io.Reader) ([]byte, []byte, int, error)

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

func (fake *FakeSSHConnection) StreamStdinReturnsOnCall(i int, result1 []byte, result2 []byte, result3 int, result4 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL