seccompprofilefakes

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: 12 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 {
	ClientGetProfileStub func(context.Context, client.Client, types.NamespacedName, ...client.GetOption) (*v1beta1.SeccompProfile, error)

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

	IncSeccompProfileErrorStub func(*metrics.Metrics, string)

	PullStub func(context.Context, logr.Logger, string, string, string, *v1.Platform, bool) (*artifact.PullResult, error)

	PullResultSeccompProfileStub func(*artifact.PullResult) *v1beta1.SeccompProfile

	PullResultTypeStub func(*artifact.PullResult) artifact.PullResultType

	RecordEventStub func(record.EventRecorder, runtime.Object, string, string, string)
	// contains filtered or unexported fields
}

func (*FakeImpl) ClientGetProfile

func (fake *FakeImpl) ClientGetProfile(arg1 context.Context, arg2 client.Client, arg3 types.NamespacedName, arg4 ...client.GetOption) (*v1beta1.SeccompProfile, error)

func (*FakeImpl) ClientGetProfileArgsForCall

func (fake *FakeImpl) ClientGetProfileArgsForCall(i int) (context.Context, client.Client, types.NamespacedName, []client.GetOption)

func (*FakeImpl) ClientGetProfileCallCount

func (fake *FakeImpl) ClientGetProfileCallCount() int

func (*FakeImpl) ClientGetProfileCalls

func (fake *FakeImpl) ClientGetProfileCalls(stub func(context.Context, client.Client, types.NamespacedName, ...client.GetOption) (*v1beta1.SeccompProfile, error))

func (*FakeImpl) ClientGetProfileReturns

func (fake *FakeImpl) ClientGetProfileReturns(result1 *v1beta1.SeccompProfile, result2 error)

func (*FakeImpl) ClientGetProfileReturnsOnCall

func (fake *FakeImpl) ClientGetProfileReturnsOnCall(i int, result1 *v1beta1.SeccompProfile, result2 error)

func (*FakeImpl) GetSPOD added in v0.8.1

func (*FakeImpl) GetSPODArgsForCall added in v0.8.1

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

func (*FakeImpl) GetSPODCallCount added in v0.8.1

func (fake *FakeImpl) GetSPODCallCount() int

func (*FakeImpl) GetSPODCalls added in v0.8.1

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

func (*FakeImpl) GetSPODReturns added in v0.8.1

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

func (*FakeImpl) GetSPODReturnsOnCall added in v0.8.1

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

func (*FakeImpl) IncSeccompProfileError

func (fake *FakeImpl) IncSeccompProfileError(arg1 *metrics.Metrics, arg2 string)

func (*FakeImpl) IncSeccompProfileErrorArgsForCall

func (fake *FakeImpl) IncSeccompProfileErrorArgsForCall(i int) (*metrics.Metrics, string)

func (*FakeImpl) IncSeccompProfileErrorCallCount

func (fake *FakeImpl) IncSeccompProfileErrorCallCount() int

func (*FakeImpl) IncSeccompProfileErrorCalls

func (fake *FakeImpl) IncSeccompProfileErrorCalls(stub func(*metrics.Metrics, string))

func (*FakeImpl) Invocations

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

func (*FakeImpl) Pull

func (fake *FakeImpl) Pull(arg1 context.Context, arg2 logr.Logger, arg3 string, arg4 string, arg5 string, arg6 *v1.Platform, arg7 bool) (*artifact.PullResult, error)

func (*FakeImpl) PullArgsForCall

func (fake *FakeImpl) PullArgsForCall(i int) (context.Context, logr.Logger, string, string, string, *v1.Platform, bool)

func (*FakeImpl) PullCallCount

func (fake *FakeImpl) PullCallCount() int

func (*FakeImpl) PullCalls

func (fake *FakeImpl) PullCalls(stub func(context.Context, logr.Logger, string, string, string, *v1.Platform, bool) (*artifact.PullResult, error))

func (*FakeImpl) PullResultSeccompProfile

func (fake *FakeImpl) PullResultSeccompProfile(arg1 *artifact.PullResult) *v1beta1.SeccompProfile

func (*FakeImpl) PullResultSeccompProfileArgsForCall

func (fake *FakeImpl) PullResultSeccompProfileArgsForCall(i int) *artifact.PullResult

func (*FakeImpl) PullResultSeccompProfileCallCount

func (fake *FakeImpl) PullResultSeccompProfileCallCount() int

func (*FakeImpl) PullResultSeccompProfileCalls

func (fake *FakeImpl) PullResultSeccompProfileCalls(stub func(*artifact.PullResult) *v1beta1.SeccompProfile)

func (*FakeImpl) PullResultSeccompProfileReturns

func (fake *FakeImpl) PullResultSeccompProfileReturns(result1 *v1beta1.SeccompProfile)

func (*FakeImpl) PullResultSeccompProfileReturnsOnCall

func (fake *FakeImpl) PullResultSeccompProfileReturnsOnCall(i int, result1 *v1beta1.SeccompProfile)

func (*FakeImpl) PullResultType

func (fake *FakeImpl) PullResultType(arg1 *artifact.PullResult) artifact.PullResultType

func (*FakeImpl) PullResultTypeArgsForCall

func (fake *FakeImpl) PullResultTypeArgsForCall(i int) *artifact.PullResult

func (*FakeImpl) PullResultTypeCallCount

func (fake *FakeImpl) PullResultTypeCallCount() int

func (*FakeImpl) PullResultTypeCalls

func (fake *FakeImpl) PullResultTypeCalls(stub func(*artifact.PullResult) artifact.PullResultType)

func (*FakeImpl) PullResultTypeReturns

func (fake *FakeImpl) PullResultTypeReturns(result1 artifact.PullResultType)

func (*FakeImpl) PullResultTypeReturnsOnCall

func (fake *FakeImpl) PullResultTypeReturnsOnCall(i int, result1 artifact.PullResultType)

func (*FakeImpl) PullReturns

func (fake *FakeImpl) PullReturns(result1 *artifact.PullResult, result2 error)

func (*FakeImpl) PullReturnsOnCall

func (fake *FakeImpl) PullReturnsOnCall(i int, result1 *artifact.PullResult, result2 error)

func (*FakeImpl) RecordEvent

func (fake *FakeImpl) RecordEvent(arg1 record.EventRecorder, arg2 runtime.Object, arg3 string, arg4 string, arg5 string)

func (*FakeImpl) RecordEventArgsForCall

func (fake *FakeImpl) RecordEventArgsForCall(i int) (record.EventRecorder, runtime.Object, string, string, string)

func (*FakeImpl) RecordEventCallCount

func (fake *FakeImpl) RecordEventCallCount() int

func (*FakeImpl) RecordEventCalls

func (fake *FakeImpl) RecordEventCalls(stub func(record.EventRecorder, runtime.Object, string, string, string))

Jump to

Keyboard shortcuts

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