mocks

package
v1.173.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

  • Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
  • SPDX-License-Identifier: Apache-2.0

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDiskUsage

type MockDiskUsage struct {
	// contains filtered or unexported fields
}

MockDiskUsage is a mock of DiskUsage interface.

func NewMockDiskUsage

func NewMockDiskUsage(ctrl *gomock.Controller) *MockDiskUsage

NewMockDiskUsage creates a new mock instance.

func (*MockDiskUsage) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDiskUsage) GetFree

func (m *MockDiskUsage) GetFree() uint64

GetFree mocks base method.

func (*MockDiskUsage) GetInodesFree

func (m *MockDiskUsage) GetInodesFree() uint64

GetInodesFree mocks base method.

func (*MockDiskUsage) GetInodesTotal

func (m *MockDiskUsage) GetInodesTotal() uint64

GetInodesTotal mocks base method.

func (*MockDiskUsage) GetInodesUsed

func (m *MockDiskUsage) GetInodesUsed() uint64

GetInodesUsed mocks base method.

func (*MockDiskUsage) GetInodesUsedPercent

func (m *MockDiskUsage) GetInodesUsedPercent() float64

GetInodesUsedPercent mocks base method.

func (*MockDiskUsage) GetTotal

func (m *MockDiskUsage) GetTotal() uint64

GetTotal mocks base method.

func (*MockDiskUsage) GetUsed

func (m *MockDiskUsage) GetUsed() uint64

GetUsed mocks base method.

func (*MockDiskUsage) GetUsedPercent

func (m *MockDiskUsage) GetUsedPercent() float64

GetUsedPercent mocks base method.

type MockDiskUsageMockRecorder

type MockDiskUsageMockRecorder struct {
	// contains filtered or unexported fields
}

MockDiskUsageMockRecorder is the mock recorder for MockDiskUsage.

func (*MockDiskUsageMockRecorder) GetFree

func (mr *MockDiskUsageMockRecorder) GetFree() *gomock.Call

GetFree indicates an expected call of GetFree.

func (*MockDiskUsageMockRecorder) GetInodesFree

func (mr *MockDiskUsageMockRecorder) GetInodesFree() *gomock.Call

GetInodesFree indicates an expected call of GetInodesFree.

func (*MockDiskUsageMockRecorder) GetInodesTotal

func (mr *MockDiskUsageMockRecorder) GetInodesTotal() *gomock.Call

GetInodesTotal indicates an expected call of GetInodesTotal.

func (*MockDiskUsageMockRecorder) GetInodesUsed

func (mr *MockDiskUsageMockRecorder) GetInodesUsed() *gomock.Call

GetInodesUsed indicates an expected call of GetInodesUsed.

func (*MockDiskUsageMockRecorder) GetInodesUsedPercent

func (mr *MockDiskUsageMockRecorder) GetInodesUsedPercent() *gomock.Call

GetInodesUsedPercent indicates an expected call of GetInodesUsedPercent.

func (*MockDiskUsageMockRecorder) GetTotal

func (mr *MockDiskUsageMockRecorder) GetTotal() *gomock.Call

GetTotal indicates an expected call of GetTotal.

func (*MockDiskUsageMockRecorder) GetUsed

func (mr *MockDiskUsageMockRecorder) GetUsed() *gomock.Call

GetUsed indicates an expected call of GetUsed.

func (*MockDiskUsageMockRecorder) GetUsedPercent

func (mr *MockDiskUsageMockRecorder) GetUsedPercent() *gomock.Call

GetUsedPercent indicates an expected call of GetUsedPercent.

type MockFS

type MockFS struct {
	// contains filtered or unexported fields
}

MockFS is a mock of FS interface.

func NewMockFS

func NewMockFS(ctrl *gomock.Controller) *MockFS

NewMockFS creates a new mock instance.

func (*MockFS) ChangeOwnership

func (m *MockFS) ChangeOwnership(name string, owner *user.User) error

ChangeOwnership mocks base method.

func (*MockFS) ChangeOwnershipRecursively

func (m *MockFS) ChangeOwnershipRecursively(ctx context.Context, path string, owner *user.User) error

ChangeOwnershipRecursively mocks base method.

func (*MockFS) Chmod

func (m *MockFS) Chmod(name string, mode os.FileMode) error

Chmod mocks base method.

func (*MockFS) ChmodRecursively

func (m *MockFS) ChmodRecursively(ctx context.Context, path string, mode os.FileMode) error

ChmodRecursively mocks base method.

func (*MockFS) Chown

func (m *MockFS) Chown(name string, uid, gid int) error

Chown mocks base method.

func (*MockFS) ChownRecursively

func (m *MockFS) ChownRecursively(ctx context.Context, path string, uid, gid int) error

ChownRecursively mocks base method.

func (*MockFS) Chtimes

func (m *MockFS) Chtimes(name string, atime, mtime time.Time) error

Chtimes mocks base method.

func (*MockFS) CleanDir

func (m *MockFS) CleanDir(dir string) error

CleanDir mocks base method.

func (*MockFS) CleanDirWithContext

func (m *MockFS) CleanDirWithContext(ctx context.Context, dir string) error

CleanDirWithContext mocks base method.

func (*MockFS) CleanDirWithContextAndExclusionPatterns

func (m *MockFS) CleanDirWithContextAndExclusionPatterns(ctx context.Context, dir string, exclusionPatterns ...string) error

CleanDirWithContextAndExclusionPatterns mocks base method.

func (*MockFS) ConvertFilePath

func (m *MockFS) ConvertFilePath(name string) string

ConvertFilePath mocks base method.

func (*MockFS) ConvertToAbsolutePath

func (m *MockFS) ConvertToAbsolutePath(rootPath string, paths ...string) ([]string, error)

ConvertToAbsolutePath mocks base method.

func (*MockFS) ConvertToRelativePath

func (m *MockFS) ConvertToRelativePath(rootPath string, paths ...string) ([]string, error)

ConvertToRelativePath mocks base method.

func (*MockFS) Copy

func (m *MockFS) Copy(src, dest string) error

Copy mocks base method.

func (*MockFS) CopyToDirectory

func (m *MockFS) CopyToDirectory(src, destDirectory string) error

CopyToDirectory mocks base method.

func (*MockFS) CopyToDirectoryWithContext

func (m *MockFS) CopyToDirectoryWithContext(ctx context.Context, src, destDirectory string) error

CopyToDirectoryWithContext mocks base method.

func (*MockFS) CopyToFile

func (m *MockFS) CopyToFile(srcFile, destFile string) error

CopyToFile mocks base method.

func (*MockFS) CopyToFileWithContext

func (m *MockFS) CopyToFileWithContext(ctx context.Context, srcFile, destFile string) error

CopyToFileWithContext mocks base method.

func (*MockFS) CopyWithContext

func (m *MockFS) CopyWithContext(ctx context.Context, src, dest string) error

CopyWithContext mocks base method.

func (*MockFS) CopyWithContextAndExclusionPatterns

func (m *MockFS) CopyWithContextAndExclusionPatterns(ctx context.Context, src, dest string, exclusionPatterns ...string) error

CopyWithContextAndExclusionPatterns mocks base method.

func (*MockFS) CreateFile

func (m *MockFS) CreateFile(name string) (filesystem.File, error)

CreateFile mocks base method.

func (*MockFS) CurrentDirectory

func (m *MockFS) CurrentDirectory() (string, error)

CurrentDirectory mocks base method.

func (*MockFS) DiskUsage

func (m *MockFS) DiskUsage(name string) (filesystem.DiskUsage, error)

DiskUsage mocks base method.

func (*MockFS) EXPECT

func (m *MockFS) EXPECT() *MockFSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFS) ExcludeAll

func (m *MockFS) ExcludeAll(files []string, exclusionPatterns ...string) ([]string, error)

ExcludeAll mocks base method.

func (*MockFS) Exists

func (m *MockFS) Exists(path string) bool

Exists mocks base method.

func (*MockFS) FetchFileOwner

func (m *MockFS) FetchFileOwner(name string) (*user.User, error)

FetchFileOwner mocks base method.

func (*MockFS) FetchOwners

func (m *MockFS) FetchOwners(name string) (int, int, error)

FetchOwners mocks base method.

func (*MockFS) FileHash

func (m *MockFS) FileHash(hashAlgo, path string) (string, error)

FileHash mocks base method.

func (*MockFS) FileHashWithContext

func (m *MockFS) FileHashWithContext(ctx context.Context, hashAlgo, path string) (string, error)

FileHashWithContext mocks base method.

func (*MockFS) FindAll

func (m *MockFS) FindAll(dir string, extensions ...string) ([]string, error)

FindAll mocks base method.

func (*MockFS) GarbageCollect

func (m *MockFS) GarbageCollect(root string, durationSinceLastAccess time.Duration) error

GarbageCollect mocks base method.

func (*MockFS) GarbageCollectWithContext

func (m *MockFS) GarbageCollectWithContext(ctx context.Context, root string, durationSinceLastAccess time.Duration) error

GarbageCollectWithContext mocks base method.

func (*MockFS) GenericOpen

func (m *MockFS) GenericOpen(name string) (filesystem.File, error)

GenericOpen mocks base method.

func (*MockFS) GetFileSize

func (m *MockFS) GetFileSize(filename string) (int64, error)

GetFileSize mocks base method.

func (*MockFS) GetType

func (m *MockFS) GetType() filesystem.FilesystemType

GetType mocks base method.

func (*MockFS) Glob

func (m *MockFS) Glob(pattern string) ([]string, error)

Glob mocks base method.

func (*MockFS) IsDir

func (m *MockFS) IsDir(path string) (bool, error)

IsDir mocks base method.

func (*MockFS) IsEmpty

func (m *MockFS) IsEmpty(name string) (bool, error)

IsEmpty mocks base method.

func (*MockFS) IsFile

func (m *MockFS) IsFile(path string) (bool, error)

IsFile mocks base method.

func (m *MockFS) IsLink(path string) (bool, error)

IsLink mocks base method.

func (*MockFS) IsZip

func (m *MockFS) IsZip(arg0 string) bool

IsZip mocks base method.

func (*MockFS) IsZipWithContext

func (m *MockFS) IsZipWithContext(ctx context.Context, arg1 string) (bool, error)

IsZipWithContext mocks base method.

func (m *MockFS) Link(oldname, newname string) error

Link mocks base method.

func (*MockFS) ListDirTree

func (m *MockFS) ListDirTree(dirPath string, list *[]string) error

ListDirTree mocks base method.

func (*MockFS) ListDirTreeWithContext

func (m *MockFS) ListDirTreeWithContext(ctx context.Context, dirPath string, list *[]string) error

ListDirTreeWithContext mocks base method.

func (*MockFS) ListDirTreeWithContextAndExclusionPatterns

func (m *MockFS) ListDirTreeWithContextAndExclusionPatterns(ctx context.Context, dirPath string, list *[]string, exclusionPatterns ...string) error

ListDirTreeWithContextAndExclusionPatterns mocks base method.

func (*MockFS) Lls

func (m *MockFS) Lls(dir string) ([]os.FileInfo, error)

Lls mocks base method.

func (*MockFS) LlsFromOpenedDirectory

func (m *MockFS) LlsFromOpenedDirectory(dir filesystem.File) ([]os.FileInfo, error)

LlsFromOpenedDirectory mocks base method.

func (*MockFS) Ls

func (m *MockFS) Ls(dir string) ([]string, error)

Ls mocks base method.

func (*MockFS) LsFromOpenedDirectory

func (m *MockFS) LsFromOpenedDirectory(dir filesystem.File) ([]string, error)

LsFromOpenedDirectory mocks base method.

func (*MockFS) LsRecursive

func (m *MockFS) LsRecursive(ctx context.Context, dir string, includeDirectories bool) ([]string, error)

LsRecursive mocks base method.

func (*MockFS) LsRecursiveFromOpenedDirectory

func (m *MockFS) LsRecursiveFromOpenedDirectory(ctx context.Context, dir filesystem.File, includeDirectories bool) ([]string, error)

LsRecursiveFromOpenedDirectory mocks base method.

func (*MockFS) LsRecursiveWithExclusionPatterns

func (m *MockFS) LsRecursiveWithExclusionPatterns(ctx context.Context, dir string, includeDirectories bool, exclusionPatterns ...string) ([]string, error)

LsRecursiveWithExclusionPatterns mocks base method.

func (*MockFS) LsRecursiveWithExclusionPatternsAndLimits

func (m *MockFS) LsRecursiveWithExclusionPatternsAndLimits(ctx context.Context, dir string, limit filesystem.ILimits, includeDirectories bool, exclusionPatterns ...string) ([]string, error)

LsRecursiveWithExclusionPatternsAndLimits mocks base method.

func (*MockFS) LsWithExclusionPatterns

func (m *MockFS) LsWithExclusionPatterns(dir string, exclusionPatterns ...string) ([]string, error)

LsWithExclusionPatterns mocks base method.

func (*MockFS) Lstat

