Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeExecInterface
- func (fake *FakeExecInterface) Executable() (string, error)
- func (fake *FakeExecInterface) ExecutableCallCount() int
- func (fake *FakeExecInterface) ExecutableCalls(stub func() (string, error))
- func (fake *FakeExecInterface) ExecutableReturns(result1 string, result2 error)
- func (fake *FakeExecInterface) ExecutableReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecInterface) FindExecutable(arg1 string) (string, error)
- func (fake *FakeExecInterface) FindExecutableArgsForCall(i int) string
- func (fake *FakeExecInterface) FindExecutableCallCount() int
- func (fake *FakeExecInterface) FindExecutableCalls(stub func(string) (string, error))
- func (fake *FakeExecInterface) FindExecutableReturns(result1 string, result2 error)
- func (fake *FakeExecInterface) FindExecutableReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecInterface) HostID(arg1 context.Context) (string, error)
- func (fake *FakeExecInterface) HostIDArgsForCall(i int) context.Context
- func (fake *FakeExecInterface) HostIDCallCount() int
- func (fake *FakeExecInterface) HostIDCalls(stub func(context.Context) (string, error))
- func (fake *FakeExecInterface) HostIDReturns(result1 string, result2 error)
- func (fake *FakeExecInterface) HostIDReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecInterface) Hostname() (string, error)
- func (fake *FakeExecInterface) HostnameCallCount() int
- func (fake *FakeExecInterface) HostnameCalls(stub func() (string, error))
- func (fake *FakeExecInterface) HostnameReturns(result1 string, result2 error)
- func (fake *FakeExecInterface) HostnameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecInterface) Invocations() map[string][][]interface{}
- func (fake *FakeExecInterface) KillProcess(arg1 int32) error
- func (fake *FakeExecInterface) KillProcessArgsForCall(i int) int32
- func (fake *FakeExecInterface) KillProcessCallCount() int
- func (fake *FakeExecInterface) KillProcessCalls(stub func(int32) error)
- func (fake *FakeExecInterface) KillProcessReturns(result1 error)
- func (fake *FakeExecInterface) KillProcessReturnsOnCall(i int, result1 error)
- func (fake *FakeExecInterface) ProcessID() int32
- func (fake *FakeExecInterface) ProcessIDCallCount() int
- func (fake *FakeExecInterface) ProcessIDCalls(stub func() int32)
- func (fake *FakeExecInterface) ProcessIDReturns(result1 int32)
- func (fake *FakeExecInterface) ProcessIDReturnsOnCall(i int, result1 int32)
- func (fake *FakeExecInterface) ReleaseInfo(arg1 context.Context) (*v1.ReleaseInfo, error)
- func (fake *FakeExecInterface) ReleaseInfoArgsForCall(i int) context.Context
- func (fake *FakeExecInterface) ReleaseInfoCallCount() int
- func (fake *FakeExecInterface) ReleaseInfoCalls(stub func(context.Context) (*v1.ReleaseInfo, error))
- func (fake *FakeExecInterface) ReleaseInfoReturns(result1 *v1.ReleaseInfo, result2 error)
- func (fake *FakeExecInterface) ReleaseInfoReturnsOnCall(i int, result1 *v1.ReleaseInfo, result2 error)
- func (fake *FakeExecInterface) RunCmd(arg1 context.Context, arg2 string, arg3 ...string) (*bytes.Buffer, error)
- func (fake *FakeExecInterface) RunCmdArgsForCall(i int) (context.Context, string, []string)
- func (fake *FakeExecInterface) RunCmdCallCount() int
- func (fake *FakeExecInterface) RunCmdCalls(stub func(context.Context, string, ...string) (*bytes.Buffer, error))
- func (fake *FakeExecInterface) RunCmdReturns(result1 *bytes.Buffer, result2 error)
- func (fake *FakeExecInterface) RunCmdReturnsOnCall(i int, result1 *bytes.Buffer, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeExecInterface ¶
type FakeExecInterface struct {
ExecutableStub func() (string, error)
FindExecutableStub func(string) (string, error)
HostIDStub func(context.Context) (string, error)
HostnameStub func() (string, error)
KillProcessStub func(int32) error
ProcessIDStub func() int32
ReleaseInfoStub func(context.Context) (*v1.ReleaseInfo, error)
RunCmdStub func(context.Context, string, ...string) (*bytes.Buffer, error)
// contains filtered or unexported fields
}
func (*FakeExecInterface) Executable ¶
func (fake *FakeExecInterface) Executable() (string, error)
func (*FakeExecInterface) ExecutableCallCount ¶
func (fake *FakeExecInterface) ExecutableCallCount() int
func (*FakeExecInterface) ExecutableCalls ¶
func (fake *FakeExecInterface) ExecutableCalls(stub func() (string, error))
func (*FakeExecInterface) ExecutableReturns ¶
func (fake *FakeExecInterface) ExecutableReturns(result1 string, result2 error)
func (*FakeExecInterface) ExecutableReturnsOnCall ¶
func (fake *FakeExecInterface) ExecutableReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecInterface) FindExecutable ¶
func (fake *FakeExecInterface) FindExecutable(arg1 string) (string, error)
func (*FakeExecInterface) FindExecutableArgsForCall ¶
func (fake *FakeExecInterface) FindExecutableArgsForCall(i int) string
func (*FakeExecInterface) FindExecutableCallCount ¶
func (fake *FakeExecInterface) FindExecutableCallCount() int
func (*FakeExecInterface) FindExecutableCalls ¶
func (fake *FakeExecInterface) FindExecutableCalls(stub func(string) (string, error))
func (*FakeExecInterface) FindExecutableReturns ¶
func (fake *FakeExecInterface) FindExecutableReturns(result1 string, result2 error)
func (*FakeExecInterface) FindExecutableReturnsOnCall ¶
func (fake *FakeExecInterface) FindExecutableReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecInterface) HostID ¶
func (fake *FakeExecInterface) HostID(arg1 context.Context) (string, error)
func (*FakeExecInterface) HostIDArgsForCall ¶
func (fake *FakeExecInterface) HostIDArgsForCall(i int) context.Context
func (*FakeExecInterface) HostIDCallCount ¶
func (fake *FakeExecInterface) HostIDCallCount() int
func (*FakeExecInterface) HostIDCalls ¶
func (fake *FakeExecInterface) HostIDCalls(stub func(context.Context) (string, error))
func (*FakeExecInterface) HostIDReturns ¶
func (fake *FakeExecInterface) HostIDReturns(result1 string, result2 error)
func (*FakeExecInterface) HostIDReturnsOnCall ¶
func (fake *FakeExecInterface) HostIDReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecInterface) Hostname ¶
func (fake *FakeExecInterface) Hostname() (string, error)
func (*FakeExecInterface) HostnameCallCount ¶
func (fake *FakeExecInterface) HostnameCallCount() int
func (*FakeExecInterface) HostnameCalls ¶
func (fake *FakeExecInterface) HostnameCalls(stub func() (string, error))
func (*FakeExecInterface) HostnameReturns ¶
func (fake *FakeExecInterface) HostnameReturns(result1 string, result2 error)
func (*FakeExecInterface) HostnameReturnsOnCall ¶
func (fake *FakeExecInterface) HostnameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecInterface) Invocations ¶
func (fake *FakeExecInterface) Invocations() map[string][][]interface{}
func (*FakeExecInterface) KillProcess ¶
func (fake *FakeExecInterface) KillProcess(arg1 int32) error
func (*FakeExecInterface) KillProcessArgsForCall ¶
func (fake *FakeExecInterface) KillProcessArgsForCall(i int) int32
func (*FakeExecInterface) KillProcessCallCount ¶
func (fake *FakeExecInterface) KillProcessCallCount() int
func (*FakeExecInterface) KillProcessCalls ¶
func (fake *FakeExecInterface) KillProcessCalls(stub func(int32) error)
func (*FakeExecInterface) KillProcessReturns ¶
func (fake *FakeExecInterface) KillProcessReturns(result1 error)
func (*FakeExecInterface) KillProcessReturnsOnCall ¶
func (fake *FakeExecInterface) KillProcessReturnsOnCall(i int, result1 error)
func (*FakeExecInterface) ProcessID ¶
func (fake *FakeExecInterface) ProcessID() int32
func (*FakeExecInterface) ProcessIDCallCount ¶
func (fake *FakeExecInterface) ProcessIDCallCount() int
func (*FakeExecInterface) ProcessIDCalls ¶
func (fake *FakeExecInterface) ProcessIDCalls(stub func() int32)
func (*FakeExecInterface) ProcessIDReturns ¶
func (fake *FakeExecInterface) ProcessIDReturns(result1 int32)
func (*FakeExecInterface) ProcessIDReturnsOnCall ¶
func (fake *FakeExecInterface) ProcessIDReturnsOnCall(i int, result1 int32)
func (*FakeExecInterface) ReleaseInfo ¶
func (fake *FakeExecInterface) ReleaseInfo(arg1 context.Context) (*v1.ReleaseInfo, error)
func (*FakeExecInterface) ReleaseInfoArgsForCall ¶
func (fake *FakeExecInterface) ReleaseInfoArgsForCall(i int) context.Context
func (*FakeExecInterface) ReleaseInfoCallCount ¶
func (fake *FakeExecInterface) ReleaseInfoCallCount() int
func (*FakeExecInterface) ReleaseInfoCalls ¶
func (fake *FakeExecInterface) ReleaseInfoCalls(stub func(context.Context) (*v1.ReleaseInfo, error))
func (*FakeExecInterface) ReleaseInfoReturns ¶
func (fake *FakeExecInterface) ReleaseInfoReturns(result1 *v1.ReleaseInfo, result2 error)
func (*FakeExecInterface) ReleaseInfoReturnsOnCall ¶
func (fake *FakeExecInterface) ReleaseInfoReturnsOnCall(i int, result1 *v1.ReleaseInfo, result2 error)
func (*FakeExecInterface) RunCmdArgsForCall ¶
func (*FakeExecInterface) RunCmdCallCount ¶
func (fake *FakeExecInterface) RunCmdCallCount() int
func (*FakeExecInterface) RunCmdCalls ¶
func (*FakeExecInterface) RunCmdReturns ¶
func (fake *FakeExecInterface) RunCmdReturns(result1 *bytes.Buffer, result2 error)
func (*FakeExecInterface) RunCmdReturnsOnCall ¶
func (fake *FakeExecInterface) RunCmdReturnsOnCall(i int, result1 *bytes.Buffer, result2 error)
Click to show internal directories.
Click to hide internal directories.