fakes

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 6 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 FakeVolumeGroupSourceHandler

type FakeVolumeGroupSourceHandler struct {
	CheckReplicationSourceForRestoredPVCsCompletedStub func(context.Context, []*v1.ObjectReference) (bool, error)

	CleanVolumeGroupSnapshotStub func(context.Context) error

	CreateOrUpdateReplicationSourceForRestoredPVCsStub func(context.Context, string, []cephfscg.RestoredPVC, v1a.Object, *ramendrv1alpha1.VolumeReplicationGroup, bool) ([]*v1.ObjectReference, bool, error)

	CreateOrUpdateVolumeGroupSnapshotStub func(context.Context, v1a.Object) (bool, error)

	RestoreVolumesFromVolumeGroupSnapshotStub func(context.Context, v1a.Object) ([]cephfscg.RestoredPVC, error)

	WaitIfPVCTooNewStub func(context.Context) (bool, error)

	EnsureApplicationPVCsMountedStub func(context.Context) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompleted

func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompleted(arg1 context.Context, arg2 []*v1.ObjectReference) (bool, error)

func (*FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedArgsForCall

func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedArgsForCall(i int) (context.Context, []*v1.ObjectReference)

func (*FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedCallCount

func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedCallCount() int

func (*FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedCalls

func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedCalls(stub func(context.Context, []*v1.ObjectReference) (bool, error))

func (*FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedReturns

func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedReturns(result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshot

func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshot(arg1 context.Context) error

func (*FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotArgsForCall

func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotArgsForCall(i int) context.Context

func (*FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotCallCount

func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotCallCount() int

func (*FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotCalls

func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotCalls(stub func(context.Context) error)

func (*FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotReturns

func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotReturns(result1 error)

func (*FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotReturnsOnCall(i int, result1 error)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCs

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCs(arg1 context.Context, arg2 string, arg3 []cephfscg.RestoredPVC, arg4 v1a.Object, arg5 *ramendrv1alpha1.VolumeReplicationGroup, arg6 bool) ([]*v1.ObjectReference, bool, error)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsArgsForCall

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsArgsForCall(i int) (context.Context, string, []cephfscg.RestoredPVC, v1a.Object)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsCallCount

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsCallCount() int

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsCalls

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsCalls(stub func(context.Context, string, []cephfscg.RestoredPVC, v1a.Object, *ramendrv1alpha1.VolumeReplicationGroup, bool) ([]*v1.ObjectReference, bool, error))

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsReturns

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsReturns(result1 []*v1.ObjectReference, result2 bool, result3 error)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsReturnsOnCall(i int, result1 []*v1.ObjectReference, result2 bool, result3 error)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshot

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshot(arg1 context.Context, arg2 v1a.Object) (bool, error)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotArgsForCall

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotArgsForCall(i int) (context.Context, v1a.Object)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCallCount

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCallCount() int

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCalls

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCalls(stub func(context.Context, v1a.Object) (bool, error))

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotReturns

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotReturns(result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMounted

func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMounted(arg1 context.Context) (bool, error)

func (*FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedArgsForCall

func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedArgsForCall(i int) context.Context

func (*FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedCallCount

func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedCallCount() int

func (*FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedCalls

func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedCalls(stub func(context.Context) (bool, error))

func (*FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedReturns

func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedReturns(result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) Invocations

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

func (*FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshot

func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshot(arg1 context.Context, arg2 v1a.Object) ([]cephfscg.RestoredPVC, error)

func (*FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotArgsForCall

func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotArgsForCall(i int) (context.Context, v1a.Object)

func (*FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotCallCount

func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotCallCount() int

func (*FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotCalls

func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotCalls(stub func(context.Context, v1a.Object) ([]cephfscg.RestoredPVC, error))

func (*FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotReturns

func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotReturns(result1 []cephfscg.RestoredPVC, result2 error)

func (*FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotReturnsOnCall(i int, result1 []cephfscg.RestoredPVC, result2 error)

func (*FakeVolumeGroupSourceHandler) WaitIfPVCTooNew

func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNew(arg1 context.Context) (bool, error)

func (*FakeVolumeGroupSourceHandler) WaitIfPVCTooNewArgsForCall

func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewArgsForCall(i int) context.Context

func (*FakeVolumeGroupSourceHandler) WaitIfPVCTooNewCallCount

func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewCallCount() int

func (*FakeVolumeGroupSourceHandler) WaitIfPVCTooNewCalls

func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewCalls(stub func(context.Context) (bool, error))

func (*FakeVolumeGroupSourceHandler) WaitIfPVCTooNewReturns

func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewReturns(result1 bool, result2 error)

func (*FakeVolumeGroupSourceHandler) WaitIfPVCTooNewReturnsOnCall

func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewReturnsOnCall(i int, result1 bool, result2 error)

Jump to

Keyboard shortcuts

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