func (m *MockFS) Lstat(name string) (os.FileInfo, error)

Lstat mocks base method.

func (*MockFS) MkDir

func (m *MockFS) MkDir(dir string) error

MkDir mocks base method.

func (*MockFS) MkDirAll

func (m *MockFS) MkDirAll(dir string, perm os.FileMode) error

MkDirAll mocks base method.

func (*MockFS) Move

func (m *MockFS) Move(src, dest string) error

Move mocks base method.

func (*MockFS) MoveWithContext

func (m *MockFS) MoveWithContext(ctx context.Context, src, dest string) error

MoveWithContext mocks base method.

func (*MockFS) NewRemoteLockFile

func (m *MockFS) NewRemoteLockFile(id, dirToLock string) filesystem.ILock

NewRemoteLockFile mocks base method.

func (*MockFS) Open

func (m *MockFS) Open(name string) (doublestar.File, error)

Open mocks base method.

func (*MockFS) OpenFile

func (m *MockFS) OpenFile(name string, flag int, perm os.FileMode) (filesystem.File, error)

OpenFile mocks base method.

func (*MockFS) PathSeparator

func (m *MockFS) PathSeparator() rune

PathSeparator mocks base method.

func (*MockFS) ReadFile

func (m *MockFS) ReadFile(filename string) ([]byte, error)

ReadFile mocks base method.

func (*MockFS) ReadFileContent

func (m *MockFS) ReadFileContent(ctx context.Context, file filesystem.File, limits filesystem.ILimits) ([]byte, error)

ReadFileContent mocks base method.

func (*MockFS) ReadFileWithContext

func (m *MockFS) ReadFileWithContext(ctx context.Context, filename string) ([]byte, error)

ReadFileWithContext mocks base method.

func (*MockFS) ReadFileWithContextAndLimits

func (m *MockFS) ReadFileWithContextAndLimits(ctx context.Context, filename string, limits filesystem.ILimits) ([]byte, error)

ReadFileWithContextAndLimits mocks base method.

func (*MockFS) ReadFileWithLimits

func (m *MockFS) ReadFileWithLimits(filename string, limits filesystem.ILimits) ([]byte, error)

ReadFileWithLimits mocks base method.

func (m *MockFS) Readlink(name string) (string, error)

Readlink mocks base method.

func (*MockFS) RemoveWithContext

func (m *MockFS) RemoveWithContext(ctx context.Context, dir string) error

RemoveWithContext mocks base method.

func (*MockFS) RemoveWithContextAndExclusionPatterns

func (m *MockFS) RemoveWithContextAndExclusionPatterns(ctx context.Context, dir string, exclusionPatterns ...string) error

RemoveWithContextAndExclusionPatterns mocks base method.

func (*MockFS) RemoveWithPrivileges

func (m *MockFS) RemoveWithPrivileges(ctx context.Context, dir string) error

RemoveWithPrivileges mocks base method.

func (*MockFS) Rm

func (m *MockFS) Rm(dir string) error

Rm mocks base method.

func (*MockFS) Stat

func (m *MockFS) Stat(name string) (os.FileInfo, error)

Stat mocks base method.

func (*MockFS) StatTimes

func (m *MockFS) StatTimes(name string) (filesystem.FileTimeInfo, error)

StatTimes mocks base method.

func (*MockFS) SubDirectories

func (m *MockFS) SubDirectories(directory string) ([]string, error)

SubDirectories mocks base method.

func (*MockFS) SubDirectoriesWithContext

func (m *MockFS) SubDirectoriesWithContext(ctx context.Context, directory string) ([]string, error)

SubDirectoriesWithContext mocks base method.

func (*MockFS) SubDirectoriesWithContextAndExclusionPatterns

func (m *MockFS) SubDirectoriesWithContextAndExclusionPatterns(ctx context.Context, directory string, exclusionPatterns ...string) ([]string, error)

SubDirectoriesWithContextAndExclusionPatterns mocks base method.

func (m *MockFS) Symlink(oldname, newname string) error

Symlink mocks base method.

func (*MockFS) TempDir

func (m *MockFS) TempDir(dir, prefix string) (string, error)

TempDir mocks base method.

func (*MockFS) TempDirInTempDir

func (m *MockFS) TempDirInTempDir(prefix string) (string, error)

TempDirInTempDir mocks base method.

func (*MockFS) TempDirectory

func (m *MockFS) TempDirectory() string

TempDirectory mocks base method.

func (*MockFS) TempFile

func (m *MockFS) TempFile(dir, pattern string) (filesystem.File, error)

TempFile mocks base method.

func (*MockFS) TempFileInTempDir

func (m *MockFS) TempFileInTempDir(pattern string) (filesystem.File, error)

TempFileInTempDir mocks base method.

func (*MockFS) Touch

func (m *MockFS) Touch(path string) error

Touch mocks base method.

func (*MockFS) TouchTempFile

func (m *MockFS) TouchTempFile(dir, pattern string) (string, error)

TouchTempFile mocks base method.

func (*MockFS) TouchTempFileInTempDir

func (m *MockFS) TouchTempFileInTempDir(pattern string) (string, error)

TouchTempFileInTempDir mocks base method.

func (*MockFS) Unzip

func (m *MockFS) Unzip(source, destination string) ([]string, error)

Unzip mocks base method.

func (*MockFS) UnzipWithContext

func (m *MockFS) UnzipWithContext(ctx context.Context, source, destination string) ([]string, error)

UnzipWithContext mocks base method.

func (*MockFS) UnzipWithContextAndLimits

func (m *MockFS) UnzipWithContextAndLimits(ctx context.Context, source, destination string, limits filesystem.ILimits) ([]string, error)

UnzipWithContextAndLimits mocks base method.

func (*MockFS) Walk

func (m *MockFS) Walk(root string, fn filepath.WalkFunc) error

Walk mocks base method.

func (*MockFS) WalkWithContext

func (m *MockFS) WalkWithContext(ctx context.Context, root string, fn filepath.WalkFunc) error

WalkWithContext mocks base method.

func (*MockFS) WalkWithContextAndExclusionPatterns

func (m *MockFS) WalkWithContextAndExclusionPatterns(ctx context.Context, root string, fn filepath.WalkFunc, exclusionPatterns ...string) error

WalkWithContextAndExclusionPatterns mocks base method.

func (*MockFS) WriteFile

func (m *MockFS) WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile mocks base method.

func (*MockFS) WriteFileWithContext

func (m *MockFS) WriteFileWithContext(ctx context.Context, filename string, data []byte, perm os.FileMode) error

WriteFileWithContext mocks base method.

func (*MockFS) WriteToFile

func (m *MockFS) WriteToFile(ctx context.Context, filename string, reader io.Reader, perm os.FileMode) (int64, error)

WriteToFile mocks base method.

func (*MockFS) Zip

func (m *MockFS) Zip(source, destination string) error

Zip mocks base method.

func (*MockFS) ZipWithContext

func (m *MockFS) ZipWithContext(ctx context.Context, source, destination string) error

ZipWithContext mocks base method.

func (*MockFS) ZipWithContextAndLimits

func (m *MockFS) ZipWithContextAndLimits(ctx context.Context, source, destination string, limits filesystem.ILimits) error

ZipWithContextAndLimits mocks base method.

func (*MockFS) ZipWithContextAndLimitsAndExclusionPatterns

func (m *MockFS) ZipWithContextAndLimitsAndExclusionPatterns(ctx context.Context, source, destination string, limits filesystem.ILimits, exclusionPatterns ...string) error

ZipWithContextAndLimitsAndExclusionPatterns mocks base method.

type MockFSMockRecorder

type MockFSMockRecorder struct {
	// contains filtered or unexported fields
}

MockFSMockRecorder is the mock recorder for MockFS.

func (*MockFSMockRecorder) ChangeOwnership

func (mr *MockFSMockRecorder) ChangeOwnership(name, owner any) *gomock.Call

ChangeOwnership indicates an expected call of ChangeOwnership.

func (*MockFSMockRecorder) ChangeOwnershipRecursively

func (mr *MockFSMockRecorder) ChangeOwnershipRecursively(ctx, path, owner any) *gomock.Call

ChangeOwnershipRecursively indicates an expected call of ChangeOwnershipRecursively.

func (*MockFSMockRecorder) Chmod

func (mr *MockFSMockRecorder) Chmod(name, mode any) *gomock.Call

Chmod indicates an expected call of Chmod.

func (*MockFSMockRecorder) ChmodRecursively

func (mr *MockFSMockRecorder) ChmodRecursively(ctx, path, mode any) *gomock.Call

ChmodRecursively indicates an expected call of ChmodRecursively.

func (*MockFSMockRecorder) Chown

func (mr *MockFSMockRecorder) Chown(name, uid, gid any) *gomock.Call

Chown indicates an expected call of Chown.

func (*MockFSMockRecorder) ChownRecursively

func (mr *MockFSMockRecorder) ChownRecursively(ctx, path, uid, gid any) *gomock.Call

ChownRecursively indicates an expected call of ChownRecursively.

func (*MockFSMockRecorder) Chtimes

func (mr *MockFSMockRecorder) Chtimes(name, atime, mtime any) *gomock.Call

Chtimes indicates an expected call of Chtimes.

func (*MockFSMockRecorder) CleanDir

func (mr *MockFSMockRecorder) CleanDir(dir any) *gomock.Call

CleanDir indicates an expected call of CleanDir.

func (*MockFSMockRecorder) CleanDirWithContext

func (mr *MockFSMockRecorder) CleanDirWithContext(ctx, dir any) *gomock.Call

CleanDirWithContext indicates an expected call of CleanDirWithContext.

func (*MockFSMockRecorder) CleanDirWithContextAndExclusionPatterns

func (mr *MockFSMockRecorder) CleanDirWithContextAndExclusionPatterns(ctx, dir any, exclusionPatterns ...any) *gomock.Call

CleanDirWithContextAndExclusionPatterns indicates an expected call of CleanDirWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) ConvertFilePath

func (mr *MockFSMockRecorder) ConvertFilePath(name any) *gomock.Call

ConvertFilePath indicates an expected call of ConvertFilePath.

func (*MockFSMockRecorder) ConvertToAbsolutePath

func (mr *MockFSMockRecorder) ConvertToAbsolutePath(rootPath any, paths ...any) *gomock.Call

ConvertToAbsolutePath indicates an expected call of ConvertToAbsolutePath.

func (*MockFSMockRecorder) ConvertToRelativePath

func (mr *MockFSMockRecorder) ConvertToRelativePath(rootPath any, paths ...any) *gomock.Call

ConvertToRelativePath indicates an expected call of ConvertToRelativePath.

func (*MockFSMockRecorder) Copy

func (mr *MockFSMockRecorder) Copy(src, dest any) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockFSMockRecorder) CopyToDirectory

func (mr *MockFSMockRecorder) CopyToDirectory(src, destDirectory any) *gomock.Call

CopyToDirectory indicates an expected call of CopyToDirectory.

func (*MockFSMockRecorder) CopyToDirectoryWithContext

func (mr *MockFSMockRecorder) CopyToDirectoryWithContext(ctx, src, destDirectory any) *gomock.Call

CopyToDirectoryWithContext indicates an expected call of CopyToDirectoryWithContext.

func (*MockFSMockRecorder) CopyToFile

func (mr *MockFSMockRecorder) CopyToFile(srcFile, destFile any) *gomock.Call

CopyToFile indicates an expected call of CopyToFile.

func (*MockFSMockRecorder) CopyToFileWithContext

func (mr *MockFSMockRecorder) CopyToFileWithContext(ctx, srcFile, destFile any) *gomock.Call

CopyToFileWithContext indicates an expected call of CopyToFileWithContext.

func (*MockFSMockRecorder) CopyWithContext

func (mr *MockFSMockRecorder) CopyWithContext(ctx, src, dest any) *gomock.Call

CopyWithContext indicates an expected call of CopyWithContext.

func (*MockFSMockRecorder) CopyWithContextAndExclusionPatterns

func (mr *MockFSMockRecorder) CopyWithContextAndExclusionPatterns(ctx, src, dest any, exclusionPatterns ...any) *gomock.Call

CopyWithContextAndExclusionPatterns indicates an expected call of CopyWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) CreateFile

func (mr *MockFSMockRecorder) CreateFile(name any) *gomock.Call

CreateFile indicates an expected call of CreateFile.

func (*MockFSMockRecorder) CurrentDirectory

func (mr *MockFSMockRecorder) CurrentDirectory() *gomock.Call

CurrentDirectory indicates an expected call of CurrentDirectory.

func (*MockFSMockRecorder) DiskUsage

func (mr *MockFSMockRecorder) DiskUsage(name any) *gomock.Call

DiskUsage indicates an expected call of DiskUsage.

func (*MockFSMockRecorder) ExcludeAll

func (mr *MockFSMockRecorder) ExcludeAll(files any, exclusionPatterns ...any) *gomock.Call

ExcludeAll indicates an expected call of ExcludeAll.

func (*MockFSMockRecorder) Exists

