profilerecorderfakes

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 15 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 {
	AvcsStub func(context.Context, api_enricher.EnricherClient, *api_enricher.AvcRequest) (*api_enricher.AvcResponse, error)

	ClientGetStub func(client.Client, types.NamespacedName, client.Object) error

	CreateOrUpdateStub func(context.Context, client.Client, client.Object, controllerutil.MutateFn) (controllerutil.OperationResult, error)

	DialBpfRecorderStub func() (*grpc.ClientConn, context.CancelFunc, error)

	DialEnricherStub func() (*grpc.ClientConn, context.CancelFunc, error)

	GetPodStub func(context.Context, client.Client, types.NamespacedName) (*v1.Pod, error)

	GetSPODStub func(context.Context, client.Client) (*v1alpha1.SecurityProfilesOperatorDaemon, error)

	GoArchToSeccompArchStub func(string) (seccomp.Arch, error)

	ManagerGetClientStub func(manager.Manager) client.Client

	ManagerGetEventRecorderForStub func(manager.Manager, string) record.EventRecorder

	NewClientStub func(manager.Manager) (client.Client, error)

	NewControllerManagedByStub func(manager.Manager, string, func(obj runtime.Object) bool, func(obj runtime.Object) bool, reconcile.Reconciler) error

	ReadFileStub func(string) ([]byte, error)

	ResetAvcsStub func(context.Context, api_enricher.EnricherClient, *api_enricher.AvcRequest) error

	ResetSyscallsStub func(context.Context, api_enricher.EnricherClient, *api_enricher.SyscallsRequest) error

	StartBpfRecorderStub func(context.Context, api_bpfrecorder.BpfRecorderClient) error

	StopBpfRecorderStub func(context.Context, api_bpfrecorder.BpfRecorderClient) error

	SyscallsStub func(context.Context, api_enricher.EnricherClient, *api_enricher.SyscallsRequest) (*api_enricher.SyscallsResponse, error)

	SyscallsForProfileStub func(context.Context, api_bpfrecorder.BpfRecorderClient, *api_bpfrecorder.ProfileRequest) (*api_bpfrecorder.SyscallsResponse, error)
	// contains filtered or unexported fields
}

func (*FakeImpl) Avcs

func (*FakeImpl) AvcsArgsForCall

func (*FakeImpl) AvcsCallCount

func (fake *FakeImpl) AvcsCallCount() int

func (*FakeImpl) AvcsReturns

func (fake *FakeImpl) AvcsReturns(result1 *api_enricher.AvcResponse, result2 error)

func (*FakeImpl) AvcsReturnsOnCall

func (fake *FakeImpl) AvcsReturnsOnCall(i int, result1 *api_enricher.AvcResponse, result2 error)

func (*FakeImpl) ClientGet

func (fake *FakeImpl) ClientGet(arg1 client.Client, arg2 types.NamespacedName, arg3 client.Object) error

func (*FakeImpl) ClientGetArgsForCall

func (fake *FakeImpl) ClientGetArgsForCall(i int) (client.Client, types.NamespacedName, client.Object)

func (*FakeImpl) ClientGetCallCount

func (fake *FakeImpl) ClientGetCallCount() int

func (*FakeImpl) ClientGetCalls

func (fake *FakeImpl) ClientGetCalls(stub func(client.Client, types.NamespacedName, client.Object) error)

func (*FakeImpl) ClientGetReturns

func (fake *FakeImpl) ClientGetReturns(result1 error)

func (*FakeImpl) ClientGetReturnsOnCall

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

func (*FakeImpl) CreateOrUpdate

func (fake *FakeImpl) CreateOrUpdate(arg1 context.Context, arg2 client.Client, arg3 client.Object, arg4 controllerutil.MutateFn) (controllerutil.OperationResult, error)

func (*FakeImpl) CreateOrUpdateArgsForCall

func (fake *FakeImpl) CreateOrUpdateArgsForCall(i int) (context.Context, client.Client, client.Object, controllerutil.MutateFn)

func (*FakeImpl) CreateOrUpdateCallCount

func (fake *FakeImpl) CreateOrUpdateCallCount() int

func (*FakeImpl) CreateOrUpdateCalls

func (*FakeImpl) CreateOrUpdateReturns

func (fake *FakeImpl) CreateOrUpdateReturns(result1 controllerutil.OperationResult, result2 error)

func (*FakeImpl) CreateOrUpdateReturnsOnCall

func (fake *FakeImpl) CreateOrUpdateReturnsOnCall(i int, result1 controllerutil.OperationResult, result2 error)

func (*FakeImpl) DialBpfRecorder

