sshfakes

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 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, director.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 director.SSHResult, arg3 []string) error

func (*FakeRunner) RunArgsForCall

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

func (*FakeRunner) RunCallCount

func (fake *FakeRunner) RunCallCount() int

func (*FakeRunner) RunCalls

func (fake *FakeRunner) RunCalls(stub func(ssh.ConnectionOpts, director.SSHResult, []string) error)

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, director.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 director.SSHResult, arg3 ssh.SCPArgs) error

func (*FakeSCPRunner) RunArgsForCall

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

func (*FakeSCPRunner) RunCallCount

func (fake *FakeSCPRunner) RunCallCount() int

func (*FakeSCPRunner) RunCalls

func (fake *FakeSCPRunner) RunCalls(stub func(ssh.ConnectionOpts, director.SSHResult, ssh.SCPArgs) error)

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 {
	FinishStub func() error

	StartStub func() (ssh.SSHArgs, error)
	// contains filtered or unexported fields
}

func (*FakeSession) Finish

func (fake *FakeSession) Finish() error

func (*FakeSession) FinishCallCount

func (fake *FakeSession) FinishCallCount() int

func (*FakeSession) FinishCalls

func (fake *FakeSession) FinishCalls(stub func() error)

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

func (fake *FakeSession) StartCalls(stub func() (ssh.SSHArgs, error))

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