func (mr *MockFSMockRecorder) Exists(path any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockFSMockRecorder) FetchFileOwner

func (mr *MockFSMockRecorder) FetchFileOwner(name any) *gomock.Call

FetchFileOwner indicates an expected call of FetchFileOwner.

func (*MockFSMockRecorder) FetchOwners

func (mr *MockFSMockRecorder) FetchOwners(name any) *gomock.Call

FetchOwners indicates an expected call of FetchOwners.

func (*MockFSMockRecorder) FileHash

func (mr *MockFSMockRecorder) FileHash(hashAlgo, path any) *gomock.Call

FileHash indicates an expected call of FileHash.

func (*MockFSMockRecorder) FileHashWithContext

func (mr *MockFSMockRecorder) FileHashWithContext(ctx, hashAlgo, path any) *gomock.Call

FileHashWithContext indicates an expected call of FileHashWithContext.

func (*MockFSMockRecorder) FindAll

func (mr *MockFSMockRecorder) FindAll(dir any, extensions ...any) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockFSMockRecorder) GarbageCollect

func (mr *MockFSMockRecorder) GarbageCollect(root, durationSinceLastAccess any) *gomock.Call

GarbageCollect indicates an expected call of GarbageCollect.

func (*MockFSMockRecorder) GarbageCollectWithContext

func (mr *MockFSMockRecorder) GarbageCollectWithContext(ctx, root, durationSinceLastAccess any) *gomock.Call

GarbageCollectWithContext indicates an expected call of GarbageCollectWithContext.

func (*MockFSMockRecorder) GenericOpen

func (mr *MockFSMockRecorder) GenericOpen(name any) *gomock.Call

GenericOpen indicates an expected call of GenericOpen.

func (*MockFSMockRecorder) GetFileSize

func (mr *MockFSMockRecorder) GetFileSize(filename any) *gomock.Call

GetFileSize indicates an expected call of GetFileSize.

func (*MockFSMockRecorder) GetType