func (fake *FakeImpl) DialBpfRecorder() (*grpc.ClientConn, context.CancelFunc, error)

func (*FakeImpl) DialBpfRecorderCallCount

func (fake *FakeImpl) DialBpfRecorderCallCount() int

func (*FakeImpl) DialBpfRecorderCalls

func (fake *FakeImpl) DialBpfRecorderCalls(stub func() (*grpc.ClientConn, context.CancelFunc, error))

func (*FakeImpl) DialBpfRecorderReturns

func (fake *FakeImpl) DialBpfRecorderReturns(result1 *grpc.ClientConn, result2 context.CancelFunc, result3 error)

func (*FakeImpl) DialBpfRecorderReturnsOnCall

func (fake *FakeImpl) DialBpfRecorderReturnsOnCall(i int, result1 *grpc.ClientConn, result2 context.CancelFunc, result3 error)

func (*FakeImpl) DialEnricher

func (fake *FakeImpl) DialEnricher() (*grpc.ClientConn, context.CancelFunc, error)

func (*FakeImpl) DialEnricherCallCount

func (fake *FakeImpl) DialEnricherCallCount() int

func (*FakeImpl) DialEnricherCalls

func (fake *FakeImpl) DialEnricherCalls(stub func() (*grpc.ClientConn, context.CancelFunc, error))

func (*FakeImpl) DialEnricherReturns

func (fake *FakeImpl) DialEnricherReturns(result1 *grpc.ClientConn, result2 context.CancelFunc, result3 error)

func (*FakeImpl) DialEnricherReturnsOnCall

func (fake *FakeImpl) DialEnricherReturnsOnCall(i int, result1 *grpc.ClientConn, result2 context.CancelFunc, result3 error)

func (*FakeImpl) GetPod

func (fake *FakeImpl) GetPod(arg1 context.Context, arg2 client.Client, arg3 types.NamespacedName) (*v1.Pod, error)

func (*FakeImpl) GetPodArgsForCall

func (fake *FakeImpl) GetPodArgsForCall(i int) (context.Context, client.Client, types.NamespacedName)

func (*FakeImpl) GetPodCallCount

func (fake *FakeImpl) GetPodCallCount() int

func (*FakeImpl) GetPodCalls

func (fake *FakeImpl) GetPodCalls(stub func(context.Context, client.Client, types.NamespacedName) (*v1.Pod, error))

func (*FakeImpl) GetPodReturns

func (fake *FakeImpl) GetPodReturns(result1 *v1.Pod, result2 error)

func (*FakeImpl) GetPodReturnsOnCall

func (fake *FakeImpl) GetPodReturnsOnCall(i int, result1 *v1.Pod, result2 error)

func (*FakeImpl) GetSPOD

func (*FakeImpl) GetSPODArgsForCall

func (fake *FakeImpl) GetSPODArgsForCall(i int) (context.Context, client.Client)

func (*FakeImpl) GetSPODCallCount

func (fake *FakeImpl) GetSPODCallCount() int

func (*FakeImpl) GetSPODCalls

func (fake *FakeImpl) GetSPODCalls(stub func(context.Context, client.Client) (*v1alpha1.SecurityProfilesOperatorDaemon, error))

func (*FakeImpl) GetSPODReturns

func (fake *FakeImpl) GetSPODReturns(result1 *v1alpha1.SecurityProfilesOperatorDaemon, result2 error)

func (*FakeImpl) GetSPODReturnsOnCall

func (fake *FakeImpl) GetSPODReturnsOnCall(i int, result1 *v1alpha1.SecurityProfilesOperatorDaemon, result2 error)

func (*FakeImpl) GoArchToSeccompArch

func (fake *FakeImpl) GoArchToSeccompArch(arg1 string) (seccomp.Arch, error)

func (*FakeImpl) GoArchToSeccompArchArgsForCall

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

func (*FakeImpl) GoArchToSeccompArchCallCount

func (fake *FakeImpl) GoArchToSeccompArchCallCount() int

func (*FakeImpl) GoArchToSeccompArchCalls

func (fake *FakeImpl) GoArchToSeccompArchCalls(stub func(string) (seccomp.Arch, error))

func (*FakeImpl) GoArchToSeccompArchReturns

func (fake *FakeImpl) GoArchToSeccompArchReturns(result1 seccomp.Arch, result2 error)

func (*FakeImpl) GoArchToSeccompArchReturnsOnCall

func (fake *FakeImpl) GoArchToSeccompArchReturnsOnCall(i int, result1 seccomp.Arch, result2 error)

func (*FakeImpl) Invocations

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

