diff --git a/mocks/operator/redisfailover/service/RedisFailoverClient.go b/mocks/operator/redisfailover/service/RedisFailoverClient.go index 7d8258af7..d4f060126 100644 --- a/mocks/operator/redisfailover/service/RedisFailoverClient.go +++ b/mocks/operator/redisfailover/service/RedisFailoverClient.go @@ -14,6 +14,20 @@ type RedisFailoverClient struct { mock.Mock } +// DestroySentinelResources provides a mock function with given fields: rFailover +func (_m *RedisFailoverClient) DestroySentinelResources(rFailover *v1.RedisFailover) error { + ret := _m.Called(rFailover) + + var r0 error + if rf, ok := ret.Get(0).(func(*v1.RedisFailover) error); ok { + r0 = rf(rFailover) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // EnsureHAProxyConfigmap provides a mock function with given fields: rFailover, labels, ownerRefs func (_m *RedisFailoverClient) EnsureHAProxyConfigmap(rFailover *v1.RedisFailover, labels map[string]string, ownerRefs []metav1.OwnerReference) error { ret := _m.Called(rFailover, labels, ownerRefs) @@ -224,20 +238,6 @@ func (_m *RedisFailoverClient) EnsureSentinelDeployment(rFailover *v1.RedisFailo return r0 } -// DestroySentinelResources provides a mock function with given fields: rFailover, labels, ownerRefs -func (_m *RedisFailoverClient) DestroySentinelResources(rFailover *v1.RedisFailover) error { - ret := _m.Called(rFailover) - - var r0 error - if rf, ok := ret.Get(0).(func(*v1.RedisFailover) error); ok { - r0 = rf(rFailover) - } else { - r0 = ret.Error(0) - } - - return r0 -} - // EnsureSentinelNetworkPolicy provides a mock function with given fields: rFailover, labels, ownerRefs func (_m *RedisFailoverClient) EnsureSentinelNetworkPolicy(rFailover *v1.RedisFailover, labels map[string]string, ownerRefs []metav1.OwnerReference) error { ret := _m.Called(rFailover, labels, ownerRefs)