func (mr *MockFSMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

func (*MockFSMockRecorder) Glob

func (mr *MockFSMockRecorder) Glob(pattern any) *gomock.Call

Glob indicates an expected call of Glob.

func (*MockFSMockRecorder) IsDir

func (mr *MockFSMockRecorder) IsDir(path any) *gomock.Call

IsDir indicates an expected call of IsDir.

func (*MockFSMockRecorder) IsEmpty

func (mr *MockFSMockRecorder) IsEmpty(name any) *gomock.Call

IsEmpty indicates an expected call of IsEmpty.

func (*MockFSMockRecorder) IsFile

func (mr *MockFSMockRecorder) IsFile(path any) *gomock.Call

IsFile indicates an expected call of IsFile.

func (mr *MockFSMockRecorder) IsLink(path any) *gomock.Call

IsLink indicates an expected call of IsLink.

func (*MockFSMockRecorder) IsZip

func (mr *MockFSMockRecorder) IsZip(arg0 any) *gomock.Call

IsZip indicates an expected call of IsZip.

func (*MockFSMockRecorder) IsZipWithContext

func (mr *MockFSMockRecorder) IsZipWithContext(ctx, arg1 any) *gomock.Call

IsZipWithContext indicates an expected call of IsZipWithContext.

func (mr *MockFSMockRecorder) Link(oldname, newname any) *gomock.Call

Link indicates an expected call of Link.

func (*MockFSMockRecorder) ListDirTree

func (mr *MockFSMockRecorder) ListDirTree(dirPath, list any) *gomock.Call

ListDirTree indicates an expected call of ListDirTree.

func (*MockFSMockRecorder) ListDirTreeWithContext

func (mr *MockFSMockRecorder) ListDirTreeWithContext(ctx, dirPath, list any) *gomock.Call

ListDirTreeWithContext indicates an expected call of ListDirTreeWithContext.

func (*MockFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns

func (mr *MockFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(ctx, dirPath, list any, exclusionPatterns ...any) *gomock.Call

ListDirTreeWithContextAndExclusionPatterns indicates an expected call of ListDirTreeWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) Lls

func (mr *MockFSMockRecorder) Lls(dir any) *gomock.Call

Lls indicates an expected call of Lls.

func (*MockFSMockRecorder) LlsFromOpenedDirectory

func (mr *MockFSMockRecorder) LlsFromOpenedDirectory(dir any) *gomock.Call

LlsFromOpenedDirectory indicates an expected call of LlsFromOpenedDirectory.

func (*MockFSMockRecorder) Ls

func (mr *MockFSMockRecorder) Ls(dir any) *gomock.Call

Ls indicates an expected call of Ls.

func (*MockFSMockRecorder) LsFromOpenedDirectory

func (mr *MockFSMockRecorder) LsFromOpenedDirectory(dir any) *gomock.Call

LsFromOpenedDirectory indicates an expected call of LsFromOpenedDirectory.

func (*MockFSMockRecorder) LsRecursive

func (mr *MockFSMockRecorder) LsRecursive(ctx, dir, includeDirectories any) *gomock.Call

LsRecursive indicates an expected call of LsRecursive.

func (*MockFSMockRecorder) LsRecursiveFromOpenedDirectory

func (mr *MockFSMockRecorder) LsRecursiveFromOpenedDirectory(ctx, dir, includeDirectories any) *gomock.Call

LsRecursiveFromOpenedDirectory indicates an expected call of LsRecursiveFromOpenedDirectory.

func (*MockFSMockRecorder) LsRecursiveWithExclusionPatterns

func (mr *MockFSMockRecorder) LsRecursiveWithExclusionPatterns(ctx, dir, includeDirectories any, exclusionPatterns ...any) *gomock.Call

LsRecursiveWithExclusionPatterns indicates an expected call of LsRecursiveWithExclusionPatterns.

func (*MockFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits

func (mr *MockFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits(ctx, dir, limit, includeDirectories any, exclusionPatterns ...any) *gomock.Call

LsRecursiveWithExclusionPatternsAndLimits indicates an expected call of LsRecursiveWithExclusionPatternsAndLimits.

func (*MockFSMockRecorder) LsWithExclusionPatterns

func (mr *MockFSMockRecorder) LsWithExclusionPatterns(dir any, exclusionPatterns ...any) *gomock.Call

LsWithExclusionPatterns indicates an expected call of LsWithExclusionPatterns.

func (*MockFSMockRecorder) Lstat

func (mr *MockFSMockRecorder) Lstat(name any) *gomock.Call

Lstat indicates an expected call of Lstat.

func (*MockFSMockRecorder) MkDir

func (mr *MockFSMockRecorder) MkDir(dir any) *gomock.Call

MkDir indicates an expected call of MkDir.

func (*MockFSMockRecorder) MkDirAll

func (mr *MockFSMockRecorder) MkDirAll(dir, perm any) *gomock.Call

MkDirAll indicates an expected call of MkDirAll.

func (*MockFSMockRecorder) Move

func (mr *MockFSMockRecorder) Move(src, dest any) *gomock.Call

Move indicates an expected call of Move.

func (*MockFSMockRecorder) MoveWithContext

func (mr *MockFSMockRecorder) MoveWithContext(ctx, src, dest any) *gomock.Call

MoveWithContext indicates an expected call of MoveWithContext.

func (*MockFSMockRecorder) NewRemoteLockFile

func (mr *MockFSMockRecorder) NewRemoteLockFile(id, dirToLock any) *gomock.Call

NewRemoteLockFile indicates an expected call of NewRemoteLockFile.

func (*MockFSMockRecorder) Open

func (mr *MockFSMockRecorder) Open(name any) *gomock.Call

Open indicates an expected call of Open.

func (*MockFSMockRecorder) OpenFile

func (mr *MockFSMockRecorder) OpenFile(name, flag, perm any) *gomock.Call

OpenFile indicates an expected call of OpenFile.

func (*MockFSMockRecorder) PathSeparator

func (mr *MockFSMockRecorder) PathSeparator() *gomock.Call

PathSeparator indicates an expected call of PathSeparator.

func (*MockFSMockRecorder) ReadFile

func (mr *MockFSMockRecorder) ReadFile(filename any) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockFSMockRecorder) ReadFileContent

func (mr *MockFSMockRecorder) ReadFileContent(ctx, file, limits any) *gomock.Call

ReadFileContent indicates an expected call of ReadFileContent.

func (*MockFSMockRecorder) ReadFileWithContext

func (mr *MockFSMockRecorder) ReadFileWithContext(ctx, filename any) *gomock.Call

ReadFileWithContext indicates an expected call of ReadFileWithContext.

func (*MockFSMockRecorder) ReadFileWithContextAndLimits

func (mr *MockFSMockRecorder) ReadFileWithContextAndLimits(ctx, filename, limits any) *gomock.Call

ReadFileWithContextAndLimits indicates an expected call of ReadFileWithContextAndLimits.

func (*MockFSMockRecorder) ReadFileWithLimits

func (mr *MockFSMockRecorder) ReadFileWithLimits(filename, limits any) *gomock.Call

ReadFileWithLimits indicates an expected call of ReadFileWithLimits.

func (mr *MockFSMockRecorder) Readlink(name any) *gomock.Call

Readlink indicates an expected call of Readlink.

func (*MockFSMockRecorder) RemoveWithContext

func (mr *MockFSMockRecorder) RemoveWithContext(ctx, dir any) *gomock.Call

RemoveWithContext indicates an expected call of RemoveWithContext.

func (*MockFSMockRecorder) RemoveWithContextAndExclusionPatterns

func (mr *MockFSMockRecorder) RemoveWithContextAndExclusionPatterns(ctx, dir any, exclusionPatterns ...any) *gomock.Call

RemoveWithContextAndExclusionPatterns indicates an expected call of RemoveWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) RemoveWithPrivileges

func (mr *MockFSMockRecorder) RemoveWithPrivileges(ctx, dir any) *gomock.Call

RemoveWithPrivileges indicates an expected call of RemoveWithPrivileges.

func (*MockFSMockRecorder) Rm

func (mr *MockFSMockRecorder) Rm(dir any) *gomock.Call

Rm indicates an expected call of Rm.

func (*MockFSMockRecorder) Stat

func (mr *MockFSMockRecorder) Stat(name any) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockFSMockRecorder) StatTimes

func (mr *MockFSMockRecorder) StatTimes(name any) *gomock.Call

StatTimes indicates an expected call of StatTimes.

func (*MockFSMockRecorder) SubDirectories

func (mr *MockFSMockRecorder) SubDirectories(directory any) *gomock.Call

SubDirectories indicates an expected call of SubDirectories.

func (*MockFSMockRecorder) SubDirectoriesWithContext

func (mr *MockFSMockRecorder) SubDirectoriesWithContext(ctx, directory any) *gomock.Call

SubDirectoriesWithContext indicates an expected call of SubDirectoriesWithContext.

func (*MockFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns

func (mr *MockFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(ctx, directory any, exclusionPatterns ...any) *gomock.Call

SubDirectoriesWithContextAndExclusionPatterns indicates an expected call of SubDirectoriesWithContextAndExclusionPatterns.

func (mr *MockFSMockRecorder) Symlink(oldname, newname any) *gomock.Call

Symlink indicates an expected call of Symlink.

func (*MockFSMockRecorder) TempDir

func (mr *MockFSMockRecorder) TempDir(dir, prefix any) *gomock.Call

TempDir indicates an expected call of TempDir.

func (*MockFSMockRecorder) TempDirInTempDir

func (mr *MockFSMockRecorder) TempDirInTempDir(prefix any) *gomock.Call

TempDirInTempDir indicates an expected call of TempDirInTempDir.

func (*MockFSMockRecorder) TempDirectory

func (mr *MockFSMockRecorder) TempDirectory() *gomock.Call

TempDirectory indicates an expected call of TempDirectory.

func (*MockFSMockRecorder) TempFile

func (mr *MockFSMockRecorder) TempFile(dir, pattern any) *gomock.Call

TempFile indicates an expected call of TempFile.

func (*MockFSMockRecorder) TempFileInTempDir

func (mr *MockFSMockRecorder) TempFileInTempDir(pattern any) *gomock.Call

TempFileInTempDir indicates an expected call of TempFileInTempDir.

func (*MockFSMockRecorder) Touch

func (mr *MockFSMockRecorder) Touch(path any) *gomock.Call

Touch indicates an expected call of Touch.

func (*MockFSMockRecorder) TouchTempFile

func (mr *MockFSMockRecorder) TouchTempFile(dir, pattern any) *gomock.Call

TouchTempFile indicates an expected call of TouchTempFile.

func (*MockFSMockRecorder) TouchTempFileInTempDir

func (mr *MockFSMockRecorder) TouchTempFileInTempDir(pattern any) *gomock.Call

TouchTempFileInTempDir indicates an expected call of TouchTempFileInTempDir.

func (*MockFSMockRecorder) Unzip

func (mr *MockFSMockRecorder) Unzip(source, destination any) *gomock.Call

Unzip indicates an expected call of Unzip.

func (*MockFSMockRecorder) UnzipWithContext

func (mr *MockFSMockRecorder) UnzipWithContext(ctx, source, destination any) *gomock.Call

UnzipWithContext indicates an expected call of UnzipWithContext.

func (*MockFSMockRecorder) UnzipWithContextAndLimits

func (mr *MockFSMockRecorder) UnzipWithContextAndLimits(ctx, source, destination, limits any) *gomock.Call

UnzipWithContextAndLimits indicates an expected call of UnzipWithContextAndLimits.

func (*MockFSMockRecorder) Walk

func (mr *MockFSMockRecorder) Walk(root, fn any) *gomock.Call

Walk indicates an expected call of Walk.

func (*MockFSMockRecorder) WalkWithContext

func (mr *MockFSMockRecorder) WalkWithContext(ctx, root, fn any) *gomock.Call

WalkWithContext indicates an expected call of WalkWithContext.

func (*MockFSMockRecorder) WalkWithContextAndExclusionPatterns

func (mr *MockFSMockRecorder) WalkWithContextAndExclusionPatterns(ctx, root, fn any, exclusionPatterns ...any) *gomock.Call

WalkWithContextAndExclusionPatterns indicates an expected call of WalkWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) WriteFile

func (mr *MockFSMockRecorder) WriteFile(filename, data, perm any) *gomock.Call

WriteFile indicates an expected call of WriteFile.

func (*MockFSMockRecorder) WriteFileWithContext

func (mr *MockFSMockRecorder) WriteFileWithContext(ctx, filename, data, perm any) *gomock.Call

WriteFileWithContext indicates an expected call of WriteFileWithContext.

func (*MockFSMockRecorder) WriteToFile

func (mr *MockFSMockRecorder) WriteToFile(ctx, filename, reader, perm any) *gomock.Call

WriteToFile indicates an expected call of WriteToFile.

func (*MockFSMockRecorder) Zip

func (mr *MockFSMockRecorder) Zip(source, destination any) *gomock.Call

Zip indicates an expected call of Zip.

func (*MockFSMockRecorder) ZipWithContext

func (mr *MockFSMockRecorder) ZipWithContext(ctx, source, destination any) *gomock.Call

ZipWithContext indicates an expected call of ZipWithContext.

func (*MockFSMockRecorder) ZipWithContextAndLimits

func (mr *MockFSMockRecorder) ZipWithContextAndLimits(ctx, source, destination, limits any) *gomock.Call

ZipWithContextAndLimits indicates an expected call of ZipWithContextAndLimits.

func (*MockFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns

func (mr *MockFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(ctx, source, destination, limits any, exclusionPatterns ...any) *gomock.Call

ZipWithContextAndLimitsAndExclusionPatterns indicates an expected call of ZipWithContextAndLimitsAndExclusionPatterns.

type MockFile

type MockFile struct {
	// contains filtered or unexported fields
}

MockFile is a mock of File interface.

func NewMockFile

func NewMockFile(ctrl *gomock.Controller) *MockFile

NewMockFile creates a new mock instance.

func (*MockFile) Close

func (m *MockFile) Close() error

Close mocks base method.

func (*MockFile) EXPECT

func (m *MockFile) EXPECT() *MockFileMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFile) Fd

func (m *MockFile) Fd() uintptr

Fd mocks base method.

func (*MockFile) Name

func (m *MockFile) Name() string

Name mocks base method.

func (*MockFile) Read

func (m *MockFile) Read(p []byte) (int, error)

Read mocks base method.

func (*MockFile) ReadAt

func (m *MockFile) ReadAt(p []byte, off int64) (int, error)

ReadAt mocks base method.

func (*MockFile) Readdir

func (m *MockFile) Readdir(count int) ([]os.FileInfo, error)

Readdir mocks base method.

func (*MockFile) Readdirnames

func (m *MockFile) Readdirnames(n int) ([]string, error)

Readdirnames mocks base method.

func (*MockFile) Seek

func (m *MockFile) Seek(offset int64, whence int) (int64, error)

Seek mocks base method.

func (*MockFile) Stat

func (m *MockFile) Stat() (os.FileInfo, error)

Stat mocks base method.

func (*MockFile) Sync

func (m *MockFile) Sync() error

Sync mocks base method.

func (*MockFile) Truncate

func (m *MockFile) Truncate(size int64) error

Truncate mocks base method.

func (*MockFile) Write

func (m *MockFile) Write(p []byte) (int, error)

Write mocks base method.

func (*MockFile) WriteAt

func (m *MockFile) WriteAt(p []byte, off int64) (int, error)

WriteAt mocks base method.

func (*MockFile) WriteString

func (m *MockFile) WriteString(s string) (int, error)

WriteString mocks base method.

type MockFileMockRecorder

type MockFileMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileMockRecorder is the mock recorder for MockFile.

func (*MockFileMockRecorder) Close

func (mr *MockFileMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockFileMockRecorder) Fd

func (mr *MockFileMockRecorder) Fd() *gomock.Call

Fd indicates an expected call of Fd.

func (*MockFileMockRecorder) Name

func (mr *MockFileMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockFileMockRecorder) Read

func (mr *MockFileMockRecorder) Read(p any) *gomock.Call

Read indicates an expected call of Read.

func (*MockFileMockRecorder) ReadAt

func (mr *MockFileMockRecorder) ReadAt(p, off any) *gomock.Call

ReadAt indicates an expected call of ReadAt.

func (*MockFileMockRecorder) Readdir

func (mr *MockFileMockRecorder) Readdir(count any) *gomock.Call

Readdir indicates an expected call of Readdir.

func (*MockFileMockRecorder) Readdirnames

func (mr *MockFileMockRecorder) Readdirnames(n any) *gomock.Call

Readdirnames indicates an expected call of Readdirnames.

func (*MockFileMockRecorder) Seek

func (mr *MockFileMockRecorder) Seek(offset, whence any) *gomock.Call

Seek indicates an expected call of Seek.

func (*MockFileMockRecorder) Stat

func (mr *MockFileMockRecorder) Stat() *gomock.Call

Stat indicates an expected call of Stat.

func (*MockFileMockRecorder) Sync

func (mr *MockFileMockRecorder) Sync() *gomock.Call

Sync indicates an expected call of Sync.

func (*MockFileMockRecorder) Truncate

func (mr *MockFileMockRecorder) Truncate(size any) *gomock.Call

Truncate indicates an expected call of Truncate.

func (*MockFileMockRecorder) Write

func (mr *MockFileMockRecorder) Write(p any) *gomock.Call

Write indicates an expected call of Write.

func (*MockFileMockRecorder) WriteAt

func (mr *MockFileMockRecorder) WriteAt(p, off any) *gomock.Call

WriteAt indicates an expected call of WriteAt.

func (*MockFileMockRecorder) WriteString

func (mr *MockFileMockRecorder) WriteString(s any) *gomock.Call

WriteString indicates an expected call of WriteString.

type MockFileTimeInfo

type MockFileTimeInfo struct {
	// contains filtered or unexported fields
}

MockFileTimeInfo is a mock of FileTimeInfo interface.

func NewMockFileTimeInfo

func NewMockFileTimeInfo(ctrl *gomock.Controller) *MockFileTimeInfo

NewMockFileTimeInfo creates a new mock instance.

func (*MockFileTimeInfo) AccessTime

func (m *MockFileTimeInfo) AccessTime() time.Time

AccessTime mocks base method.

func (*MockFileTimeInfo) BirthTime

func (m *MockFileTimeInfo) BirthTime() time.Time

BirthTime mocks base method.

func (*MockFileTimeInfo) ChangeTime

func (m *MockFileTimeInfo) ChangeTime() time.Time

ChangeTime mocks base method.

func (*MockFileTimeInfo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFileTimeInfo) HasAccessTime

func (m *MockFileTimeInfo) HasAccessTime() bool

HasAccessTime mocks base method.

func (*MockFileTimeInfo) HasBirthTime

func (m *MockFileTimeInfo) HasBirthTime() bool

HasBirthTime mocks base method.

func (*MockFileTimeInfo) HasChangeTime

func (m *MockFileTimeInfo) HasChangeTime() bool

HasChangeTime mocks base method.

func (*MockFileTimeInfo) ModTime

func (m *MockFileTimeInfo) ModTime() time.Time

ModTime mocks base method.

type MockFileTimeInfoMockRecorder

type MockFileTimeInfoMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileTimeInfoMockRecorder is the mock recorder for MockFileTimeInfo.

func (*MockFileTimeInfoMockRecorder) AccessTime

func (mr *MockFileTimeInfoMockRecorder) AccessTime() *gomock.Call

AccessTime indicates an expected call of AccessTime.

func (*MockFileTimeInfoMockRecorder) BirthTime

func (mr *MockFileTimeInfoMockRecorder) BirthTime() *gomock.Call

BirthTime indicates an expected call of BirthTime.

func (*MockFileTimeInfoMockRecorder) ChangeTime

func (mr *MockFileTimeInfoMockRecorder) ChangeTime() *gomock.Call

ChangeTime indicates an expected call of ChangeTime.

func (*MockFileTimeInfoMockRecorder) HasAccessTime

func (mr *MockFileTimeInfoMockRecorder) HasAccessTime() *gomock.Call

HasAccessTime indicates an expected call of HasAccessTime.

func (*MockFileTimeInfoMockRecorder) HasBirthTime

func (mr *MockFileTimeInfoMockRecorder) HasBirthTime() *gomock.Call

HasBirthTime indicates an expected call of HasBirthTime.

func (*MockFileTimeInfoMockRecorder) HasChangeTime

func (mr *MockFileTimeInfoMockRecorder) HasChangeTime() *gomock.Call

HasChangeTime indicates an expected call of HasChangeTime.

func (*MockFileTimeInfoMockRecorder) ModTime

func (mr *MockFileTimeInfoMockRecorder) ModTime() *gomock.Call

ModTime indicates an expected call of ModTime.

type MockIChowner

type MockIChowner struct {
	// contains filtered or unexported fields
}

MockIChowner is a mock of IChowner interface.

func NewMockIChowner

func NewMockIChowner(ctrl *gomock.Controller) *MockIChowner

NewMockIChowner creates a new mock instance.

func (*MockIChowner) ChownIfPossible

func (m *MockIChowner) ChownIfPossible(name string, uid, gid int) error

ChownIfPossible mocks base method.

func (*MockIChowner) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockIChownerMockRecorder

type MockIChownerMockRecorder struct {
	// contains filtered or unexported fields
}

MockIChownerMockRecorder is the mock recorder for MockIChowner.

func (*MockIChownerMockRecorder) ChownIfPossible

func (mr *MockIChownerMockRecorder) ChownIfPossible(name, uid, gid any) *gomock.Call

ChownIfPossible indicates an expected call of ChownIfPossible.

type MockICloseableFS

type MockICloseableFS struct {
	// contains filtered or unexported fields
}

MockICloseableFS is a mock of ICloseableFS interface.

func NewMockICloseableFS

func NewMockICloseableFS(ctrl *gomock.Controller) *MockICloseableFS

NewMockICloseableFS creates a new mock instance.

func (*MockICloseableFS) ChangeOwnership

func (m *MockICloseableFS) ChangeOwnership(name string, owner *user.User) error

ChangeOwnership mocks base method.

func (*MockICloseableFS) ChangeOwnershipRecursively

func (m *MockICloseableFS) ChangeOwnershipRecursively(ctx context.Context, path string, owner *user.User) error

ChangeOwnershipRecursively mocks base method.

func (*MockICloseableFS) Chmod

func (m *MockICloseableFS) Chmod(name string, mode os.FileMode) error

Chmod mocks base method.

func (*MockICloseableFS) ChmodRecursively

func (m *MockICloseableFS) ChmodRecursively(ctx context.Context, path string, mode os.FileMode) error

ChmodRecursively mocks base method.

func (*MockICloseableFS) Chown

func (m *MockICloseableFS) Chown(name string, uid, gid int) error

Chown mocks base method.

func (*MockICloseableFS) ChownRecursively

func (m *MockICloseableFS) ChownRecursively(ctx context.Context, path string, uid, gid int) error

ChownRecursively mocks base method.

func (*MockICloseableFS) Chtimes

func (m *MockICloseableFS) Chtimes(name string, atime, mtime time.Time) error

Chtimes mocks base method.

func (*MockICloseableFS) CleanDir

func (m *MockICloseableFS) CleanDir(dir string) error

CleanDir mocks base method.

func (*MockICloseableFS) CleanDirWithContext

func (m *MockICloseableFS) CleanDirWithContext(ctx context.Context, dir string) error

CleanDirWithContext mocks base method.

func (*MockICloseableFS) CleanDirWithContextAndExclusionPatterns

func (m *MockICloseableFS) CleanDirWithContextAndExclusionPatterns(ctx context.Context, dir string, exclusionPatterns ...string) error

CleanDirWithContextAndExclusionPatterns mocks base method.

func (*MockICloseableFS) Close

func (m *MockICloseableFS) Close() error

Close mocks base method.

func (*MockICloseableFS) ConvertFilePath

func (m *MockICloseableFS) ConvertFilePath(name string) string

ConvertFilePath mocks base method.

func (*MockICloseableFS) ConvertToAbsolutePath

func (m *MockICloseableFS) ConvertToAbsolutePath(rootPath string, paths ...string) ([]string, error)

ConvertToAbsolutePath mocks base method.

func (*MockICloseableFS) ConvertToRelativePath

func (m *MockICloseableFS) ConvertToRelativePath(rootPath string, paths ...string) ([]string, error)

ConvertToRelativePath mocks base method.

func (*MockICloseableFS) Copy

func (m *MockICloseableFS) Copy(src, dest string) error

Copy mocks base method.

func (*MockICloseableFS) CopyToDirectory

func (m *MockICloseableFS) CopyToDirectory(src, destDirectory string) error

CopyToDirectory mocks base method.

func (*MockICloseableFS) CopyToDirectoryWithContext

func (m *MockICloseableFS) CopyToDirectoryWithContext(ctx context.Context, src, destDirectory string) error

CopyToDirectoryWithContext mocks base method.

func (*MockICloseableFS) CopyToFile

func (m *MockICloseableFS) CopyToFile(srcFile, destFile string) error

CopyToFile mocks base method.

func (*MockICloseableFS) CopyToFileWithContext

func (m *MockICloseableFS) CopyToFileWithContext(ctx context.Context, srcFile, destFile string) error

CopyToFileWithContext mocks base method.

func (*MockICloseableFS) CopyWithContext

func (m *MockICloseableFS) CopyWithContext(ctx context.Context, src, dest string) error

CopyWithContext mocks base method.

func (*MockICloseableFS) CopyWithContextAndExclusionPatterns

func (m *MockICloseableFS) CopyWithContextAndExclusionPatterns(ctx context.Context, src, dest string, exclusionPatterns ...string) error

CopyWithContextAndExclusionPatterns mocks base method.

func (*MockICloseableFS) CreateFile

func (m *MockICloseableFS) CreateFile(name string) (filesystem.File, error)

CreateFile mocks base method.

func (*MockICloseableFS) CurrentDirectory

func (m *MockICloseableFS) CurrentDirectory() (string, error)

CurrentDirectory mocks base method.

func (*MockICloseableFS) DiskUsage

func (m *MockICloseableFS) DiskUsage(name string) (filesystem.DiskUsage, error)

DiskUsage mocks base method.

func (*MockICloseableFS) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockICloseableFS) ExcludeAll

func (m *MockICloseableFS) ExcludeAll(files []string, exclusionPatterns ...string) ([]string, error)

ExcludeAll mocks base method.

func (*MockICloseableFS) Exists

func (m *MockICloseableFS) Exists(path string) bool

Exists mocks base method.

func (*MockICloseableFS) FetchFileOwner

func (m *MockICloseableFS) FetchFileOwner(name string) (*user.User, error)

FetchFileOwner mocks base method.

func (*MockICloseableFS) FetchOwners

func (m *MockICloseableFS) FetchOwners(name string) (int, int, error)

FetchOwners mocks base method.

func (*MockICloseableFS) FileHash

func (m *MockICloseableFS) FileHash(hashAlgo, path string) (string, error)

FileHash mocks base method.

func (*MockICloseableFS) FileHashWithContext

func (m *MockICloseableFS) FileHashWithContext(ctx context.Context, hashAlgo, path string) (string, error)

FileHashWithContext mocks base method.

func (*MockICloseableFS) FindAll

func (m *MockICloseableFS) FindAll(dir string, extensions ...string) ([]string, error)

FindAll mocks base method.

func (*MockICloseableFS) GarbageCollect

func (m *MockICloseableFS) GarbageCollect(root string, durationSinceLastAccess time.Duration) error

GarbageCollect mocks base method.

func (*MockICloseableFS) GarbageCollectWithContext

func (m *MockICloseableFS) GarbageCollectWithContext(ctx context.Context, root string, durationSinceLastAccess time.Duration) error

GarbageCollectWithContext mocks base method.

func (*MockICloseableFS) GenericOpen

func (m *MockICloseableFS) GenericOpen(name string) (filesystem.File, error)

GenericOpen mocks base method.

func (*MockICloseableFS) GetFileSize

func (m *MockICloseableFS) GetFileSize(filename string) (int64, error)

GetFileSize mocks base method.

func (*MockICloseableFS) GetType

GetType mocks base method.

func (*MockICloseableFS) Glob

func (m *MockICloseableFS) Glob(pattern string) ([]string, error)

Glob mocks base method.

func (*MockICloseableFS) IsDir

func (m *MockICloseableFS) IsDir(path string) (bool, error)

IsDir mocks base method.

func (*MockICloseableFS) IsEmpty

func (m *MockICloseableFS) IsEmpty(name string) (bool, error)

IsEmpty mocks base method.

func (*MockICloseableFS) IsFile

func (m *MockICloseableFS) IsFile(path string) (bool, error)

IsFile mocks base method.

func (m *MockICloseableFS) IsLink(path string) (bool, error)

IsLink mocks base method.

func (*MockICloseableFS) IsZip

func (m *MockICloseableFS) IsZip(arg0 string) bool

IsZip mocks base method.

func (*MockICloseableFS) IsZipWithContext

func (m *MockICloseableFS) IsZipWithContext(ctx context.Context, arg1 string) (bool, error)

IsZipWithContext mocks base method.

func (m *MockICloseableFS) Link(oldname, newname string) error

Link mocks base method.

func (*MockICloseableFS) ListDirTree

func (m *MockICloseableFS) ListDirTree(dirPath string, list *[]string) error

ListDirTree mocks base method.

func (*MockICloseableFS) ListDirTreeWithContext

func (m *MockICloseableFS) ListDirTreeWithContext(ctx context.Context, dirPath string, list *[]string) error

ListDirTreeWithContext mocks base method.

func (*MockICloseableFS) ListDirTreeWithContextAndExclusionPatterns

func (m *MockICloseableFS) ListDirTreeWithContextAndExclusionPatterns(ctx context.Context, dirPath string, list *[]string, exclusionPatterns ...string) error

ListDirTreeWithContextAndExclusionPatterns mocks base method.

func (*MockICloseableFS) Lls

func (m *MockICloseableFS) Lls(dir string) ([]os.FileInfo, error)

Lls mocks base method.

func (*MockICloseableFS) LlsFromOpenedDirectory

func (m *MockICloseableFS) LlsFromOpenedDirectory(dir filesystem.File) ([]os.FileInfo, error)

LlsFromOpenedDirectory mocks base method.

func (*MockICloseableFS) Ls

func (m *MockICloseableFS) Ls(dir string) ([]string, error)

Ls mocks base method.

func (*MockICloseableFS) LsFromOpenedDirectory

func (m *MockICloseableFS) LsFromOpenedDirectory(dir filesystem.File) ([]string, error)

LsFromOpenedDirectory mocks base method.

func (*MockICloseableFS) LsRecursive

func (m *MockICloseableFS) LsRecursive(ctx context.Context, dir string, includeDirectories bool) ([]string, error)

LsRecursive mocks base method.

func (*MockICloseableFS) LsRecursiveFromOpenedDirectory

func (m *MockICloseableFS) LsRecursiveFromOpenedDirectory(ctx context.Context, dir filesystem.File, includeDirectories bool) ([]string, error)

LsRecursiveFromOpenedDirectory mocks base method.

func (*MockICloseableFS) LsRecursiveWithExclusionPatterns

func (m *MockICloseableFS) LsRecursiveWithExclusionPatterns(ctx context.Context, dir string, includeDirectories bool, exclusionPatterns ...string) ([]string, error)

LsRecursiveWithExclusionPatterns mocks base method.

func (*MockICloseableFS) LsRecursiveWithExclusionPatternsAndLimits

func (m *MockICloseableFS) LsRecursiveWithExclusionPatternsAndLimits(ctx context.Context, dir string, limit filesystem.ILimits, includeDirectories bool, exclusionPatterns ...string) ([]string, error)

LsRecursiveWithExclusionPatternsAndLimits mocks base method.

func (*MockICloseableFS) LsWithExclusionPatterns

func (m *MockICloseableFS) LsWithExclusionPatterns(dir string, exclusionPatterns ...string) ([]string, error)

LsWithExclusionPatterns mocks base method.

func (*MockICloseableFS) Lstat

func (m *MockICloseableFS) Lstat(name string) (os.FileInfo, error)

Lstat mocks base method.

func (*MockICloseableFS) MkDir

func (m *MockICloseableFS) MkDir(dir string) error

MkDir mocks base method.

func (*MockICloseableFS) MkDirAll

func (m *MockICloseableFS) MkDirAll(dir string, perm os.FileMode) error

MkDirAll mocks base method.

func (*MockICloseableFS) Move

func (m *MockICloseableFS) Move(src, dest string) error

Move mocks base method.

func (*MockICloseableFS) MoveWithContext

func (m *MockICloseableFS) MoveWithContext(ctx context.Context, src, dest string) error

MoveWithContext mocks base method.

func (*MockICloseableFS) NewRemoteLockFile

func (m *MockICloseableFS) NewRemoteLockFile(id, dirToLock string) filesystem.ILock

NewRemoteLockFile mocks base method.

func (*MockICloseableFS) Open

func (m *MockICloseableFS) Open(name string) (doublestar.File, error)

Open mocks base method.

func (*MockICloseableFS) OpenFile

func (m *MockICloseableFS) OpenFile(name string, flag int, perm os.FileMode) (filesystem.File, error)

OpenFile mocks base method.

func (*MockICloseableFS) PathSeparator

func (m *MockICloseableFS) PathSeparator() rune

PathSeparator mocks base method.

func (*MockICloseableFS) ReadFile

func (m *MockICloseableFS) ReadFile(filename string) ([]byte, error)

ReadFile mocks base method.

func (*MockICloseableFS) ReadFileContent

func (m *MockICloseableFS) ReadFileContent(ctx context.Context, file filesystem.File, limits filesystem.ILimits) ([]byte, error)

ReadFileContent mocks base method.

func (*MockICloseableFS) ReadFileWithContext

func (m *MockICloseableFS) ReadFileWithContext(ctx context.Context, filename string) ([]byte, error)

ReadFileWithContext mocks base method.

func (*MockICloseableFS) ReadFileWithContextAndLimits

func (m *MockICloseableFS) ReadFileWithContextAndLimits(ctx context.Context, filename string, limits filesystem.ILimits) ([]byte, error)

ReadFileWithContextAndLimits mocks base method.

func (*MockICloseableFS) ReadFileWithLimits

func (m *MockICloseableFS) ReadFileWithLimits(filename string, limits filesystem.ILimits) ([]byte, error)

ReadFileWithLimits mocks base method.

func (m *MockICloseableFS) Readlink(name string) (string, error)

Readlink mocks base method.

func (*MockICloseableFS) RemoveWithContext

func (m *MockICloseableFS) RemoveWithContext(ctx context.Context, dir string) error

RemoveWithContext mocks base method.

func (*MockICloseableFS) RemoveWithContextAndExclusionPatterns

func (m *MockICloseableFS) RemoveWithContextAndExclusionPatterns(ctx context.Context, dir string, exclusionPatterns ...string) error

RemoveWithContextAndExclusionPatterns mocks base method.

func (*MockICloseableFS) RemoveWithPrivileges

func (m *MockICloseableFS) RemoveWithPrivileges(ctx context.Context, dir string) error

RemoveWithPrivileges mocks base method.

func (*MockICloseableFS) Rm

func (m *MockICloseableFS) Rm(dir string) error

Rm mocks base method.

func (*MockICloseableFS) Stat

func (m *MockICloseableFS) Stat(name string) (os.FileInfo, error)

Stat mocks base method.

func (*MockICloseableFS) StatTimes

func (m *MockICloseableFS) StatTimes(name string) (filesystem.FileTimeInfo, error)

StatTimes mocks base method.

func (*MockICloseableFS) SubDirectories

func (m *MockICloseableFS) SubDirectories(directory string) ([]string, error)

SubDirectories mocks base method.

func (*MockICloseableFS) SubDirectoriesWithContext

func (m *MockICloseableFS) SubDirectoriesWithContext(ctx context.Context, directory string) ([]string, error)

SubDirectoriesWithContext mocks base method.

func (*MockICloseableFS) SubDirectoriesWithContextAndExclusionPatterns

func (m *MockICloseableFS) SubDirectoriesWithContextAndExclusionPatterns(ctx context.Context, directory string, exclusionPatterns ...string) ([]string, error)

SubDirectoriesWithContextAndExclusionPatterns mocks base method.

func (m *MockICloseableFS) Symlink(oldname, newname string) error

Symlink mocks base method.

func (*MockICloseableFS) TempDir

func (m *MockICloseableFS) TempDir(dir, prefix string) (string, error)

TempDir mocks base method.

func (*MockICloseableFS) TempDirInTempDir

func (m *MockICloseableFS) TempDirInTempDir(prefix string) (string, error)

TempDirInTempDir mocks base method.

func (*MockICloseableFS) TempDirectory

func (m *MockICloseableFS) TempDirectory() string

TempDirectory mocks base method.

func (*MockICloseableFS) TempFile

func (m *MockICloseableFS) TempFile(dir, pattern string) (filesystem.File, error)

TempFile mocks base method.

func (*MockICloseableFS) TempFileInTempDir

func (m *MockICloseableFS) TempFileInTempDir(pattern string) (filesystem.File, error)

TempFileInTempDir mocks base method.

func (*MockICloseableFS) Touch

func (m *MockICloseableFS) Touch(path string) error

Touch mocks base method.

func (*MockICloseableFS) TouchTempFile

func (m *MockICloseableFS) TouchTempFile(dir, pattern string) (string, error)

TouchTempFile mocks base method.

func (*MockICloseableFS) TouchTempFileInTempDir

func (m *MockICloseableFS) TouchTempFileInTempDir(pattern string) (string, error)

TouchTempFileInTempDir mocks base method.

func (*MockICloseableFS) Unzip

func (m *MockICloseableFS) Unzip(source, destination string) ([]string, error)

Unzip mocks base method.

func (*MockICloseableFS) UnzipWithContext

func (m *MockICloseableFS) UnzipWithContext(ctx context.Context, source, destination string) ([]string, error)

UnzipWithContext mocks base method.

func (*MockICloseableFS) UnzipWithContextAndLimits

func (m *MockICloseableFS) UnzipWithContextAndLimits(ctx context.Context, source, destination string, limits filesystem.ILimits) ([]string, error)

UnzipWithContextAndLimits mocks base method.

func (*MockICloseableFS) Walk

func (m *MockICloseableFS) Walk(root string, fn filepath.WalkFunc) error

Walk mocks base method.

func (*MockICloseableFS) WalkWithContext

func (m *MockICloseableFS) WalkWithContext(ctx context.Context, root string, fn filepath.WalkFunc) error

WalkWithContext mocks base method.

func (*MockICloseableFS) WalkWithContextAndExclusionPatterns

func (m *MockICloseableFS) WalkWithContextAndExclusionPatterns(ctx context.Context, root string, fn filepath.WalkFunc, exclusionPatterns ...string) error

WalkWithContextAndExclusionPatterns mocks base method.

func (*MockICloseableFS) WriteFile

func (m *MockICloseableFS) WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile mocks base method.

func (*MockICloseableFS) WriteFileWithContext

func (m *MockICloseableFS) WriteFileWithContext(ctx context.Context, filename string, data []byte, perm os.FileMode) error

WriteFileWithContext mocks base method.

func (*MockICloseableFS) WriteToFile

func (m *MockICloseableFS) WriteToFile(ctx context.Context, filename string, reader io.Reader, perm os.FileMode) (int64, error)

WriteToFile mocks base method.

func (*MockICloseableFS) Zip

func (m *MockICloseableFS) Zip(source, destination string) error

Zip mocks base method.

func (*MockICloseableFS) ZipWithContext

func (m *MockICloseableFS) ZipWithContext(ctx context.Context, source, destination string) error

ZipWithContext mocks base method.

func (*MockICloseableFS) ZipWithContextAndLimits

func (m *MockICloseableFS) ZipWithContextAndLimits(ctx context.Context, source, destination string, limits filesystem.ILimits) error

ZipWithContextAndLimits mocks base method.

func (*MockICloseableFS) ZipWithContextAndLimitsAndExclusionPatterns

func (m *MockICloseableFS) ZipWithContextAndLimitsAndExclusionPatterns(ctx context.Context, source, destination string, limits filesystem.ILimits, exclusionPatterns ...string) error

ZipWithContextAndLimitsAndExclusionPatterns mocks base method.

type MockICloseableFSMockRecorder

type MockICloseableFSMockRecorder struct {
	// contains filtered or unexported fields
}

MockICloseableFSMockRecorder is the mock recorder for MockICloseableFS.

func (*MockICloseableFSMockRecorder) ChangeOwnership

func (mr *MockICloseableFSMockRecorder) ChangeOwnership(name, owner any) *gomock.Call

ChangeOwnership indicates an expected call of ChangeOwnership.

func (*MockICloseableFSMockRecorder) ChangeOwnershipRecursively

func (mr *MockICloseableFSMockRecorder) ChangeOwnershipRecursively(ctx, path, owner any) *gomock.Call

ChangeOwnershipRecursively indicates an expected call of ChangeOwnershipRecursively.

func (*MockICloseableFSMockRecorder) Chmod

func (mr *MockICloseableFSMockRecorder) Chmod(name, mode any) *gomock.Call

Chmod indicates an expected call of Chmod.

func (*MockICloseableFSMockRecorder) ChmodRecursively

func (mr *MockICloseableFSMockRecorder) ChmodRecursively(ctx, path, mode any) *gomock.Call

ChmodRecursively indicates an expected call of ChmodRecursively.

func (*MockICloseableFSMockRecorder) Chown

func (mr *MockICloseableFSMockRecorder) Chown(name, uid, gid any) *gomock.Call

Chown indicates an expected call of Chown.

func (*MockICloseableFSMockRecorder) ChownRecursively

func (mr *MockICloseableFSMockRecorder) ChownRecursively(ctx, path, uid, gid any) *gomock.Call

ChownRecursively indicates an expected call of ChownRecursively.

func (*MockICloseableFSMockRecorder) Chtimes

func (mr *MockICloseableFSMockRecorder) Chtimes(name, atime, mtime any) *gomock.Call

Chtimes indicates an expected call of Chtimes.

func (*MockICloseableFSMockRecorder) CleanDir

func (mr *MockICloseableFSMockRecorder) CleanDir(dir any) *gomock.Call

CleanDir indicates an expected call of CleanDir.

func (*MockICloseableFSMockRecorder) CleanDirWithContext

func (mr *MockICloseableFSMockRecorder) CleanDirWithContext(ctx, dir any) *gomock.Call

CleanDirWithContext indicates an expected call of CleanDirWithContext.

func (*MockICloseableFSMockRecorder) CleanDirWithContextAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) CleanDirWithContextAndExclusionPatterns(ctx, dir any, exclusionPatterns ...any) *gomock.Call

CleanDirWithContextAndExclusionPatterns indicates an expected call of CleanDirWithContextAndExclusionPatterns.

func (*MockICloseableFSMockRecorder) Close

Close indicates an expected call of Close.

func (*MockICloseableFSMockRecorder) ConvertFilePath

func (mr *MockICloseableFSMockRecorder) ConvertFilePath(name any) *gomock.Call

ConvertFilePath indicates an expected call of ConvertFilePath.

func (*MockICloseableFSMockRecorder) ConvertToAbsolutePath

func (mr *MockICloseableFSMockRecorder) ConvertToAbsolutePath(rootPath any, paths ...any) *gomock.Call

ConvertToAbsolutePath indicates an expected call of ConvertToAbsolutePath.

func (*MockICloseableFSMockRecorder) ConvertToRelativePath

func (mr *MockICloseableFSMockRecorder) ConvertToRelativePath(rootPath any, paths ...any) *gomock.Call

ConvertToRelativePath indicates an expected call of ConvertToRelativePath.

func (*MockICloseableFSMockRecorder) Copy

func (mr *MockICloseableFSMockRecorder) Copy(src, dest any) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockICloseableFSMockRecorder) CopyToDirectory

