execfakes

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 5 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 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

	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

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)

func (*FakeExecInterface) ReleaseInfoReturns

func (fake *FakeExecInterface) ReleaseInfoReturns(result1 *v1.ReleaseInfo)

func (*FakeExecInterface) ReleaseInfoReturnsOnCall

func (fake *FakeExecInterface) ReleaseInfoReturnsOnCall(i int, result1 *v1.ReleaseInfo)

func (*FakeExecInterface) RunCmd

func (fake *FakeExecInterface) RunCmd(arg1 context.Context, arg2 string, arg3 ...string) (*bytes.Buffer, error)

func (*FakeExecInterface) RunCmdArgsForCall

func (fake *FakeExecInterface) RunCmdArgsForCall(i int) (context.Context, string, []string)

func (*FakeExecInterface) RunCmdCallCount

func (fake *FakeExecInterface) RunCmdCallCount() int

func (*FakeExecInterface) RunCmdCalls

func (fake *FakeExecInterface) RunCmdCalls(stub func(context.Context, string, ...string) (*bytes.Buffer, error))

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)

Jump to

Keyboard shortcuts

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