commandfakes

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 FakeImpl

type FakeImpl struct {
	CmdPidStub func(*exec.Cmd) uint32

	CmdStartStub func(*exec.Cmd) error

	CmdWaitStub func(*exec.Cmd) error

	CommandStub func(string, ...string) *exec.Cmd

	NotifyStub func(chan<- os.Signal, ...os.Signal)

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

func (*FakeImpl) CmdPid

func (fake *FakeImpl) CmdPid(arg1 *exec.Cmd) uint32

func (*FakeImpl) CmdPidArgsForCall

func (fake *FakeImpl) CmdPidArgsForCall(i int) *exec.Cmd

func (*FakeImpl) CmdPidCallCount

func (fake *FakeImpl) CmdPidCallCount() int

func (*FakeImpl) CmdPidCalls

func (fake *FakeImpl) CmdPidCalls(stub func(*exec.Cmd) uint32)

func (*FakeImpl) CmdPidReturns

func (fake *FakeImpl) CmdPidReturns(result1 uint32)

func (*FakeImpl) CmdPidReturnsOnCall

func (fake *FakeImpl) CmdPidReturnsOnCall(i int, result1 uint32)

func (*FakeImpl) CmdStart

func (fake *FakeImpl) CmdStart(arg1 *exec.Cmd) error

func (*FakeImpl) CmdStartArgsForCall

func (fake *FakeImpl) CmdStartArgsForCall(i int) *exec.Cmd

func (*FakeImpl) CmdStartCallCount

func (fake *FakeImpl) CmdStartCallCount() int

func (*FakeImpl) CmdStartCalls

func (fake *FakeImpl) CmdStartCalls(stub func(*exec.Cmd) error)

func (*FakeImpl) CmdStartReturns

func (fake *FakeImpl) CmdStartReturns(result1 error)

func (*FakeImpl) CmdStartReturnsOnCall

func (fake *FakeImpl) CmdStartReturnsOnCall(i int, result1 error)

func (*FakeImpl) CmdWait

func (fake *FakeImpl) CmdWait(arg1 *exec.Cmd) error

func (*FakeImpl) CmdWaitArgsForCall

func (fake *FakeImpl) CmdWaitArgsForCall(i int) *exec.Cmd

func (*FakeImpl) CmdWaitCallCount

func (fake *FakeImpl) CmdWaitCallCount() int

func (*FakeImpl) CmdWaitCalls

func (fake *FakeImpl) CmdWaitCalls(stub func(*exec.Cmd) error)

func (*FakeImpl) CmdWaitReturns

func (fake *FakeImpl) CmdWaitReturns(result1 error)

func (*FakeImpl) CmdWaitReturnsOnCall

func (fake *FakeImpl) CmdWaitReturnsOnCall(i int, result1 error)

func (*FakeImpl) Command

func (fake *FakeImpl) Command(arg1 string, arg2 ...string) *exec.Cmd

func (*FakeImpl) CommandArgsForCall

func (fake *FakeImpl) CommandArgsForCall(i int) (string, []string)

func (*FakeImpl) CommandCallCount

func (fake *FakeImpl) CommandCallCount() int

func (*FakeImpl) CommandCalls

func (fake *FakeImpl) CommandCalls(stub func(string, ...string) *exec.Cmd)

func (*FakeImpl) CommandReturns

func (fake *FakeImpl) CommandReturns(result1 *exec.Cmd)

func (*FakeImpl) CommandReturnsOnCall

func (fake *FakeImpl) CommandReturnsOnCall(i int, result1 *exec.Cmd)

func (*FakeImpl) Invocations

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

func (*FakeImpl) Notify

func (fake *FakeImpl) Notify(arg1 chan<- os.Signal, arg2 ...os.Signal)

func (*FakeImpl) NotifyArgsForCall

func (fake *FakeImpl) NotifyArgsForCall(i int) (chan<- os.Signal, []os.Signal)

func (*FakeImpl) NotifyCallCount

func (fake *FakeImpl) NotifyCallCount() int

func (*FakeImpl) NotifyCalls

func (fake *FakeImpl) NotifyCalls(stub func(chan<- os.Signal, ...os.Signal))

func (*FakeImpl) Signal

func (fake *FakeImpl) Signal(arg1 *exec.Cmd, arg2 os.Signal) error

func (*FakeImpl) SignalArgsForCall

func (fake *FakeImpl) SignalArgsForCall(i int) (*exec.Cmd, os.Signal)

func (*FakeImpl) SignalCallCount

func (fake *FakeImpl) SignalCallCount() int

func (*FakeImpl) SignalCalls

func (fake *FakeImpl) SignalCalls(stub func(*exec.Cmd, os.Signal) error)

func (*FakeImpl) SignalReturns

func (fake *FakeImpl) SignalReturns(result1 error)

func (*FakeImpl) SignalReturnsOnCall

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

Jump to

Keyboard shortcuts

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