func (mr *MockICloseableFSMockRecorder) CopyToDirectory(src, destDirectory any) *gomock.Call

CopyToDirectory indicates an expected call of CopyToDirectory.

func (*MockICloseableFSMockRecorder) CopyToDirectoryWithContext

func (mr *MockICloseableFSMockRecorder) CopyToDirectoryWithContext(ctx, src, destDirectory any) *gomock.Call

CopyToDirectoryWithContext indicates an expected call of CopyToDirectoryWithContext.

func (*MockICloseableFSMockRecorder) CopyToFile

func (mr *MockICloseableFSMockRecorder) CopyToFile(srcFile, destFile any) *gomock.Call

CopyToFile indicates an expected call of CopyToFile.

func (*MockICloseableFSMockRecorder) CopyToFileWithContext

func (mr *MockICloseableFSMockRecorder) CopyToFileWithContext(ctx, srcFile, destFile any) *gomock.Call

CopyToFileWithContext indicates an expected call of CopyToFileWithContext.

func (*MockICloseableFSMockRecorder) CopyWithContext

func (mr *MockICloseableFSMockRecorder) CopyWithContext(ctx, src, dest any) *gomock.Call

CopyWithContext indicates an expected call of CopyWithContext.

func (*MockICloseableFSMockRecorder) CopyWithContextAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) CopyWithContextAndExclusionPatterns(ctx, src, dest any, exclusionPatterns ...any) *gomock.Call

