Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCmd
- func (fake *FakeCmd) CombinedOutput() ([]byte, error)
- func (fake *FakeCmd) CombinedOutputCallCount() int
- func (fake *FakeCmd) CombinedOutputCalls(stub func() ([]byte, error))
- func (fake *FakeCmd) CombinedOutputReturns(result1 []byte, result2 error)
- func (fake *FakeCmd) CombinedOutputReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeCmd) Invocations() map[string][][]interface{}
- func (fake *FakeCmd) Pid() int
- func (fake *FakeCmd) PidCallCount() int
- func (fake *FakeCmd) PidCalls(stub func() int)
- func (fake *FakeCmd) PidReturns(result1 int)
- func (fake *FakeCmd) PidReturnsOnCall(i int, result1 int)
- func (fake *FakeCmd) Run() error
- func (fake *FakeCmd) RunCallCount() int
- func (fake *FakeCmd) RunCalls(stub func() error)
- func (fake *FakeCmd) RunReturns(result1 error)
- func (fake *FakeCmd) RunReturnsOnCall(i int, result1 error)
- func (fake *FakeCmd) SetEnv(arg1 []string)
- func (fake *FakeCmd) SetEnvArgsForCall(i int) []string
- func (fake *FakeCmd) SetEnvCallCount() int
- func (fake *FakeCmd) SetEnvCalls(stub func([]string))
- func (fake *FakeCmd) SetStderr(arg1 io.Writer)
- func (fake *FakeCmd) SetStderrArgsForCall(i int) io.Writer
- func (fake *FakeCmd) SetStderrCallCount() int
- func (fake *FakeCmd) SetStderrCalls(stub func(io.Writer))
- func (fake *FakeCmd) SetStdin(arg1 io.Reader)
- func (fake *FakeCmd) SetStdinArgsForCall(i int) io.Reader
- func (fake *FakeCmd) SetStdinCallCount() int
- func (fake *FakeCmd) SetStdinCalls(stub func(io.Reader))
- func (fake *FakeCmd) SetStdout(arg1 io.Writer)
- func (fake *FakeCmd) SetStdoutArgsForCall(i int) io.Writer
- func (fake *FakeCmd) SetStdoutCallCount() int
- func (fake *FakeCmd) SetStdoutCalls(stub func(io.Writer))
- func (fake *FakeCmd) Start() error
- func (fake *FakeCmd) StartCallCount() int
- func (fake *FakeCmd) StartCalls(stub func() error)
- func (fake *FakeCmd) StartReturns(result1 error)
- func (fake *FakeCmd) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeCmd) StderrPipe() (io.ReadCloser, error)
- func (fake *FakeCmd) StderrPipeCallCount() int
- func (fake *FakeCmd) StderrPipeCalls(stub func() (io.ReadCloser, error))
- func (fake *FakeCmd) StderrPipeReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeCmd) StderrPipeReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *FakeCmd) StdoutPipe() (io.ReadCloser, error)
- func (fake *FakeCmd) StdoutPipeCallCount() int
- func (fake *FakeCmd) StdoutPipeCalls(stub func() (io.ReadCloser, error))
- func (fake *FakeCmd) StdoutPipeReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeCmd) StdoutPipeReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *FakeCmd) SysProcAttr() *syscall.SysProcAttr
- func (fake *FakeCmd) SysProcAttrCallCount() int
- func (fake *FakeCmd) SysProcAttrCalls(stub func() *syscall.SysProcAttr)
- func (fake *FakeCmd) SysProcAttrReturns(result1 *syscall.SysProcAttr)
- func (fake *FakeCmd) SysProcAttrReturnsOnCall(i int, result1 *syscall.SysProcAttr)
- func (fake *FakeCmd) Wait() error
- func (fake *FakeCmd) WaitCallCount() int
- func (fake *FakeCmd) WaitCalls(stub func() error)
- func (fake *FakeCmd) WaitReturns(result1 error)
- func (fake *FakeCmd) WaitReturnsOnCall(i int, result1 error)
- type FakeExec
- func (fake *FakeExec) Command(arg1 string, arg2 ...string) execshim.Cmd
- func (fake *FakeExec) CommandArgsForCall(i int) (string, []string)
- func (fake *FakeExec) CommandCallCount() int
- func (fake *FakeExec) CommandCalls(stub func(string, ...string) execshim.Cmd)
- func (fake *FakeExec) CommandContext(arg1 context.Context, arg2 string, arg3 ...string) execshim.Cmd
- func (fake *FakeExec) CommandContextArgsForCall(i int) (context.Context, string, []string)
- func (fake *FakeExec) CommandContextCallCount() int
- func (fake *FakeExec) CommandContextCalls(stub func(context.Context, string, ...string) execshim.Cmd)
- func (fake *FakeExec) CommandContextReturns(result1 execshim.Cmd)
- func (fake *FakeExec) CommandContextReturnsOnCall(i int, result1 execshim.Cmd)
- func (fake *FakeExec) CommandReturns(result1 execshim.Cmd)
- func (fake *FakeExec) CommandReturnsOnCall(i int, result1 execshim.Cmd)
- func (fake *FakeExec) Invocations() map[string][][]interface{}
- func (fake *FakeExec) LookPath(arg1 string) (string, error)
- func (fake *FakeExec) LookPathArgsForCall(i int) string
- func (fake *FakeExec) LookPathCallCount() int
- func (fake *FakeExec) LookPathCalls(stub func(string) (string, error))
- func (fake *FakeExec) LookPathReturns(result1 string, result2 error)
- func (fake *FakeExec) LookPathReturnsOnCall(i int, 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 {
CombinedOutputStub func() ([]byte, error)
PidStub func() int
RunStub func() error
SetEnvStub func([]string)
SetStderrStub func(io.Writer)
SetStdinStub func(io.Reader)
SetStdoutStub func(io.Writer)
StartStub func() error
StderrPipeStub func() (io.ReadCloser, error)
StdoutPipeStub func() (io.ReadCloser, error)
SysProcAttrStub func() *syscall.SysProcAttr
WaitStub func() error
// contains filtered or unexported fields
}
func (*FakeCmd) CombinedOutput ¶
func (*FakeCmd) CombinedOutputCallCount ¶
func (*FakeCmd) CombinedOutputCalls ¶
func (*FakeCmd) CombinedOutputReturns ¶
func (*FakeCmd) CombinedOutputReturnsOnCall ¶
func (*FakeCmd) Invocations ¶
func (*FakeCmd) PidCallCount ¶
func (*FakeCmd) PidReturns ¶
func (*FakeCmd) PidReturnsOnCall ¶
func (*FakeCmd) RunCallCount ¶
func (*FakeCmd) RunReturns ¶
func (*FakeCmd) RunReturnsOnCall ¶
func (*FakeCmd) SetEnvArgsForCall ¶
func (*FakeCmd) SetEnvCallCount ¶
func (*FakeCmd) SetEnvCalls ¶
func (*FakeCmd) SetStderrCallCount ¶
func (*FakeCmd) SetStderrCalls ¶
func (*FakeCmd) SetStdinArgsForCall ¶ added in v0.70.0
func (*FakeCmd) SetStdinCallCount ¶ added in v0.70.0
func (*FakeCmd) SetStdinCalls ¶ added in v0.70.0
func (*FakeCmd) SetStdoutCallCount ¶
func (*FakeCmd) SetStdoutCalls ¶
func (*FakeCmd) StartCallCount ¶
func (*FakeCmd) StartCalls ¶
func (*FakeCmd) StartReturns ¶
func (*FakeCmd) StartReturnsOnCall ¶
func (*FakeCmd) StderrPipe ¶
func (fake *FakeCmd) StderrPipe() (io.ReadCloser, error)
func (*FakeCmd) StderrPipeCallCount ¶
func (*FakeCmd) StderrPipeCalls ¶
func (fake *FakeCmd) StderrPipeCalls(stub func() (io.ReadCloser, error))
func (*FakeCmd) StderrPipeReturns ¶
func (fake *FakeCmd) StderrPipeReturns(result1 io.ReadCloser, result2 error)
func (*FakeCmd) StderrPipeReturnsOnCall ¶
func (fake *FakeCmd) StderrPipeReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeCmd) StdoutPipe ¶
func (fake *FakeCmd) StdoutPipe() (io.ReadCloser, error)
func (*FakeCmd) StdoutPipeCallCount ¶
func (*FakeCmd) StdoutPipeCalls ¶
func (fake *FakeCmd) StdoutPipeCalls(stub func() (io.ReadCloser, error))
func (*FakeCmd) StdoutPipeReturns ¶
func (fake *FakeCmd) StdoutPipeReturns(result1 io.ReadCloser, result2 error)
func (*FakeCmd) StdoutPipeReturnsOnCall ¶
func (fake *FakeCmd) StdoutPipeReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeCmd) SysProcAttr ¶
func (fake *FakeCmd) SysProcAttr() *syscall.SysProcAttr
func (*FakeCmd) SysProcAttrCallCount ¶
func (*FakeCmd) SysProcAttrCalls ¶
func (fake *FakeCmd) SysProcAttrCalls(stub func() *syscall.SysProcAttr)
func (*FakeCmd) SysProcAttrReturns ¶
func (fake *FakeCmd) SysProcAttrReturns(result1 *syscall.SysProcAttr)
func (*FakeCmd) SysProcAttrReturnsOnCall ¶
func (fake *FakeCmd) SysProcAttrReturnsOnCall(i int, result1 *syscall.SysProcAttr)
func (*FakeCmd) WaitCallCount ¶
func (*FakeCmd) WaitReturns ¶
func (*FakeCmd) WaitReturnsOnCall ¶
type FakeExec ¶
type FakeExec struct {
CommandStub func(string, ...string) execshim.Cmd
CommandContextStub func(context.Context, string, ...string) execshim.Cmd
LookPathStub func(string) (string, error)
// contains filtered or unexported fields
}
func (*FakeExec) CommandArgsForCall ¶
func (*FakeExec) CommandCallCount ¶
func (*FakeExec) CommandCalls ¶
func (*FakeExec) CommandContext ¶
func (*FakeExec) CommandContextArgsForCall ¶
func (*FakeExec) CommandContextCallCount ¶
func (*FakeExec) CommandContextCalls ¶
func (*FakeExec) CommandContextReturns ¶
func (*FakeExec) CommandContextReturnsOnCall ¶
func (*FakeExec) CommandReturns ¶
func (*FakeExec) CommandReturnsOnCall ¶
func (*FakeExec) Invocations ¶
func (*FakeExec) LookPathArgsForCall ¶
func (*FakeExec) LookPathCallCount ¶
func (*FakeExec) LookPathCalls ¶
func (*FakeExec) LookPathReturns ¶
Click to show internal directories.
Click to hide internal directories.