fakes

package
v0.0.0-...-b5002bc Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 5 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 FakeDialer

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

func (*FakeDialer) Dial

func (fake *FakeDialer) Dial(arg1 string, arg2 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) DialCalls

func (fake *FakeDialer) DialCalls(stub func(string, string) (net.Conn, error))

func (*FakeDialer) DialReturns

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

func (*FakeDialer) DialReturnsOnCall

func (fake *FakeDialer) DialReturnsOnCall(i int, result1 net.Conn, result2 error)

func (*FakeDialer) Invocations

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

type FakeRunner

type FakeRunner struct {
	SignalStub func(*exec.Cmd, syscall.Signal) error

	StartStub func(*exec.Cmd) error

	WaitStub func(*exec.Cmd) error
	// contains filtered or unexported fields
}

func (*FakeRunner) Invocations

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

func (*FakeRunner) Signal

func (fake *FakeRunner) Signal(arg1 *exec.Cmd, arg2 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) SignalCalls

func (fake *FakeRunner) SignalCalls(stub func(*exec.Cmd, syscall.Signal) error)

func (*FakeRunner) SignalReturns

func (fake *FakeRunner) SignalReturns(result1 error)

func (*FakeRunner) SignalReturnsOnCall

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

func (*FakeRunner) Start

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

func (*FakeRunner) StartArgsForCall

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

func (*FakeRunner) StartCallCount

func (fake *FakeRunner) StartCallCount() int

func (*FakeRunner) StartCalls

func (fake *FakeRunner) StartCalls(stub func(*exec.Cmd) error)

func (*FakeRunner) StartReturns

func (fake *FakeRunner) StartReturns(result1 error)

func (*FakeRunner) StartReturnsOnCall

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

func (*FakeRunner) Wait

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

func (*FakeRunner) WaitArgsForCall

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

func (*FakeRunner) WaitCallCount

func (fake *FakeRunner) WaitCallCount() int

func (*FakeRunner) WaitCalls

func (fake *FakeRunner) WaitCalls(stub func(*exec.Cmd) error)

func (*FakeRunner) WaitReturns

func (fake *FakeRunner) WaitReturns(result1 error)

func (*FakeRunner) WaitReturnsOnCall

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

type FakeShellLocator

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

func (*FakeShellLocator) Invocations

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

func (*FakeShellLocator) ShellPath

func (fake *FakeShellLocator) ShellPath() string

func (*FakeShellLocator) ShellPathCallCount

func (fake *FakeShellLocator) ShellPathCallCount() int

func (*FakeShellLocator) ShellPathCalls

func (fake *FakeShellLocator) ShellPathCalls(stub func() string)

func (*FakeShellLocator) ShellPathReturns

func (fake *FakeShellLocator) ShellPathReturns(result1 string)

func (*FakeShellLocator) ShellPathReturnsOnCall

func (fake *FakeShellLocator) ShellPathReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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