CopyWithContextAndExclusionPatterns indicates an expected call of CopyWithContextAndExclusionPatterns.

func (*MockICloseableFSMockRecorder) CreateFile

func (mr *MockICloseableFSMockRecorder) CreateFile(name any) *gomock.Call

CreateFile indicates an expected call of CreateFile.

func (*MockICloseableFSMockRecorder) CurrentDirectory

func (mr *MockICloseableFSMockRecorder) CurrentDirectory() *gomock.Call

CurrentDirectory indicates an expected call of CurrentDirectory.

func (*MockICloseableFSMockRecorder) DiskUsage

func (mr *MockICloseableFSMockRecorder) DiskUsage(name any) *gomock.Call

DiskUsage indicates an expected call of DiskUsage.

func (*MockICloseableFSMockRecorder) ExcludeAll

func (mr *MockICloseableFSMockRecorder) ExcludeAll(files any, exclusionPatterns ...any) *gomock.Call

ExcludeAll indicates an expected call of ExcludeAll.

func (*MockICloseableFSMockRecorder) Exists

func (mr *MockICloseableFSMockRecorder) Exists(path any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockICloseableFSMockRecorder) FetchFileOwner

func (mr *MockICloseableFSMockRecorder) FetchFileOwner(name any) *gomock.Call

FetchFileOwner indicates an expected call of FetchFileOwner.

func (*MockICloseableFSMockRecorder) FetchOwners

func (mr *MockICloseableFSMockRecorder) FetchOwners(name any) *gomock.Call

FetchOwners indicates an expected call of FetchOwners.

func (*MockICloseableFSMockRecorder) FileHash

func (mr *MockICloseableFSMockRecorder) FileHash(hashAlgo, path any) *gomock.Call

FileHash indicates an expected call of FileHash.

func (*MockICloseableFSMockRecorder) FileHashWithContext

func (mr *MockICloseableFSMockRecorder) FileHashWithContext(ctx, hashAlgo, path any) *gomock.Call

FileHashWithContext indicates an expected call of FileHashWithContext.

func (*MockICloseableFSMockRecorder) FindAll

func (mr *MockICloseableFSMockRecorder) FindAll(dir any, extensions ...any) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockICloseableFSMockRecorder) GarbageCollect

func (mr *MockICloseableFSMockRecorder) GarbageCollect(root, durationSinceLastAccess any) *gomock.Call

GarbageCollect indicates an expected call of GarbageCollect.

func (*MockICloseableFSMockRecorder) GarbageCollectWithContext

func (mr *MockICloseableFSMockRecorder) GarbageCollectWithContext(ctx, root, durationSinceLastAccess any) *gomock.Call

GarbageCollectWithContext indicates an expected call of GarbageCollectWithContext.

func (*MockICloseableFSMockRecorder) GenericOpen

func (mr *MockICloseableFSMockRecorder) GenericOpen(name any) *gomock.Call

GenericOpen indicates an expected call of GenericOpen.

func (*MockICloseableFSMockRecorder) GetFileSize

func (mr *MockICloseableFSMockRecorder) GetFileSize(filename any) *gomock.Call

GetFileSize indicates an expected call of GetFileSize.

func (*MockICloseableFSMockRecorder) GetType

