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) ExtractAuditLine(arg1 string) (*types.AuditLine, error)
- func (fake *FakeImpl) ExtractAuditLineArgsForCall(i int) string
- func (fake *FakeImpl) ExtractAuditLineCallCount() int
- func (fake *FakeImpl) ExtractAuditLineCalls(stub func(string) (*types.AuditLine, error))
- func (fake *FakeImpl) ExtractAuditLineReturns(result1 *types.AuditLine, result2 error)
- func (fake *FakeImpl) ExtractAuditLineReturnsOnCall(i int, result1 *types.AuditLine, 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) InitSeccomp(arg1 *configs.Seccomp) (int, error)
- func (fake *FakeImpl) InitSeccompArgsForCall(i int) *configs.Seccomp
- func (fake *FakeImpl) InitSeccompCallCount() int
- func (fake *FakeImpl) InitSeccompCalls(stub func(*configs.Seccomp) (int, error))
- func (fake *FakeImpl) InitSeccompReturns(result1 int, result2 error)
- func (fake *FakeImpl) InitSeccompReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeImpl) Invocations() map[string][][]interface{}
- func (fake *FakeImpl) IsAuditLine(arg1 string) bool
- func (fake *FakeImpl) IsAuditLineArgsForCall(i int) string
- func (fake *FakeImpl) IsAuditLineCallCount() int
- func (fake *FakeImpl) IsAuditLineCalls(stub func(string) bool)
- func (fake *FakeImpl) IsAuditLineReturns(result1 bool)
- func (fake *FakeImpl) IsAuditLineReturnsOnCall(i int, result1 bool)
- func (fake *FakeImpl) JSONMarshal(arg1 any) ([]byte, error)
- func (fake *FakeImpl) JSONMarshalArgsForCall(i int) any
- func (fake *FakeImpl) JSONMarshalCallCount() int
- func (fake *FakeImpl) JSONMarshalCalls(stub func(any) ([]byte, error))
- func (fake *FakeImpl) JSONMarshalReturns(result1 []byte, result2 error)
- func (fake *FakeImpl) JSONMarshalReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImpl) JSONUnmarshal(arg1 []byte, arg2 any) error
- func (fake *FakeImpl) JSONUnmarshalArgsForCall(i int) ([]byte, any)
- func (fake *FakeImpl) JSONUnmarshalCallCount() int
- func (fake *FakeImpl) JSONUnmarshalCalls(stub func([]byte, any) error)
- func (fake *FakeImpl) JSONUnmarshalReturns(result1 error)
- func (fake *FakeImpl) JSONUnmarshalReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) Lines(arg1 *tail.Tail) chan *tail.Line
- func (fake *FakeImpl) LinesArgsForCall(i int) *tail.Tail
- func (fake *FakeImpl) LinesCallCount() int
- func (fake *FakeImpl) LinesCalls(stub func(*tail.Tail) chan *tail.Line)
- func (fake *FakeImpl) LinesReturns(result1 chan *tail.Line)
- func (fake *FakeImpl) LinesReturnsOnCall(i int, result1 chan *tail.Line)
- func (fake *FakeImpl) PidLoad() uint32
- func (fake *FakeImpl) PidLoadCallCount() int
- func (fake *FakeImpl) PidLoadCalls(stub func() uint32)
- func (fake *FakeImpl) PidLoadReturns(result1 uint32)
- func (fake *FakeImpl) PidLoadReturnsOnCall(i int, result1 uint32)
- func (fake *FakeImpl) Printf(arg1 string, arg2 ...any)
- func (fake *FakeImpl) PrintfArgsForCall(i int) (string, []any)
- func (fake *FakeImpl) PrintfCallCount() int
- func (fake *FakeImpl) PrintfCalls(stub func(string, ...any))
- func (fake *FakeImpl) ReadFile(arg1 string) ([]byte, error)
- func (fake *FakeImpl) ReadFileArgsForCall(i int) string
- func (fake *FakeImpl) ReadFileCallCount() int
- func (fake *FakeImpl) ReadFileCalls(stub func(string) ([]byte, error))
- func (fake *FakeImpl) ReadFileReturns(result1 []byte, result2 error)
- func (fake *FakeImpl) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImpl) SetupSeccomp(arg1 *specs.LinuxSeccomp) (*configs.Seccomp, error)
- func (fake *FakeImpl) SetupSeccompArgsForCall(i int) *specs.LinuxSeccomp
- func (fake *FakeImpl) SetupSeccompCallCount() int
- func (fake *FakeImpl) SetupSeccompCalls(stub func(*specs.LinuxSeccomp) (*configs.Seccomp, error))
- func (fake *FakeImpl) SetupSeccompReturns(result1 *configs.Seccomp, result2 error)
- func (fake *FakeImpl) SetupSeccompReturnsOnCall(i int, result1 *configs.Seccomp, result2 error)
- func (fake *FakeImpl) TailFile(arg1 string, arg2 tail.Config) (*tail.Tail, error)
- func (fake *FakeImpl) TailFileArgsForCall(i int) (string, tail.Config)
- func (fake *FakeImpl) TailFileCallCount() int
- func (fake *FakeImpl) TailFileCalls(stub func(string, tail.Config) (*tail.Tail, error))
- func (fake *FakeImpl) TailFileReturns(result1 *tail.Tail, result2 error)
- func (fake *FakeImpl) TailFileReturnsOnCall(i int, result1 *tail.Tail, result2 error)
- func (fake *FakeImpl) YamlUnmarshal(arg1 []byte, arg2 interface{}) error
- func (fake *FakeImpl) YamlUnmarshalArgsForCall(i int) ([]byte, interface{})
- func (fake *FakeImpl) YamlUnmarshalCallCount() int
- func (fake *FakeImpl) YamlUnmarshalCalls(stub func([]byte, interface{}) error)
- func (fake *FakeImpl) YamlUnmarshalReturns(result1 error)
- func (fake *FakeImpl) YamlUnmarshalReturnsOnCall(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 ExtractAuditLineStub func(string) (*types.AuditLine, error) GetNameStub func(seccomp.ScmpSyscall) (string, error) InitSeccompStub func(*configs.Seccomp) (int, error) IsAuditLineStub func(string) bool JSONMarshalStub func(any) ([]byte, error) JSONUnmarshalStub func([]byte, any) error LinesStub func(*tail.Tail) chan *tail.Line PidLoadStub func() uint32 PrintfStub func(string, ...any) ReadFileStub func(string) ([]byte, error) SetupSeccompStub func(*specs.LinuxSeccomp) (*configs.Seccomp, error) TailFileStub func(string, tail.Config) (*tail.Tail, error) YamlUnmarshalStub func([]byte, interface{}) 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) ExtractAuditLine ¶
func (*FakeImpl) ExtractAuditLineArgsForCall ¶
func (*FakeImpl) ExtractAuditLineCallCount ¶
func (*FakeImpl) ExtractAuditLineCalls ¶
func (*FakeImpl) ExtractAuditLineReturns ¶
func (*FakeImpl) ExtractAuditLineReturnsOnCall ¶
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) InitSeccomp ¶
func (*FakeImpl) InitSeccompArgsForCall ¶
func (*FakeImpl) InitSeccompCallCount ¶
func (*FakeImpl) InitSeccompCalls ¶
func (*FakeImpl) InitSeccompReturns ¶
func (*FakeImpl) InitSeccompReturnsOnCall ¶
func (*FakeImpl) Invocations ¶
func (*FakeImpl) IsAuditLine ¶
func (*FakeImpl) IsAuditLineArgsForCall ¶
func (*FakeImpl) IsAuditLineCallCount ¶
func (*FakeImpl) IsAuditLineCalls ¶
func (*FakeImpl) IsAuditLineReturns ¶
func (*FakeImpl) IsAuditLineReturnsOnCall ¶
func (*FakeImpl) JSONMarshalArgsForCall ¶
func (*FakeImpl) JSONMarshalCallCount ¶
func (*FakeImpl) JSONMarshalCalls ¶
func (*FakeImpl) JSONMarshalReturns ¶
func (*FakeImpl) JSONMarshalReturnsOnCall ¶
func (*FakeImpl) JSONUnmarshalArgsForCall ¶
func (*FakeImpl) JSONUnmarshalCallCount ¶
func (*FakeImpl) JSONUnmarshalCalls ¶
func (*FakeImpl) JSONUnmarshalReturns ¶
func (*FakeImpl) JSONUnmarshalReturnsOnCall ¶
func (*FakeImpl) LinesCallCount ¶
func (*FakeImpl) LinesCalls ¶
func (*FakeImpl) LinesReturns ¶
func (*FakeImpl) LinesReturnsOnCall ¶
func (*FakeImpl) PidLoadCallCount ¶
func (*FakeImpl) PidLoadCalls ¶
func (*FakeImpl) PidLoadReturns ¶
func (*FakeImpl) PidLoadReturnsOnCall ¶
func (*FakeImpl) PrintfArgsForCall ¶ added in v0.8.1
func (*FakeImpl) PrintfCallCount ¶ added in v0.8.1
func (*FakeImpl) PrintfCalls ¶ added in v0.8.1
func (*FakeImpl) ReadFileArgsForCall ¶
func (*FakeImpl) ReadFileCallCount ¶
func (*FakeImpl) ReadFileCalls ¶
func (*FakeImpl) ReadFileReturns ¶
func (*FakeImpl) ReadFileReturnsOnCall ¶
func (*FakeImpl) SetupSeccomp ¶
func (*FakeImpl) SetupSeccompArgsForCall ¶
func (fake *FakeImpl) SetupSeccompArgsForCall(i int) *specs.LinuxSeccomp
func (*FakeImpl) SetupSeccompCallCount ¶
func (*FakeImpl) SetupSeccompCalls ¶
func (*FakeImpl) SetupSeccompReturns ¶
func (*FakeImpl) SetupSeccompReturnsOnCall ¶
func (*FakeImpl) TailFileArgsForCall ¶
func (*FakeImpl) TailFileCallCount ¶
func (*FakeImpl) TailFileCalls ¶
func (*FakeImpl) TailFileReturns ¶
func (*FakeImpl) TailFileReturnsOnCall ¶
func (*FakeImpl) YamlUnmarshal ¶
func (*FakeImpl) YamlUnmarshalArgsForCall ¶
func (*FakeImpl) YamlUnmarshalCallCount ¶
func (*FakeImpl) YamlUnmarshalCalls ¶
func (*FakeImpl) YamlUnmarshalReturns ¶
func (*FakeImpl) YamlUnmarshalReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.