runnerfakes

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 7 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 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 (fake *FakeImpl) CommandRun(arg1 *command.Command) (uint32, error)

func (*FakeImpl) CommandRunArgsForCall

func (fake *FakeImpl) CommandRunArgsForCall(i int) *command.Command

func (*FakeImpl) CommandRunCallCount

func (fake *FakeImpl) CommandRunCallCount() int

func (*FakeImpl) CommandRunCalls

func (fake *FakeImpl) CommandRunCalls(stub func(*command.Command) (uint32, error))

func (*FakeImpl) CommandRunReturns

func (fake *FakeImpl) CommandRunReturns(result1 uint32, result2 error)

func (*FakeImpl) CommandRunReturnsOnCall

func (fake *FakeImpl) CommandRunReturnsOnCall(i int, result1 uint32, result2 error)

func (*FakeImpl) CommandWait

func (fake *FakeImpl) CommandWait(arg1 *command.Command) error

func (*FakeImpl) CommandWaitArgsForCall

func (fake *FakeImpl) CommandWaitArgsForCall(i int) *command.Command

func (*FakeImpl) CommandWaitCallCount

func (fake *FakeImpl) CommandWaitCallCount() int

func (*FakeImpl) CommandWaitCalls

func (fake *FakeImpl) CommandWaitCalls(stub func(*command.Command) error)

func (*FakeImpl) CommandWaitReturns

func (fake *FakeImpl) CommandWaitReturns(result1 error)

func (*FakeImpl) CommandWaitReturnsOnCall

func (fake *FakeImpl) CommandWaitReturnsOnCall(i int, result1 error)

func (*FakeImpl) ExtractAuditLine

func (fake *FakeImpl) ExtractAuditLine(arg1 string) (*types.AuditLine, error)

func (*FakeImpl) ExtractAuditLineArgsForCall

func (fake *FakeImpl) ExtractAuditLineArgsForCall(i int) string

func (*FakeImpl) ExtractAuditLineCallCount

func (fake *FakeImpl) ExtractAuditLineCallCount() int

func (*FakeImpl) ExtractAuditLineCalls

func (fake *FakeImpl) ExtractAuditLineCalls(stub func(string) (*types.AuditLine, error))

func (*FakeImpl) ExtractAuditLineReturns

func (fake *FakeImpl) ExtractAuditLineReturns(result1 *types.AuditLine, result2 error)

func (*FakeImpl) ExtractAuditLineReturnsOnCall

func (fake *FakeImpl) ExtractAuditLineReturnsOnCall(i int, result1 *types.AuditLine, result2 error)

func (*FakeImpl) GetName

func (fake *FakeImpl) GetName(arg1 seccomp.ScmpSyscall) (string, error)

func (*FakeImpl) GetNameArgsForCall

func (fake *FakeImpl) GetNameArgsForCall(i int) seccomp.ScmpSyscall

func (*FakeImpl) GetNameCallCount

func (fake *FakeImpl) GetNameCallCount() int

func (*FakeImpl) GetNameCalls

func (fake *FakeImpl) GetNameCalls(stub func(seccomp.ScmpSyscall) (string, error))

func (*FakeImpl) GetNameReturns

func (fake *FakeImpl) GetNameReturns(result1 string, result2 error)

func (*FakeImpl) GetNameReturnsOnCall

func (fake *FakeImpl) GetNameReturnsOnCall(i int, result1 string, result2 error)

func (*FakeImpl) InitSeccomp

func (fake *FakeImpl) InitSeccomp(arg1 *configs.Seccomp) (int, error)

func (*FakeImpl) InitSeccompArgsForCall

func (fake *FakeImpl) InitSeccompArgsForCall(i int) *configs.Seccomp

func (*FakeImpl) InitSeccompCallCount

func (fake *FakeImpl) InitSeccompCallCount() int

func (*FakeImpl) InitSeccompCalls

func (fake *FakeImpl) InitSeccompCalls(stub func(*configs.Seccomp) (int, error))

func (*FakeImpl) InitSeccompReturns

func (fake *FakeImpl) InitSeccompReturns(result1 int, result2 error)

