fakes

package
v0.0.0-...-9bf9460 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2015 License: Apache-2.0 Imports: 5 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 FakeDialer

type FakeDialer struct {
	DialStub func(net, addr string) (net.Conn, error)
	// contains filtered or unexported fields
}

func (*FakeDialer) Dial

func (fake *FakeDialer) Dial(net string, addr string) (net.Conn, error)

func (*FakeDialer) DialArgsForCall

func (fake *FakeDialer) DialArgsForCall(i int) (string, string)

func (*FakeDialer) DialCallCount

func (fake *FakeDialer) DialCallCount() int

func (*FakeDialer) DialReturns

func (fake *FakeDialer) DialReturns(result1 net.Conn, result2 error)

type FakeRunner

type FakeRunner struct {
	StartStub func(cmd *exec.Cmd) error

	WaitStub func(cmd *exec.Cmd) error

	SignalStub func(cmd *exec.Cmd, signal syscall.Signal) error
	// contains filtered or unexported fields
}

func (*FakeRunner) Signal

func (fake *FakeRunner) Signal(cmd *exec.Cmd, signal syscall.Signal) error

func (*FakeRunner) SignalArgsForCall

func (fake *FakeRunner) SignalArgsForCall(i int) (*exec.Cmd, syscall.Signal)

func (*FakeRunner) SignalCallCount

func (fake *FakeRunner) SignalCallCount() int

func (*FakeRunner) SignalReturns

func (fake *FakeRunner) SignalReturns(result1 error)

func (*FakeRunner) Start

func (fake *FakeRunner) Start(cmd *exec.Cmd) error

func (*FakeRunner) StartArgsForCall

func (fake *FakeRunner) StartArgsForCall(i int) *exec.Cmd

func (*FakeRunner) StartCallCount

func (fake *FakeRunner) StartCallCount() int

func (*FakeRunner) StartReturns

func (fake *FakeRunner) StartReturns(result1 error)

func (*FakeRunner) Wait

func (fake *FakeRunner) Wait(cmd *exec.Cmd) error

func (*FakeRunner) WaitArgsForCall

func (fake *FakeRunner) WaitArgsForCall(i int) *exec.Cmd

func (*FakeRunner) WaitCallCount

func (fake *FakeRunner) WaitCallCount() int

func (*FakeRunner) WaitReturns

func (fake *FakeRunner) WaitReturns(result1 error)

type FakeShellLocator

type FakeShellLocator struct {
	ShellPathStub func() string
	// contains filtered or unexported fields
}

func (*FakeShellLocator) ShellPath

func (fake *FakeShellLocator) ShellPath() string

func (*FakeShellLocator) ShellPathCallCount

func (fake *FakeShellLocator) ShellPathCallCount() int

func (*FakeShellLocator) ShellPathReturns

func (fake *FakeShellLocator) ShellPathReturns(result1 string)

Jump to

Keyboard shortcuts

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