Bump mockery to 2.53.0

Should fix build on go1.24. Also fix ci-go-generate step in multiarch
Dockerfile.

Closes: #289
This commit is contained in:
Ralf Haferkamp
2025-03-03 16:02:59 +01:00
parent 332865b960
commit 2678d0bb89
26 changed files with 106 additions and 45 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+4 -2
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -42,7 +42,9 @@ func (_m *Selectable[T]) Next(opts ...pool.Option) (T, error) {
if rf, ok := ret.Get(0).(func(...pool.Option) T); ok {
r0 = rf(opts...)
} else {
r0 = ret.Get(0).(T)
if ret.Get(0) != nil {
r0 = ret.Get(0).(T)
}
}
if rf, ok := ret.Get(1).(func(...pool.Option) error); ok {
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+10 -10
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -119,7 +119,7 @@ func (_c *Client_Bind_Call) RunAndReturn(run func(string, string) error) *Client
return _c
}
// Close provides a mock function with given fields:
// Close provides a mock function with no fields
func (_m *Client) Close() error {
ret := _m.Called()
@@ -440,7 +440,7 @@ func (_c *Client_Extended_Call) RunAndReturn(run func(*ldap.ExtendedRequest) (*l
return _c
}
// ExternalBind provides a mock function with given fields:
// ExternalBind provides a mock function with no fields
func (_m *Client) ExternalBind() error {
ret := _m.Called()
@@ -485,7 +485,7 @@ func (_c *Client_ExternalBind_Call) RunAndReturn(run func() error) *Client_Exter
return _c
}
// GetLastError provides a mock function with given fields:
// GetLastError provides a mock function with no fields
func (_m *Client) GetLastError() error {
ret := _m.Called()
@@ -530,7 +530,7 @@ func (_c *Client_GetLastError_Call) RunAndReturn(run func() error) *Client_GetLa
return _c
}
// IsClosing provides a mock function with given fields:
// IsClosing provides a mock function with no fields
func (_m *Client) IsClosing() bool {
ret := _m.Called()
@@ -1026,7 +1026,7 @@ func (_c *Client_SetTimeout_Call) Return() *Client_SetTimeout_Call {
}
func (_c *Client_SetTimeout_Call) RunAndReturn(run func(time.Duration)) *Client_SetTimeout_Call {
_c.Call.Return(run)
_c.Run(run)
return _c
}
@@ -1088,7 +1088,7 @@ func (_c *Client_SimpleBind_Call) RunAndReturn(run func(*ldap.SimpleBindRequest)
return _c
}
// Start provides a mock function with given fields:
// Start provides a mock function with no fields
func (_m *Client) Start() {
_m.Called()
}
@@ -1116,7 +1116,7 @@ func (_c *Client_Start_Call) Return() *Client_Start_Call {
}
func (_c *Client_Start_Call) RunAndReturn(run func()) *Client_Start_Call {
_c.Call.Return(run)
_c.Run(run)
return _c
}
@@ -1219,7 +1219,7 @@ func (_c *Client_Syncrepl_Call) RunAndReturn(run func(context.Context, *ldap.Sea
return _c
}
// TLSConnectionState provides a mock function with given fields:
// TLSConnectionState provides a mock function with no fields
func (_m *Client) TLSConnectionState() (tls.ConnectionState, bool) {
ret := _m.Called()
@@ -1320,7 +1320,7 @@ func (_c *Client_UnauthenticatedBind_Call) RunAndReturn(run func(string) error)
return _c
}
// Unbind provides a mock function with given fields:
// Unbind provides a mock function with no fields
func (_m *Client) Unbind() error {
ret := _m.Called()
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
+2 -2
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -70,7 +70,7 @@ func (_c *Engine_Delete_Call) RunAndReturn(run func(string) error) *Engine_Delet
return _c
}
// DocCount provides a mock function with given fields:
// DocCount provides a mock function with no fields
func (_m *Engine) DocCount() (uint64, error) {
ret := _m.Called()
+5 -5
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks
@@ -99,7 +99,7 @@ func (_c *Searcher_MoveItem_Call) Return() *Searcher_MoveItem_Call {
}
func (_c *Searcher_MoveItem_Call) RunAndReturn(run func(*providerv1beta1.Reference)) *Searcher_MoveItem_Call {
_c.Call.Return(run)
_c.Run(run)
return _c
}
@@ -132,7 +132,7 @@ func (_c *Searcher_RestoreItem_Call) Return() *Searcher_RestoreItem_Call {
}
func (_c *Searcher_RestoreItem_Call) RunAndReturn(run func(*providerv1beta1.Reference)) *Searcher_RestoreItem_Call {
_c.Call.Return(run)
_c.Run(run)
return _c
}
@@ -224,7 +224,7 @@ func (_c *Searcher_TrashItem_Call) Return() *Searcher_TrashItem_Call {
}
func (_c *Searcher_TrashItem_Call) RunAndReturn(run func(*providerv1beta1.ResourceId)) *Searcher_TrashItem_Call {
_c.Call.Return(run)
_c.Run(run)
return _c
}
@@ -257,7 +257,7 @@ func (_c *Searcher_UpsertItem_Call) Return() *Searcher_UpsertItem_Call {
}
func (_c *Searcher_UpsertItem_Call) RunAndReturn(run func(*providerv1beta1.Reference)) *Searcher_UpsertItem_Call {
_c.Call.Return(run)
_c.Run(run)
return _c
}
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.2. DO NOT EDIT.
// Code generated by mockery v2.53.0. DO NOT EDIT.
package mocks