bindingfakes

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: 10 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 {
	DecodePodStub func(admission.Request) (*v1.Pod, error)

	GetSeccompProfileStub func(context.Context, types.NamespacedName) (*v1beta1.SeccompProfile, error)

	GetSelinuxProfileStub func(context.Context, types.NamespacedName) (*v1alpha2.SelinuxProfile, error)

	ListProfileBindingsStub func(context.Context, ...client.ListOption) (*v1alpha1.ProfileBindingList, error)

	UpdateResourceStub func(context.Context, logr.Logger, client.Object, string) error

	UpdateResourceStatusStub func(context.Context, logr.Logger, client.Object, string) error
	// contains filtered or unexported fields
}

func (*FakeImpl) DecodePod

func (fake *FakeImpl) DecodePod(arg1 admission.Request) (*v1.Pod, error)

func (*FakeImpl) DecodePodArgsForCall

func (fake *FakeImpl) DecodePodArgsForCall(i int) admission.Request

func (*FakeImpl) DecodePodCallCount

func (fake *FakeImpl) DecodePodCallCount() int

func (*FakeImpl) DecodePodCalls

func (fake *FakeImpl) DecodePodCalls(stub func(admission.Request) (*v1.Pod, error))

func (*FakeImpl) DecodePodReturns

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

func (*FakeImpl) DecodePodReturnsOnCall

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

func (*FakeImpl) GetSeccompProfile

func (fake *FakeImpl) GetSeccompProfile(arg1 context.Context, arg2 types.NamespacedName) (*v1beta1.SeccompProfile, error)

func (*FakeImpl) GetSeccompProfileArgsForCall

func (fake *FakeImpl) GetSeccompProfileArgsForCall(i int) (context.Context, types.NamespacedName)

func (*FakeImpl) GetSeccompProfileCallCount

func (fake *FakeImpl) GetSeccompProfileCallCount() int

func (*FakeImpl) GetSeccompProfileCalls

func (fake *FakeImpl) GetSeccompProfileCalls(stub func(context.Context, types.NamespacedName) (*v1beta1.SeccompProfile, error))

func (*FakeImpl) GetSeccompProfileReturns

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

func (*FakeImpl) GetSeccompProfileReturnsOnCall

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

func (*FakeImpl) GetSelinuxProfile added in v0.4.3

func (fake *FakeImpl) GetSelinuxProfile(arg1 context.Context, arg2 types.NamespacedName) (*v1alpha2.SelinuxProfile, error)

func (*FakeImpl) GetSelinuxProfileArgsForCall added in v0.4.3

func (fake *FakeImpl) GetSelinuxProfileArgsForCall(i int) (context.Context, types.NamespacedName)

func (*FakeImpl) GetSelinuxProfileCallCount added in v0.4.3

func (fake *FakeImpl) GetSelinuxProfileCallCount() int

func (*FakeImpl) GetSelinuxProfileCalls added in v0.4.3

func (fake *FakeImpl) GetSelinuxProfileCalls(stub func(context.Context, types.NamespacedName) (*v1alpha2.SelinuxProfile, error))

func (*FakeImpl) GetSelinuxProfileReturns added in v0.4.3

func (fake *FakeImpl) GetSelinuxProfileReturns(result1 *v1alpha2.SelinuxProfile, result2 error)

func (*FakeImpl) GetSelinuxProfileReturnsOnCall added in v0.4.3

func (fake *FakeImpl) GetSelinuxProfileReturnsOnCall(i int, result1 *v1alpha2.SelinuxProfile, result2 error)

func (*FakeImpl) Invocations

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

func (*FakeImpl) ListProfileBindings

func (fake *FakeImpl) ListProfileBindings(arg1 context.Context, arg2 ...client.ListOption) (*v1alpha1.ProfileBindingList, error)

func (*FakeImpl) ListProfileBindingsArgsForCall

func (fake *FakeImpl) ListProfileBindingsArgsForCall(i int) (context.Context, []client.ListOption)

func (*FakeImpl) ListProfileBindingsCallCount

func (fake *FakeImpl) ListProfileBindingsCallCount() int

func (*FakeImpl) ListProfileBindingsCalls

func (fake *FakeImpl) ListProfileBindingsCalls(stub func(context.Context, ...client.ListOption) (*v1alpha1.ProfileBindingList, error))

func (*FakeImpl) ListProfileBindingsReturns

func (fake *FakeImpl) ListProfileBindingsReturns(result1 *v1alpha1.ProfileBindingList, result2 error)

func (*FakeImpl) ListProfileBindingsReturnsOnCall

func (fake *FakeImpl) ListProfileBindingsReturnsOnCall(i int, result1 *v1alpha1.ProfileBindingList, result2 error)

func (*FakeImpl) UpdateResource

func (fake *FakeImpl) UpdateResource(arg1 context.Context, arg2 logr.Logger, arg3 client.Object, arg4 string) error

func (*FakeImpl) UpdateResourceArgsForCall

func (fake *FakeImpl) UpdateResourceArgsForCall(i int) (context.Context, logr.Logger, client.Object, string)

func (*FakeImpl) UpdateResourceCallCount

func (fake *FakeImpl) UpdateResourceCallCount() int

func (*FakeImpl) UpdateResourceCalls

func (fake *FakeImpl) UpdateResourceCalls(stub func(context.Context, logr.Logger, client.Object, string) error)

func (*FakeImpl) UpdateResourceReturns

func (fake *FakeImpl) UpdateResourceReturns(result1 error)

func (*FakeImpl) UpdateResourceReturnsOnCall

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

func (*FakeImpl) UpdateResourceStatus

func (fake *FakeImpl) UpdateResourceStatus(arg1 context.Context, arg2 logr.Logger, arg3 client.Object, arg4 string) error

func (*FakeImpl) UpdateResourceStatusArgsForCall

func (fake *FakeImpl) UpdateResourceStatusArgsForCall(i int) (context.Context, logr.Logger, client.Object, string)

func (*FakeImpl) UpdateResourceStatusCallCount

func (fake *FakeImpl) UpdateResourceStatusCallCount() int

func (*FakeImpl) UpdateResourceStatusCalls

func (fake *FakeImpl) UpdateResourceStatusCalls(stub func(context.Context, logr.Logger, client.Object, string) error)

func (*FakeImpl) UpdateResourceStatusReturns

func (fake *FakeImpl) UpdateResourceStatusReturns(result1 error)

func (*FakeImpl) UpdateResourceStatusReturnsOnCall

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

Jump to

Keyboard shortcuts

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