func (*FakeImpl) ManagerGetClient

func (fake *FakeImpl) ManagerGetClient(arg1 manager.Manager) client.Client

func (*FakeImpl) ManagerGetClientArgsForCall

func (fake *FakeImpl) ManagerGetClientArgsForCall(i int) manager.Manager

func (*FakeImpl) ManagerGetClientCallCount

func (fake *FakeImpl) ManagerGetClientCallCount() int

func (*FakeImpl) ManagerGetClientCalls

func (fake *FakeImpl) ManagerGetClientCalls(stub func(manager.Manager) client.Client)

func (*FakeImpl) ManagerGetClientReturns

func (fake *FakeImpl) ManagerGetClientReturns(result1 client.Client)

func (*FakeImpl) ManagerGetClientReturnsOnCall

func (fake *FakeImpl) ManagerGetClientReturnsOnCall(i int, result1 client.Client)

func (*FakeImpl) ManagerGetEventRecorderFor

func (fake *FakeImpl) ManagerGetEventRecorderFor(arg1 manager.Manager, arg2 string) record.EventRecorder

func (*FakeImpl) ManagerGetEventRecorderForArgsForCall

func (fake *FakeImpl) ManagerGetEventRecorderForArgsForCall(i int) (manager.Manager, string)

func (*FakeImpl) ManagerGetEventRecorderForCallCount

func (fake *FakeImpl) ManagerGetEventRecorderForCallCount() int

func (*FakeImpl) ManagerGetEventRecorderForCalls

func (fake *FakeImpl) ManagerGetEventRecorderForCalls(stub func(manager.Manager, string) record.EventRecorder)

func (*FakeImpl) ManagerGetEventRecorderForReturns

func (fake *FakeImpl) ManagerGetEventRecorderForReturns(result1 record.EventRecorder)

func (*FakeImpl) ManagerGetEventRecorderForReturnsOnCall

func (fake *FakeImpl) ManagerGetEventRecorderForReturnsOnCall(i int, result1 record.EventRecorder)

func (*FakeImpl) NewClient

func (fake *FakeImpl) NewClient(arg1 manager.Manager) (client.Client, error)

func (*FakeImpl) NewClientArgsForCall

func (fake *FakeImpl) NewClientArgsForCall(i int) manager.Manager

func (*FakeImpl) NewClientCallCount

func (fake *FakeImpl) NewClientCallCount() int

func (*FakeImpl) NewClientCalls

func (fake *FakeImpl) NewClientCalls(stub func(manager.Manager) (client.Client, error))

func (*FakeImpl) NewClientReturns

func (fake *FakeImpl) NewClientReturns(result1 client.Client, result2 error)

func (*FakeImpl) NewClientReturnsOnCall

func (fake *FakeImpl) NewClientReturnsOnCall(i int, result1 client.Client, result2 error)

func (*FakeImpl) NewControllerManagedBy

func (fake *FakeImpl) NewControllerManagedBy(arg1 manager.Manager, arg2 string, arg3 func(obj runtime.Object) bool, arg4 func(obj runtime.Object) bool, arg5 reconcile.Reconciler) error

func (*FakeImpl) NewControllerManagedByArgsForCall

func (fake *FakeImpl) NewControllerManagedByArgsForCall(i int) (manager.Manager, string, func(obj runtime.Object) bool, func(obj runtime.Object) bool, reconcile.Reconciler)

func (*FakeImpl) NewControllerManagedByCallCount

func (fake *FakeImpl) NewControllerManagedByCallCount() int

func (*FakeImpl) NewControllerManagedByCalls

func (fake *FakeImpl) NewControllerManagedByCalls(stub func(manager.Manager, string, func(obj runtime.Object) bool, func(obj runtime.Object) bool, reconcile.Reconciler) error)

func (*FakeImpl) NewControllerManagedByReturns

func (fake *FakeImpl) NewControllerManagedByReturns(result1 error)

func (*FakeImpl) NewControllerManagedByReturnsOnCall

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

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) ResetAvcs

func (fake *FakeImpl) ResetAvcs(arg1 context.Context, arg2 api_enricher.EnricherClient, arg3 *api_enricher.AvcRequest) error

func (*FakeImpl) ResetAvcsArgsForCall

func (fake *FakeImpl) ResetAvcsArgsForCall(i int) (context.Context, api_enricher.EnricherClient, *api_enricher.AvcRequest)

func (*FakeImpl) ResetAvcsCallCount

func (fake *FakeImpl) ResetAvcsCallCount() int

func (*FakeImpl) ResetAvcsCalls

