sshfakes

package
v2.0.23+incompatible Latest Latest
Warning

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

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

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

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

func (fake *FakeRunner) RunReturns(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) RunReturns

func (fake *FakeSCPRunner) RunReturns(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) 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)

Jump to

Keyboard shortcuts

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