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
+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()