sshfakes

package
v5.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 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

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

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

type FakeSession

type FakeSession struct {
	StartStub func() (ssh.SSHArgs, 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

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() (ssh.SSHArgs, error)

func (*FakeSession) StartCallCount

func (fake *FakeSession) StartCallCount() int

func (*FakeSession) StartReturns

func (fake *FakeSession) StartReturns(result1 ssh.SSHArgs, result2 error)

func (*FakeSession) StartReturnsOnCall

func (fake *FakeSession) StartReturnsOnCall(i int, result1 ssh.SSHArgs, result2 error)

Jump to

Keyboard shortcuts

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