func (*FakeImpl) InitSeccompReturnsOnCall

func (fake *FakeImpl) InitSeccompReturnsOnCall(i int, result1 int, result2 error)

func (*FakeImpl) Invocations

func (fake *FakeImpl) Invocations() map[string][][]interface{}

func (*FakeImpl) IsAuditLine

func (fake *FakeImpl) IsAuditLine(arg1 string) bool

func (*FakeImpl) IsAuditLineArgsForCall

func (fake *FakeImpl) IsAuditLineArgsForCall(i int) string

func (*FakeImpl) IsAuditLineCallCount

func (fake *FakeImpl) IsAuditLineCallCount() int

func (*FakeImpl) IsAuditLineCalls

func (fake *FakeImpl) IsAuditLineCalls(stub func(string) bool)

func (*FakeImpl) IsAuditLineReturns

func (fake *FakeImpl) IsAuditLineReturns(result1 bool)

func (*FakeImpl) IsAuditLineReturnsOnCall

func (fake *FakeImpl) IsAuditLineReturnsOnCall(i int, result1 bool)

func (*FakeImpl) JSONMarshal

func (fake *FakeImpl) JSONMarshal(arg1 any) ([]byte, error)

func (*FakeImpl) JSONMarshalArgsForCall

func (fake *FakeImpl) JSONMarshalArgsForCall(i int) any

func (*FakeImpl) JSONMarshalCallCount

func (fake *FakeImpl) JSONMarshalCallCount() int

func (*FakeImpl) JSONMarshalCalls

func (fake *FakeImpl) JSONMarshalCalls(stub func(any) ([]byte, error))

func (*FakeImpl) JSONMarshalReturns

func (fake *FakeImpl) JSONMarshalReturns(result1 []byte, result2 error)

func (*FakeImpl) JSONMarshalReturnsOnCall

func (fake *FakeImpl) JSONMarshalReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeImpl) JSONUnmarshal

func (fake *FakeImpl) JSONUnmarshal(arg1 []byte, arg2 any) error

func (*FakeImpl) JSONUnmarshalArgsForCall

func (fake *FakeImpl) JSONUnmarshalArgsForCall(i int) ([]byte, any)

func (*FakeImpl) JSONUnmarshalCallCount

func (fake *FakeImpl) JSONUnmarshalCallCount() int

func (*FakeImpl) JSONUnmarshalCalls

func (fake *FakeImpl) JSONUnmarshalCalls(stub func([]byte, any) error)

func (*FakeImpl) JSONUnmarshalReturns

func (fake *FakeImpl) JSONUnmarshalReturns(result1 error)

func (*FakeImpl) JSONUnmarshalReturnsOnCall

func (fake *FakeImpl) JSONUnmarshalReturnsOnCall(i int, result1 error)

func (*FakeImpl) Lines

func (fake *FakeImpl) Lines(arg1 *tail.Tail) chan *tail.Line

func (*FakeImpl) LinesArgsForCall

func (fake *FakeImpl) LinesArgsForCall(i int) *tail.Tail

func (*FakeImpl) LinesCallCount

func (fake *FakeImpl) LinesCallCount() int

func (*FakeImpl) LinesCalls

func (fake *FakeImpl) LinesCalls(stub func(*tail.Tail) chan *tail.Line)

func (*FakeImpl) LinesReturns

func (fake *FakeImpl) LinesReturns(result1 chan *tail.Line)

func (*FakeImpl) LinesReturnsOnCall

func (fake *FakeImpl) LinesReturnsOnCall(i int, result1 chan *tail.Line)

func (*FakeImpl) PidLoad

func (fake *FakeImpl) PidLoad() uint32

func (*FakeImpl) PidLoadCallCount

func (fake *FakeImpl) PidLoadCallCount() int

func (*FakeImpl) PidLoadCalls

func (fake *FakeImpl) PidLoadCalls(stub func() uint32)

func (*FakeImpl) PidLoadReturns

func (fake *FakeImpl) PidLoadReturns(result1 uint32)

func (*FakeImpl) PidLoadReturnsOnCall

