Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeVolumeGroupSourceHandler
- func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompleted(arg1 context.Context, arg2 []*v1.ObjectReference) (bool, error)
- func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedArgsForCall(i int) (context.Context, []*v1.ObjectReference)
- func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedCalls(stub func(context.Context, []*v1.ObjectReference) (bool, error))
- func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedReturns(result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) CheckReplicationSourceForRestoredPVCsCompletedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshot(arg1 context.Context) error
- func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotArgsForCall(i int) context.Context
- func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotCalls(stub func(context.Context) error)
- func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotReturns(result1 error)
- func (fake *FakeVolumeGroupSourceHandler) CleanVolumeGroupSnapshotReturnsOnCall(i int, result1 error)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCs(arg1 context.Context, arg2 string, arg3 []cephfscg.RestoredPVC, ...) ([]*v1.ObjectReference, bool, error)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsArgsForCall(i int) (context.Context, string, []cephfscg.RestoredPVC, v1a.Object)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsCalls(...)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsReturns(result1 []*v1.ObjectReference, result2 bool, result3 error)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateReplicationSourceForRestoredPVCsReturnsOnCall(i int, result1 []*v1.ObjectReference, result2 bool, result3 error)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshot(arg1 context.Context, arg2 v1a.Object) (bool, error)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotArgsForCall(i int) (context.Context, v1a.Object)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCalls(stub func(context.Context, v1a.Object) (bool, error))
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotReturns(result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMounted(arg1 context.Context) (bool, error)
- func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedArgsForCall(i int) context.Context
- func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedCalls(stub func(context.Context) (bool, error))
- func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedReturns(result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) EnsureApplicationPVCsMountedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) Invocations() map[string][][]interface{}
- func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshot(arg1 context.Context, arg2 v1a.Object) ([]cephfscg.RestoredPVC, error)
- func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotArgsForCall(i int) (context.Context, v1a.Object)
- func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotCalls(stub func(context.Context, v1a.Object) ([]cephfscg.RestoredPVC, error))
- func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotReturns(result1 []cephfscg.RestoredPVC, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) RestoreVolumesFromVolumeGroupSnapshotReturnsOnCall(i int, result1 []cephfscg.RestoredPVC, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNew(arg1 context.Context) (bool, error)
- func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewArgsForCall(i int) context.Context
- func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewCallCount() int
- func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewCalls(stub func(context.Context) (bool, error))
- func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewReturns(result1 bool, result2 error)
- func (fake *FakeVolumeGroupSourceHandler) WaitIfPVCTooNewReturnsOnCall(i int, result1 bool, result2 error)
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 (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotArgsForCall ¶
func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCallCount ¶
func (fake *FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCallCount() int
func (*FakeVolumeGroupSourceHandler) CreateOrUpdateVolumeGroupSnapshotCalls ¶
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 (*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)
Click to show internal directories.
Click to hide internal directories.