Documentation
¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeCmd
- func (fake *FakeCmd) CombinedOutput() ([]byte, error)
- func (fake *FakeCmd) CombinedOutputCallCount() int
- func (fake *FakeCmd) CombinedOutputReturns(result1 []byte, result2 error)
- func (fake *FakeCmd) Invocations() map[string][][]interface{}
- func (fake *FakeCmd) Run() error
- func (fake *FakeCmd) RunCallCount() int
- func (fake *FakeCmd) RunReturns(result1 error)
- func (fake *FakeCmd) Start() error
- func (fake *FakeCmd) StartCallCount() int
- func (fake *FakeCmd) StartReturns(result1 error)
- func (fake *FakeCmd) StderrPipe() (io.ReadCloser, error)
- func (fake *FakeCmd) StderrPipeCallCount() int
- func (fake *FakeCmd) StderrPipeReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeCmd) StdoutPipe() (io.ReadCloser, error)
- func (fake *FakeCmd) StdoutPipeCallCount() int
- func (fake *FakeCmd) StdoutPipeReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeCmd) SysProcAttr() *syscall.SysProcAttr
- func (fake *FakeCmd) SysProcAttrCallCount() int
- func (fake *FakeCmd) SysProcAttrReturns(result1 *syscall.SysProcAttr)
- func (fake *FakeCmd) Wait() error
- func (fake *FakeCmd) WaitCallCount() int
- func (fake *FakeCmd) WaitReturns(result1 error)
- type FakeExec
- func (fake *FakeExec) Command(name string, arg ...string) execshim.Cmd
- func (fake *FakeExec) CommandArgsForCall(i int) (string, []string)
- func (fake *FakeExec) CommandCallCount() int
- func (fake *FakeExec) CommandContext(ctx context.Context, name string, arg ...string) execshim.Cmd
- func (fake *FakeExec) CommandContextArgsForCall(i int) (context.Context, string, []string)
- func (fake *FakeExec) CommandContextCallCount() int
- func (fake *FakeExec) CommandContextReturns(result1 execshim.Cmd)
- func (fake *FakeExec) CommandReturns(result1 execshim.Cmd)
- func (fake *FakeExec) Invocations() map[string][][]interface{}
- func (fake *FakeExec) LookPath(file string) (string, error)
- func (fake *FakeExec) LookPathArgsForCall(i int) string
- func (fake *FakeExec) LookPathCallCount() int
- func (fake *FakeExec) LookPathReturns(result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCmd ¶
type FakeCmd struct {
StartStub func() error
StdoutPipeStub func() (io.ReadCloser, error)
StderrPipeStub func() (io.ReadCloser, error)
WaitStub func() error
RunStub func() error
CombinedOutputStub func() ([]byte, error)
SysProcAttrStub func() *syscall.SysProcAttr
// contains filtered or unexported fields
}
func (*FakeCmd) CombinedOutput ¶
func (*FakeCmd) CombinedOutputCallCount ¶
func (*FakeCmd) CombinedOutputReturns ¶
func (*FakeCmd) Invocations ¶
func (*FakeCmd) RunCallCount ¶
func (*FakeCmd) RunReturns ¶
func (*FakeCmd) StartCallCount ¶
func (*FakeCmd) StartReturns ¶
func (*FakeCmd) StderrPipe ¶
func (fake *FakeCmd) StderrPipe() (io.ReadCloser, error)
func (*FakeCmd) StderrPipeCallCount ¶
func (*FakeCmd) StderrPipeReturns ¶
func (fake *FakeCmd) StderrPipeReturns(result1 io.ReadCloser, result2 error)
func (*FakeCmd) StdoutPipe ¶
func (fake *FakeCmd) StdoutPipe() (io.ReadCloser, error)
func (*FakeCmd) StdoutPipeCallCount ¶
func (*FakeCmd) StdoutPipeReturns ¶
func (fake *FakeCmd) StdoutPipeReturns(result1 io.ReadCloser, result2 error)
func (*FakeCmd) SysProcAttr ¶
func (fake *FakeCmd) SysProcAttr() *syscall.SysProcAttr
func (*FakeCmd) SysProcAttrCallCount ¶
func (*FakeCmd) SysProcAttrReturns ¶
func (fake *FakeCmd) SysProcAttrReturns(result1 *syscall.SysProcAttr)
func (*FakeCmd) WaitCallCount ¶
func (*FakeCmd) WaitReturns ¶
type FakeExec ¶
type FakeExec struct {
CommandStub func(name string, arg ...string) execshim.Cmd
CommandContextStub func(ctx context.Context, name string, arg ...string) execshim.Cmd
LookPathStub func(file string) (string, error)
// contains filtered or unexported fields
}
func (*FakeExec) CommandArgsForCall ¶
func (*FakeExec) CommandCallCount ¶
func (*FakeExec) CommandContext ¶
func (*FakeExec) CommandContextArgsForCall ¶
func (*FakeExec) CommandContextCallCount ¶
func (*FakeExec) CommandContextReturns ¶
func (*FakeExec) CommandReturns ¶
func (*FakeExec) Invocations ¶
func (*FakeExec) LookPathArgsForCall ¶
func (*FakeExec) LookPathCallCount ¶
func (*FakeExec) LookPathReturns ¶
Click to show internal directories.
Click to hide internal directories.