func (mr *MockICloseableFSMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

func (*MockICloseableFSMockRecorder) Glob

func (mr *MockICloseableFSMockRecorder) Glob(pattern any) *gomock.Call

Glob indicates an expected call of Glob.

func (*MockICloseableFSMockRecorder) IsDir

func (mr *MockICloseableFSMockRecorder) IsDir(path any) *gomock.Call

IsDir indicates an expected call of IsDir.

func (*MockICloseableFSMockRecorder) IsEmpty

func (mr *MockICloseableFSMockRecorder) IsEmpty(name any) *gomock.Call

IsEmpty indicates an expected call of IsEmpty.

func (*MockICloseableFSMockRecorder) IsFile

func (mr *MockICloseableFSMockRecorder) IsFile(path any) *gomock.Call

IsFile indicates an expected call of IsFile.

func (mr *MockICloseableFSMockRecorder) IsLink(path any) *gomock.Call

IsLink indicates an expected call of IsLink.

func (*MockICloseableFSMockRecorder) IsZip

func (mr *MockICloseableFSMockRecorder) IsZip(arg0 any) *gomock.Call

IsZip indicates an expected call of IsZip.

func (*MockICloseableFSMockRecorder) IsZipWithContext

func (mr *MockICloseableFSMockRecorder) IsZipWithContext(ctx, arg1 any) *gomock.Call

IsZipWithContext indicates an expected call of IsZipWithContext.

func (mr *MockICloseableFSMockRecorder) Link(oldname, newname any) *gomock.Call

Link indicates an expected call of Link.

func (*MockICloseableFSMockRecorder) ListDirTree

func (mr *MockICloseableFSMockRecorder) ListDirTree(dirPath, list any) *gomock.Call

ListDirTree indicates an expected call of ListDirTree.

func (*MockICloseableFSMockRecorder) ListDirTreeWithContext

func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContext(ctx, dirPath, list any) *gomock.Call

ListDirTreeWithContext indicates an expected call of ListDirTreeWithContext.

func (*MockICloseableFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(ctx, dirPath, list any, exclusionPatterns ...any) *gomock.Call

ListDirTreeWithContextAndExclusionPatterns indicates an expected call of ListDirTreeWithContextAndExclusionPatterns.

func (*MockICloseableFSMockRecorder) Lls

Lls indicates an expected call of Lls.

func (*MockICloseableFSMockRecorder) LlsFromOpenedDirectory

func (mr *MockICloseableFSMockRecorder) LlsFromOpenedDirectory(dir any) *gomock.Call

LlsFromOpenedDirectory indicates an expected call of LlsFromOpenedDirectory.

func (*MockICloseableFSMockRecorder) Ls

Ls indicates an expected call of Ls.

func (*MockICloseableFSMockRecorder) LsFromOpenedDirectory

func (mr *MockICloseableFSMockRecorder) LsFromOpenedDirectory(dir any) *gomock.Call

LsFromOpenedDirectory indicates an expected call of LsFromOpenedDirectory.

func (*MockICloseableFSMockRecorder) LsRecursive

func (mr *MockICloseableFSMockRecorder) LsRecursive(ctx, dir, includeDirectories any) *gomock.Call

LsRecursive indicates an expected call of LsRecursive.

func (*MockICloseableFSMockRecorder) LsRecursiveFromOpenedDirectory

func (mr *MockICloseableFSMockRecorder) LsRecursiveFromOpenedDirectory(ctx, dir, includeDirectories any) *gomock.Call

LsRecursiveFromOpenedDirectory indicates an expected call of LsRecursiveFromOpenedDirectory.

func (*MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatterns

func (mr *MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatterns(ctx, dir, includeDirectories any, exclusionPatterns ...any) *gomock.Call

LsRecursiveWithExclusionPatterns indicates an expected call of LsRecursiveWithExclusionPatterns.

func (*MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits

func (mr *MockICloseableFSMockRecorder) LsRecursiveWithExclusionPatternsAndLimits(ctx, dir, limit, includeDirectories any, exclusionPatterns ...any) *gomock.Call

LsRecursiveWithExclusionPatternsAndLimits indicates an expected call of LsRecursiveWithExclusionPatternsAndLimits.

func (*MockICloseableFSMockRecorder) LsWithExclusionPatterns

func (mr *MockICloseableFSMockRecorder) LsWithExclusionPatterns(dir any, exclusionPatterns ...any) *gomock.Call

LsWithExclusionPatterns indicates an expected call of LsWithExclusionPatterns.

func (*MockICloseableFSMockRecorder) Lstat

func (mr *MockICloseableFSMockRecorder) Lstat(name any) *gomock.Call

Lstat indicates an expected call of Lstat.

func (*MockICloseableFSMockRecorder) MkDir

func (mr *MockICloseableFSMockRecorder) MkDir(dir any) *gomock.Call

MkDir indicates an expected call of MkDir.

func (*MockICloseableFSMockRecorder) MkDirAll

func (mr *MockICloseableFSMockRecorder) MkDirAll(dir, perm any) *gomock.Call

MkDirAll indicates an expected call of MkDirAll.

func (*MockICloseableFSMockRecorder) Move

func (mr *MockICloseableFSMockRecorder) Move(src, dest any) *gomock.Call

Move indicates an expected call of Move.

func (*MockICloseableFSMockRecorder) MoveWithContext

func (mr *MockICloseableFSMockRecorder) MoveWithContext(ctx, src, dest any) *gomock.Call

MoveWithContext indicates an expected call of MoveWithContext.

func (*MockICloseableFSMockRecorder) NewRemoteLockFile

func (mr *MockICloseableFSMockRecorder) NewRemoteLockFile(id, dirToLock any) *gomock.Call

NewRemoteLockFile indicates an expected call of NewRemoteLockFile.

func (*MockICloseableFSMockRecorder) Open

func (mr *MockICloseableFSMockRecorder) Open(name any) *gomock.Call

Open indicates an expected call of Open.

func (*MockICloseableFSMockRecorder) OpenFile

func (mr *MockICloseableFSMockRecorder) OpenFile(name, flag, perm any) *gomock.Call

OpenFile indicates an expected call of OpenFile.

func (*MockICloseableFSMockRecorder) PathSeparator

func (mr *MockICloseableFSMockRecorder) PathSeparator() *gomock.Call

PathSeparator indicates an expected call of PathSeparator.

func (*MockICloseableFSMockRecorder) ReadFile

func (mr *MockICloseableFSMockRecorder) ReadFile(filename any) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockICloseableFSMockRecorder) ReadFileContent

func (mr *MockICloseableFSMockRecorder) ReadFileContent(ctx, file, limits any) *gomock.Call

ReadFileContent indicates an expected call of ReadFileContent.

func (*MockICloseableFSMockRecorder) ReadFileWithContext

func (mr *MockICloseableFSMockRecorder) ReadFileWithContext(ctx, filename any) *gomock.Call

ReadFileWithContext indicates an expected call of ReadFileWithContext.

func (*MockICloseableFSMockRecorder) ReadFileWithContextAndLimits

func (mr *MockICloseableFSMockRecorder) ReadFileWithContextAndLimits(ctx, filename, limits any) *gomock.Call

ReadFileWithContextAndLimits indicates an expected call of ReadFileWithContextAndLimits.

func (*MockICloseableFSMockRecorder) ReadFileWithLimits

func (mr *MockICloseableFSMockRecorder) ReadFileWithLimits(filename, limits any) *gomock.Call

ReadFileWithLimits indicates an expected call of ReadFileWithLimits.

func (mr *MockICloseableFSMockRecorder) Readlink(name any) *gomock.Call

Readlink indicates an expected call of Readlink.

func (*MockICloseableFSMockRecorder) RemoveWithContext

func (mr *MockICloseableFSMockRecorder) RemoveWithContext(ctx, dir any) *gomock.Call

RemoveWithContext indicates an expected call of RemoveWithContext.

func (*MockICloseableFSMockRecorder) RemoveWithContextAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) RemoveWithContextAndExclusionPatterns(ctx, dir any, exclusionPatterns ...any) *gomock.Call

RemoveWithContextAndExclusionPatterns indicates an expected call of RemoveWithContextAndExclusionPatterns.

func (*MockICloseableFSMockRecorder) RemoveWithPrivileges

func (mr *MockICloseableFSMockRecorder) RemoveWithPrivileges(ctx, dir any) *gomock.Call

RemoveWithPrivileges indicates an expected call of RemoveWithPrivileges.

func (*MockICloseableFSMockRecorder) Rm

Rm indicates an expected call of Rm.

func (*MockICloseableFSMockRecorder) Stat

func (mr *MockICloseableFSMockRecorder) Stat(name any) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockICloseableFSMockRecorder) StatTimes

func (mr *MockICloseableFSMockRecorder) StatTimes(name any) *gomock.Call

StatTimes indicates an expected call of StatTimes.

func (*MockICloseableFSMockRecorder) SubDirectories

func (mr *MockICloseableFSMockRecorder) SubDirectories(directory any) *gomock.Call

SubDirectories indicates an expected call of SubDirectories.

func (*MockICloseableFSMockRecorder) SubDirectoriesWithContext

func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContext(ctx, directory any) *gomock.Call

SubDirectoriesWithContext indicates an expected call of SubDirectoriesWithContext.

func (*MockICloseableFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(ctx, directory any, exclusionPatterns ...any) *gomock.Call

SubDirectoriesWithContextAndExclusionPatterns indicates an expected call of SubDirectoriesWithContextAndExclusionPatterns.

func (mr *MockICloseableFSMockRecorder) Symlink(oldname, newname any) *gomock.Call

Symlink indicates an expected call of Symlink.

func (*MockICloseableFSMockRecorder) TempDir

func (mr *MockICloseableFSMockRecorder) TempDir(dir, prefix any) *gomock.Call

TempDir indicates an expected call of TempDir.

func (*MockICloseableFSMockRecorder) TempDirInTempDir

func (mr *MockICloseableFSMockRecorder) TempDirInTempDir(prefix any) *gomock.Call

TempDirInTempDir indicates an expected call of TempDirInTempDir.

func (*MockICloseableFSMockRecorder) TempDirectory

func (mr *MockICloseableFSMockRecorder) TempDirectory() *gomock.Call

TempDirectory indicates an expected call of TempDirectory.

func (*MockICloseableFSMockRecorder) TempFile

func (mr *MockICloseableFSMockRecorder) TempFile(dir, pattern any) *gomock.Call

TempFile indicates an expected call of TempFile.

func (*MockICloseableFSMockRecorder) TempFileInTempDir

func (mr *MockICloseableFSMockRecorder) TempFileInTempDir(pattern any) *gomock.Call

TempFileInTempDir indicates an expected call of TempFileInTempDir.

func (*MockICloseableFSMockRecorder) Touch

func (mr *MockICloseableFSMockRecorder) Touch(path any) *gomock.Call

Touch indicates an expected call of Touch.

func (*MockICloseableFSMockRecorder) TouchTempFile

func (mr *MockICloseableFSMockRecorder) TouchTempFile(dir, pattern any) *gomock.Call

TouchTempFile indicates an expected call of TouchTempFile.

func (*MockICloseableFSMockRecorder) TouchTempFileInTempDir

func (mr *MockICloseableFSMockRecorder) TouchTempFileInTempDir(pattern any) *gomock.Call

TouchTempFileInTempDir indicates an expected call of TouchTempFileInTempDir.

func (*MockICloseableFSMockRecorder) Unzip

func (mr *MockICloseableFSMockRecorder) Unzip(source, destination any) *gomock.Call

Unzip indicates an expected call of Unzip.

func (*MockICloseableFSMockRecorder) UnzipWithContext

func (mr *MockICloseableFSMockRecorder) UnzipWithContext(ctx, source, destination any) *gomock.Call

UnzipWithContext indicates an expected call of UnzipWithContext.

func (*MockICloseableFSMockRecorder) UnzipWithContextAndLimits

func (mr *MockICloseableFSMockRecorder) UnzipWithContextAndLimits(ctx, source, destination, limits any) *gomock.Call

UnzipWithContextAndLimits indicates an expected call of UnzipWithContextAndLimits.

func (*MockICloseableFSMockRecorder) Walk

func (mr *MockICloseableFSMockRecorder) Walk(root, fn any) *gomock.Call

Walk indicates an expected call of Walk.

func (*MockICloseableFSMockRecorder) WalkWithContext

func (mr *MockICloseableFSMockRecorder) WalkWithContext(ctx, root, fn any) *gomock.Call

WalkWithContext indicates an expected call of WalkWithContext.

func (*MockICloseableFSMockRecorder) WalkWithContextAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) WalkWithContextAndExclusionPatterns(ctx, root, fn any, exclusionPatterns ...any) *gomock.Call

WalkWithContextAndExclusionPatterns indicates an expected call of WalkWithContextAndExclusionPatterns.

func (*MockICloseableFSMockRecorder) WriteFile

func (mr *MockICloseableFSMockRecorder) WriteFile(filename, data, perm any) *gomock.Call

WriteFile indicates an expected call of WriteFile.

func (*MockICloseableFSMockRecorder) WriteFileWithContext

func (mr *MockICloseableFSMockRecorder) WriteFileWithContext(ctx, filename, data, perm any) *gomock.Call

WriteFileWithContext indicates an expected call of WriteFileWithContext.

func (*MockICloseableFSMockRecorder) WriteToFile

func (mr *MockICloseableFSMockRecorder) WriteToFile(ctx, filename, reader, perm any) *gomock.Call

WriteToFile indicates an expected call of WriteToFile.

func (*MockICloseableFSMockRecorder) Zip

func (mr *MockICloseableFSMockRecorder) Zip(source, destination any) *gomock.Call

Zip indicates an expected call of Zip.

func (*MockICloseableFSMockRecorder) ZipWithContext

func (mr *MockICloseableFSMockRecorder) ZipWithContext(ctx, source, destination any) *gomock.Call

ZipWithContext indicates an expected call of ZipWithContext.

func (*MockICloseableFSMockRecorder) ZipWithContextAndLimits

func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimits(ctx, source, destination, limits any) *gomock.Call

ZipWithContextAndLimits indicates an expected call of ZipWithContextAndLimits.

func (*MockICloseableFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns

func (mr *MockICloseableFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(ctx, source, destination, limits any, exclusionPatterns ...any) *gomock.Call

ZipWithContextAndLimitsAndExclusionPatterns indicates an expected call of ZipWithContextAndLimitsAndExclusionPatterns.

type MockIFileHash

type MockIFileHash struct {
	// contains filtered or unexported fields
}

MockIFileHash is a mock of IFileHash interface.

func NewMockIFileHash

func NewMockIFileHash(ctrl *gomock.Controller) *MockIFileHash

NewMockIFileHash creates a new mock instance.

func (*MockIFileHash) Calculate

func (m *MockIFileHash) Calculate(f filesystem.File) (string, error)

Calculate mocks base method.

func (*MockIFileHash) CalculateFile

func (m *MockIFileHash) CalculateFile(fs filesystem.FS, path string) (string, error)

CalculateFile mocks base method.

func (*MockIFileHash) CalculateFileWithContext

func (m *MockIFileHash) CalculateFileWithContext(ctx context.Context, fs filesystem.FS, path string) (string, error)

CalculateFileWithContext mocks base method.

func (*MockIFileHash) CalculateWithContext

func (m *MockIFileHash) CalculateWithContext(ctx context.Context, f filesystem.File) (string, error)

CalculateWithContext mocks base method.

func (*MockIFileHash) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIFileHash) GetType

func (m *MockIFileHash) GetType() string

GetType mocks base method.

type MockIFileHashMockRecorder

type MockIFileHashMockRecorder struct {
	// contains filtered or unexported fields
}

MockIFileHashMockRecorder is the mock recorder for MockIFileHash.

func (*MockIFileHashMockRecorder) Calculate

func (mr *MockIFileHashMockRecorder) Calculate(f any) *gomock.Call

Calculate indicates an expected call of Calculate.

func (*MockIFileHashMockRecorder) CalculateFile

func (mr *MockIFileHashMockRecorder) CalculateFile(fs, path any) *gomock.Call

CalculateFile indicates an expected call of CalculateFile.

func (*MockIFileHashMockRecorder) CalculateFileWithContext

func (mr *MockIFileHashMockRecorder) CalculateFileWithContext(ctx, fs, path any) *gomock.Call

CalculateFileWithContext indicates an expected call of CalculateFileWithContext.

func (*MockIFileHashMockRecorder) CalculateWithContext

func (mr *MockIFileHashMockRecorder) CalculateWithContext(ctx, f any) *gomock.Call

CalculateWithContext indicates an expected call of CalculateWithContext.

func (*MockIFileHashMockRecorder) GetType

func (mr *MockIFileHashMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

type MockIForceRemover

type MockIForceRemover struct {
	// contains filtered or unexported fields
}

MockIForceRemover is a mock of IForceRemover interface.

func NewMockIForceRemover

func NewMockIForceRemover(ctrl *gomock.Controller) *MockIForceRemover

NewMockIForceRemover creates a new mock instance.

func (*MockIForceRemover) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIForceRemover) ForceRemoveIfPossible

func (m *MockIForceRemover) ForceRemoveIfPossible(name string) error

ForceRemoveIfPossible mocks base method.

type MockIForceRemoverMockRecorder

type MockIForceRemoverMockRecorder struct {
	// contains filtered or unexported fields
}

MockIForceRemoverMockRecorder is the mock recorder for MockIForceRemover.

func (*MockIForceRemoverMockRecorder) ForceRemoveIfPossible

func (mr *MockIForceRemoverMockRecorder) ForceRemoveIfPossible(name any) *gomock.Call

ForceRemoveIfPossible indicates an expected call of ForceRemoveIfPossible.

type MockILimits

type MockILimits struct {
	// contains filtered or unexported fields
}

MockILimits is a mock of ILimits interface.

func NewMockILimits

func NewMockILimits(ctrl *gomock.Controller) *MockILimits

NewMockILimits creates a new mock instance.

func (*MockILimits) Apply

func (m *MockILimits) Apply() bool

Apply mocks base method.

func (*MockILimits) ApplyRecursively

func (m *MockILimits) ApplyRecursively() bool

ApplyRecursively mocks base method.

func (*MockILimits) EXPECT

func (m *MockILimits) EXPECT() *MockILimitsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockILimits) GetMaxDepth

func (m *MockILimits) GetMaxDepth() int64

GetMaxDepth mocks base method.

func (*MockILimits) GetMaxFileCount

func (m *MockILimits) GetMaxFileCount() int64

GetMaxFileCount mocks base method.

func (*MockILimits) GetMaxFileSize

func (m *MockILimits) GetMaxFileSize() int64

GetMaxFileSize mocks base method.

func (*MockILimits) GetMaxTotalSize

func (m *MockILimits) GetMaxTotalSize() uint64

GetMaxTotalSize mocks base method.

func (*MockILimits) Validate

func (m *MockILimits) Validate() error

Validate mocks base method.

type MockILimitsMockRecorder

type MockILimitsMockRecorder struct {
	// contains filtered or unexported fields
}

MockILimitsMockRecorder is the mock recorder for MockILimits.

func (*MockILimitsMockRecorder) Apply

func (mr *MockILimitsMockRecorder) Apply() *gomock.Call

Apply indicates an expected call of Apply.

func (*MockILimitsMockRecorder) ApplyRecursively

func (mr *MockILimitsMockRecorder) ApplyRecursively() *gomock.Call

ApplyRecursively indicates an expected call of ApplyRecursively.

func (*MockILimitsMockRecorder) GetMaxDepth

func (mr *MockILimitsMockRecorder) GetMaxDepth() *gomock.Call

GetMaxDepth indicates an expected call of GetMaxDepth.

func (*MockILimitsMockRecorder) GetMaxFileCount

func (mr *MockILimitsMockRecorder) GetMaxFileCount() *gomock.Call

GetMaxFileCount indicates an expected call of GetMaxFileCount.

func (*MockILimitsMockRecorder) GetMaxFileSize

func (mr *MockILimitsMockRecorder) GetMaxFileSize() *gomock.Call

GetMaxFileSize indicates an expected call of GetMaxFileSize.

func (*MockILimitsMockRecorder) GetMaxTotalSize

func (mr *MockILimitsMockRecorder) GetMaxTotalSize() *gomock.Call

GetMaxTotalSize indicates an expected call of GetMaxTotalSize.

func (*MockILimitsMockRecorder) Validate

func (mr *MockILimitsMockRecorder) Validate() *gomock.Call

Validate indicates an expected call of Validate.

type MockILinkReader

type MockILinkReader struct {
	// contains filtered or unexported fields
}

MockILinkReader is a mock of ILinkReader interface.

func NewMockILinkReader

func NewMockILinkReader(ctrl *gomock.Controller) *MockILinkReader

NewMockILinkReader creates a new mock instance.

func (*MockILinkReader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockILinkReader) ReadlinkIfPossible

func (m *MockILinkReader) ReadlinkIfPossible(arg0 string) (string, error)

ReadlinkIfPossible mocks base method.

type MockILinkReaderMockRecorder

type MockILinkReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockILinkReaderMockRecorder is the mock recorder for MockILinkReader.

func (*MockILinkReaderMockRecorder) ReadlinkIfPossible

func (mr *MockILinkReaderMockRecorder) ReadlinkIfPossible(arg0 any) *gomock.Call

ReadlinkIfPossible indicates an expected call of ReadlinkIfPossible.

type MockILinker

type MockILinker struct {
	// contains filtered or unexported fields
}

MockILinker is a mock of ILinker interface.

func NewMockILinker

func NewMockILinker(ctrl *gomock.Controller) *MockILinker

NewMockILinker creates a new mock instance.

func (*MockILinker) EXPECT

func (m *MockILinker) EXPECT() *MockILinkerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockILinker) LinkIfPossible

func (m *MockILinker) LinkIfPossible(oldname, newname string) error

LinkIfPossible mocks base method.

type MockILinkerMockRecorder

type MockILinkerMockRecorder struct {
	// contains filtered or unexported fields
}

MockILinkerMockRecorder is the mock recorder for MockILinker.

func (*MockILinkerMockRecorder) LinkIfPossible

func (mr *MockILinkerMockRecorder) LinkIfPossible(oldname, newname any) *gomock.Call

LinkIfPossible indicates an expected call of LinkIfPossible.

type MockILock

type MockILock struct {
	// contains filtered or unexported fields
}

MockILock is a mock of ILock interface.

func NewMockILock

func NewMockILock(ctrl *gomock.Controller) *MockILock

NewMockILock creates a new mock instance.

func (*MockILock) EXPECT

func (m *MockILock) EXPECT() *MockILockMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockILock) IsStale

