sshfakes

package
v2.0.40 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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 FakeRunner

type FakeRunner struct {
	RunStub func(ssh.ConnectionOpts, boshdir.SSHResult, []string) error
	// contains filtered or unexported fields
}

func (*FakeRunner) Invocations

func (fake *FakeRunner) Invocations() map[string][][]interface{}

func (*FakeRunner) Run

func (fake *FakeRunner) Run(arg1 ssh.ConnectionOpts, arg2 boshdir.SSHResult, arg3 []string) error

func (*FakeRunner) RunArgsForCall

func (fake *FakeRunner) RunArgsForCall(i int) (ssh.ConnectionOpts, boshdir.SSHResult, []string)

func (*FakeRunner) RunCallCount

func (fake *FakeRunner) RunCallCount() int

func (*FakeRunner) RunReturns

func (fake *FakeRunner) RunReturns(result1 error)

func (*FakeRunner) RunReturnsOnCall added in v2.0.30

func (fake *FakeRunner) RunReturnsOnCall(i int, result1 error)

type FakeSCPRunner

type FakeSCPRunner struct {
	RunStub func(ssh.ConnectionOpts, boshdir.SSHResult, ssh.SCPArgs) error
	// contains filtered or unexported fields
}

func (*FakeSCPRunner) Invocations

func (fake *FakeSCPRunner) Invocations() map[string][][]interface{}

func (*FakeSCPRunner) Run

func (fake *FakeSCPRunner) Run(arg1 ssh.ConnectionOpts, arg2 boshdir.SSHResult, arg3 ssh.SCPArgs) error

func (*FakeSCPRunner) RunArgsForCall

func (fake *FakeSCPRunner) RunArgsForCall(i int) (ssh.ConnectionOpts, boshdir.SSHResult, ssh.SCPArgs)

func (*FakeSCPRunner) RunCallCount

func (fake *FakeSCPRunner) RunCallCount() int

func (*FakeSCPRunner) RunReturns

func (fake *FakeSCPRunner) RunReturns(result1 error)

func (*FakeSCPRunner) RunReturnsOnCall added in v2.0.30

func (fake *FakeSCPRunner) RunReturnsOnCall(i int, result1 error)

type FakeSession

type FakeSession struct {
	StartStub func() ([]string, error)

	FinishStub func() error
	// contains filtered or unexported fields
}

func (*FakeSession) Finish

func (fake *FakeSession) Finish() error

func (*FakeSession) FinishCallCount

func (fake *FakeSession) FinishCallCount() int

func (*FakeSession) FinishReturns

func (fake *FakeSession) FinishReturns(result1 error)

func (*FakeSession) FinishReturnsOnCall added in v2.0.30

func (fake *FakeSession) FinishReturnsOnCall(i int, result1 error)

func (*FakeSession) Invocations

func (fake *FakeSession) Invocations() map[string][][]interface{}

func (*FakeSession) Start

func (fake *FakeSession) Start() ([]string, error)

func (*FakeSession) StartCallCount

func (fake *FakeSession) StartCallCount() int

func (*FakeSession) StartReturns

func (fake *FakeSession) StartReturns(result1 []string, result2 error)

func (*FakeSession) StartReturnsOnCall added in v2.0.30

func (fake *FakeSession) StartReturnsOnCall(i int, result1 []string, result2 error)

Jump to

Keyboard shortcuts

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