func (fake *FakeImpl) ResetAvcsCalls(stub func(context.Context, api_enricher.EnricherClient, *api_enricher.AvcRequest) error)

func (*FakeImpl) ResetAvcsReturns

func (fake *FakeImpl) ResetAvcsReturns(result1 error)

func (*FakeImpl) ResetAvcsReturnsOnCall

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

func (*FakeImpl) ResetSyscalls

func (fake *FakeImpl) ResetSyscalls(arg1 context.Context, arg2 api_enricher.EnricherClient, arg3 *api_enricher.SyscallsRequest) error

func (*FakeImpl) ResetSyscallsArgsForCall

func (fake *FakeImpl) ResetSyscallsArgsForCall(i int) (context.Context, api_enricher.EnricherClient, *api_enricher.SyscallsRequest)

func (*FakeImpl) ResetSyscallsCallCount

func (fake *FakeImpl) ResetSyscallsCallCount() int

func (*FakeImpl) ResetSyscallsCalls

func (fake *FakeImpl) ResetSyscallsCalls(stub func(context.Context, api_enricher.EnricherClient, *api_enricher.SyscallsRequest) error)

func (*FakeImpl) ResetSyscallsReturns

func (fake *FakeImpl) ResetSyscallsReturns(result1 error)

func (*FakeImpl) ResetSyscallsReturnsOnCall

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

func (*FakeImpl) StartBpfRecorder

func (fake *FakeImpl) StartBpfRecorder(arg1 context.Context, arg2 api_bpfrecorder.BpfRecorderClient) error

func (*FakeImpl) StartBpfRecorderArgsForCall

func (fake *FakeImpl) StartBpfRecorderArgsForCall(i int) (context.Context, api_bpfrecorder.BpfRecorderClient)

func (*FakeImpl) StartBpfRecorderCallCount

func (fake *FakeImpl) StartBpfRecorderCallCount() int

func (*FakeImpl) StartBpfRecorderCalls

func (fake *FakeImpl) StartBpfRecorderCalls(stub func(context.Context, api_bpfrecorder.BpfRecorderClient) error)

func (*FakeImpl) StartBpfRecorderReturns

func (fake *FakeImpl) StartBpfRecorderReturns(result1 error)

func (*FakeImpl) StartBpfRecorderReturnsOnCall

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

func (*FakeImpl) StopBpfRecorder

func (fake *FakeImpl) StopBpfRecorder(arg1 context.Context, arg2 api_bpfrecorder.BpfRecorderClient) error

func (*FakeImpl) StopBpfRecorderArgsForCall

func (fake *FakeImpl) StopBpfRecorderArgsForCall(i int) (context.Context, api_bpfrecorder.BpfRecorderClient)

func (*FakeImpl) StopBpfRecorderCallCount

func (fake *FakeImpl) StopBpfRecorderCallCount() int

func (*FakeImpl) StopBpfRecorderCalls

func (fake *FakeImpl) StopBpfRecorderCalls(stub func(context.Context, api_bpfrecorder.BpfRecorderClient) error)

func (*FakeImpl) StopBpfRecorderReturns

func (fake *FakeImpl) StopBpfRecorderReturns(result1 error)

func (*FakeImpl) StopBpfRecorderReturnsOnCall

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

func (*FakeImpl) SyscallsArgsForCall

func (*FakeImpl) SyscallsCallCount

func (fake *FakeImpl) SyscallsCallCount() int

func (*FakeImpl) SyscallsForProfileArgsForCall

func (fake *FakeImpl) SyscallsForProfileArgsForCall(i int) (context.Context, api_bpfrecorder.BpfRecorderClient, *api_bpfrecorder.ProfileRequest)

func (*FakeImpl) SyscallsForProfileCallCount

func (fake *FakeImpl) SyscallsForProfileCallCount() int

func (*FakeImpl) SyscallsForProfileReturns

func (fake *FakeImpl) SyscallsForProfileReturns(result1 *api_bpfrecorder.SyscallsResponse, result2 error)

func (*FakeImpl) SyscallsForProfileReturnsOnCall

func (fake *FakeImpl) SyscallsForProfileReturnsOnCall(i int, result1 *api_bpfrecorder.SyscallsResponse, result2 error)

func (*FakeImpl) SyscallsReturns

func (fake *FakeImpl) SyscallsReturns(result1 *api_enricher.SyscallsResponse, result2 error)

func (*FakeImpl) SyscallsReturnsOnCall

func (fake *FakeImpl) SyscallsReturnsOnCall(i int, result1 *api_enricher.SyscallsResponse, result2 error)

Jump to

Keyboard shortcuts

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