From 53229c32b113e7afb7ee1e576a71608235a6646a Mon Sep 17 00:00:00 2001 From: Adrien CABARBAYE Date: Thu, 5 Sep 2024 11:14:47 +0100 Subject: [PATCH] :bug: fix dependency breaking change introduced when generating mocks (#499) ### Description regenerated the mocks ### Test Coverage - [ ] This change is covered by existing or additional automated tests. - [x] Manual testing has been performed (and evidence provided) as automated testing was not feasible. - [ ] Additional tests are not required for this change (e.g. documentation update). --- changes/20240905012352.bugfix | 1 + utils/go.mod | 1 - utils/go.sum | 2 - utils/mocks/mock_config.go | 7 +- utils/mocks/mock_encryption.go | 7 +- utils/mocks/mock_environment.go | 31 +- utils/mocks/mock_filesystem.go | 557 ++++++++++++++++---------------- utils/mocks/mock_hashing.go | 11 +- utils/mocks/mock_http.go | 29 +- utils/mocks/mock_iconv.go | 17 +- utils/mocks/mock_logs.go | 53 ++- utils/mocks/mock_pagination.go | 39 +-- utils/mocks/mock_proc.go | 15 +- utils/mocks/mock_resource.go | 7 +- utils/mocks/mock_sharedcache.go | 27 +- 15 files changed, 371 insertions(+), 433 deletions(-) create mode 100644 changes/20240905012352.bugfix diff --git a/changes/20240905012352.bugfix b/changes/20240905012352.bugfix new file mode 100644 index 0000000000..756fa4fd00 --- /dev/null +++ b/changes/20240905012352.bugfix @@ -0,0 +1 @@ +:bug: fix dependency breaking change introduced when generating mocks diff --git a/utils/go.mod b/utils/go.mod index 7aac2f4fb2..089dbf1fa9 100644 --- a/utils/go.mod +++ b/utils/go.mod @@ -93,7 +93,6 @@ require ( github.com/tklauser/numcpus v0.6.1 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/yusufpapurcu/wmi v1.2.4 // indirect - go.uber.org/mock v0.4.0 // indirect go.uber.org/multierr v1.10.0 // indirect golang.org/x/mod v0.17.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect diff --git a/utils/go.sum b/utils/go.sum index 0304d112b9..f4678b9a0b 100644 --- a/utils/go.sum +++ b/utils/go.sum @@ -245,8 +245,6 @@ go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= -go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= -go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= diff --git a/utils/mocks/mock_config.go b/utils/mocks/mock_config.go index 2e8a25b0e5..fc517453d1 100644 --- a/utils/mocks/mock_config.go +++ b/utils/mocks/mock_config.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/config (interfaces: IServiceConfiguration,Validator) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_config.go -package=mocks github.com/ARM-software/golang-utils/utils/config IServiceConfiguration,Validator -// // Package mocks is a generated GoMock package. package mocks @@ -12,7 +7,7 @@ package mocks import ( reflect "reflect" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIServiceConfiguration is a mock of IServiceConfiguration interface. diff --git a/utils/mocks/mock_encryption.go b/utils/mocks/mock_encryption.go index 66404b66fb..2a3af0e4a6 100644 --- a/utils/mocks/mock_encryption.go +++ b/utils/mocks/mock_encryption.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/encryption (interfaces: IKeyPair) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_encryption.go -package=mocks github.com/ARM-software/golang-utils/utils/encryption IKeyPair -// // Package mocks is a generated GoMock package. package mocks @@ -12,7 +7,7 @@ package mocks import ( reflect "reflect" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIKeyPair is a mock of IKeyPair interface. diff --git a/utils/mocks/mock_environment.go b/utils/mocks/mock_environment.go index be4756c915..8e678cbe9f 100644 --- a/utils/mocks/mock_environment.go +++ b/utils/mocks/mock_environment.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/environment (interfaces: IEnvironmentVariable,IEnvironment) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_environment.go -package=mocks github.com/ARM-software/golang-utils/utils/environment IEnvironmentVariable,IEnvironment -// // Package mocks is a generated GoMock package. package mocks @@ -15,7 +10,7 @@ import ( environment "github.com/ARM-software/golang-utils/utils/environment" filesystem "github.com/ARM-software/golang-utils/utils/filesystem" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIEnvironmentVariable is a mock of IEnvironmentVariable interface. @@ -50,7 +45,7 @@ func (m *MockIEnvironmentVariable) Equal(arg0 environment.IEnvironmentVariable) } // Equal indicates an expected call of Equal. -func (mr *MockIEnvironmentVariableMockRecorder) Equal(arg0 any) *gomock.Call { +func (mr *MockIEnvironmentVariableMockRecorder) Equal(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockIEnvironmentVariable)(nil).Equal), arg0) } @@ -121,7 +116,7 @@ func (m *MockIEnvironmentVariable) UnmarshalText(arg0 []byte) error { } // UnmarshalText indicates an expected call of UnmarshalText. -func (mr *MockIEnvironmentVariableMockRecorder) UnmarshalText(arg0 any) *gomock.Call { +func (mr *MockIEnvironmentVariableMockRecorder) UnmarshalText(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnmarshalText", reflect.TypeOf((*MockIEnvironmentVariable)(nil).UnmarshalText), arg0) } @@ -180,7 +175,7 @@ func (mr *MockIEnvironmentMockRecorder) GetCurrentUser() *gomock.Call { // GetEnvironmentVariable mocks base method. func (m *MockIEnvironment) GetEnvironmentVariable(arg0 string, arg1 ...string) (environment.IEnvironmentVariable, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -191,16 +186,16 @@ func (m *MockIEnvironment) GetEnvironmentVariable(arg0 string, arg1 ...string) ( } // GetEnvironmentVariable indicates an expected call of GetEnvironmentVariable. -func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariable(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariable(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEnvironmentVariable", reflect.TypeOf((*MockIEnvironment)(nil).GetEnvironmentVariable), varargs...) } // GetEnvironmentVariables mocks base method. func (m *MockIEnvironment) GetEnvironmentVariables(arg0 ...string) []environment.IEnvironmentVariable { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -210,7 +205,7 @@ func (m *MockIEnvironment) GetEnvironmentVariables(arg0 ...string) []environment } // GetEnvironmentVariables indicates an expected call of GetEnvironmentVariables. -func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariables(arg0 ...any) *gomock.Call { +func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariables(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEnvironmentVariables", reflect.TypeOf((*MockIEnvironment)(nil).GetEnvironmentVariables), arg0...) } @@ -218,7 +213,7 @@ func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariables(arg0 ...any) *go // GetExpandedEnvironmentVariable mocks base method. func (m *MockIEnvironment) GetExpandedEnvironmentVariable(arg0 string, arg1 ...string) (environment.IEnvironmentVariable, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -229,16 +224,16 @@ func (m *MockIEnvironment) GetExpandedEnvironmentVariable(arg0 string, arg1 ...s } // GetExpandedEnvironmentVariable indicates an expected call of GetExpandedEnvironmentVariable. -func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariable(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariable(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExpandedEnvironmentVariable", reflect.TypeOf((*MockIEnvironment)(nil).GetExpandedEnvironmentVariable), varargs...) } // GetExpandedEnvironmentVariables mocks base method. func (m *MockIEnvironment) GetExpandedEnvironmentVariables(arg0 ...string) []environment.IEnvironmentVariable { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -248,7 +243,7 @@ func (m *MockIEnvironment) GetExpandedEnvironmentVariables(arg0 ...string) []env } // GetExpandedEnvironmentVariables indicates an expected call of GetExpandedEnvironmentVariables. -func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariables(arg0 ...any) *gomock.Call { +func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariables(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExpandedEnvironmentVariables", reflect.TypeOf((*MockIEnvironment)(nil).GetExpandedEnvironmentVariables), arg0...) } diff --git a/utils/mocks/mock_filesystem.go b/utils/mocks/mock_filesystem.go index 69673d9f63..f428808fe4 100644 --- a/utils/mocks/mock_filesystem.go +++ b/utils/mocks/mock_filesystem.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/filesystem (interfaces: IFileHash,IChowner,ILinker,File,DiskUsage,FileTimeInfo,ILock,ILimits,FS,ICloseableFS,IForceRemover,IStater,ILinkReader,ISymLinker) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_filesystem.go -package=mocks github.com/ARM-software/golang-utils/utils/filesystem IFileHash,IChowner,ILinker,File,DiskUsage,FileTimeInfo,ILock,ILimits,FS,ICloseableFS,IForceRemover,IStater,ILinkReader,ISymLinker -// // Package mocks is a generated GoMock package. package mocks @@ -20,7 +15,7 @@ import ( filesystem "github.com/ARM-software/golang-utils/utils/filesystem" doublestar "github.com/bmatcuk/doublestar/v3" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIFileHash is a mock of IFileHash interface. @@ -56,7 +51,7 @@ func (m *MockIFileHash) Calculate(arg0 filesystem.File) (string, error) { } // Calculate indicates an expected call of Calculate. -func (mr *MockIFileHashMockRecorder) Calculate(arg0 any) *gomock.Call { +func (mr *MockIFileHashMockRecorder) Calculate(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Calculate", reflect.TypeOf((*MockIFileHash)(nil).Calculate), arg0) } @@ -71,7 +66,7 @@ func (m *MockIFileHash) CalculateFile(arg0 filesystem.FS, arg1 string) (string, } // CalculateFile indicates an expected call of CalculateFile. -func (mr *MockIFileHashMockRecorder) CalculateFile(arg0, arg1 any) *gomock.Call { +func (mr *MockIFileHashMockRecorder) CalculateFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalculateFile", reflect.TypeOf((*MockIFileHash)(nil).CalculateFile), arg0, arg1) } @@ -86,7 +81,7 @@ func (m *MockIFileHash) CalculateFileWithContext(arg0 context.Context, arg1 file } // CalculateFileWithContext indicates an expected call of CalculateFileWithContext. -func (mr *MockIFileHashMockRecorder) CalculateFileWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockIFileHashMockRecorder) CalculateFileWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalculateFileWithContext", reflect.TypeOf((*MockIFileHash)(nil).CalculateFileWithContext), arg0, arg1, arg2) } @@ -101,7 +96,7 @@ func (m *MockIFileHash) CalculateWithContext(arg0 context.Context, arg1 filesyst } // CalculateWithContext indicates an expected call of CalculateWithContext. -func (mr *MockIFileHashMockRecorder) CalculateWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockIFileHashMockRecorder) CalculateWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalculateWithContext", reflect.TypeOf((*MockIFileHash)(nil).CalculateWithContext), arg0, arg1) } @@ -152,7 +147,7 @@ func (m *MockIChowner) ChownIfPossible(arg0 string, arg1, arg2 int) error { } // ChownIfPossible indicates an expected call of ChownIfPossible. -func (mr *MockIChownerMockRecorder) ChownIfPossible(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockIChownerMockRecorder) ChownIfPossible(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChownIfPossible", reflect.TypeOf((*MockIChowner)(nil).ChownIfPossible), arg0, arg1, arg2) } @@ -189,7 +184,7 @@ func (m *MockILinker) LinkIfPossible(arg0, arg1 string) error { } // LinkIfPossible indicates an expected call of LinkIfPossible. -func (mr *MockILinkerMockRecorder) LinkIfPossible(arg0, arg1 any) *gomock.Call { +func (mr *MockILinkerMockRecorder) LinkIfPossible(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkIfPossible", reflect.TypeOf((*MockILinker)(nil).LinkIfPossible), arg0, arg1) } @@ -269,7 +264,7 @@ func (m *MockFile) Read(arg0 []byte) (int, error) { } // Read indicates an expected call of Read. -func (mr *MockFileMockRecorder) Read(arg0 any) *gomock.Call { +func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockFile)(nil).Read), arg0) } @@ -284,7 +279,7 @@ func (m *MockFile) ReadAt(arg0 []byte, arg1 int64) (int, error) { } // ReadAt indicates an expected call of ReadAt. -func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 any) *gomock.Call { +func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadAt", reflect.TypeOf((*MockFile)(nil).ReadAt), arg0, arg1) } @@ -299,7 +294,7 @@ func (m *MockFile) Readdir(arg0 int) ([]fs.FileInfo, error) { } // Readdir indicates an expected call of Readdir. -func (mr *MockFileMockRecorder) Readdir(arg0 any) *gomock.Call { +func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Readdir", reflect.TypeOf((*MockFile)(nil).Readdir), arg0) } @@ -314,7 +309,7 @@ func (m *MockFile) Readdirnames(arg0 int) ([]string, error) { } // Readdirnames indicates an expected call of Readdirnames. -func (mr *MockFileMockRecorder) Readdirnames(arg0 any) *gomock.Call { +func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Readdirnames", reflect.TypeOf((*MockFile)(nil).Readdirnames), arg0) } @@ -329,7 +324,7 @@ func (m *MockFile) Seek(arg0 int64, arg1 int) (int64, error) { } // Seek indicates an expected call of Seek. -func (mr *MockFileMockRecorder) Seek(arg0, arg1 any) *gomock.Call { +func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Seek", reflect.TypeOf((*MockFile)(nil).Seek), arg0, arg1) } @@ -372,7 +367,7 @@ func (m *MockFile) Truncate(arg0 int64) error { } // Truncate indicates an expected call of Truncate. -func (mr *MockFileMockRecorder) Truncate(arg0 any) *gomock.Call { +func (mr *MockFileMockRecorder) Truncate(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Truncate", reflect.TypeOf((*MockFile)(nil).Truncate), arg0) } @@ -387,7 +382,7 @@ func (m *MockFile) Write(arg0 []byte) (int, error) { } // Write indicates an expected call of Write. -func (mr *MockFileMockRecorder) Write(arg0 any) *gomock.Call { +func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockFile)(nil).Write), arg0) } @@ -402,7 +397,7 @@ func (m *MockFile) WriteAt(arg0 []byte, arg1 int64) (int, error) { } // WriteAt indicates an expected call of WriteAt. -func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 any) *gomock.Call { +func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteAt", reflect.TypeOf((*MockFile)(nil).WriteAt), arg0, arg1) } @@ -417,7 +412,7 @@ func (m *MockFile) WriteString(arg0 string) (int, error) { } // WriteString indicates an expected call of WriteString. -func (mr *MockFileMockRecorder) WriteString(arg0 any) *gomock.Call { +func (mr *MockFileMockRecorder) WriteString(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteString", reflect.TypeOf((*MockFile)(nil).WriteString), arg0) } @@ -724,7 +719,7 @@ func (m *MockILock) Lock(arg0 context.Context) error { } // Lock indicates an expected call of Lock. -func (mr *MockILockMockRecorder) Lock(arg0 any) *gomock.Call { +func (mr *MockILockMockRecorder) Lock(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lock", reflect.TypeOf((*MockILock)(nil).Lock), arg0) } @@ -738,7 +733,7 @@ func (m *MockILock) LockWithTimeout(arg0 context.Context, arg1 time.Duration) er } // LockWithTimeout indicates an expected call of LockWithTimeout. -func (mr *MockILockMockRecorder) LockWithTimeout(arg0, arg1 any) *gomock.Call { +func (mr *MockILockMockRecorder) LockWithTimeout(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LockWithTimeout", reflect.TypeOf((*MockILock)(nil).LockWithTimeout), arg0, arg1) } @@ -752,7 +747,7 @@ func (m *MockILock) MakeStale(arg0 context.Context) error { } // MakeStale indicates an expected call of MakeStale. -func (mr *MockILockMockRecorder) MakeStale(arg0 any) *gomock.Call { +func (mr *MockILockMockRecorder) MakeStale(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeStale", reflect.TypeOf((*MockILock)(nil).MakeStale), arg0) } @@ -766,7 +761,7 @@ func (m *MockILock) ReleaseIfStale(arg0 context.Context) error { } // ReleaseIfStale indicates an expected call of ReleaseIfStale. -func (mr *MockILockMockRecorder) ReleaseIfStale(arg0 any) *gomock.Call { +func (mr *MockILockMockRecorder) ReleaseIfStale(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReleaseIfStale", reflect.TypeOf((*MockILock)(nil).ReleaseIfStale), arg0) } @@ -780,7 +775,7 @@ func (m *MockILock) TryLock(arg0 context.Context) error { } // TryLock indicates an expected call of TryLock. -func (mr *MockILockMockRecorder) TryLock(arg0 any) *gomock.Call { +func (mr *MockILockMockRecorder) TryLock(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryLock", reflect.TypeOf((*MockILock)(nil).TryLock), arg0) } @@ -794,7 +789,7 @@ func (m *MockILock) Unlock(arg0 context.Context) error { } // Unlock indicates an expected call of Unlock. -func (mr *MockILockMockRecorder) Unlock(arg0 any) *gomock.Call { +func (mr *MockILockMockRecorder) Unlock(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unlock", reflect.TypeOf((*MockILock)(nil).Unlock), arg0) } @@ -952,7 +947,7 @@ func (m *MockFS) ChangeOwnership(arg0 string, arg1 *user.User) error { } // ChangeOwnership indicates an expected call of ChangeOwnership. -func (mr *MockFSMockRecorder) ChangeOwnership(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) ChangeOwnership(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeOwnership", reflect.TypeOf((*MockFS)(nil).ChangeOwnership), arg0, arg1) } @@ -966,7 +961,7 @@ func (m *MockFS) ChangeOwnershipRecursively(arg0 context.Context, arg1 string, a } // ChangeOwnershipRecursively indicates an expected call of ChangeOwnershipRecursively. -func (mr *MockFSMockRecorder) ChangeOwnershipRecursively(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) ChangeOwnershipRecursively(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeOwnershipRecursively", reflect.TypeOf((*MockFS)(nil).ChangeOwnershipRecursively), arg0, arg1, arg2) } @@ -980,7 +975,7 @@ func (m *MockFS) Chmod(arg0 string, arg1 fs.FileMode) error { } // Chmod indicates an expected call of Chmod. -func (mr *MockFSMockRecorder) Chmod(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chmod", reflect.TypeOf((*MockFS)(nil).Chmod), arg0, arg1) } @@ -994,7 +989,7 @@ func (m *MockFS) ChmodRecursively(arg0 context.Context, arg1 string, arg2 fs.Fil } // ChmodRecursively indicates an expected call of ChmodRecursively. -func (mr *MockFSMockRecorder) ChmodRecursively(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) ChmodRecursively(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChmodRecursively", reflect.TypeOf((*MockFS)(nil).ChmodRecursively), arg0, arg1, arg2) } @@ -1008,7 +1003,7 @@ func (m *MockFS) Chown(arg0 string, arg1, arg2 int) error { } // Chown indicates an expected call of Chown. -func (mr *MockFSMockRecorder) Chown(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) Chown(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chown", reflect.TypeOf((*MockFS)(nil).Chown), arg0, arg1, arg2) } @@ -1022,7 +1017,7 @@ func (m *MockFS) ChownRecursively(arg0 context.Context, arg1 string, arg2, arg3 } // ChownRecursively indicates an expected call of ChownRecursively. -func (mr *MockFSMockRecorder) ChownRecursively(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockFSMockRecorder) ChownRecursively(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChownRecursively", reflect.TypeOf((*MockFS)(nil).ChownRecursively), arg0, arg1, arg2, arg3) } @@ -1036,7 +1031,7 @@ func (m *MockFS) Chtimes(arg0 string, arg1, arg2 time.Time) error { } // Chtimes indicates an expected call of Chtimes. -func (mr *MockFSMockRecorder) Chtimes(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chtimes", reflect.TypeOf((*MockFS)(nil).Chtimes), arg0, arg1, arg2) } @@ -1050,7 +1045,7 @@ func (m *MockFS) CleanDir(arg0 string) error { } // CleanDir indicates an expected call of CleanDir. -func (mr *MockFSMockRecorder) CleanDir(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) CleanDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanDir", reflect.TypeOf((*MockFS)(nil).CleanDir), arg0) } @@ -1064,7 +1059,7 @@ func (m *MockFS) CleanDirWithContext(arg0 context.Context, arg1 string) error { } // CleanDirWithContext indicates an expected call of CleanDirWithContext. -func (mr *MockFSMockRecorder) CleanDirWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) CleanDirWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanDirWithContext", reflect.TypeOf((*MockFS)(nil).CleanDirWithContext), arg0, arg1) } @@ -1072,7 +1067,7 @@ func (mr *MockFSMockRecorder) CleanDirWithContext(arg0, arg1 any) *gomock.Call { // CleanDirWithContextAndExclusionPatterns mocks base method. func (m *MockFS) CleanDirWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1} + varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1082,9 +1077,9 @@ func (m *MockFS) CleanDirWithContextAndExclusionPatterns(arg0 context.Context, a } // CleanDirWithContextAndExclusionPatterns indicates an expected call of CleanDirWithContextAndExclusionPatterns. -func (mr *MockFSMockRecorder) CleanDirWithContextAndExclusionPatterns(arg0, arg1 any, arg2 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) CleanDirWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1}, arg2...) + varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanDirWithContextAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).CleanDirWithContextAndExclusionPatterns), varargs...) } @@ -1097,7 +1092,7 @@ func (m *MockFS) ConvertFilePath(arg0 string) string { } // ConvertFilePath indicates an expected call of ConvertFilePath. -func (mr *MockFSMockRecorder) ConvertFilePath(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) ConvertFilePath(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertFilePath", reflect.TypeOf((*MockFS)(nil).ConvertFilePath), arg0) } @@ -1105,7 +1100,7 @@ func (mr *MockFSMockRecorder) ConvertFilePath(arg0 any) *gomock.Call { // ConvertToAbsolutePath mocks base method. func (m *MockFS) ConvertToAbsolutePath(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -1116,16 +1111,16 @@ func (m *MockFS) ConvertToAbsolutePath(arg0 string, arg1 ...string) ([]string, e } // ConvertToAbsolutePath indicates an expected call of ConvertToAbsolutePath. -func (mr *MockFSMockRecorder) ConvertToAbsolutePath(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) ConvertToAbsolutePath(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertToAbsolutePath", reflect.TypeOf((*MockFS)(nil).ConvertToAbsolutePath), varargs...) } // ConvertToRelativePath mocks base method. func (m *MockFS) ConvertToRelativePath(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -1136,9 +1131,9 @@ func (m *MockFS) ConvertToRelativePath(arg0 string, arg1 ...string) ([]string, e } // ConvertToRelativePath indicates an expected call of ConvertToRelativePath. -func (mr *MockFSMockRecorder) ConvertToRelativePath(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) ConvertToRelativePath(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertToRelativePath", reflect.TypeOf((*MockFS)(nil).ConvertToRelativePath), varargs...) } @@ -1151,7 +1146,7 @@ func (m *MockFS) Copy(arg0, arg1 string) error { } // Copy indicates an expected call of Copy. -func (mr *MockFSMockRecorder) Copy(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Copy", reflect.TypeOf((*MockFS)(nil).Copy), arg0, arg1) } @@ -1165,7 +1160,7 @@ func (m *MockFS) CopyToDirectory(arg0, arg1 string) error { } // CopyToDirectory indicates an expected call of CopyToDirectory. -func (mr *MockFSMockRecorder) CopyToDirectory(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) CopyToDirectory(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToDirectory", reflect.TypeOf((*MockFS)(nil).CopyToDirectory), arg0, arg1) } @@ -1179,7 +1174,7 @@ func (m *MockFS) CopyToDirectoryWithContext(arg0 context.Context, arg1, arg2 str } // CopyToDirectoryWithContext indicates an expected call of CopyToDirectoryWithContext. -func (mr *MockFSMockRecorder) CopyToDirectoryWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) CopyToDirectoryWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToDirectoryWithContext", reflect.TypeOf((*MockFS)(nil).CopyToDirectoryWithContext), arg0, arg1, arg2) } @@ -1193,7 +1188,7 @@ func (m *MockFS) CopyToFile(arg0, arg1 string) error { } // CopyToFile indicates an expected call of CopyToFile. -func (mr *MockFSMockRecorder) CopyToFile(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) CopyToFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToFile", reflect.TypeOf((*MockFS)(nil).CopyToFile), arg0, arg1) } @@ -1207,7 +1202,7 @@ func (m *MockFS) CopyToFileWithContext(arg0 context.Context, arg1, arg2 string) } // CopyToFileWithContext indicates an expected call of CopyToFileWithContext. -func (mr *MockFSMockRecorder) CopyToFileWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) CopyToFileWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToFileWithContext", reflect.TypeOf((*MockFS)(nil).CopyToFileWithContext), arg0, arg1, arg2) } @@ -1221,7 +1216,7 @@ func (m *MockFS) CopyWithContext(arg0 context.Context, arg1, arg2 string) error } // CopyWithContext indicates an expected call of CopyWithContext. -func (mr *MockFSMockRecorder) CopyWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) CopyWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyWithContext", reflect.TypeOf((*MockFS)(nil).CopyWithContext), arg0, arg1, arg2) } @@ -1229,7 +1224,7 @@ func (mr *MockFSMockRecorder) CopyWithContext(arg0, arg1, arg2 any) *gomock.Call // CopyWithContextAndExclusionPatterns mocks base method. func (m *MockFS) CopyWithContextAndExclusionPatterns(arg0 context.Context, arg1, arg2 string, arg3 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -1239,9 +1234,9 @@ func (m *MockFS) CopyWithContextAndExclusionPatterns(arg0 context.Context, arg1, } // CopyWithContextAndExclusionPatterns indicates an expected call of CopyWithContextAndExclusionPatterns. -func (mr *MockFSMockRecorder) CopyWithContextAndExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) CopyWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyWithContextAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).CopyWithContextAndExclusionPatterns), varargs...) } @@ -1255,7 +1250,7 @@ func (m *MockFS) CreateFile(arg0 string) (filesystem.File, error) { } // CreateFile indicates an expected call of CreateFile. -func (mr *MockFSMockRecorder) CreateFile(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) CreateFile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateFile", reflect.TypeOf((*MockFS)(nil).CreateFile), arg0) } @@ -1285,7 +1280,7 @@ func (m *MockFS) DiskUsage(arg0 string) (filesystem.DiskUsage, error) { } // DiskUsage indicates an expected call of DiskUsage. -func (mr *MockFSMockRecorder) DiskUsage(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) DiskUsage(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiskUsage", reflect.TypeOf((*MockFS)(nil).DiskUsage), arg0) } @@ -1293,7 +1288,7 @@ func (mr *MockFSMockRecorder) DiskUsage(arg0 any) *gomock.Call { // ExcludeAll mocks base method. func (m *MockFS) ExcludeAll(arg0 []string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -1304,9 +1299,9 @@ func (m *MockFS) ExcludeAll(arg0 []string, arg1 ...string) ([]string, error) { } // ExcludeAll indicates an expected call of ExcludeAll. -func (mr *MockFSMockRecorder) ExcludeAll(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) ExcludeAll(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExcludeAll", reflect.TypeOf((*MockFS)(nil).ExcludeAll), varargs...) } @@ -1319,7 +1314,7 @@ func (m *MockFS) Exists(arg0 string) bool { } // Exists indicates an expected call of Exists. -func (mr *MockFSMockRecorder) Exists(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Exists(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exists", reflect.TypeOf((*MockFS)(nil).Exists), arg0) } @@ -1334,7 +1329,7 @@ func (m *MockFS) FetchFileOwner(arg0 string) (*user.User, error) { } // FetchFileOwner indicates an expected call of FetchFileOwner. -func (mr *MockFSMockRecorder) FetchFileOwner(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) FetchFileOwner(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchFileOwner", reflect.TypeOf((*MockFS)(nil).FetchFileOwner), arg0) } @@ -1350,7 +1345,7 @@ func (m *MockFS) FetchOwners(arg0 string) (int, int, error) { } // FetchOwners indicates an expected call of FetchOwners. -func (mr *MockFSMockRecorder) FetchOwners(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) FetchOwners(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchOwners", reflect.TypeOf((*MockFS)(nil).FetchOwners), arg0) } @@ -1365,7 +1360,7 @@ func (m *MockFS) FileHash(arg0, arg1 string) (string, error) { } // FileHash indicates an expected call of FileHash. -func (mr *MockFSMockRecorder) FileHash(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) FileHash(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FileHash", reflect.TypeOf((*MockFS)(nil).FileHash), arg0, arg1) } @@ -1380,7 +1375,7 @@ func (m *MockFS) FileHashWithContext(arg0 context.Context, arg1, arg2 string) (s } // FileHashWithContext indicates an expected call of FileHashWithContext. -func (mr *MockFSMockRecorder) FileHashWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) FileHashWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FileHashWithContext", reflect.TypeOf((*MockFS)(nil).FileHashWithContext), arg0, arg1, arg2) } @@ -1388,7 +1383,7 @@ func (mr *MockFSMockRecorder) FileHashWithContext(arg0, arg1, arg2 any) *gomock. // FindAll mocks base method. func (m *MockFS) FindAll(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -1399,9 +1394,9 @@ func (m *MockFS) FindAll(arg0 string, arg1 ...string) ([]string, error) { } // FindAll indicates an expected call of FindAll. -func (mr *MockFSMockRecorder) FindAll(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) FindAll(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindAll", reflect.TypeOf((*MockFS)(nil).FindAll), varargs...) } @@ -1414,7 +1409,7 @@ func (m *MockFS) GarbageCollect(arg0 string, arg1 time.Duration) error { } // GarbageCollect indicates an expected call of GarbageCollect. -func (mr *MockFSMockRecorder) GarbageCollect(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) GarbageCollect(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GarbageCollect", reflect.TypeOf((*MockFS)(nil).GarbageCollect), arg0, arg1) } @@ -1428,7 +1423,7 @@ func (m *MockFS) GarbageCollectWithContext(arg0 context.Context, arg1 string, ar } // GarbageCollectWithContext indicates an expected call of GarbageCollectWithContext. -func (mr *MockFSMockRecorder) GarbageCollectWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) GarbageCollectWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GarbageCollectWithContext", reflect.TypeOf((*MockFS)(nil).GarbageCollectWithContext), arg0, arg1, arg2) } @@ -1443,7 +1438,7 @@ func (m *MockFS) GenericOpen(arg0 string) (filesystem.File, error) { } // GenericOpen indicates an expected call of GenericOpen. -func (mr *MockFSMockRecorder) GenericOpen(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) GenericOpen(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenericOpen", reflect.TypeOf((*MockFS)(nil).GenericOpen), arg0) } @@ -1458,7 +1453,7 @@ func (m *MockFS) GetFileSize(arg0 string) (int64, error) { } // GetFileSize indicates an expected call of GetFileSize. -func (mr *MockFSMockRecorder) GetFileSize(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) GetFileSize(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFileSize", reflect.TypeOf((*MockFS)(nil).GetFileSize), arg0) } @@ -1487,7 +1482,7 @@ func (m *MockFS) Glob(arg0 string) ([]string, error) { } // Glob indicates an expected call of Glob. -func (mr *MockFSMockRecorder) Glob(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Glob(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Glob", reflect.TypeOf((*MockFS)(nil).Glob), arg0) } @@ -1502,7 +1497,7 @@ func (m *MockFS) IsDir(arg0 string) (bool, error) { } // IsDir indicates an expected call of IsDir. -func (mr *MockFSMockRecorder) IsDir(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) IsDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsDir", reflect.TypeOf((*MockFS)(nil).IsDir), arg0) } @@ -1517,7 +1512,7 @@ func (m *MockFS) IsEmpty(arg0 string) (bool, error) { } // IsEmpty indicates an expected call of IsEmpty. -func (mr *MockFSMockRecorder) IsEmpty(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) IsEmpty(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsEmpty", reflect.TypeOf((*MockFS)(nil).IsEmpty), arg0) } @@ -1532,7 +1527,7 @@ func (m *MockFS) IsFile(arg0 string) (bool, error) { } // IsFile indicates an expected call of IsFile. -func (mr *MockFSMockRecorder) IsFile(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) IsFile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsFile", reflect.TypeOf((*MockFS)(nil).IsFile), arg0) } @@ -1547,7 +1542,7 @@ func (m *MockFS) IsLink(arg0 string) (bool, error) { } // IsLink indicates an expected call of IsLink. -func (mr *MockFSMockRecorder) IsLink(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) IsLink(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsLink", reflect.TypeOf((*MockFS)(nil).IsLink), arg0) } @@ -1561,7 +1556,7 @@ func (m *MockFS) IsZip(arg0 string) bool { } // IsZip indicates an expected call of IsZip. -func (mr *MockFSMockRecorder) IsZip(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) IsZip(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsZip", reflect.TypeOf((*MockFS)(nil).IsZip), arg0) } @@ -1576,7 +1571,7 @@ func (m *MockFS) IsZipWithContext(arg0 context.Context, arg1 string) (bool, erro } // IsZipWithContext indicates an expected call of IsZipWithContext. -func (mr *MockFSMockRecorder) IsZipWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) IsZipWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsZipWithContext", reflect.TypeOf((*MockFS)(nil).IsZipWithContext), arg0, arg1) } @@ -1590,7 +1585,7 @@ func (m *MockFS) Link(arg0, arg1 string) error { } // Link indicates an expected call of Link. -func (mr *MockFSMockRecorder) Link(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Link(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Link", reflect.TypeOf((*MockFS)(nil).Link), arg0, arg1) } @@ -1604,7 +1599,7 @@ func (m *MockFS) ListDirTree(arg0 string, arg1 *[]string) error { } // ListDirTree indicates an expected call of ListDirTree. -func (mr *MockFSMockRecorder) ListDirTree(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) ListDirTree(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDirTree", reflect.TypeOf((*MockFS)(nil).ListDirTree), arg0, arg1) } @@ -1618,7 +1613,7 @@ func (m *MockFS) ListDirTreeWithContext(arg0 context.Context, arg1 string, arg2 } // ListDirTreeWithContext indicates an expected call of ListDirTreeWithContext. -func (mr *MockFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDirTreeWithContext", reflect.TypeOf((*MockFS)(nil).ListDirTreeWithContext), arg0, arg1, arg2) } @@ -1626,7 +1621,7 @@ func (mr *MockFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 any) *gomo // ListDirTreeWithContextAndExclusionPatterns mocks base method. func (m *MockFS) ListDirTreeWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 *[]string, arg3 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -1636,9 +1631,9 @@ func (m *MockFS) ListDirTreeWithContextAndExclusionPatterns(arg0 context.Context } // ListDirTreeWithContextAndExclusionPatterns indicates an expected call of ListDirTreeWithContextAndExclusionPatterns. -func (mr *MockFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDirTreeWithContextAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).ListDirTreeWithContextAndExclusionPatterns), varargs...) } @@ -1652,7 +1647,7 @@ func (m *MockFS) Lls(arg0 string) ([]fs.FileInfo, error) { } // Lls indicates an expected call of Lls. -func (mr *MockFSMockRecorder) Lls(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Lls(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lls", reflect.TypeOf((*MockFS)(nil).Lls), arg0) } @@ -1667,7 +1662,7 @@ func (m *MockFS) LlsFromOpenedDirectory(arg0 filesystem.File) ([]fs.FileInfo, er } // LlsFromOpenedDirectory indicates an expected call of LlsFromOpenedDirectory. -func (mr *MockFSMockRecorder) LlsFromOpenedDirectory(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) LlsFromOpenedDirectory(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LlsFromOpenedDirectory", reflect.TypeOf((*MockFS)(nil).LlsFromOpenedDirectory), arg0) } @@ -1682,7 +1677,7 @@ func (m *MockFS) Ls(arg0 string) ([]string, error) { } // Ls indicates an expected call of Ls. -func (mr *MockFSMockRecorder) Ls(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Ls(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Ls", reflect.TypeOf((*MockFS)(nil).Ls), arg0) } @@ -1697,7 +1692,7 @@ func (m *MockFS) LsFromOpenedDirectory(arg0 filesystem.File) ([]string, error) { } // LsFromOpenedDirectory indicates an expected call of LsFromOpenedDirectory. -func (mr *MockFSMockRecorder) LsFromOpenedDirectory(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) LsFromOpenedDirectory(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsFromOpenedDirectory", reflect.TypeOf((*MockFS)(nil).LsFromOpenedDirectory), arg0) } @@ -1712,7 +1707,7 @@ func (m *MockFS) LsRecursive(arg0 context.Context, arg1 string, arg2 bool) ([]st } // LsRecursive indicates an expected call of LsRecursive. -func (mr *MockFSMockRecorder) LsRecursive(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) LsRecursive(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursive", reflect.TypeOf((*MockFS)(nil).LsRecursive), arg0, arg1, arg2) } @@ -1727,7 +1722,7 @@ func (m *MockFS) LsRecursiveFromOpenedDirectory(arg0 context.Context, arg1 files } // LsRecursiveFromOpenedDirectory indicates an expected call of LsRecursiveFromOpenedDirectory. -func (mr *MockFSMockRecorder) LsRecursiveFromOpenedDirectory(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) LsRecursiveFromOpenedDirectory(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursiveFromOpenedDirectory", reflect.TypeOf((*MockFS)(nil).LsRecursiveFromOpenedDirectory), arg0, arg1, arg2) } @@ -1735,7 +1730,7 @@ func (mr *MockFSMockRecorder) LsRecursiveFromOpenedDirectory(arg0, arg1, arg2 an // LsRecursiveWithExclusionPatterns mocks base method. func (m *MockFS) LsRecursiveWithExclusionPatterns(arg0 context.Context, arg1 string, arg2 bool, arg3 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -1746,16 +1741,16 @@ func (m *MockFS) LsRecursiveWithExclusionPatterns(arg0 context.Context, arg1 str } // LsRecursiveWithExclusionPatterns indicates an expected call of LsRecursiveWithExclusionPatterns. -func (mr *MockFSMockRecorder) LsRecursiveWithExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) LsRecursiveWithExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursiveWithExclusionPatterns", reflect.TypeOf((*MockFS)(nil).LsRecursiveWithExclusionPatterns), varargs...) } // LsRecursiveWithExclusionPatternsAndLimits mocks base method. func (m *MockFS) LsRecursiveWithExclusionPatternsAndLimits(arg0 context.Context, arg1 string, arg2 filesystem.ILimits, arg3 bool, arg4 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2, arg3} + varargs := []interface{}{arg0, arg1, arg2, arg3} for _, a := range arg4 { varargs = append(varargs, a) } @@ -1766,16 +1761,16 @@ func (m *MockFS) LsRecursiveWithExclusionPatternsAndLimits(arg0 context.Context, } // LsRecursiveWithExclusionPatternsAndLimits indicates an expected call of LsRecursiveWithExclusionPatternsAndLimits. -func (mr *MockFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2, arg3}, arg4...) + varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursiveWithExclusionPatternsAndLimits", reflect.TypeOf((*MockFS)(nil).LsRecursiveWithExclusionPatternsAndLimits), varargs...) } // LsWithExclusionPatterns mocks base method. func (m *MockFS) LsWithExclusionPatterns(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -1786,9 +1781,9 @@ func (m *MockFS) LsWithExclusionPatterns(arg0 string, arg1 ...string) ([]string, } // LsWithExclusionPatterns indicates an expected call of LsWithExclusionPatterns. -func (mr *MockFSMockRecorder) LsWithExclusionPatterns(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) LsWithExclusionPatterns(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsWithExclusionPatterns", reflect.TypeOf((*MockFS)(nil).LsWithExclusionPatterns), varargs...) } @@ -1802,7 +1797,7 @@ func (m *MockFS) Lstat(arg0 string) (fs.FileInfo, error) { } // Lstat indicates an expected call of Lstat. -func (mr *MockFSMockRecorder) Lstat(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Lstat(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lstat", reflect.TypeOf((*MockFS)(nil).Lstat), arg0) } @@ -1816,7 +1811,7 @@ func (m *MockFS) MkDir(arg0 string) error { } // MkDir indicates an expected call of MkDir. -func (mr *MockFSMockRecorder) MkDir(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) MkDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MkDir", reflect.TypeOf((*MockFS)(nil).MkDir), arg0) } @@ -1830,7 +1825,7 @@ func (m *MockFS) MkDirAll(arg0 string, arg1 fs.FileMode) error { } // MkDirAll indicates an expected call of MkDirAll. -func (mr *MockFSMockRecorder) MkDirAll(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) MkDirAll(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MkDirAll", reflect.TypeOf((*MockFS)(nil).MkDirAll), arg0, arg1) } @@ -1844,7 +1839,7 @@ func (m *MockFS) Move(arg0, arg1 string) error { } // Move indicates an expected call of Move. -func (mr *MockFSMockRecorder) Move(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Move", reflect.TypeOf((*MockFS)(nil).Move), arg0, arg1) } @@ -1858,7 +1853,7 @@ func (m *MockFS) MoveWithContext(arg0 context.Context, arg1, arg2 string) error } // MoveWithContext indicates an expected call of MoveWithContext. -func (mr *MockFSMockRecorder) MoveWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) MoveWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MoveWithContext", reflect.TypeOf((*MockFS)(nil).MoveWithContext), arg0, arg1, arg2) } @@ -1872,7 +1867,7 @@ func (m *MockFS) NewRemoteLockFile(arg0, arg1 string) filesystem.ILock { } // NewRemoteLockFile indicates an expected call of NewRemoteLockFile. -func (mr *MockFSMockRecorder) NewRemoteLockFile(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) NewRemoteLockFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewRemoteLockFile", reflect.TypeOf((*MockFS)(nil).NewRemoteLockFile), arg0, arg1) } @@ -1887,7 +1882,7 @@ func (m *MockFS) Open(arg0 string) (doublestar.File, error) { } // Open indicates an expected call of Open. -func (mr *MockFSMockRecorder) Open(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Open(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockFS)(nil).Open), arg0) } @@ -1902,7 +1897,7 @@ func (m *MockFS) OpenFile(arg0 string, arg1 int, arg2 fs.FileMode) (filesystem.F } // OpenFile indicates an expected call of OpenFile. -func (mr *MockFSMockRecorder) OpenFile(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OpenFile", reflect.TypeOf((*MockFS)(nil).OpenFile), arg0, arg1, arg2) } @@ -1931,7 +1926,7 @@ func (m *MockFS) ReadFile(arg0 string) ([]byte, error) { } // ReadFile indicates an expected call of ReadFile. -func (mr *MockFSMockRecorder) ReadFile(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) ReadFile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFile", reflect.TypeOf((*MockFS)(nil).ReadFile), arg0) } @@ -1946,7 +1941,7 @@ func (m *MockFS) ReadFileContent(arg0 context.Context, arg1 filesystem.File, arg } // ReadFileContent indicates an expected call of ReadFileContent. -func (mr *MockFSMockRecorder) ReadFileContent(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) ReadFileContent(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileContent", reflect.TypeOf((*MockFS)(nil).ReadFileContent), arg0, arg1, arg2) } @@ -1961,7 +1956,7 @@ func (m *MockFS) ReadFileWithContext(arg0 context.Context, arg1 string) ([]byte, } // ReadFileWithContext indicates an expected call of ReadFileWithContext. -func (mr *MockFSMockRecorder) ReadFileWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) ReadFileWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileWithContext", reflect.TypeOf((*MockFS)(nil).ReadFileWithContext), arg0, arg1) } @@ -1976,7 +1971,7 @@ func (m *MockFS) ReadFileWithContextAndLimits(arg0 context.Context, arg1 string, } // ReadFileWithContextAndLimits indicates an expected call of ReadFileWithContextAndLimits. -func (mr *MockFSMockRecorder) ReadFileWithContextAndLimits(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) ReadFileWithContextAndLimits(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileWithContextAndLimits", reflect.TypeOf((*MockFS)(nil).ReadFileWithContextAndLimits), arg0, arg1, arg2) } @@ -1991,7 +1986,7 @@ func (m *MockFS) ReadFileWithLimits(arg0 string, arg1 filesystem.ILimits) ([]byt } // ReadFileWithLimits indicates an expected call of ReadFileWithLimits. -func (mr *MockFSMockRecorder) ReadFileWithLimits(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) ReadFileWithLimits(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileWithLimits", reflect.TypeOf((*MockFS)(nil).ReadFileWithLimits), arg0, arg1) } @@ -2006,7 +2001,7 @@ func (m *MockFS) Readlink(arg0 string) (string, error) { } // Readlink indicates an expected call of Readlink. -func (mr *MockFSMockRecorder) Readlink(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Readlink(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Readlink", reflect.TypeOf((*MockFS)(nil).Readlink), arg0) } @@ -2020,7 +2015,7 @@ func (m *MockFS) RemoveWithContext(arg0 context.Context, arg1 string) error { } // RemoveWithContext indicates an expected call of RemoveWithContext. -func (mr *MockFSMockRecorder) RemoveWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) RemoveWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveWithContext", reflect.TypeOf((*MockFS)(nil).RemoveWithContext), arg0, arg1) } @@ -2028,7 +2023,7 @@ func (mr *MockFSMockRecorder) RemoveWithContext(arg0, arg1 any) *gomock.Call { // RemoveWithContextAndExclusionPatterns mocks base method. func (m *MockFS) RemoveWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1} + varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -2038,9 +2033,9 @@ func (m *MockFS) RemoveWithContextAndExclusionPatterns(arg0 context.Context, arg } // RemoveWithContextAndExclusionPatterns indicates an expected call of RemoveWithContextAndExclusionPatterns. -func (mr *MockFSMockRecorder) RemoveWithContextAndExclusionPatterns(arg0, arg1 any, arg2 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) RemoveWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1}, arg2...) + varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveWithContextAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).RemoveWithContextAndExclusionPatterns), varargs...) } @@ -2053,7 +2048,7 @@ func (m *MockFS) RemoveWithPrivileges(arg0 context.Context, arg1 string) error { } // RemoveWithPrivileges indicates an expected call of RemoveWithPrivileges. -func (mr *MockFSMockRecorder) RemoveWithPrivileges(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) RemoveWithPrivileges(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveWithPrivileges", reflect.TypeOf((*MockFS)(nil).RemoveWithPrivileges), arg0, arg1) } @@ -2067,7 +2062,7 @@ func (m *MockFS) Rm(arg0 string) error { } // Rm indicates an expected call of Rm. -func (mr *MockFSMockRecorder) Rm(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Rm(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rm", reflect.TypeOf((*MockFS)(nil).Rm), arg0) } @@ -2082,7 +2077,7 @@ func (m *MockFS) Stat(arg0 string) (fs.FileInfo, error) { } // Stat indicates an expected call of Stat. -func (mr *MockFSMockRecorder) Stat(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Stat(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stat", reflect.TypeOf((*MockFS)(nil).Stat), arg0) } @@ -2097,7 +2092,7 @@ func (m *MockFS) StatTimes(arg0 string) (filesystem.FileTimeInfo, error) { } // StatTimes indicates an expected call of StatTimes. -func (mr *MockFSMockRecorder) StatTimes(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) StatTimes(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StatTimes", reflect.TypeOf((*MockFS)(nil).StatTimes), arg0) } @@ -2112,7 +2107,7 @@ func (m *MockFS) SubDirectories(arg0 string) ([]string, error) { } // SubDirectories indicates an expected call of SubDirectories. -func (mr *MockFSMockRecorder) SubDirectories(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) SubDirectories(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubDirectories", reflect.TypeOf((*MockFS)(nil).SubDirectories), arg0) } @@ -2127,7 +2122,7 @@ func (m *MockFS) SubDirectoriesWithContext(arg0 context.Context, arg1 string) ([ } // SubDirectoriesWithContext indicates an expected call of SubDirectoriesWithContext. -func (mr *MockFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubDirectoriesWithContext", reflect.TypeOf((*MockFS)(nil).SubDirectoriesWithContext), arg0, arg1) } @@ -2135,7 +2130,7 @@ func (mr *MockFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 any) *gomock. // SubDirectoriesWithContextAndExclusionPatterns mocks base method. func (m *MockFS) SubDirectoriesWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0, arg1} + varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -2146,9 +2141,9 @@ func (m *MockFS) SubDirectoriesWithContextAndExclusionPatterns(arg0 context.Cont } // SubDirectoriesWithContextAndExclusionPatterns indicates an expected call of SubDirectoriesWithContextAndExclusionPatterns. -func (mr *MockFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(arg0, arg1 any, arg2 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1}, arg2...) + varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubDirectoriesWithContextAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).SubDirectoriesWithContextAndExclusionPatterns), varargs...) } @@ -2161,7 +2156,7 @@ func (m *MockFS) Symlink(arg0, arg1 string) error { } // Symlink indicates an expected call of Symlink. -func (mr *MockFSMockRecorder) Symlink(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Symlink", reflect.TypeOf((*MockFS)(nil).Symlink), arg0, arg1) } @@ -2176,7 +2171,7 @@ func (m *MockFS) TempDir(arg0, arg1 string) (string, error) { } // TempDir indicates an expected call of TempDir. -func (mr *MockFSMockRecorder) TempDir(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) TempDir(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempDir", reflect.TypeOf((*MockFS)(nil).TempDir), arg0, arg1) } @@ -2191,7 +2186,7 @@ func (m *MockFS) TempDirInTempDir(arg0 string) (string, error) { } // TempDirInTempDir indicates an expected call of TempDirInTempDir. -func (mr *MockFSMockRecorder) TempDirInTempDir(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) TempDirInTempDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempDirInTempDir", reflect.TypeOf((*MockFS)(nil).TempDirInTempDir), arg0) } @@ -2220,7 +2215,7 @@ func (m *MockFS) TempFile(arg0, arg1 string) (filesystem.File, error) { } // TempFile indicates an expected call of TempFile. -func (mr *MockFSMockRecorder) TempFile(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) TempFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempFile", reflect.TypeOf((*MockFS)(nil).TempFile), arg0, arg1) } @@ -2235,7 +2230,7 @@ func (m *MockFS) TempFileInTempDir(arg0 string) (filesystem.File, error) { } // TempFileInTempDir indicates an expected call of TempFileInTempDir. -func (mr *MockFSMockRecorder) TempFileInTempDir(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) TempFileInTempDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempFileInTempDir", reflect.TypeOf((*MockFS)(nil).TempFileInTempDir), arg0) } @@ -2249,7 +2244,7 @@ func (m *MockFS) Touch(arg0 string) error { } // Touch indicates an expected call of Touch. -func (mr *MockFSMockRecorder) Touch(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) Touch(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Touch", reflect.TypeOf((*MockFS)(nil).Touch), arg0) } @@ -2264,7 +2259,7 @@ func (m *MockFS) TouchTempFile(arg0, arg1 string) (string, error) { } // TouchTempFile indicates an expected call of TouchTempFile. -func (mr *MockFSMockRecorder) TouchTempFile(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) TouchTempFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TouchTempFile", reflect.TypeOf((*MockFS)(nil).TouchTempFile), arg0, arg1) } @@ -2279,7 +2274,7 @@ func (m *MockFS) TouchTempFileInTempDir(arg0 string) (string, error) { } // TouchTempFileInTempDir indicates an expected call of TouchTempFileInTempDir. -func (mr *MockFSMockRecorder) TouchTempFileInTempDir(arg0 any) *gomock.Call { +func (mr *MockFSMockRecorder) TouchTempFileInTempDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TouchTempFileInTempDir", reflect.TypeOf((*MockFS)(nil).TouchTempFileInTempDir), arg0) } @@ -2294,7 +2289,7 @@ func (m *MockFS) Unzip(arg0, arg1 string) ([]string, error) { } // Unzip indicates an expected call of Unzip. -func (mr *MockFSMockRecorder) Unzip(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Unzip(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unzip", reflect.TypeOf((*MockFS)(nil).Unzip), arg0, arg1) } @@ -2309,7 +2304,7 @@ func (m *MockFS) UnzipWithContext(arg0 context.Context, arg1, arg2 string) ([]st } // UnzipWithContext indicates an expected call of UnzipWithContext. -func (mr *MockFSMockRecorder) UnzipWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) UnzipWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnzipWithContext", reflect.TypeOf((*MockFS)(nil).UnzipWithContext), arg0, arg1, arg2) } @@ -2324,7 +2319,7 @@ func (m *MockFS) UnzipWithContextAndLimits(arg0 context.Context, arg1, arg2 stri } // UnzipWithContextAndLimits indicates an expected call of UnzipWithContextAndLimits. -func (mr *MockFSMockRecorder) UnzipWithContextAndLimits(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockFSMockRecorder) UnzipWithContextAndLimits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnzipWithContextAndLimits", reflect.TypeOf((*MockFS)(nil).UnzipWithContextAndLimits), arg0, arg1, arg2, arg3) } @@ -2338,7 +2333,7 @@ func (m *MockFS) Walk(arg0 string, arg1 filepath.WalkFunc) error { } // Walk indicates an expected call of Walk. -func (mr *MockFSMockRecorder) Walk(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Walk(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Walk", reflect.TypeOf((*MockFS)(nil).Walk), arg0, arg1) } @@ -2352,7 +2347,7 @@ func (m *MockFS) WalkWithContext(arg0 context.Context, arg1 string, arg2 filepat } // WalkWithContext indicates an expected call of WalkWithContext. -func (mr *MockFSMockRecorder) WalkWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) WalkWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalkWithContext", reflect.TypeOf((*MockFS)(nil).WalkWithContext), arg0, arg1, arg2) } @@ -2360,7 +2355,7 @@ func (mr *MockFSMockRecorder) WalkWithContext(arg0, arg1, arg2 any) *gomock.Call // WalkWithContextAndExclusionPatterns mocks base method. func (m *MockFS) WalkWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 filepath.WalkFunc, arg3 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -2370,9 +2365,9 @@ func (m *MockFS) WalkWithContextAndExclusionPatterns(arg0 context.Context, arg1 } // WalkWithContextAndExclusionPatterns indicates an expected call of WalkWithContextAndExclusionPatterns. -func (mr *MockFSMockRecorder) WalkWithContextAndExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) WalkWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalkWithContextAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).WalkWithContextAndExclusionPatterns), varargs...) } @@ -2385,7 +2380,7 @@ func (m *MockFS) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) error { } // WriteFile indicates an expected call of WriteFile. -func (mr *MockFSMockRecorder) WriteFile(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFile", reflect.TypeOf((*MockFS)(nil).WriteFile), arg0, arg1, arg2) } @@ -2399,7 +2394,7 @@ func (m *MockFS) WriteFileWithContext(arg0 context.Context, arg1 string, arg2 [] } // WriteFileWithContext indicates an expected call of WriteFileWithContext. -func (mr *MockFSMockRecorder) WriteFileWithContext(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockFSMockRecorder) WriteFileWithContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFileWithContext", reflect.TypeOf((*MockFS)(nil).WriteFileWithContext), arg0, arg1, arg2, arg3) } @@ -2414,7 +2409,7 @@ func (m *MockFS) WriteToFile(arg0 context.Context, arg1 string, arg2 io.Reader, } // WriteToFile indicates an expected call of WriteToFile. -func (mr *MockFSMockRecorder) WriteToFile(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockFSMockRecorder) WriteToFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteToFile", reflect.TypeOf((*MockFS)(nil).WriteToFile), arg0, arg1, arg2, arg3) } @@ -2428,7 +2423,7 @@ func (m *MockFS) Zip(arg0, arg1 string) error { } // Zip indicates an expected call of Zip. -func (mr *MockFSMockRecorder) Zip(arg0, arg1 any) *gomock.Call { +func (mr *MockFSMockRecorder) Zip(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Zip", reflect.TypeOf((*MockFS)(nil).Zip), arg0, arg1) } @@ -2442,7 +2437,7 @@ func (m *MockFS) ZipWithContext(arg0 context.Context, arg1, arg2 string) error { } // ZipWithContext indicates an expected call of ZipWithContext. -func (mr *MockFSMockRecorder) ZipWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockFSMockRecorder) ZipWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ZipWithContext", reflect.TypeOf((*MockFS)(nil).ZipWithContext), arg0, arg1, arg2) } @@ -2456,7 +2451,7 @@ func (m *MockFS) ZipWithContextAndLimits(arg0 context.Context, arg1, arg2 string } // ZipWithContextAndLimits indicates an expected call of ZipWithContextAndLimits. -func (mr *MockFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ZipWithContextAndLimits", reflect.TypeOf((*MockFS)(nil).ZipWithContextAndLimits), arg0, arg1, arg2, arg3) } @@ -2464,7 +2459,7 @@ func (mr *MockFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2, arg3 any // ZipWithContextAndLimitsAndExclusionPatterns mocks base method. func (m *MockFS) ZipWithContextAndLimitsAndExclusionPatterns(arg0 context.Context, arg1, arg2 string, arg3 filesystem.ILimits, arg4 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2, arg3} + varargs := []interface{}{arg0, arg1, arg2, arg3} for _, a := range arg4 { varargs = append(varargs, a) } @@ -2474,9 +2469,9 @@ func (m *MockFS) ZipWithContextAndLimitsAndExclusionPatterns(arg0 context.Contex } // ZipWithContextAndLimitsAndExclusionPatterns indicates an expected call of ZipWithContextAndLimitsAndExclusionPatterns. -func (mr *MockFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call { +func (mr *MockFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2, arg3}, arg4...) + varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ZipWithContextAndLimitsAndExclusionPatterns", reflect.TypeOf((*MockFS)(nil).ZipWithContextAndLimitsAndExclusionPatterns), varargs...) } @@ -2512,7 +2507,7 @@ func (m *MockICloseableFS) ChangeOwnership(arg0 string, arg1 *user.User) error { } // ChangeOwnership indicates an expected call of ChangeOwnership. -func (mr *MockICloseableFSMockRecorder) ChangeOwnership(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ChangeOwnership(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeOwnership", reflect.TypeOf((*MockICloseableFS)(nil).ChangeOwnership), arg0, arg1) } @@ -2526,7 +2521,7 @@ func (m *MockICloseableFS) ChangeOwnershipRecursively(arg0 context.Context, arg1 } // ChangeOwnershipRecursively indicates an expected call of ChangeOwnershipRecursively. -func (mr *MockICloseableFSMockRecorder) ChangeOwnershipRecursively(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ChangeOwnershipRecursively(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeOwnershipRecursively", reflect.TypeOf((*MockICloseableFS)(nil).ChangeOwnershipRecursively), arg0, arg1, arg2) } @@ -2540,7 +2535,7 @@ func (m *MockICloseableFS) Chmod(arg0 string, arg1 fs.FileMode) error { } // Chmod indicates an expected call of Chmod. -func (mr *MockICloseableFSMockRecorder) Chmod(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chmod", reflect.TypeOf((*MockICloseableFS)(nil).Chmod), arg0, arg1) } @@ -2554,7 +2549,7 @@ func (m *MockICloseableFS) ChmodRecursively(arg0 context.Context, arg1 string, a } // ChmodRecursively indicates an expected call of ChmodRecursively. -func (mr *MockICloseableFSMockRecorder) ChmodRecursively(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ChmodRecursively(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChmodRecursively", reflect.TypeOf((*MockICloseableFS)(nil).ChmodRecursively), arg0, arg1, arg2) } @@ -2568,7 +2563,7 @@ func (m *MockICloseableFS) Chown(arg0 string, arg1, arg2 int) error { } // Chown indicates an expected call of Chown. -func (mr *MockICloseableFSMockRecorder) Chown(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Chown(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chown", reflect.TypeOf((*MockICloseableFS)(nil).Chown), arg0, arg1, arg2) } @@ -2582,7 +2577,7 @@ func (m *MockICloseableFS) ChownRecursively(arg0 context.Context, arg1 string, a } // ChownRecursively indicates an expected call of ChownRecursively. -func (mr *MockICloseableFSMockRecorder) ChownRecursively(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ChownRecursively(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChownRecursively", reflect.TypeOf((*MockICloseableFS)(nil).ChownRecursively), arg0, arg1, arg2, arg3) } @@ -2596,7 +2591,7 @@ func (m *MockICloseableFS) Chtimes(arg0 string, arg1, arg2 time.Time) error { } // Chtimes indicates an expected call of Chtimes. -func (mr *MockICloseableFSMockRecorder) Chtimes(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chtimes", reflect.TypeOf((*MockICloseableFS)(nil).Chtimes), arg0, arg1, arg2) } @@ -2610,7 +2605,7 @@ func (m *MockICloseableFS) CleanDir(arg0 string) error { } // CleanDir indicates an expected call of CleanDir. -func (mr *MockICloseableFSMockRecorder) CleanDir(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CleanDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanDir", reflect.TypeOf((*MockICloseableFS)(nil).CleanDir), arg0) } @@ -2624,7 +2619,7 @@ func (m *MockICloseableFS) CleanDirWithContext(arg0 context.Context, arg1 string } // CleanDirWithContext indicates an expected call of CleanDirWithContext. -func (mr *MockICloseableFSMockRecorder) CleanDirWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CleanDirWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanDirWithContext", reflect.TypeOf((*MockICloseableFS)(nil).CleanDirWithContext), arg0, arg1) } @@ -2632,7 +2627,7 @@ func (mr *MockICloseableFSMockRecorder) CleanDirWithContext(arg0, arg1 any) *gom // CleanDirWithContextAndExclusionPatterns mocks base method. func (m *MockICloseableFS) CleanDirWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1} + varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -2642,9 +2637,9 @@ func (m *MockICloseableFS) CleanDirWithContextAndExclusionPatterns(arg0 context. } // CleanDirWithContextAndExclusionPatterns indicates an expected call of CleanDirWithContextAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) CleanDirWithContextAndExclusionPatterns(arg0, arg1 any, arg2 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CleanDirWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1}, arg2...) + varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanDirWithContextAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).CleanDirWithContextAndExclusionPatterns), varargs...) } @@ -2671,7 +2666,7 @@ func (m *MockICloseableFS) ConvertFilePath(arg0 string) string { } // ConvertFilePath indicates an expected call of ConvertFilePath. -func (mr *MockICloseableFSMockRecorder) ConvertFilePath(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ConvertFilePath(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertFilePath", reflect.TypeOf((*MockICloseableFS)(nil).ConvertFilePath), arg0) } @@ -2679,7 +2674,7 @@ func (mr *MockICloseableFSMockRecorder) ConvertFilePath(arg0 any) *gomock.Call { // ConvertToAbsolutePath mocks base method. func (m *MockICloseableFS) ConvertToAbsolutePath(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -2690,16 +2685,16 @@ func (m *MockICloseableFS) ConvertToAbsolutePath(arg0 string, arg1 ...string) ([ } // ConvertToAbsolutePath indicates an expected call of ConvertToAbsolutePath. -func (mr *MockICloseableFSMockRecorder) ConvertToAbsolutePath(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ConvertToAbsolutePath(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertToAbsolutePath", reflect.TypeOf((*MockICloseableFS)(nil).ConvertToAbsolutePath), varargs...) } // ConvertToRelativePath mocks base method. func (m *MockICloseableFS) ConvertToRelativePath(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -2710,9 +2705,9 @@ func (m *MockICloseableFS) ConvertToRelativePath(arg0 string, arg1 ...string) ([ } // ConvertToRelativePath indicates an expected call of ConvertToRelativePath. -func (mr *MockICloseableFSMockRecorder) ConvertToRelativePath(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ConvertToRelativePath(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertToRelativePath", reflect.TypeOf((*MockICloseableFS)(nil).ConvertToRelativePath), varargs...) } @@ -2725,7 +2720,7 @@ func (m *MockICloseableFS) Copy(arg0, arg1 string) error { } // Copy indicates an expected call of Copy. -func (mr *MockICloseableFSMockRecorder) Copy(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Copy", reflect.TypeOf((*MockICloseableFS)(nil).Copy), arg0, arg1) } @@ -2739,7 +2734,7 @@ func (m *MockICloseableFS) CopyToDirectory(arg0, arg1 string) error { } // CopyToDirectory indicates an expected call of CopyToDirectory. -func (mr *MockICloseableFSMockRecorder) CopyToDirectory(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CopyToDirectory(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToDirectory", reflect.TypeOf((*MockICloseableFS)(nil).CopyToDirectory), arg0, arg1) } @@ -2753,7 +2748,7 @@ func (m *MockICloseableFS) CopyToDirectoryWithContext(arg0 context.Context, arg1 } // CopyToDirectoryWithContext indicates an expected call of CopyToDirectoryWithContext. -func (mr *MockICloseableFSMockRecorder) CopyToDirectoryWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CopyToDirectoryWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToDirectoryWithContext", reflect.TypeOf((*MockICloseableFS)(nil).CopyToDirectoryWithContext), arg0, arg1, arg2) } @@ -2767,7 +2762,7 @@ func (m *MockICloseableFS) CopyToFile(arg0, arg1 string) error { } // CopyToFile indicates an expected call of CopyToFile. -func (mr *MockICloseableFSMockRecorder) CopyToFile(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CopyToFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToFile", reflect.TypeOf((*MockICloseableFS)(nil).CopyToFile), arg0, arg1) } @@ -2781,7 +2776,7 @@ func (m *MockICloseableFS) CopyToFileWithContext(arg0 context.Context, arg1, arg } // CopyToFileWithContext indicates an expected call of CopyToFileWithContext. -func (mr *MockICloseableFSMockRecorder) CopyToFileWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CopyToFileWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToFileWithContext", reflect.TypeOf((*MockICloseableFS)(nil).CopyToFileWithContext), arg0, arg1, arg2) } @@ -2795,7 +2790,7 @@ func (m *MockICloseableFS) CopyWithContext(arg0 context.Context, arg1, arg2 stri } // CopyWithContext indicates an expected call of CopyWithContext. -func (mr *MockICloseableFSMockRecorder) CopyWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CopyWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyWithContext", reflect.TypeOf((*MockICloseableFS)(nil).CopyWithContext), arg0, arg1, arg2) } @@ -2803,7 +2798,7 @@ func (mr *MockICloseableFSMockRecorder) CopyWithContext(arg0, arg1, arg2 any) *g // CopyWithContextAndExclusionPatterns mocks base method. func (m *MockICloseableFS) CopyWithContextAndExclusionPatterns(arg0 context.Context, arg1, arg2 string, arg3 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -2813,9 +2808,9 @@ func (m *MockICloseableFS) CopyWithContextAndExclusionPatterns(arg0 context.Cont } // CopyWithContextAndExclusionPatterns indicates an expected call of CopyWithContextAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) CopyWithContextAndExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CopyWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyWithContextAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).CopyWithContextAndExclusionPatterns), varargs...) } @@ -2829,7 +2824,7 @@ func (m *MockICloseableFS) CreateFile(arg0 string) (filesystem.File, error) { } // CreateFile indicates an expected call of CreateFile. -func (mr *MockICloseableFSMockRecorder) CreateFile(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) CreateFile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateFile", reflect.TypeOf((*MockICloseableFS)(nil).CreateFile), arg0) } @@ -2859,7 +2854,7 @@ func (m *MockICloseableFS) DiskUsage(arg0 string) (filesystem.DiskUsage, error) } // DiskUsage indicates an expected call of DiskUsage. -func (mr *MockICloseableFSMockRecorder) DiskUsage(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) DiskUsage(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiskUsage", reflect.TypeOf((*MockICloseableFS)(nil).DiskUsage), arg0) } @@ -2867,7 +2862,7 @@ func (mr *MockICloseableFSMockRecorder) DiskUsage(arg0 any) *gomock.Call { // ExcludeAll mocks base method. func (m *MockICloseableFS) ExcludeAll(arg0 []string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -2878,9 +2873,9 @@ func (m *MockICloseableFS) ExcludeAll(arg0 []string, arg1 ...string) ([]string, } // ExcludeAll indicates an expected call of ExcludeAll. -func (mr *MockICloseableFSMockRecorder) ExcludeAll(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ExcludeAll(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExcludeAll", reflect.TypeOf((*MockICloseableFS)(nil).ExcludeAll), varargs...) } @@ -2893,7 +2888,7 @@ func (m *MockICloseableFS) Exists(arg0 string) bool { } // Exists indicates an expected call of Exists. -func (mr *MockICloseableFSMockRecorder) Exists(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Exists(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exists", reflect.TypeOf((*MockICloseableFS)(nil).Exists), arg0) } @@ -2908,7 +2903,7 @@ func (m *MockICloseableFS) FetchFileOwner(arg0 string) (*user.User, error) { } // FetchFileOwner indicates an expected call of FetchFileOwner. -func (mr *MockICloseableFSMockRecorder) FetchFileOwner(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) FetchFileOwner(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchFileOwner", reflect.TypeOf((*MockICloseableFS)(nil).FetchFileOwner), arg0) } @@ -2924,7 +2919,7 @@ func (m *MockICloseableFS) FetchOwners(arg0 string) (int, int, error) { } // FetchOwners indicates an expected call of FetchOwners. -func (mr *MockICloseableFSMockRecorder) FetchOwners(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) FetchOwners(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchOwners", reflect.TypeOf((*MockICloseableFS)(nil).FetchOwners), arg0) } @@ -2939,7 +2934,7 @@ func (m *MockICloseableFS) FileHash(arg0, arg1 string) (string, error) { } // FileHash indicates an expected call of FileHash. -func (mr *MockICloseableFSMockRecorder) FileHash(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) FileHash(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FileHash", reflect.TypeOf((*MockICloseableFS)(nil).FileHash), arg0, arg1) } @@ -2954,7 +2949,7 @@ func (m *MockICloseableFS) FileHashWithContext(arg0 context.Context, arg1, arg2 } // FileHashWithContext indicates an expected call of FileHashWithContext. -func (mr *MockICloseableFSMockRecorder) FileHashWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) FileHashWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FileHashWithContext", reflect.TypeOf((*MockICloseableFS)(nil).FileHashWithContext), arg0, arg1, arg2) } @@ -2962,7 +2957,7 @@ func (mr *MockICloseableFSMockRecorder) FileHashWithContext(arg0, arg1, arg2 any // FindAll mocks base method. func (m *MockICloseableFS) FindAll(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -2973,9 +2968,9 @@ func (m *MockICloseableFS) FindAll(arg0 string, arg1 ...string) ([]string, error } // FindAll indicates an expected call of FindAll. -func (mr *MockICloseableFSMockRecorder) FindAll(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) FindAll(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindAll", reflect.TypeOf((*MockICloseableFS)(nil).FindAll), varargs...) } @@ -2988,7 +2983,7 @@ func (m *MockICloseableFS) GarbageCollect(arg0 string, arg1 time.Duration) error } // GarbageCollect indicates an expected call of GarbageCollect. -func (mr *MockICloseableFSMockRecorder) GarbageCollect(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) GarbageCollect(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GarbageCollect", reflect.TypeOf((*MockICloseableFS)(nil).GarbageCollect), arg0, arg1) } @@ -3002,7 +2997,7 @@ func (m *MockICloseableFS) GarbageCollectWithContext(arg0 context.Context, arg1 } // GarbageCollectWithContext indicates an expected call of GarbageCollectWithContext. -func (mr *MockICloseableFSMockRecorder) GarbageCollectWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) GarbageCollectWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GarbageCollectWithContext", reflect.TypeOf((*MockICloseableFS)(nil).GarbageCollectWithContext), arg0, arg1, arg2) } @@ -3017,7 +3012,7 @@ func (m *MockICloseableFS) GenericOpen(arg0 string) (filesystem.File, error) { } // GenericOpen indicates an expected call of GenericOpen. -func (mr *MockICloseableFSMockRecorder) GenericOpen(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) GenericOpen(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenericOpen", reflect.TypeOf((*MockICloseableFS)(nil).GenericOpen), arg0) } @@ -3032,7 +3027,7 @@ func (m *MockICloseableFS) GetFileSize(arg0 string) (int64, error) { } // GetFileSize indicates an expected call of GetFileSize. -func (mr *MockICloseableFSMockRecorder) GetFileSize(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) GetFileSize(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFileSize", reflect.TypeOf((*MockICloseableFS)(nil).GetFileSize), arg0) } @@ -3061,7 +3056,7 @@ func (m *MockICloseableFS) Glob(arg0 string) ([]string, error) { } // Glob indicates an expected call of Glob. -func (mr *MockICloseableFSMockRecorder) Glob(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Glob(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Glob", reflect.TypeOf((*MockICloseableFS)(nil).Glob), arg0) } @@ -3076,7 +3071,7 @@ func (m *MockICloseableFS) IsDir(arg0 string) (bool, error) { } // IsDir indicates an expected call of IsDir. -func (mr *MockICloseableFSMockRecorder) IsDir(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) IsDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsDir", reflect.TypeOf((*MockICloseableFS)(nil).IsDir), arg0) } @@ -3091,7 +3086,7 @@ func (m *MockICloseableFS) IsEmpty(arg0 string) (bool, error) { } // IsEmpty indicates an expected call of IsEmpty. -func (mr *MockICloseableFSMockRecorder) IsEmpty(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) IsEmpty(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsEmpty", reflect.TypeOf((*MockICloseableFS)(nil).IsEmpty), arg0) } @@ -3106,7 +3101,7 @@ func (m *MockICloseableFS) IsFile(arg0 string) (bool, error) { } // IsFile indicates an expected call of IsFile. -func (mr *MockICloseableFSMockRecorder) IsFile(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) IsFile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsFile", reflect.TypeOf((*MockICloseableFS)(nil).IsFile), arg0) } @@ -3121,7 +3116,7 @@ func (m *MockICloseableFS) IsLink(arg0 string) (bool, error) { } // IsLink indicates an expected call of IsLink. -func (mr *MockICloseableFSMockRecorder) IsLink(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) IsLink(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsLink", reflect.TypeOf((*MockICloseableFS)(nil).IsLink), arg0) } @@ -3135,7 +3130,7 @@ func (m *MockICloseableFS) IsZip(arg0 string) bool { } // IsZip indicates an expected call of IsZip. -func (mr *MockICloseableFSMockRecorder) IsZip(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) IsZip(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsZip", reflect.TypeOf((*MockICloseableFS)(nil).IsZip), arg0) } @@ -3150,7 +3145,7 @@ func (m *MockICloseableFS) IsZipWithContext(arg0 context.Context, arg1 string) ( } // IsZipWithContext indicates an expected call of IsZipWithContext. -func (mr *MockICloseableFSMockRecorder) IsZipWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) IsZipWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsZipWithContext", reflect.TypeOf((*MockICloseableFS)(nil).IsZipWithContext), arg0, arg1) } @@ -3164,7 +3159,7 @@ func (m *MockICloseableFS) Link(arg0, arg1 string) error { } // Link indicates an expected call of Link. -func (mr *MockICloseableFSMockRecorder) Link(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Link(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Link", reflect.TypeOf((*MockICloseableFS)(nil).Link), arg0, arg1) } @@ -3178,7 +3173,7 @@ func (m *MockICloseableFS) ListDirTree(arg0 string, arg1 *[]string) error { } // ListDirTree indicates an expected call of ListDirTree. -func (mr *MockICloseableFSMockRecorder) ListDirTree(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ListDirTree(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDirTree", reflect.TypeOf((*MockICloseableFS)(nil).ListDirTree), arg0, arg1) } @@ -3192,7 +3187,7 @@ func (m *MockICloseableFS) ListDirTreeWithContext(arg0 context.Context, arg1 str } // ListDirTreeWithContext indicates an expected call of ListDirTreeWithContext. -func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDirTreeWithContext", reflect.TypeOf((*MockICloseableFS)(nil).ListDirTreeWithContext), arg0, arg1, arg2) } @@ -3200,7 +3195,7 @@ func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 // ListDirTreeWithContextAndExclusionPatterns mocks base method. func (m *MockICloseableFS) ListDirTreeWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 *[]string, arg3 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -3210,9 +3205,9 @@ func (m *MockICloseableFS) ListDirTreeWithContextAndExclusionPatterns(arg0 conte } // ListDirTreeWithContextAndExclusionPatterns indicates an expected call of ListDirTreeWithContextAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDirTreeWithContextAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).ListDirTreeWithContextAndExclusionPatterns), varargs...) } @@ -3226,7 +3221,7 @@ func (m *MockICloseableFS) Lls(arg0 string) ([]fs.FileInfo, error) { } // Lls indicates an expected call of Lls. -func (mr *MockICloseableFSMockRecorder) Lls(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Lls(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lls", reflect.TypeOf((*MockICloseableFS)(nil).Lls), arg0) } @@ -3241,7 +3236,7 @@ func (m *MockICloseableFS) LlsFromOpenedDirectory(arg0 filesystem.File) ([]fs.Fi } // LlsFromOpenedDirectory indicates an expected call of LlsFromOpenedDirectory. -func (mr *MockICloseableFSMockRecorder) LlsFromOpenedDirectory(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LlsFromOpenedDirectory(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LlsFromOpenedDirectory", reflect.TypeOf((*MockICloseableFS)(nil).LlsFromOpenedDirectory), arg0) } @@ -3256,7 +3251,7 @@ func (m *MockICloseableFS) Ls(arg0 string) ([]string, error) { } // Ls indicates an expected call of Ls. -func (mr *MockICloseableFSMockRecorder) Ls(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Ls(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Ls", reflect.TypeOf((*MockICloseableFS)(nil).Ls), arg0) } @@ -3271,7 +3266,7 @@ func (m *MockICloseableFS) LsFromOpenedDirectory(arg0 filesystem.File) ([]string } // LsFromOpenedDirectory indicates an expected call of LsFromOpenedDirectory. -func (mr *MockICloseableFSMockRecorder) LsFromOpenedDirectory(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LsFromOpenedDirectory(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsFromOpenedDirectory", reflect.TypeOf((*MockICloseableFS)(nil).LsFromOpenedDirectory), arg0) } @@ -3286,7 +3281,7 @@ func (m *MockICloseableFS) LsRecursive(arg0 context.Context, arg1 string, arg2 b } // LsRecursive indicates an expected call of LsRecursive. -func (mr *MockICloseableFSMockRecorder) LsRecursive(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LsRecursive(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursive", reflect.TypeOf((*MockICloseableFS)(nil).LsRecursive), arg0, arg1, arg2) } @@ -3301,7 +3296,7 @@ func (m *MockICloseableFS) LsRecursiveFromOpenedDirectory(arg0 context.Context, } // LsRecursiveFromOpenedDirectory indicates an expected call of LsRecursiveFromOpenedDirectory. -func (mr *MockICloseableFSMockRecorder) LsRecursiveFromOpenedDirectory(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LsRecursiveFromOpenedDirectory(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursiveFromOpenedDirectory", reflect.TypeOf((*MockICloseableFS)(nil).LsRecursiveFromOpenedDirectory), arg0, arg1, arg2) } @@ -3309,7 +3304,7 @@ func (mr *MockICloseableFSMockRecorder) LsRecursiveFromOpenedDirectory(arg0, arg // LsRecursiveWithExclusionPatterns mocks base method. func (m *MockICloseableFS) LsRecursiveWithExclusionPatterns(arg0 context.Context, arg1 string, arg2 bool, arg3 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -3320,16 +3315,16 @@ func (m *MockICloseableFS) LsRecursiveWithExclusionPatterns(arg0 context.Context } // LsRecursiveWithExclusionPatterns indicates an expected call of LsRecursiveWithExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursiveWithExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).LsRecursiveWithExclusionPatterns), varargs...) } // LsRecursiveWithExclusionPatternsAndLimits mocks base method. func (m *MockICloseableFS) LsRecursiveWithExclusionPatternsAndLimits(arg0 context.Context, arg1 string, arg2 filesystem.ILimits, arg3 bool, arg4 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2, arg3} + varargs := []interface{}{arg0, arg1, arg2, arg3} for _, a := range arg4 { varargs = append(varargs, a) } @@ -3340,16 +3335,16 @@ func (m *MockICloseableFS) LsRecursiveWithExclusionPatternsAndLimits(arg0 contex } // LsRecursiveWithExclusionPatternsAndLimits indicates an expected call of LsRecursiveWithExclusionPatternsAndLimits. -func (mr *MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2, arg3}, arg4...) + varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsRecursiveWithExclusionPatternsAndLimits", reflect.TypeOf((*MockICloseableFS)(nil).LsRecursiveWithExclusionPatternsAndLimits), varargs...) } // LsWithExclusionPatterns mocks base method. func (m *MockICloseableFS) LsWithExclusionPatterns(arg0 string, arg1 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0} + varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -3360,9 +3355,9 @@ func (m *MockICloseableFS) LsWithExclusionPatterns(arg0 string, arg1 ...string) } // LsWithExclusionPatterns indicates an expected call of LsWithExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) LsWithExclusionPatterns(arg0 any, arg1 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) LsWithExclusionPatterns(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) + varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LsWithExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).LsWithExclusionPatterns), varargs...) } @@ -3376,7 +3371,7 @@ func (m *MockICloseableFS) Lstat(arg0 string) (fs.FileInfo, error) { } // Lstat indicates an expected call of Lstat. -func (mr *MockICloseableFSMockRecorder) Lstat(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Lstat(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lstat", reflect.TypeOf((*MockICloseableFS)(nil).Lstat), arg0) } @@ -3390,7 +3385,7 @@ func (m *MockICloseableFS) MkDir(arg0 string) error { } // MkDir indicates an expected call of MkDir. -func (mr *MockICloseableFSMockRecorder) MkDir(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) MkDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MkDir", reflect.TypeOf((*MockICloseableFS)(nil).MkDir), arg0) } @@ -3404,7 +3399,7 @@ func (m *MockICloseableFS) MkDirAll(arg0 string, arg1 fs.FileMode) error { } // MkDirAll indicates an expected call of MkDirAll. -func (mr *MockICloseableFSMockRecorder) MkDirAll(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) MkDirAll(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MkDirAll", reflect.TypeOf((*MockICloseableFS)(nil).MkDirAll), arg0, arg1) } @@ -3418,7 +3413,7 @@ func (m *MockICloseableFS) Move(arg0, arg1 string) error { } // Move indicates an expected call of Move. -func (mr *MockICloseableFSMockRecorder) Move(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Move", reflect.TypeOf((*MockICloseableFS)(nil).Move), arg0, arg1) } @@ -3432,7 +3427,7 @@ func (m *MockICloseableFS) MoveWithContext(arg0 context.Context, arg1, arg2 stri } // MoveWithContext indicates an expected call of MoveWithContext. -func (mr *MockICloseableFSMockRecorder) MoveWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) MoveWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MoveWithContext", reflect.TypeOf((*MockICloseableFS)(nil).MoveWithContext), arg0, arg1, arg2) } @@ -3446,7 +3441,7 @@ func (m *MockICloseableFS) NewRemoteLockFile(arg0, arg1 string) filesystem.ILock } // NewRemoteLockFile indicates an expected call of NewRemoteLockFile. -func (mr *MockICloseableFSMockRecorder) NewRemoteLockFile(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) NewRemoteLockFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewRemoteLockFile", reflect.TypeOf((*MockICloseableFS)(nil).NewRemoteLockFile), arg0, arg1) } @@ -3461,7 +3456,7 @@ func (m *MockICloseableFS) Open(arg0 string) (doublestar.File, error) { } // Open indicates an expected call of Open. -func (mr *MockICloseableFSMockRecorder) Open(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Open(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockICloseableFS)(nil).Open), arg0) } @@ -3476,7 +3471,7 @@ func (m *MockICloseableFS) OpenFile(arg0 string, arg1 int, arg2 fs.FileMode) (fi } // OpenFile indicates an expected call of OpenFile. -func (mr *MockICloseableFSMockRecorder) OpenFile(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OpenFile", reflect.TypeOf((*MockICloseableFS)(nil).OpenFile), arg0, arg1, arg2) } @@ -3505,7 +3500,7 @@ func (m *MockICloseableFS) ReadFile(arg0 string) ([]byte, error) { } // ReadFile indicates an expected call of ReadFile. -func (mr *MockICloseableFSMockRecorder) ReadFile(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ReadFile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFile", reflect.TypeOf((*MockICloseableFS)(nil).ReadFile), arg0) } @@ -3520,7 +3515,7 @@ func (m *MockICloseableFS) ReadFileContent(arg0 context.Context, arg1 filesystem } // ReadFileContent indicates an expected call of ReadFileContent. -func (mr *MockICloseableFSMockRecorder) ReadFileContent(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ReadFileContent(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileContent", reflect.TypeOf((*MockICloseableFS)(nil).ReadFileContent), arg0, arg1, arg2) } @@ -3535,7 +3530,7 @@ func (m *MockICloseableFS) ReadFileWithContext(arg0 context.Context, arg1 string } // ReadFileWithContext indicates an expected call of ReadFileWithContext. -func (mr *MockICloseableFSMockRecorder) ReadFileWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ReadFileWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileWithContext", reflect.TypeOf((*MockICloseableFS)(nil).ReadFileWithContext), arg0, arg1) } @@ -3550,7 +3545,7 @@ func (m *MockICloseableFS) ReadFileWithContextAndLimits(arg0 context.Context, ar } // ReadFileWithContextAndLimits indicates an expected call of ReadFileWithContextAndLimits. -func (mr *MockICloseableFSMockRecorder) ReadFileWithContextAndLimits(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ReadFileWithContextAndLimits(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileWithContextAndLimits", reflect.TypeOf((*MockICloseableFS)(nil).ReadFileWithContextAndLimits), arg0, arg1, arg2) } @@ -3565,7 +3560,7 @@ func (m *MockICloseableFS) ReadFileWithLimits(arg0 string, arg1 filesystem.ILimi } // ReadFileWithLimits indicates an expected call of ReadFileWithLimits. -func (mr *MockICloseableFSMockRecorder) ReadFileWithLimits(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ReadFileWithLimits(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFileWithLimits", reflect.TypeOf((*MockICloseableFS)(nil).ReadFileWithLimits), arg0, arg1) } @@ -3580,7 +3575,7 @@ func (m *MockICloseableFS) Readlink(arg0 string) (string, error) { } // Readlink indicates an expected call of Readlink. -func (mr *MockICloseableFSMockRecorder) Readlink(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Readlink(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Readlink", reflect.TypeOf((*MockICloseableFS)(nil).Readlink), arg0) } @@ -3594,7 +3589,7 @@ func (m *MockICloseableFS) RemoveWithContext(arg0 context.Context, arg1 string) } // RemoveWithContext indicates an expected call of RemoveWithContext. -func (mr *MockICloseableFSMockRecorder) RemoveWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) RemoveWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveWithContext", reflect.TypeOf((*MockICloseableFS)(nil).RemoveWithContext), arg0, arg1) } @@ -3602,7 +3597,7 @@ func (mr *MockICloseableFSMockRecorder) RemoveWithContext(arg0, arg1 any) *gomoc // RemoveWithContextAndExclusionPatterns mocks base method. func (m *MockICloseableFS) RemoveWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1} + varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -3612,9 +3607,9 @@ func (m *MockICloseableFS) RemoveWithContextAndExclusionPatterns(arg0 context.Co } // RemoveWithContextAndExclusionPatterns indicates an expected call of RemoveWithContextAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) RemoveWithContextAndExclusionPatterns(arg0, arg1 any, arg2 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) RemoveWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1}, arg2...) + varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveWithContextAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).RemoveWithContextAndExclusionPatterns), varargs...) } @@ -3627,7 +3622,7 @@ func (m *MockICloseableFS) RemoveWithPrivileges(arg0 context.Context, arg1 strin } // RemoveWithPrivileges indicates an expected call of RemoveWithPrivileges. -func (mr *MockICloseableFSMockRecorder) RemoveWithPrivileges(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) RemoveWithPrivileges(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveWithPrivileges", reflect.TypeOf((*MockICloseableFS)(nil).RemoveWithPrivileges), arg0, arg1) } @@ -3641,7 +3636,7 @@ func (m *MockICloseableFS) Rm(arg0 string) error { } // Rm indicates an expected call of Rm. -func (mr *MockICloseableFSMockRecorder) Rm(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Rm(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rm", reflect.TypeOf((*MockICloseableFS)(nil).Rm), arg0) } @@ -3656,7 +3651,7 @@ func (m *MockICloseableFS) Stat(arg0 string) (fs.FileInfo, error) { } // Stat indicates an expected call of Stat. -func (mr *MockICloseableFSMockRecorder) Stat(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Stat(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stat", reflect.TypeOf((*MockICloseableFS)(nil).Stat), arg0) } @@ -3671,7 +3666,7 @@ func (m *MockICloseableFS) StatTimes(arg0 string) (filesystem.FileTimeInfo, erro } // StatTimes indicates an expected call of StatTimes. -func (mr *MockICloseableFSMockRecorder) StatTimes(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) StatTimes(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StatTimes", reflect.TypeOf((*MockICloseableFS)(nil).StatTimes), arg0) } @@ -3686,7 +3681,7 @@ func (m *MockICloseableFS) SubDirectories(arg0 string) ([]string, error) { } // SubDirectories indicates an expected call of SubDirectories. -func (mr *MockICloseableFSMockRecorder) SubDirectories(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) SubDirectories(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubDirectories", reflect.TypeOf((*MockICloseableFS)(nil).SubDirectories), arg0) } @@ -3701,7 +3696,7 @@ func (m *MockICloseableFS) SubDirectoriesWithContext(arg0 context.Context, arg1 } // SubDirectoriesWithContext indicates an expected call of SubDirectoriesWithContext. -func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubDirectoriesWithContext", reflect.TypeOf((*MockICloseableFS)(nil).SubDirectoriesWithContext), arg0, arg1) } @@ -3709,7 +3704,7 @@ func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 any // SubDirectoriesWithContextAndExclusionPatterns mocks base method. func (m *MockICloseableFS) SubDirectoriesWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) ([]string, error) { m.ctrl.T.Helper() - varargs := []any{arg0, arg1} + varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -3720,9 +3715,9 @@ func (m *MockICloseableFS) SubDirectoriesWithContextAndExclusionPatterns(arg0 co } // SubDirectoriesWithContextAndExclusionPatterns indicates an expected call of SubDirectoriesWithContextAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(arg0, arg1 any, arg2 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1}, arg2...) + varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubDirectoriesWithContextAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).SubDirectoriesWithContextAndExclusionPatterns), varargs...) } @@ -3735,7 +3730,7 @@ func (m *MockICloseableFS) Symlink(arg0, arg1 string) error { } // Symlink indicates an expected call of Symlink. -func (mr *MockICloseableFSMockRecorder) Symlink(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Symlink", reflect.TypeOf((*MockICloseableFS)(nil).Symlink), arg0, arg1) } @@ -3750,7 +3745,7 @@ func (m *MockICloseableFS) TempDir(arg0, arg1 string) (string, error) { } // TempDir indicates an expected call of TempDir. -func (mr *MockICloseableFSMockRecorder) TempDir(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) TempDir(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempDir", reflect.TypeOf((*MockICloseableFS)(nil).TempDir), arg0, arg1) } @@ -3765,7 +3760,7 @@ func (m *MockICloseableFS) TempDirInTempDir(arg0 string) (string, error) { } // TempDirInTempDir indicates an expected call of TempDirInTempDir. -func (mr *MockICloseableFSMockRecorder) TempDirInTempDir(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) TempDirInTempDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempDirInTempDir", reflect.TypeOf((*MockICloseableFS)(nil).TempDirInTempDir), arg0) } @@ -3794,7 +3789,7 @@ func (m *MockICloseableFS) TempFile(arg0, arg1 string) (filesystem.File, error) } // TempFile indicates an expected call of TempFile. -func (mr *MockICloseableFSMockRecorder) TempFile(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) TempFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempFile", reflect.TypeOf((*MockICloseableFS)(nil).TempFile), arg0, arg1) } @@ -3809,7 +3804,7 @@ func (m *MockICloseableFS) TempFileInTempDir(arg0 string) (filesystem.File, erro } // TempFileInTempDir indicates an expected call of TempFileInTempDir. -func (mr *MockICloseableFSMockRecorder) TempFileInTempDir(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) TempFileInTempDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TempFileInTempDir", reflect.TypeOf((*MockICloseableFS)(nil).TempFileInTempDir), arg0) } @@ -3823,7 +3818,7 @@ func (m *MockICloseableFS) Touch(arg0 string) error { } // Touch indicates an expected call of Touch. -func (mr *MockICloseableFSMockRecorder) Touch(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Touch(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Touch", reflect.TypeOf((*MockICloseableFS)(nil).Touch), arg0) } @@ -3838,7 +3833,7 @@ func (m *MockICloseableFS) TouchTempFile(arg0, arg1 string) (string, error) { } // TouchTempFile indicates an expected call of TouchTempFile. -func (mr *MockICloseableFSMockRecorder) TouchTempFile(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) TouchTempFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TouchTempFile", reflect.TypeOf((*MockICloseableFS)(nil).TouchTempFile), arg0, arg1) } @@ -3853,7 +3848,7 @@ func (m *MockICloseableFS) TouchTempFileInTempDir(arg0 string) (string, error) { } // TouchTempFileInTempDir indicates an expected call of TouchTempFileInTempDir. -func (mr *MockICloseableFSMockRecorder) TouchTempFileInTempDir(arg0 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) TouchTempFileInTempDir(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TouchTempFileInTempDir", reflect.TypeOf((*MockICloseableFS)(nil).TouchTempFileInTempDir), arg0) } @@ -3868,7 +3863,7 @@ func (m *MockICloseableFS) Unzip(arg0, arg1 string) ([]string, error) { } // Unzip indicates an expected call of Unzip. -func (mr *MockICloseableFSMockRecorder) Unzip(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Unzip(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unzip", reflect.TypeOf((*MockICloseableFS)(nil).Unzip), arg0, arg1) } @@ -3883,7 +3878,7 @@ func (m *MockICloseableFS) UnzipWithContext(arg0 context.Context, arg1, arg2 str } // UnzipWithContext indicates an expected call of UnzipWithContext. -func (mr *MockICloseableFSMockRecorder) UnzipWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) UnzipWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnzipWithContext", reflect.TypeOf((*MockICloseableFS)(nil).UnzipWithContext), arg0, arg1, arg2) } @@ -3898,7 +3893,7 @@ func (m *MockICloseableFS) UnzipWithContextAndLimits(arg0 context.Context, arg1, } // UnzipWithContextAndLimits indicates an expected call of UnzipWithContextAndLimits. -func (mr *MockICloseableFSMockRecorder) UnzipWithContextAndLimits(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) UnzipWithContextAndLimits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnzipWithContextAndLimits", reflect.TypeOf((*MockICloseableFS)(nil).UnzipWithContextAndLimits), arg0, arg1, arg2, arg3) } @@ -3912,7 +3907,7 @@ func (m *MockICloseableFS) Walk(arg0 string, arg1 filepath.WalkFunc) error { } // Walk indicates an expected call of Walk. -func (mr *MockICloseableFSMockRecorder) Walk(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Walk(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Walk", reflect.TypeOf((*MockICloseableFS)(nil).Walk), arg0, arg1) } @@ -3926,7 +3921,7 @@ func (m *MockICloseableFS) WalkWithContext(arg0 context.Context, arg1 string, ar } // WalkWithContext indicates an expected call of WalkWithContext. -func (mr *MockICloseableFSMockRecorder) WalkWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) WalkWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalkWithContext", reflect.TypeOf((*MockICloseableFS)(nil).WalkWithContext), arg0, arg1, arg2) } @@ -3934,7 +3929,7 @@ func (mr *MockICloseableFSMockRecorder) WalkWithContext(arg0, arg1, arg2 any) *g // WalkWithContextAndExclusionPatterns mocks base method. func (m *MockICloseableFS) WalkWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 filepath.WalkFunc, arg3 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2} + varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -3944,9 +3939,9 @@ func (m *MockICloseableFS) WalkWithContextAndExclusionPatterns(arg0 context.Cont } // WalkWithContextAndExclusionPatterns indicates an expected call of WalkWithContextAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) WalkWithContextAndExclusionPatterns(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) WalkWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2}, arg3...) + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalkWithContextAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).WalkWithContextAndExclusionPatterns), varargs...) } @@ -3959,7 +3954,7 @@ func (m *MockICloseableFS) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) } // WriteFile indicates an expected call of WriteFile. -func (mr *MockICloseableFSMockRecorder) WriteFile(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFile", reflect.TypeOf((*MockICloseableFS)(nil).WriteFile), arg0, arg1, arg2) } @@ -3973,7 +3968,7 @@ func (m *MockICloseableFS) WriteFileWithContext(arg0 context.Context, arg1 strin } // WriteFileWithContext indicates an expected call of WriteFileWithContext. -func (mr *MockICloseableFSMockRecorder) WriteFileWithContext(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) WriteFileWithContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFileWithContext", reflect.TypeOf((*MockICloseableFS)(nil).WriteFileWithContext), arg0, arg1, arg2, arg3) } @@ -3988,7 +3983,7 @@ func (m *MockICloseableFS) WriteToFile(arg0 context.Context, arg1 string, arg2 i } // WriteToFile indicates an expected call of WriteToFile. -func (mr *MockICloseableFSMockRecorder) WriteToFile(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) WriteToFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteToFile", reflect.TypeOf((*MockICloseableFS)(nil).WriteToFile), arg0, arg1, arg2, arg3) } @@ -4002,7 +3997,7 @@ func (m *MockICloseableFS) Zip(arg0, arg1 string) error { } // Zip indicates an expected call of Zip. -func (mr *MockICloseableFSMockRecorder) Zip(arg0, arg1 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) Zip(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Zip", reflect.TypeOf((*MockICloseableFS)(nil).Zip), arg0, arg1) } @@ -4016,7 +4011,7 @@ func (m *MockICloseableFS) ZipWithContext(arg0 context.Context, arg1, arg2 strin } // ZipWithContext indicates an expected call of ZipWithContext. -func (mr *MockICloseableFSMockRecorder) ZipWithContext(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ZipWithContext(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ZipWithContext", reflect.TypeOf((*MockICloseableFS)(nil).ZipWithContext), arg0, arg1, arg2) } @@ -4030,7 +4025,7 @@ func (m *MockICloseableFS) ZipWithContextAndLimits(arg0 context.Context, arg1, a } // ZipWithContextAndLimits indicates an expected call of ZipWithContextAndLimits. -func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ZipWithContextAndLimits", reflect.TypeOf((*MockICloseableFS)(nil).ZipWithContextAndLimits), arg0, arg1, arg2, arg3) } @@ -4038,7 +4033,7 @@ func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2 // ZipWithContextAndLimitsAndExclusionPatterns mocks base method. func (m *MockICloseableFS) ZipWithContextAndLimitsAndExclusionPatterns(arg0 context.Context, arg1, arg2 string, arg3 filesystem.ILimits, arg4 ...string) error { m.ctrl.T.Helper() - varargs := []any{arg0, arg1, arg2, arg3} + varargs := []interface{}{arg0, arg1, arg2, arg3} for _, a := range arg4 { varargs = append(varargs, a) } @@ -4048,9 +4043,9 @@ func (m *MockICloseableFS) ZipWithContextAndLimitsAndExclusionPatterns(arg0 cont } // ZipWithContextAndLimitsAndExclusionPatterns indicates an expected call of ZipWithContextAndLimitsAndExclusionPatterns. -func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call { +func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0, arg1, arg2, arg3}, arg4...) + varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ZipWithContextAndLimitsAndExclusionPatterns", reflect.TypeOf((*MockICloseableFS)(nil).ZipWithContextAndLimitsAndExclusionPatterns), varargs...) } @@ -4086,7 +4081,7 @@ func (m *MockIForceRemover) ForceRemoveIfPossible(arg0 string) error { } // ForceRemoveIfPossible indicates an expected call of ForceRemoveIfPossible. -func (mr *MockIForceRemoverMockRecorder) ForceRemoveIfPossible(arg0 any) *gomock.Call { +func (mr *MockIForceRemoverMockRecorder) ForceRemoveIfPossible(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceRemoveIfPossible", reflect.TypeOf((*MockIForceRemover)(nil).ForceRemoveIfPossible), arg0) } @@ -4125,7 +4120,7 @@ func (m *MockIStater) LstatIfPossible(arg0 string) (fs.FileInfo, bool, error) { } // LstatIfPossible indicates an expected call of LstatIfPossible. -func (mr *MockIStaterMockRecorder) LstatIfPossible(arg0 any) *gomock.Call { +func (mr *MockIStaterMockRecorder) LstatIfPossible(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LstatIfPossible", reflect.TypeOf((*MockIStater)(nil).LstatIfPossible), arg0) } @@ -4163,7 +4158,7 @@ func (m *MockILinkReader) ReadlinkIfPossible(arg0 string) (string, error) { } // ReadlinkIfPossible indicates an expected call of ReadlinkIfPossible. -func (mr *MockILinkReaderMockRecorder) ReadlinkIfPossible(arg0 any) *gomock.Call { +func (mr *MockILinkReaderMockRecorder) ReadlinkIfPossible(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadlinkIfPossible", reflect.TypeOf((*MockILinkReader)(nil).ReadlinkIfPossible), arg0) } @@ -4200,7 +4195,7 @@ func (m *MockISymLinker) SymlinkIfPossible(arg0, arg1 string) error { } // SymlinkIfPossible indicates an expected call of SymlinkIfPossible. -func (mr *MockISymLinkerMockRecorder) SymlinkIfPossible(arg0, arg1 any) *gomock.Call { +func (mr *MockISymLinkerMockRecorder) SymlinkIfPossible(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SymlinkIfPossible", reflect.TypeOf((*MockISymLinker)(nil).SymlinkIfPossible), arg0, arg1) } diff --git a/utils/mocks/mock_hashing.go b/utils/mocks/mock_hashing.go index 8c069856f0..dbb0879781 100644 --- a/utils/mocks/mock_hashing.go +++ b/utils/mocks/mock_hashing.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/hashing (interfaces: IHash) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_hashing.go -package=mocks github.com/ARM-software/golang-utils/utils/hashing IHash -// // Package mocks is a generated GoMock package. package mocks @@ -14,7 +9,7 @@ import ( io "io" reflect "reflect" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIHash is a mock of IHash interface. @@ -50,7 +45,7 @@ func (m *MockIHash) Calculate(arg0 io.Reader) (string, error) { } // Calculate indicates an expected call of Calculate. -func (mr *MockIHashMockRecorder) Calculate(arg0 any) *gomock.Call { +func (mr *MockIHashMockRecorder) Calculate(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Calculate", reflect.TypeOf((*MockIHash)(nil).Calculate), arg0) } @@ -65,7 +60,7 @@ func (m *MockIHash) CalculateWithContext(arg0 context.Context, arg1 io.Reader) ( } // CalculateWithContext indicates an expected call of CalculateWithContext. -func (mr *MockIHashMockRecorder) CalculateWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockIHashMockRecorder) CalculateWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalculateWithContext", reflect.TypeOf((*MockIHash)(nil).CalculateWithContext), arg0, arg1) } diff --git a/utils/mocks/mock_http.go b/utils/mocks/mock_http.go index 518bd5dbdb..8b25cb29d3 100644 --- a/utils/mocks/mock_http.go +++ b/utils/mocks/mock_http.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/http (interfaces: IClient,IRetryWaitPolicy) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_http.go -package=mocks github.com/ARM-software/golang-utils/utils/http IClient,IRetryWaitPolicy -// // Package mocks is a generated GoMock package. package mocks @@ -15,7 +10,7 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIClient is a mock of IClient interface. @@ -65,7 +60,7 @@ func (m *MockIClient) Delete(arg0 string) (*http.Response, error) { } // Delete indicates an expected call of Delete. -func (mr *MockIClientMockRecorder) Delete(arg0 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Delete(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockIClient)(nil).Delete), arg0) } @@ -80,7 +75,7 @@ func (m *MockIClient) Do(arg0 *http.Request) (*http.Response, error) { } // Do indicates an expected call of Do. -func (mr *MockIClientMockRecorder) Do(arg0 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Do(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Do", reflect.TypeOf((*MockIClient)(nil).Do), arg0) } @@ -95,7 +90,7 @@ func (m *MockIClient) Get(arg0 string) (*http.Response, error) { } // Get indicates an expected call of Get. -func (mr *MockIClientMockRecorder) Get(arg0 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Get(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockIClient)(nil).Get), arg0) } @@ -110,7 +105,7 @@ func (m *MockIClient) Head(arg0 string) (*http.Response, error) { } // Head indicates an expected call of Head. -func (mr *MockIClientMockRecorder) Head(arg0 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Head(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Head", reflect.TypeOf((*MockIClient)(nil).Head), arg0) } @@ -125,13 +120,13 @@ func (m *MockIClient) Options(arg0 string) (*http.Response, error) { } // Options indicates an expected call of Options. -func (mr *MockIClientMockRecorder) Options(arg0 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Options(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockIClient)(nil).Options), arg0) } // Post mocks base method. -func (m *MockIClient) Post(arg0, arg1 string, arg2 any) (*http.Response, error) { +func (m *MockIClient) Post(arg0, arg1 string, arg2 interface{}) (*http.Response, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Post", arg0, arg1, arg2) ret0, _ := ret[0].(*http.Response) @@ -140,7 +135,7 @@ func (m *MockIClient) Post(arg0, arg1 string, arg2 any) (*http.Response, error) } // Post indicates an expected call of Post. -func (mr *MockIClientMockRecorder) Post(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Post(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Post", reflect.TypeOf((*MockIClient)(nil).Post), arg0, arg1, arg2) } @@ -155,13 +150,13 @@ func (m *MockIClient) PostForm(arg0 string, arg1 url.Values) (*http.Response, er } // PostForm indicates an expected call of PostForm. -func (mr *MockIClientMockRecorder) PostForm(arg0, arg1 any) *gomock.Call { +func (mr *MockIClientMockRecorder) PostForm(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostForm", reflect.TypeOf((*MockIClient)(nil).PostForm), arg0, arg1) } // Put mocks base method. -func (m *MockIClient) Put(arg0 string, arg1 any) (*http.Response, error) { +func (m *MockIClient) Put(arg0 string, arg1 interface{}) (*http.Response, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Put", arg0, arg1) ret0, _ := ret[0].(*http.Response) @@ -170,7 +165,7 @@ func (m *MockIClient) Put(arg0 string, arg1 any) (*http.Response, error) { } // Put indicates an expected call of Put. -func (mr *MockIClientMockRecorder) Put(arg0, arg1 any) *gomock.Call { +func (mr *MockIClientMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockIClient)(nil).Put), arg0, arg1) } @@ -221,7 +216,7 @@ func (m *MockIRetryWaitPolicy) Apply(arg0, arg1 time.Duration, arg2 int, arg3 *h } // Apply indicates an expected call of Apply. -func (mr *MockIRetryWaitPolicyMockRecorder) Apply(arg0, arg1, arg2, arg3 any) *gomock.Call { +func (mr *MockIRetryWaitPolicyMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*MockIRetryWaitPolicy)(nil).Apply), arg0, arg1, arg2, arg3) } diff --git a/utils/mocks/mock_iconv.go b/utils/mocks/mock_iconv.go index 4055490a3a..7a16032100 100644 --- a/utils/mocks/mock_iconv.go +++ b/utils/mocks/mock_iconv.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/charset/iconv (interfaces: ICharsetConverter) -// -// Generated by this command: -// -// mockgen -destination=../../mocks/mock_iconv.go -package=mocks github.com/ARM-software/golang-utils/utils/charset/iconv ICharsetConverter -// // Package mocks is a generated GoMock package. package mocks @@ -14,7 +9,7 @@ import ( io "io" reflect "reflect" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockICharsetConverter is a mock of ICharsetConverter interface. @@ -49,7 +44,7 @@ func (m *MockICharsetConverter) Convert(arg0 io.Reader) io.Reader { } // Convert indicates an expected call of Convert. -func (mr *MockICharsetConverterMockRecorder) Convert(arg0 any) *gomock.Call { +func (mr *MockICharsetConverterMockRecorder) Convert(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Convert", reflect.TypeOf((*MockICharsetConverter)(nil).Convert), arg0) } @@ -64,7 +59,7 @@ func (m *MockICharsetConverter) ConvertBytes(arg0 []byte) ([]byte, error) { } // ConvertBytes indicates an expected call of ConvertBytes. -func (mr *MockICharsetConverterMockRecorder) ConvertBytes(arg0 any) *gomock.Call { +func (mr *MockICharsetConverterMockRecorder) ConvertBytes(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertBytes", reflect.TypeOf((*MockICharsetConverter)(nil).ConvertBytes), arg0) } @@ -79,7 +74,7 @@ func (m *MockICharsetConverter) ConvertBytesWithContext(arg0 context.Context, ar } // ConvertBytesWithContext indicates an expected call of ConvertBytesWithContext. -func (mr *MockICharsetConverterMockRecorder) ConvertBytesWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICharsetConverterMockRecorder) ConvertBytesWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertBytesWithContext", reflect.TypeOf((*MockICharsetConverter)(nil).ConvertBytesWithContext), arg0, arg1) } @@ -94,7 +89,7 @@ func (m *MockICharsetConverter) ConvertString(arg0 string) (string, error) { } // ConvertString indicates an expected call of ConvertString. -func (mr *MockICharsetConverterMockRecorder) ConvertString(arg0 any) *gomock.Call { +func (mr *MockICharsetConverterMockRecorder) ConvertString(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertString", reflect.TypeOf((*MockICharsetConverter)(nil).ConvertString), arg0) } @@ -109,7 +104,7 @@ func (m *MockICharsetConverter) ConvertStringWithContext(arg0 context.Context, a } // ConvertStringWithContext indicates an expected call of ConvertStringWithContext. -func (mr *MockICharsetConverterMockRecorder) ConvertStringWithContext(arg0, arg1 any) *gomock.Call { +func (mr *MockICharsetConverterMockRecorder) ConvertStringWithContext(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertStringWithContext", reflect.TypeOf((*MockICharsetConverter)(nil).ConvertStringWithContext), arg0, arg1) } diff --git a/utils/mocks/mock_logs.go b/utils/mocks/mock_logs.go index cf9f8eef0f..78bbaf9709 100644 --- a/utils/mocks/mock_logs.go +++ b/utils/mocks/mock_logs.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/logs (interfaces: Loggers,IMultipleLoggers,WriterWithSource,StdLogger) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_logs.go -package=mocks github.com/ARM-software/golang-utils/utils/logs Loggers,IMultipleLoggers,WriterWithSource,StdLogger -// // Package mocks is a generated GoMock package. package mocks @@ -14,7 +9,7 @@ import ( logs "github.com/ARM-software/golang-utils/utils/logs" logr "github.com/go-logr/logr" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockLoggers is a mock of Loggers interface. @@ -69,9 +64,9 @@ func (mr *MockLoggersMockRecorder) Close() *gomock.Call { } // Log mocks base method. -func (m *MockLoggers) Log(arg0 ...any) { +func (m *MockLoggers) Log(arg0 ...interface{}) { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -79,15 +74,15 @@ func (m *MockLoggers) Log(arg0 ...any) { } // Log indicates an expected call of Log. -func (mr *MockLoggersMockRecorder) Log(arg0 ...any) *gomock.Call { +func (mr *MockLoggersMockRecorder) Log(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Log", reflect.TypeOf((*MockLoggers)(nil).Log), arg0...) } // LogError mocks base method. -func (m *MockLoggers) LogError(arg0 ...any) { +func (m *MockLoggers) LogError(arg0 ...interface{}) { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -95,7 +90,7 @@ func (m *MockLoggers) LogError(arg0 ...any) { } // LogError indicates an expected call of LogError. -func (mr *MockLoggersMockRecorder) LogError(arg0 ...any) *gomock.Call { +func (mr *MockLoggersMockRecorder) LogError(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogError", reflect.TypeOf((*MockLoggers)(nil).LogError), arg0...) } @@ -109,7 +104,7 @@ func (m *MockLoggers) SetLogSource(arg0 string) error { } // SetLogSource indicates an expected call of SetLogSource. -func (mr *MockLoggersMockRecorder) SetLogSource(arg0 any) *gomock.Call { +func (mr *MockLoggersMockRecorder) SetLogSource(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogSource", reflect.TypeOf((*MockLoggers)(nil).SetLogSource), arg0) } @@ -123,7 +118,7 @@ func (m *MockLoggers) SetLoggerSource(arg0 string) error { } // SetLoggerSource indicates an expected call of SetLoggerSource. -func (mr *MockLoggersMockRecorder) SetLoggerSource(arg0 any) *gomock.Call { +func (mr *MockLoggersMockRecorder) SetLoggerSource(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoggerSource", reflect.TypeOf((*MockLoggers)(nil).SetLoggerSource), arg0) } @@ -154,7 +149,7 @@ func (m *MockIMultipleLoggers) EXPECT() *MockIMultipleLoggersMockRecorder { // Append mocks base method. func (m *MockIMultipleLoggers) Append(arg0 ...logs.Loggers) error { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -164,7 +159,7 @@ func (m *MockIMultipleLoggers) Append(arg0 ...logs.Loggers) error { } // Append indicates an expected call of Append. -func (mr *MockIMultipleLoggersMockRecorder) Append(arg0 ...any) *gomock.Call { +func (mr *MockIMultipleLoggersMockRecorder) Append(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Append", reflect.TypeOf((*MockIMultipleLoggers)(nil).Append), arg0...) } @@ -172,7 +167,7 @@ func (mr *MockIMultipleLoggersMockRecorder) Append(arg0 ...any) *gomock.Call { // AppendLogger mocks base method. func (m *MockIMultipleLoggers) AppendLogger(arg0 ...logr.Logger) error { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -182,7 +177,7 @@ func (m *MockIMultipleLoggers) AppendLogger(arg0 ...logr.Logger) error { } // AppendLogger indicates an expected call of AppendLogger. -func (mr *MockIMultipleLoggersMockRecorder) AppendLogger(arg0 ...any) *gomock.Call { +func (mr *MockIMultipleLoggersMockRecorder) AppendLogger(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendLogger", reflect.TypeOf((*MockIMultipleLoggers)(nil).AppendLogger), arg0...) } @@ -216,9 +211,9 @@ func (mr *MockIMultipleLoggersMockRecorder) Close() *gomock.Call { } // Log mocks base method. -func (m *MockIMultipleLoggers) Log(arg0 ...any) { +func (m *MockIMultipleLoggers) Log(arg0 ...interface{}) { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -226,15 +221,15 @@ func (m *MockIMultipleLoggers) Log(arg0 ...any) { } // Log indicates an expected call of Log. -func (mr *MockIMultipleLoggersMockRecorder) Log(arg0 ...any) *gomock.Call { +func (mr *MockIMultipleLoggersMockRecorder) Log(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Log", reflect.TypeOf((*MockIMultipleLoggers)(nil).Log), arg0...) } // LogError mocks base method. -func (m *MockIMultipleLoggers) LogError(arg0 ...any) { +func (m *MockIMultipleLoggers) LogError(arg0 ...interface{}) { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -242,7 +237,7 @@ func (m *MockIMultipleLoggers) LogError(arg0 ...any) { } // LogError indicates an expected call of LogError. -func (mr *MockIMultipleLoggersMockRecorder) LogError(arg0 ...any) *gomock.Call { +func (mr *MockIMultipleLoggersMockRecorder) LogError(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogError", reflect.TypeOf((*MockIMultipleLoggers)(nil).LogError), arg0...) } @@ -256,7 +251,7 @@ func (m *MockIMultipleLoggers) SetLogSource(arg0 string) error { } // SetLogSource indicates an expected call of SetLogSource. -func (mr *MockIMultipleLoggersMockRecorder) SetLogSource(arg0 any) *gomock.Call { +func (mr *MockIMultipleLoggersMockRecorder) SetLogSource(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogSource", reflect.TypeOf((*MockIMultipleLoggers)(nil).SetLogSource), arg0) } @@ -270,7 +265,7 @@ func (m *MockIMultipleLoggers) SetLoggerSource(arg0 string) error { } // SetLoggerSource indicates an expected call of SetLoggerSource. -func (mr *MockIMultipleLoggersMockRecorder) SetLoggerSource(arg0 any) *gomock.Call { +func (mr *MockIMultipleLoggersMockRecorder) SetLoggerSource(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoggerSource", reflect.TypeOf((*MockIMultipleLoggers)(nil).SetLoggerSource), arg0) } @@ -321,7 +316,7 @@ func (m *MockWriterWithSource) SetSource(arg0 string) error { } // SetSource indicates an expected call of SetSource. -func (mr *MockWriterWithSourceMockRecorder) SetSource(arg0 any) *gomock.Call { +func (mr *MockWriterWithSourceMockRecorder) SetSource(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSource", reflect.TypeOf((*MockWriterWithSource)(nil).SetSource), arg0) } @@ -336,7 +331,7 @@ func (m *MockWriterWithSource) Write(arg0 []byte) (int, error) { } // Write indicates an expected call of Write. -func (mr *MockWriterWithSourceMockRecorder) Write(arg0 any) *gomock.Call { +func (mr *MockWriterWithSourceMockRecorder) Write(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockWriterWithSource)(nil).Write), arg0) } @@ -373,7 +368,7 @@ func (m *MockStdLogger) Output(arg0 int, arg1 string) error { } // Output indicates an expected call of Output. -func (mr *MockStdLoggerMockRecorder) Output(arg0, arg1 any) *gomock.Call { +func (mr *MockStdLoggerMockRecorder) Output(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Output", reflect.TypeOf((*MockStdLogger)(nil).Output), arg0, arg1) } diff --git a/utils/mocks/mock_pagination.go b/utils/mocks/mock_pagination.go index 0a32511ca3..6eada624c7 100644 --- a/utils/mocks/mock_pagination.go +++ b/utils/mocks/mock_pagination.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/collection/pagination (interfaces: IStaticPage,IPage,IStaticPageStream,IStream,IIterator,IPaginator,IPaginatorAndPageFetcher,IStreamPaginator,IStreamPaginatorAndPageFetcher) -// -// Generated by this command: -// -// mockgen -destination=../../mocks/mock_pagination.go -package=mocks github.com/ARM-software/golang-utils/utils/collection/pagination IStaticPage,IPage,IStaticPageStream,IStream,IIterator,IPaginator,IPaginatorAndPageFetcher,IStreamPaginator,IStreamPaginatorAndPageFetcher -// // Package mocks is a generated GoMock package. package mocks @@ -14,7 +9,7 @@ import ( reflect "reflect" pagination "github.com/ARM-software/golang-utils/utils/collection/pagination" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIStaticPage is a mock of IStaticPage interface. @@ -147,7 +142,7 @@ func (m *MockIPage) GetNext(arg0 context.Context) (pagination.IPage, error) { } // GetNext indicates an expected call of GetNext. -func (mr *MockIPageMockRecorder) GetNext(arg0 any) *gomock.Call { +func (mr *MockIPageMockRecorder) GetNext(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNext", reflect.TypeOf((*MockIPage)(nil).GetNext), arg0) } @@ -280,7 +275,7 @@ func (m *MockIStream) GetFuture(arg0 context.Context) (pagination.IStream, error } // GetFuture indicates an expected call of GetFuture. -func (mr *MockIStreamMockRecorder) GetFuture(arg0 any) *gomock.Call { +func (mr *MockIStreamMockRecorder) GetFuture(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFuture", reflect.TypeOf((*MockIStream)(nil).GetFuture), arg0) } @@ -325,7 +320,7 @@ func (m *MockIStream) GetNext(arg0 context.Context) (pagination.IPage, error) { } // GetNext indicates an expected call of GetNext. -func (mr *MockIStreamMockRecorder) GetNext(arg0 any) *gomock.Call { +func (mr *MockIStreamMockRecorder) GetNext(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNext", reflect.TypeOf((*MockIStream)(nil).GetNext), arg0) } @@ -382,10 +377,10 @@ func (m *MockIIterator) EXPECT() *MockIIteratorMockRecorder { } // GetNext mocks base method. -func (m *MockIIterator) GetNext() (any, error) { +func (m *MockIIterator) GetNext() (interface{}, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNext") - ret0, _ := ret[0].(any) + ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -463,10 +458,10 @@ func (mr *MockIPaginatorMockRecorder) GetCurrentPage() *gomock.Call { } // GetNext mocks base method. -func (m *MockIPaginator) GetNext() (any, error) { +func (m *MockIPaginator) GetNext() (interface{}, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNext") - ret0, _ := ret[0].(any) + ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -552,7 +547,7 @@ func (m *MockIPaginatorAndPageFetcher) FetchNextPage(arg0 context.Context, arg1 } // FetchNextPage indicates an expected call of FetchNextPage. -func (mr *MockIPaginatorAndPageFetcherMockRecorder) FetchNextPage(arg0, arg1 any) *gomock.Call { +func (mr *MockIPaginatorAndPageFetcherMockRecorder) FetchNextPage(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchNextPage", reflect.TypeOf((*MockIPaginatorAndPageFetcher)(nil).FetchNextPage), arg0, arg1) } @@ -573,10 +568,10 @@ func (mr *MockIPaginatorAndPageFetcherMockRecorder) GetCurrentPage() *gomock.Cal } // GetNext mocks base method. -func (m *MockIPaginatorAndPageFetcher) GetNext() (any, error) { +func (m *MockIPaginatorAndPageFetcher) GetNext() (interface{}, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNext") - ret0, _ := ret[0].(any) + ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -682,10 +677,10 @@ func (mr *MockIStreamPaginatorMockRecorder) GetCurrentPage() *gomock.Call { } // GetNext mocks base method. -func (m *MockIStreamPaginator) GetNext() (any, error) { +func (m *MockIStreamPaginator) GetNext() (interface{}, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNext") - ret0, _ := ret[0].(any) + ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -799,7 +794,7 @@ func (m *MockIStreamPaginatorAndPageFetcher) FetchFuturePage(arg0 context.Contex } // FetchFuturePage indicates an expected call of FetchFuturePage. -func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchFuturePage(arg0, arg1 any) *gomock.Call { +func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchFuturePage(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchFuturePage", reflect.TypeOf((*MockIStreamPaginatorAndPageFetcher)(nil).FetchFuturePage), arg0, arg1) } @@ -814,7 +809,7 @@ func (m *MockIStreamPaginatorAndPageFetcher) FetchNextPage(arg0 context.Context, } // FetchNextPage indicates an expected call of FetchNextPage. -func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchNextPage(arg0, arg1 any) *gomock.Call { +func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchNextPage(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchNextPage", reflect.TypeOf((*MockIStreamPaginatorAndPageFetcher)(nil).FetchNextPage), arg0, arg1) } @@ -835,10 +830,10 @@ func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) GetCurrentPage() *gomo } // GetNext mocks base method. -func (m *MockIStreamPaginatorAndPageFetcher) GetNext() (any, error) { +func (m *MockIStreamPaginatorAndPageFetcher) GetNext() (interface{}, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNext") - ret0, _ := ret[0].(any) + ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 } diff --git a/utils/mocks/mock_proc.go b/utils/mocks/mock_proc.go index 6f67f0e0f6..31e65d4983 100644 --- a/utils/mocks/mock_proc.go +++ b/utils/mocks/mock_proc.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/proc (interfaces: IProcess) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_proc.go -package=mocks github.com/ARM-software/golang-utils/utils/proc IProcess -// // Package mocks is a generated GoMock package. package mocks @@ -14,7 +9,7 @@ import ( reflect "reflect" proc "github.com/ARM-software/golang-utils/utils/proc" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockIProcess is a mock of IProcess interface. @@ -50,7 +45,7 @@ func (m *MockIProcess) Children(arg0 context.Context) ([]proc.IProcess, error) { } // Children indicates an expected call of Children. -func (mr *MockIProcessMockRecorder) Children(arg0 any) *gomock.Call { +func (mr *MockIProcessMockRecorder) Children(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Children", reflect.TypeOf((*MockIProcess)(nil).Children), arg0) } @@ -93,7 +88,7 @@ func (m *MockIProcess) Environ(arg0 context.Context) ([]string, error) { } // Environ indicates an expected call of Environ. -func (mr *MockIProcessMockRecorder) Environ(arg0 any) *gomock.Call { +func (mr *MockIProcessMockRecorder) Environ(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Environ", reflect.TypeOf((*MockIProcess)(nil).Environ), arg0) } @@ -135,7 +130,7 @@ func (m *MockIProcess) KillWithChildren(arg0 context.Context) error { } // KillWithChildren indicates an expected call of KillWithChildren. -func (mr *MockIProcessMockRecorder) KillWithChildren(arg0 any) *gomock.Call { +func (mr *MockIProcessMockRecorder) KillWithChildren(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KillWithChildren", reflect.TypeOf((*MockIProcess)(nil).KillWithChildren), arg0) } @@ -205,7 +200,7 @@ func (m *MockIProcess) Terminate(arg0 context.Context) error { } // Terminate indicates an expected call of Terminate. -func (mr *MockIProcessMockRecorder) Terminate(arg0 any) *gomock.Call { +func (mr *MockIProcessMockRecorder) Terminate(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Terminate", reflect.TypeOf((*MockIProcess)(nil).Terminate), arg0) } diff --git a/utils/mocks/mock_resource.go b/utils/mocks/mock_resource.go index 33d86d91e9..4bccdc3b0a 100644 --- a/utils/mocks/mock_resource.go +++ b/utils/mocks/mock_resource.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/resource (interfaces: ICloseableResource) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_resource.go -package=mocks github.com/ARM-software/golang-utils/utils/resource ICloseableResource -// // Package mocks is a generated GoMock package. package mocks @@ -12,7 +7,7 @@ package mocks import ( reflect "reflect" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockICloseableResource is a mock of ICloseableResource interface. diff --git a/utils/mocks/mock_sharedcache.go b/utils/mocks/mock_sharedcache.go index 357794d98e..28bd52391a 100644 --- a/utils/mocks/mock_sharedcache.go +++ b/utils/mocks/mock_sharedcache.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ARM-software/golang-utils/utils/sharedcache (interfaces: ISharedCacheRepository) -// -// Generated by this command: -// -// mockgen -destination=../mocks/mock_sharedcache.go -package=mocks github.com/ARM-software/golang-utils/utils/sharedcache ISharedCacheRepository -// // Package mocks is a generated GoMock package. package mocks @@ -14,7 +9,7 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" + gomock "github.com/golang/mock/gomock" ) // MockISharedCacheRepository is a mock of ISharedCacheRepository interface. @@ -49,7 +44,7 @@ func (m *MockISharedCacheRepository) CleanEntry(arg0 context.Context, arg1 strin } // CleanEntry indicates an expected call of CleanEntry. -func (mr *MockISharedCacheRepositoryMockRecorder) CleanEntry(arg0, arg1 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) CleanEntry(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanEntry", reflect.TypeOf((*MockISharedCacheRepository)(nil).CleanEntry), arg0, arg1) } @@ -64,7 +59,7 @@ func (m *MockISharedCacheRepository) EntriesCount(arg0 context.Context) (int64, } // EntriesCount indicates an expected call of EntriesCount. -func (mr *MockISharedCacheRepositoryMockRecorder) EntriesCount(arg0 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) EntriesCount(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EntriesCount", reflect.TypeOf((*MockISharedCacheRepository)(nil).EntriesCount), arg0) } @@ -78,7 +73,7 @@ func (m *MockISharedCacheRepository) Fetch(arg0 context.Context, arg1, arg2 stri } // Fetch indicates an expected call of Fetch. -func (mr *MockISharedCacheRepositoryMockRecorder) Fetch(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockISharedCacheRepository)(nil).Fetch), arg0, arg1, arg2) } @@ -86,7 +81,7 @@ func (mr *MockISharedCacheRepositoryMockRecorder) Fetch(arg0, arg1, arg2 any) *g // GenerateKey mocks base method. func (m *MockISharedCacheRepository) GenerateKey(arg0 ...string) string { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range arg0 { varargs = append(varargs, a) } @@ -96,7 +91,7 @@ func (m *MockISharedCacheRepository) GenerateKey(arg0 ...string) string { } // GenerateKey indicates an expected call of GenerateKey. -func (mr *MockISharedCacheRepositoryMockRecorder) GenerateKey(arg0 ...any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) GenerateKey(arg0 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenerateKey", reflect.TypeOf((*MockISharedCacheRepository)(nil).GenerateKey), arg0...) } @@ -111,7 +106,7 @@ func (m *MockISharedCacheRepository) GetEntries(arg0 context.Context) ([]string, } // GetEntries indicates an expected call of GetEntries. -func (mr *MockISharedCacheRepositoryMockRecorder) GetEntries(arg0 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) GetEntries(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntries", reflect.TypeOf((*MockISharedCacheRepository)(nil).GetEntries), arg0) } @@ -126,7 +121,7 @@ func (m *MockISharedCacheRepository) GetEntryAge(arg0 context.Context, arg1 stri } // GetEntryAge indicates an expected call of GetEntryAge. -func (mr *MockISharedCacheRepositoryMockRecorder) GetEntryAge(arg0, arg1 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) GetEntryAge(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntryAge", reflect.TypeOf((*MockISharedCacheRepository)(nil).GetEntryAge), arg0, arg1) } @@ -140,7 +135,7 @@ func (m *MockISharedCacheRepository) RemoveEntry(arg0 context.Context, arg1 stri } // RemoveEntry indicates an expected call of RemoveEntry. -func (mr *MockISharedCacheRepositoryMockRecorder) RemoveEntry(arg0, arg1 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) RemoveEntry(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveEntry", reflect.TypeOf((*MockISharedCacheRepository)(nil).RemoveEntry), arg0, arg1) } @@ -154,7 +149,7 @@ func (m *MockISharedCacheRepository) SetEntryAge(arg0 context.Context, arg1 stri } // SetEntryAge indicates an expected call of SetEntryAge. -func (mr *MockISharedCacheRepositoryMockRecorder) SetEntryAge(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) SetEntryAge(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEntryAge", reflect.TypeOf((*MockISharedCacheRepository)(nil).SetEntryAge), arg0, arg1, arg2) } @@ -168,7 +163,7 @@ func (m *MockISharedCacheRepository) Store(arg0 context.Context, arg1, arg2 stri } // Store indicates an expected call of Store. -func (mr *MockISharedCacheRepositoryMockRecorder) Store(arg0, arg1, arg2 any) *gomock.Call { +func (mr *MockISharedCacheRepositoryMockRecorder) Store(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Store", reflect.TypeOf((*MockISharedCacheRepository)(nil).Store), arg0, arg1, arg2) }