recordingfakes

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: 9 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)

	GetOperatorNamespaceStub func() string

	GetProfileRecordingStub func(context.Context, string, string) (*v1alpha1.ProfileRecording, error)

	LabelSelectorAsSelectorStub func(*v1a.LabelSelector) (labels.Selector, error)

	ListProfileRecordingsStub func(context.Context, ...client.ListOption) (*v1alpha1.ProfileRecordingList, error)

	ListRecordedPodsStub func(context.Context, string, *v1a.LabelSelector) (*v1.PodList, 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) GetOperatorNamespace added in v0.4.0

func (fake *FakeImpl) GetOperatorNamespace() string

func (*FakeImpl) GetOperatorNamespaceCallCount added in v0.4.0

func (fake *FakeImpl) GetOperatorNamespaceCallCount() int

func (*FakeImpl) GetOperatorNamespaceCalls added in v0.4.0

func (fake *FakeImpl) GetOperatorNamespaceCalls(stub func() string)

func (*FakeImpl) GetOperatorNamespaceReturns added in v0.4.0

func (fake *FakeImpl) GetOperatorNamespaceReturns(result1 string)

func (*FakeImpl) GetOperatorNamespaceReturnsOnCall added in v0.4.0

func (fake *FakeImpl) GetOperatorNamespaceReturnsOnCall(i int, result1 string)

func (*FakeImpl) GetProfileRecording added in v0.5.0

func (fake *FakeImpl) GetProfileRecording(arg1 context.Context, arg2 string, arg3 string) (*v1alpha1.ProfileRecording, error)

func (*FakeImpl) GetProfileRecordingArgsForCall added in v0.5.0

func (fake *FakeImpl) GetProfileRecordingArgsForCall(i int) (context.Context, string, string)

func (*FakeImpl) GetProfileRecordingCallCount added in v0.5.0

func (fake *FakeImpl) GetProfileRecordingCallCount() int

func (*FakeImpl) GetProfileRecordingCalls added in v0.5.0

func (fake *FakeImpl) GetProfileRecordingCalls(stub func(context.Context, string, string) (*v1alpha1.ProfileRecording, error))

func (*FakeImpl) GetProfileRecordingReturns added in v0.5.0

func (fake *FakeImpl) GetProfileRecordingReturns(result1 *v1alpha1.ProfileRecording, result2 error)

func (*FakeImpl) GetProfileRecordingReturnsOnCall added in v0.5.0

func (fake *FakeImpl) GetProfileRecordingReturnsOnCall(i int, result1 *v1alpha1.ProfileRecording, result2 error)

func (*FakeImpl) Invocations

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

func (*FakeImpl) LabelSelectorAsSelector

func (fake *FakeImpl) LabelSelectorAsSelector(arg1 *v1a.LabelSelector) (labels.Selector, error)

func (*FakeImpl) LabelSelectorAsSelectorArgsForCall

func (fake *FakeImpl) LabelSelectorAsSelectorArgsForCall(i int) *v1a.LabelSelector

func (*FakeImpl) LabelSelectorAsSelectorCallCount

func (fake *FakeImpl) LabelSelectorAsSelectorCallCount() int

func (*FakeImpl) LabelSelectorAsSelectorCalls

func (fake *FakeImpl) LabelSelectorAsSelectorCalls(stub func(*v1a.LabelSelector) (labels.Selector, error))

func (*FakeImpl) LabelSelectorAsSelectorReturns

func (fake *FakeImpl) LabelSelectorAsSelectorReturns(result1 labels.Selector, result2 error)

func (*FakeImpl) LabelSelectorAsSelectorReturnsOnCall

func (fake *FakeImpl) LabelSelectorAsSelectorReturnsOnCall(i int, result1 labels.Selector, result2 error)

func (*FakeImpl) ListProfileRecordings

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

func (*FakeImpl) ListProfileRecordingsArgsForCall

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

func (*FakeImpl) ListProfileRecordingsCallCount

func (fake *FakeImpl) ListProfileRecordingsCallCount() int

func (*FakeImpl) ListProfileRecordingsCalls

func (fake *FakeImpl) ListProfileRecordingsCalls(stub func(context.Context, ...client.ListOption) (*v1alpha1.ProfileRecordingList, error))

func (*FakeImpl) ListProfileRecordingsReturns

func (fake *FakeImpl) ListProfileRecordingsReturns(result1 *v1alpha1.ProfileRecordingList, result2 error)

func (*FakeImpl) ListProfileRecordingsReturnsOnCall

func (fake *FakeImpl) ListProfileRecordingsReturnsOnCall(i int, result1 *v1alpha1.ProfileRecordingList, result2 error)

func (*FakeImpl) ListRecordedPods added in v0.5.0

func (fake *FakeImpl) ListRecordedPods(arg1 context.Context, arg2 string, arg3 *v1a.LabelSelector) (*v1.PodList, error)

func (*FakeImpl) ListRecordedPodsArgsForCall added in v0.5.0

func (fake *FakeImpl) ListRecordedPodsArgsForCall(i int) (context.Context, string, *v1a.LabelSelector)

func (*FakeImpl) ListRecordedPodsCallCount added in v0.5.0

func (fake *FakeImpl) ListRecordedPodsCallCount() int

func (*FakeImpl) ListRecordedPodsCalls added in v0.5.0

func (fake *FakeImpl) ListRecordedPodsCalls(stub func(context.Context, string, *v1a.LabelSelector) (*v1.PodList, error))

func (*FakeImpl) ListRecordedPodsReturns added in v0.5.0

func (fake *FakeImpl) ListRecordedPodsReturns(result1 *v1.PodList, result2 error)

func (*FakeImpl) ListRecordedPodsReturnsOnCall added in v0.5.0

func (fake *FakeImpl) ListRecordedPodsReturnsOnCall(i int, result1 *v1.PodList, 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 added in v0.5.0

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

func (*FakeImpl) UpdateResourceStatusArgsForCall added in v0.5.0

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

func (*FakeImpl) UpdateResourceStatusCallCount added in v0.5.0

func (fake *FakeImpl) UpdateResourceStatusCallCount() int

func (*FakeImpl) UpdateResourceStatusCalls added in v0.5.0

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

func (*FakeImpl) UpdateResourceStatusReturns added in v0.5.0

func (fake *FakeImpl) UpdateResourceStatusReturns(result1 error)

func (*FakeImpl) UpdateResourceStatusReturnsOnCall added in v0.5.0

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