func (m *MockILock) IsStale() bool

IsStale mocks base method.

func (*MockILock) Lock

func (m *MockILock) Lock(ctx context.Context) error

Lock mocks base method.

func (*MockILock) LockWithTimeout

func (m *MockILock) LockWithTimeout(ctx context.Context, timeout time.Duration) error

LockWithTimeout mocks base method.

func (*MockILock) MakeStale

func (m *MockILock) MakeStale(ctx context.Context) error

MakeStale mocks base method.

func (*MockILock) ReleaseIfStale

func (m *MockILock) ReleaseIfStale(ctx context.Context) error

ReleaseIfStale mocks base method.

func (*MockILock) TryLock

func (m *MockILock) TryLock(ctx context.Context) error

TryLock mocks base method.

func (*MockILock) Unlock

func (m *MockILock) Unlock(ctx context.Context) error

Unlock mocks base method.

type MockILockMockRecorder

type MockILockMockRecorder struct {
	// contains filtered or unexported fields
}

MockILockMockRecorder is the mock recorder for MockILock.

func (*MockILockMockRecorder) IsStale

func (mr *MockILockMockRecorder) IsStale() *gomock.Call

IsStale indicates an expected call of IsStale.

func (*MockILockMockRecorder) Lock

func (mr *MockILockMockRecorder) Lock(ctx any) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockILockMockRecorder) LockWithTimeout

func (mr *MockILockMockRecorder) LockWithTimeout(ctx, timeout any) *gomock.Call

LockWithTimeout indicates an expected call of LockWithTimeout.

func (*MockILockMockRecorder) MakeStale

func (mr *MockILockMockRecorder) MakeStale(ctx any) *gomock.Call

MakeStale indicates an expected call of MakeStale.

func (*MockILockMockRecorder) ReleaseIfStale

func (mr *MockILockMockRecorder) ReleaseIfStale(ctx any) *gomock.Call

ReleaseIfStale indicates an expected call of ReleaseIfStale.

func (*MockILockMockRecorder) TryLock

func (mr *MockILockMockRecorder) TryLock(ctx any) *gomock.Call

TryLock indicates an expected call of TryLock.

func (*MockILockMockRecorder) Unlock

func (mr *MockILockMockRecorder) Unlock(ctx any) *gomock.Call

Unlock indicates an expected call of Unlock.

type MockIStater

type MockIStater struct {
	// contains filtered or unexported fields
}

MockIStater is a mock of IStater interface.

func NewMockIStater

func NewMockIStater(ctrl *gomock.Controller) *MockIStater

NewMockIStater creates a new mock instance.

func (*MockIStater) EXPECT

func (m *MockIStater) EXPECT() *MockIStaterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIStater) LstatIfPossible

func (m *MockIStater) LstatIfPossible(arg0 string) (os.FileInfo, bool, error)

LstatIfPossible mocks base method.

type MockIStaterMockRecorder

type MockIStaterMockRecorder struct {
	// contains filtered or unexported fields
}

MockIStaterMockRecorder is the mock recorder for MockIStater.

func (*MockIStaterMockRecorder) LstatIfPossible

func (mr *MockIStaterMockRecorder) LstatIfPossible(arg0 any) *gomock.Call

LstatIfPossible indicates an expected call of LstatIfPossible.

type MockISymLinker

type MockISymLinker struct {
	// contains filtered or unexported fields
}

MockISymLinker is a mock of ISymLinker interface.

func NewMockISymLinker

func NewMockISymLinker(ctrl *gomock.Controller) *MockISymLinker

NewMockISymLinker creates a new mock instance.

func (*MockISymLinker) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockISymLinker) SymlinkIfPossible

func (m *MockISymLinker) SymlinkIfPossible(arg0, arg1 string) error

SymlinkIfPossible mocks base method.

type MockISymLinkerMockRecorder

type MockISymLinkerMockRecorder struct {
	// contains filtered or unexported fields
}

MockISymLinkerMockRecorder is the mock recorder for MockISymLinker.

func (*MockISymLinkerMockRecorder) SymlinkIfPossible

func (mr *MockISymLinkerMockRecorder) SymlinkIfPossible(arg0, arg1 any) *gomock.Call

SymlinkIfPossible indicates an expected call of SymlinkIfPossible.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL