Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeImpl
- func (fake *FakeImpl) CommandRun(arg1 *command.Command) (uint32, error)
- func (fake *FakeImpl) CommandRunArgsForCall(i int) *command.Command
- func (fake *FakeImpl) CommandRunCallCount() int
- func (fake *FakeImpl) CommandRunCalls(stub func(*command.Command) (uint32, error))
- func (fake *FakeImpl) CommandRunReturns(result1 uint32, result2 error)
- func (fake *FakeImpl) CommandRunReturnsOnCall(i int, result1 uint32, result2 error)
- func (fake *FakeImpl) CommandWait(arg1 *command.Command) error
- func (fake *FakeImpl) CommandWaitArgsForCall(i int) *command.Command
- func (fake *FakeImpl) CommandWaitCallCount() int
- func (fake *FakeImpl) CommandWaitCalls(stub func(*command.Command) error)
- func (fake *FakeImpl) CommandWaitReturns(result1 error)
- func (fake *FakeImpl) CommandWaitReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) Create(arg1 string) (io.WriteCloser, error)
- func (fake *FakeImpl) CreateArgsForCall(i int) string
- func (fake *FakeImpl) CreateCallCount() int
- func (fake *FakeImpl) CreateCalls(stub func(string) (io.WriteCloser, error))
- func (fake *FakeImpl) CreateReturns(result1 io.WriteCloser, result2 error)
- func (fake *FakeImpl) CreateReturnsOnCall(i int, result1 io.WriteCloser, result2 error)
- func (fake *FakeImpl) FindProcMountNamespace(arg1 *bpfrecorder.BpfRecorder, arg2 uint32) (uint32, error)
- func (fake *FakeImpl) FindProcMountNamespaceArgsForCall(i int) (*bpfrecorder.BpfRecorder, uint32)
- func (fake *FakeImpl) FindProcMountNamespaceCallCount() int
- func (fake *FakeImpl) FindProcMountNamespaceCalls(stub func(*bpfrecorder.BpfRecorder, uint32) (uint32, error))
- func (fake *FakeImpl) FindProcMountNamespaceReturns(result1 uint32, result2 error)
- func (fake *FakeImpl) FindProcMountNamespaceReturnsOnCall(i int, result1 uint32, result2 error)
- func (fake *FakeImpl) GetName(arg1 seccomp.ScmpSyscall) (string, error)
- func (fake *FakeImpl) GetNameArgsForCall(i int) seccomp.ScmpSyscall
- func (fake *FakeImpl) GetNameCallCount() int
- func (fake *FakeImpl) GetNameCalls(stub func(seccomp.ScmpSyscall) (string, error))
- func (fake *FakeImpl) GetNameReturns(result1 string, result2 error)
- func (fake *FakeImpl) GetNameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeImpl) GoArchToSeccompArch(arg1 string) (seccompa.Arch, error)
- func (fake *FakeImpl) GoArchToSeccompArchArgsForCall(i int) string
- func (fake *FakeImpl) GoArchToSeccompArchCallCount() int
- func (fake *FakeImpl) GoArchToSeccompArchCalls(stub func(string) (seccompa.Arch, error))
- func (fake *FakeImpl) GoArchToSeccompArchReturns(result1 seccompa.Arch, result2 error)
- func (fake *FakeImpl) GoArchToSeccompArchReturnsOnCall(i int, result1 seccompa.Arch, result2 error)
- func (fake *FakeImpl) Invocations() map[string][][]interface{}
- func (fake *FakeImpl) IteratorKey(arg1 *libbpfgo.BPFMapIterator) []byte
- func (fake *FakeImpl) IteratorKeyArgsForCall(i int) *libbpfgo.BPFMapIterator
- func (fake *FakeImpl) IteratorKeyCallCount() int
- func (fake *FakeImpl) IteratorKeyCalls(stub func(*libbpfgo.BPFMapIterator) []byte)
- func (fake *FakeImpl) IteratorKeyReturns(result1 []byte)
- func (fake *FakeImpl) IteratorKeyReturnsOnCall(i int, result1 []byte)
- func (fake *FakeImpl) IteratorNext(arg1 *libbpfgo.BPFMapIterator) bool
- func (fake *FakeImpl) IteratorNextArgsForCall(i int) *libbpfgo.BPFMapIterator
- func (fake *FakeImpl) IteratorNextCallCount() int
- func (fake *FakeImpl) IteratorNextCalls(stub func(*libbpfgo.BPFMapIterator) bool)
- func (fake *FakeImpl) IteratorNextReturns(result1 bool)
- func (fake *FakeImpl) IteratorNextReturnsOnCall(i int, result1 bool)
- func (fake *FakeImpl) LoadBpfRecorder(arg1 *bpfrecorder.BpfRecorder) error
- func (fake *FakeImpl) LoadBpfRecorderArgsForCall(i int) *bpfrecorder.BpfRecorder
- func (fake *FakeImpl) LoadBpfRecorderCallCount() int
- func (fake *FakeImpl) LoadBpfRecorderCalls(stub func(*bpfrecorder.BpfRecorder) error)
- func (fake *FakeImpl) LoadBpfRecorderReturns(result1 error)
- func (fake *FakeImpl) LoadBpfRecorderReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) MarshalIndent(arg1 any, arg2 string, arg3 string) ([]byte, error)
- func (fake *FakeImpl) MarshalIndentArgsForCall(i int) (any, string, string)
- func (fake *FakeImpl) MarshalIndentCallCount() int
- func (fake *FakeImpl) MarshalIndentCalls(stub func(any, string, string) ([]byte, error))
- func (fake *FakeImpl) MarshalIndentReturns(result1 []byte, result2 error)
- func (fake *FakeImpl) MarshalIndentReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImpl) Notify(arg1 chan<- os.Signal, arg2 ...os.Signal)
- func (fake *FakeImpl) NotifyArgsForCall(i int) (chan<- os.Signal, []os.Signal)
- func (fake *FakeImpl) NotifyCallCount() int
- func (fake *FakeImpl) NotifyCalls(stub func(chan<- os.Signal, ...os.Signal))
- func (fake *FakeImpl) PrintObj(arg1 printers.YAMLPrinter, arg2 runtime.Object, arg3 io.Writer) error
- func (fake *FakeImpl) PrintObjArgsForCall(i int) (printers.YAMLPrinter, runtime.Object, io.Writer)
- func (fake *FakeImpl) PrintObjCallCount() int
- func (fake *FakeImpl) PrintObjCalls(stub func(printers.YAMLPrinter, runtime.Object, io.Writer) error)
- func (fake *FakeImpl) PrintObjReturns(result1 error)
- func (fake *FakeImpl) PrintObjReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) SyscallsGetValue(arg1 *bpfrecorder.BpfRecorder, arg2 uint32) ([]byte, error)
- func (fake *FakeImpl) SyscallsGetValueArgsForCall(i int) (*bpfrecorder.BpfRecorder, uint32)
- func (fake *FakeImpl) SyscallsGetValueCallCount() int
- func (fake *FakeImpl) SyscallsGetValueCalls(stub func(*bpfrecorder.BpfRecorder, uint32) ([]byte, error))
- func (fake *FakeImpl) SyscallsGetValueReturns(result1 []byte, result2 error)
- func (fake *FakeImpl) SyscallsGetValueReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImpl) SyscallsIterator(arg1 *bpfrecorder.BpfRecorder) *libbpfgo.BPFMapIterator
- func (fake *FakeImpl) SyscallsIteratorArgsForCall(i int) *bpfrecorder.BpfRecorder
- func (fake *FakeImpl) SyscallsIteratorCallCount() int
- func (fake *FakeImpl) SyscallsIteratorCalls(stub func(*bpfrecorder.BpfRecorder) *libbpfgo.BPFMapIterator)
- func (fake *FakeImpl) SyscallsIteratorReturns(result1 *libbpfgo.BPFMapIterator)
- func (fake *FakeImpl) SyscallsIteratorReturnsOnCall(i int, result1 *libbpfgo.BPFMapIterator)
- func (fake *FakeImpl) UnloadBpfRecorder(arg1 *bpfrecorder.BpfRecorder)
- func (fake *FakeImpl) UnloadBpfRecorderArgsForCall(i int) *bpfrecorder.BpfRecorder
- func (fake *FakeImpl) UnloadBpfRecorderCallCount() int
- func (fake *FakeImpl) UnloadBpfRecorderCalls(stub func(*bpfrecorder.BpfRecorder))
- func (fake *FakeImpl) WaitForPidExit(arg1 *bpfrecorder.BpfRecorder, arg2 context.Context, arg3 uint32) error
- func (fake *FakeImpl) WaitForPidExitArgsForCall(i int) (*bpfrecorder.BpfRecorder, context.Context, uint32)
- func (fake *FakeImpl) WaitForPidExitCallCount() int
- func (fake *FakeImpl) WaitForPidExitCalls(stub func(*bpfrecorder.BpfRecorder, context.Context, uint32) error)
- func (fake *FakeImpl) WaitForPidExitReturns(result1 error)
- func (fake *FakeImpl) WaitForPidExitReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImpl ¶
type FakeImpl struct { CommandRunStub func(*command.Command) (uint32, error) CommandWaitStub func(*command.Command) error CreateStub func(string) (io.WriteCloser, error) FindProcMountNamespaceStub func(*bpfrecorder.BpfRecorder, uint32) (uint32, error) GetNameStub func(seccomp.ScmpSyscall) (string, error) GoArchToSeccompArchStub func(string) (seccompa.Arch, error) IteratorKeyStub func(*libbpfgo.BPFMapIterator) []byte IteratorNextStub func(*libbpfgo.BPFMapIterator) bool LoadBpfRecorderStub func(*bpfrecorder.BpfRecorder) error MarshalIndentStub func(any, string, string) ([]byte, error) NotifyStub func(chan<- os.Signal, ...os.Signal) PrintObjStub func(printers.YAMLPrinter, runtime.Object, io.Writer) error SyscallsGetValueStub func(*bpfrecorder.BpfRecorder, uint32) ([]byte, error) SyscallsIteratorStub func(*bpfrecorder.BpfRecorder) *libbpfgo.BPFMapIterator UnloadBpfRecorderStub func(*bpfrecorder.BpfRecorder) WaitForPidExitStub func(*bpfrecorder.BpfRecorder, context.Context, uint32) error // contains filtered or unexported fields }
func (*FakeImpl) CommandRun ¶
func (*FakeImpl) CommandRunArgsForCall ¶
func (*FakeImpl) CommandRunCallCount ¶
func (*FakeImpl) CommandRunCalls ¶
func (*FakeImpl) CommandRunReturns ¶
func (*FakeImpl) CommandRunReturnsOnCall ¶
func (*FakeImpl) CommandWaitArgsForCall ¶
func (*FakeImpl) CommandWaitCallCount ¶
func (*FakeImpl) CommandWaitCalls ¶
func (*FakeImpl) CommandWaitReturns ¶
func (*FakeImpl) CommandWaitReturnsOnCall ¶
func (*FakeImpl) CreateArgsForCall ¶
func (*FakeImpl) CreateCallCount ¶
func (*FakeImpl) CreateCalls ¶
func (fake *FakeImpl) CreateCalls(stub func(string) (io.WriteCloser, error))
func (*FakeImpl) CreateReturns ¶
func (fake *FakeImpl) CreateReturns(result1 io.WriteCloser, result2 error)
func (*FakeImpl) CreateReturnsOnCall ¶
func (fake *FakeImpl) CreateReturnsOnCall(i int, result1 io.WriteCloser, result2 error)
func (*FakeImpl) FindProcMountNamespace ¶
func (fake *FakeImpl) FindProcMountNamespace(arg1 *bpfrecorder.BpfRecorder, arg2 uint32) (uint32, error)
func (*FakeImpl) FindProcMountNamespaceArgsForCall ¶
func (fake *FakeImpl) FindProcMountNamespaceArgsForCall(i int) (*bpfrecorder.BpfRecorder, uint32)
func (*FakeImpl) FindProcMountNamespaceCallCount ¶
func (*FakeImpl) FindProcMountNamespaceCalls ¶
func (fake *FakeImpl) FindProcMountNamespaceCalls(stub func(*bpfrecorder.BpfRecorder, uint32) (uint32, error))
func (*FakeImpl) FindProcMountNamespaceReturns ¶
func (*FakeImpl) FindProcMountNamespaceReturnsOnCall ¶
func (*FakeImpl) GetNameArgsForCall ¶
func (fake *FakeImpl) GetNameArgsForCall(i int) seccomp.ScmpSyscall
func (*FakeImpl) GetNameCallCount ¶
func (*FakeImpl) GetNameCalls ¶
func (fake *FakeImpl) GetNameCalls(stub func(seccomp.ScmpSyscall) (string, error))
func (*FakeImpl) GetNameReturns ¶
func (*FakeImpl) GetNameReturnsOnCall ¶
func (*FakeImpl) GoArchToSeccompArch ¶
func (*FakeImpl) GoArchToSeccompArchArgsForCall ¶
func (*FakeImpl) GoArchToSeccompArchCallCount ¶
func (*FakeImpl) GoArchToSeccompArchCalls ¶
func (*FakeImpl) GoArchToSeccompArchReturns ¶
func (*FakeImpl) GoArchToSeccompArchReturnsOnCall ¶
func (*FakeImpl) Invocations ¶
func (*FakeImpl) IteratorKey ¶
func (fake *FakeImpl) IteratorKey(arg1 *libbpfgo.BPFMapIterator) []byte
func (*FakeImpl) IteratorKeyArgsForCall ¶
func (fake *FakeImpl) IteratorKeyArgsForCall(i int) *libbpfgo.BPFMapIterator
func (*FakeImpl) IteratorKeyCallCount ¶
func (*FakeImpl) IteratorKeyCalls ¶
func (fake *FakeImpl) IteratorKeyCalls(stub func(*libbpfgo.BPFMapIterator) []byte)
func (*FakeImpl) IteratorKeyReturns ¶
func (*FakeImpl) IteratorKeyReturnsOnCall ¶
func (*FakeImpl) IteratorNext ¶
func (fake *FakeImpl) IteratorNext(arg1 *libbpfgo.BPFMapIterator) bool
func (*FakeImpl) IteratorNextArgsForCall ¶
func (fake *FakeImpl) IteratorNextArgsForCall(i int) *libbpfgo.BPFMapIterator
func (*FakeImpl) IteratorNextCallCount ¶
func (*FakeImpl) IteratorNextCalls ¶
func (fake *FakeImpl) IteratorNextCalls(stub func(*libbpfgo.BPFMapIterator) bool)
func (*FakeImpl) IteratorNextReturns ¶
func (*FakeImpl) IteratorNextReturnsOnCall ¶
func (*FakeImpl) LoadBpfRecorder ¶
func (fake *FakeImpl) LoadBpfRecorder(arg1 *bpfrecorder.BpfRecorder) error
func (*FakeImpl) LoadBpfRecorderArgsForCall ¶
func (fake *FakeImpl) LoadBpfRecorderArgsForCall(i int) *bpfrecorder.BpfRecorder
func (*FakeImpl) LoadBpfRecorderCallCount ¶
func (*FakeImpl) LoadBpfRecorderCalls ¶
func (fake *FakeImpl) LoadBpfRecorderCalls(stub func(*bpfrecorder.BpfRecorder) error)
func (*FakeImpl) LoadBpfRecorderReturns ¶
func (*FakeImpl) LoadBpfRecorderReturnsOnCall ¶
func (*FakeImpl) MarshalIndent ¶
func (*FakeImpl) MarshalIndentArgsForCall ¶
func (*FakeImpl) MarshalIndentCallCount ¶
func (*FakeImpl) MarshalIndentCalls ¶
func (*FakeImpl) MarshalIndentReturns ¶
func (*FakeImpl) MarshalIndentReturnsOnCall ¶
func (*FakeImpl) NotifyArgsForCall ¶ added in v0.8.3
func (*FakeImpl) NotifyCallCount ¶ added in v0.8.3
func (*FakeImpl) NotifyCalls ¶ added in v0.8.3
func (*FakeImpl) PrintObjArgsForCall ¶
func (*FakeImpl) PrintObjCallCount ¶
func (*FakeImpl) PrintObjCalls ¶
func (*FakeImpl) PrintObjReturns ¶
func (*FakeImpl) PrintObjReturnsOnCall ¶
func (*FakeImpl) SyscallsGetValue ¶
func (fake *FakeImpl) SyscallsGetValue(arg1 *bpfrecorder.BpfRecorder, arg2 uint32) ([]byte, error)
func (*FakeImpl) SyscallsGetValueArgsForCall ¶
func (fake *FakeImpl) SyscallsGetValueArgsForCall(i int) (*bpfrecorder.BpfRecorder, uint32)
func (*FakeImpl) SyscallsGetValueCallCount ¶
func (*FakeImpl) SyscallsGetValueCalls ¶
func (fake *FakeImpl) SyscallsGetValueCalls(stub func(*bpfrecorder.BpfRecorder, uint32) ([]byte, error))
func (*FakeImpl) SyscallsGetValueReturns ¶
func (*FakeImpl) SyscallsGetValueReturnsOnCall ¶
func (*FakeImpl) SyscallsIterator ¶
func (fake *FakeImpl) SyscallsIterator(arg1 *bpfrecorder.BpfRecorder) *libbpfgo.BPFMapIterator
func (*FakeImpl) SyscallsIteratorArgsForCall ¶
func (fake *FakeImpl) SyscallsIteratorArgsForCall(i int) *bpfrecorder.BpfRecorder
func (*FakeImpl) SyscallsIteratorCallCount ¶
func (*FakeImpl) SyscallsIteratorCalls ¶
func (fake *FakeImpl) SyscallsIteratorCalls(stub func(*bpfrecorder.BpfRecorder) *libbpfgo.BPFMapIterator)
func (*FakeImpl) SyscallsIteratorReturns ¶
func (fake *FakeImpl) SyscallsIteratorReturns(result1 *libbpfgo.BPFMapIterator)
func (*FakeImpl) SyscallsIteratorReturnsOnCall ¶
func (fake *FakeImpl) SyscallsIteratorReturnsOnCall(i int, result1 *libbpfgo.BPFMapIterator)
func (*FakeImpl) UnloadBpfRecorder ¶
func (fake *FakeImpl) UnloadBpfRecorder(arg1 *bpfrecorder.BpfRecorder)
func (*FakeImpl) UnloadBpfRecorderArgsForCall ¶
func (fake *FakeImpl) UnloadBpfRecorderArgsForCall(i int) *bpfrecorder.BpfRecorder
func (*FakeImpl) UnloadBpfRecorderCallCount ¶
func (*FakeImpl) UnloadBpfRecorderCalls ¶
func (fake *FakeImpl) UnloadBpfRecorderCalls(stub func(*bpfrecorder.BpfRecorder))
func (*FakeImpl) WaitForPidExit ¶ added in v0.8.3
func (fake *FakeImpl) WaitForPidExit(arg1 *bpfrecorder.BpfRecorder, arg2 context.Context, arg3 uint32) error
func (*FakeImpl) WaitForPidExitArgsForCall ¶ added in v0.8.3
func (fake *FakeImpl) WaitForPidExitArgsForCall(i int) (*bpfrecorder.BpfRecorder, context.Context, uint32)
func (*FakeImpl) WaitForPidExitCallCount ¶ added in v0.8.3
func (*FakeImpl) WaitForPidExitCalls ¶ added in v0.8.3
func (fake *FakeImpl) WaitForPidExitCalls(stub func(*bpfrecorder.BpfRecorder, context.Context, uint32) error)
func (*FakeImpl) WaitForPidExitReturns ¶ added in v0.8.3
func (*FakeImpl) WaitForPidExitReturnsOnCall ¶ added in v0.8.3
Click to show internal directories.
Click to hide internal directories.