func (fake *FakeImpl) PidLoadReturnsOnCall(i int, result1 uint32)

func (*FakeImpl) Printf added in v0.8.1

func (fake *FakeImpl) Printf(arg1 string, arg2 ...any)

func (*FakeImpl) PrintfArgsForCall added in v0.8.1

func (fake *FakeImpl) PrintfArgsForCall(i int) (string, []any)

func (*FakeImpl) PrintfCallCount added in v0.8.1

func (fake *FakeImpl) PrintfCallCount() int

func (*FakeImpl) PrintfCalls added in v0.8.1

func (fake *FakeImpl) PrintfCalls(stub func(string, ...any))

func (*FakeImpl) ReadFile

func (fake *FakeImpl) ReadFile(arg1 string) ([]byte, error)

func (*FakeImpl) ReadFileArgsForCall

func (fake *FakeImpl) ReadFileArgsForCall(i int) string

func (*FakeImpl) ReadFileCallCount

func (fake *FakeImpl) ReadFileCallCount() int

func (*FakeImpl) ReadFileCalls

func (fake *FakeImpl) ReadFileCalls(stub func(string) ([]byte, error))

func (*FakeImpl) ReadFileReturns

func (fake *FakeImpl) ReadFileReturns(result1 []byte, result2 error)

func (*FakeImpl) ReadFileReturnsOnCall

func (fake *FakeImpl) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeImpl) SetupSeccomp

func (fake *FakeImpl) SetupSeccomp(arg1 *specs.LinuxSeccomp) (*configs.Seccomp, error)

func (*FakeImpl) SetupSeccompArgsForCall

func (fake *FakeImpl) SetupSeccompArgsForCall(i int) *specs.LinuxSeccomp

func (*FakeImpl) SetupSeccompCallCount

func (fake *FakeImpl) SetupSeccompCallCount() int

func (*FakeImpl) SetupSeccompCalls

func (fake *FakeImpl) SetupSeccompCalls(stub func(*specs.LinuxSeccomp) (*configs.Seccomp, error))

func (*FakeImpl) SetupSeccompReturns

func (fake *FakeImpl) SetupSeccompReturns(result1 *configs.Seccomp, result2 error)

func (*FakeImpl) SetupSeccompReturnsOnCall

func (fake *FakeImpl) SetupSeccompReturnsOnCall(i int, result1 *configs.Seccomp, result2 error)

func (*FakeImpl) TailFile

func (fake *FakeImpl) TailFile(arg1 string, arg2 tail.Config) (*tail.Tail, error)

func (*FakeImpl) TailFileArgsForCall

func (fake *FakeImpl) TailFileArgsForCall(i int) (string, tail.Config)

func (*FakeImpl) TailFileCallCount

func (fake *FakeImpl) TailFileCallCount() int

func (*FakeImpl) TailFileCalls

func (fake *FakeImpl) TailFileCalls(stub func(string, tail.Config) (*tail.Tail, error))

func (*FakeImpl) TailFileReturns

func (fake *FakeImpl) TailFileReturns(result1 *tail.Tail, result2 error)

func (*FakeImpl) TailFileReturnsOnCall

func (fake *FakeImpl) TailFileReturnsOnCall(i int, result1 *tail.Tail, result2 error)

func (*FakeImpl) YamlUnmarshal

func (fake *FakeImpl) YamlUnmarshal(arg1 []byte, arg2 interface{}) error

func (*FakeImpl) YamlUnmarshalArgsForCall

func (fake *FakeImpl) YamlUnmarshalArgsForCall(i int) ([]byte, interface{})

func (*FakeImpl) YamlUnmarshalCallCount

func (fake *FakeImpl) YamlUnmarshalCallCount() int

func (*FakeImpl) YamlUnmarshalCalls

func (fake *FakeImpl) YamlUnmarshalCalls(stub func([]byte, interface{}) error)

func (*FakeImpl) YamlUnmarshalReturns

func (fake *FakeImpl) YamlUnmarshalReturns(result1 error)

func (*FakeImpl) YamlUnmarshalReturnsOnCall

func (fake *FakeImpl) YamlUnmarshalReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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