mocks

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockChowner

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

MockChowner is a mock of Chowner interface.

func NewMockChowner

func NewMockChowner(ctrl *gomock.Controller) *MockChowner

NewMockChowner creates a new mock instance.

func (*MockChowner) ChownIfPossible

func (m *MockChowner) ChownIfPossible(arg0 string, arg1, arg2 int) error

ChownIfPossible mocks base method.

func (*MockChowner) EXPECT

func (m *MockChowner) EXPECT() *MockChownerMockRecorder

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

type MockChownerMockRecorder

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

MockChownerMockRecorder is the mock recorder for MockChowner.

func (*MockChownerMockRecorder) ChownIfPossible

func (mr *MockChownerMockRecorder) ChownIfPossible(arg0, arg1, arg2 interface{}) *gomock.Call

ChownIfPossible indicates an expected call of ChownIfPossible.

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) Chmod

func (m *MockFS) Chmod(arg0 string, arg1 fs.FileMode) error

Chmod mocks base method.

func (*MockFS) Chown

func (m *MockFS) Chown(arg0 string, arg1, arg2 int) error

Chown mocks base method.

func (*MockFS) Chtimes

func (m *MockFS) Chtimes(arg0 string, arg1, arg2 time.Time) error

Chtimes mocks base method.

func (*MockFS) CleanDir

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

CleanDir mocks base method.

func (*MockFS) CleanDirWithContext added in v1.15.0

func (m *MockFS) CleanDirWithContext(arg0 context.Context, arg1 string) error

CleanDirWithContext mocks base method.

func (*MockFS) CleanDirWithContextAndExclusionPatterns added in v1.20.0

func (m *MockFS) CleanDirWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) error

CleanDirWithContextAndExclusionPatterns mocks base method.

func (*MockFS) ConvertFilePath

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

ConvertFilePath mocks base method.

func (*MockFS) ConvertToAbsolutePath

func (m *MockFS) ConvertToAbsolutePath(arg0 string, arg1 ...string) ([]string, error)

ConvertToAbsolutePath mocks base method.

func (*MockFS) ConvertToRelativePath

func (m *MockFS) ConvertToRelativePath(arg0 string, arg1 ...string) ([]string, error)

ConvertToRelativePath mocks base method.

func (*MockFS) Copy

func (m *MockFS) Copy(arg0, arg1 string) error

Copy mocks base method.

func (*MockFS) CopyWithContext added in v1.15.0

func (m *MockFS) CopyWithContext(arg0 context.Context, arg1, arg2 string) error

CopyWithContext mocks base method.

func (*MockFS) CopyWithContextAndExclusionPatterns added in v1.20.0

func (m *MockFS) CopyWithContextAndExclusionPatterns(arg0 context.Context, arg1, arg2 string, arg3 ...string) error

CopyWithContextAndExclusionPatterns mocks base method.

func (*MockFS) CreateFile

func (m *MockFS) CreateFile(arg0 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(arg0 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(arg0 []string, arg1 ...string) ([]string, error)

ExcludeAll mocks base method.

func (*MockFS) Exists

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

Exists mocks base method.

func (*MockFS) FetchOwners added in v1.18.0

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

FetchOwners mocks base method.

func (*MockFS) FileHash

func (m *MockFS) FileHash(arg0, arg1 string) (string, error)

FileHash mocks base method.

func (*MockFS) FindAll

func (m *MockFS) FindAll(arg0 string, arg1 ...string) ([]string, error)

FindAll mocks base method.

func (*MockFS) GarbageCollect

func (m *MockFS) GarbageCollect(arg0 string, arg1 time.Duration) error

GarbageCollect mocks base method.

func (*MockFS) GarbageCollectWithContext added in v1.15.0

func (m *MockFS) GarbageCollectWithContext(arg0 context.Context, arg1 string, arg2 time.Duration) error

GarbageCollectWithContext mocks base method.

func (*MockFS) GenericOpen

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

GenericOpen mocks base method.

func (*MockFS) GetFileSize

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

GetFileSize mocks base method.

func (*MockFS) GetType

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

GetType mocks base method.

func (*MockFS) IsDir

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

IsDir mocks base method.

func (*MockFS) IsEmpty

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

IsEmpty mocks base method.

func (*MockFS) IsFile

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

IsFile mocks base method.

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

IsLink mocks base method.

func (m *MockFS) Link(arg0, arg1 string) error

Link mocks base method.

func (*MockFS) ListDirTree

func (m *MockFS) ListDirTree(arg0 string, arg1 *[]string) error

ListDirTree mocks base method.

func (*MockFS) ListDirTreeWithContext added in v1.15.0

func (m *MockFS) ListDirTreeWithContext(arg0 context.Context, arg1 string, arg2 *[]string) error

ListDirTreeWithContext mocks base method.

func (*MockFS) ListDirTreeWithContextAndExclusionPatterns added in v1.20.0

func (m *MockFS) ListDirTreeWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 *[]string, arg3 ...string) error

ListDirTreeWithContextAndExclusionPatterns mocks base method.

func (*MockFS) Lls

func (m *MockFS) Lls(arg0 string) ([]fs.FileInfo, error)

Lls mocks base method.

func (*MockFS) LlsFromOpenedDirectory

func (m *MockFS) LlsFromOpenedDirectory(arg0 filesystem.File) ([]fs.FileInfo, error)

LlsFromOpenedDirectory mocks base method.

func (*MockFS) Ls

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

Ls mocks base method.

func (*MockFS) LsFromOpenedDirectory

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

LsFromOpenedDirectory mocks base method.

func (*MockFS) LsWithExclusionPatterns added in v1.20.0

func (m *MockFS) LsWithExclusionPatterns(arg0 string, arg1 ...string) ([]string, error)

LsWithExclusionPatterns mocks base method.

func (*MockFS) Lstat

func (m *MockFS) Lstat(arg0 string) (fs.FileInfo, error)

Lstat mocks base method.

func (*MockFS) MkDir

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

MkDir mocks base method.

func (*MockFS) MkDirAll

func (m *MockFS) MkDirAll(arg0 string, arg1 fs.FileMode) error

MkDirAll mocks base method.

func (*MockFS) Move

func (m *MockFS) Move(arg0, arg1 string) error

Move mocks base method.

func (*MockFS) MoveWithContext added in v1.15.0

func (m *MockFS) MoveWithContext(arg0 context.Context, arg1, arg2 string) error

MoveWithContext mocks base method.

func (*MockFS) NewRemoteLockFile

func (m *MockFS) NewRemoteLockFile(arg0, arg1 string) filesystem.ILock

NewRemoteLockFile mocks base method.

func (*MockFS) Open

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

Open mocks base method.

func (*MockFS) OpenFile

func (m *MockFS) OpenFile(arg0 string, arg1 int, arg2 fs.FileMode) (filesystem.File, error)

OpenFile mocks base method.

func (*MockFS) PathSeparator

func (m *MockFS) PathSeparator() int32

PathSeparator mocks base method.

func (*MockFS) ReadFile

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

ReadFile mocks base method.

func (*MockFS) ReadFileWithLimits added in v1.15.0

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

ReadFileWithLimits mocks base method.

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

Readlink mocks base method.

func (*MockFS) RemoveWithContext added in v1.15.0

func (m *MockFS) RemoveWithContext(arg0 context.Context, arg1 string) error

RemoveWithContext mocks base method.

func (*MockFS) RemoveWithContextAndExclusionPatterns added in v1.20.0

func (m *MockFS) RemoveWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) error

RemoveWithContextAndExclusionPatterns mocks base method.

func (*MockFS) Rm

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

Rm mocks base method.

func (*MockFS) Stat

func (m *MockFS) Stat(arg0 string) (fs.FileInfo, error)

Stat mocks base method.

func (*MockFS) StatTimes

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

StatTimes mocks base method.

func (*MockFS) SubDirectories

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

SubDirectories mocks base method.

func (*MockFS) SubDirectoriesWithContext added in v1.15.0

func (m *MockFS) SubDirectoriesWithContext(arg0 context.Context, arg1 string) ([]string, error)

SubDirectoriesWithContext mocks base method.

func (*MockFS) SubDirectoriesWithContextAndExclusionPatterns added in v1.20.0

func (m *MockFS) SubDirectoriesWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 ...string) ([]string, error)

SubDirectoriesWithContextAndExclusionPatterns mocks base method.

func (m *MockFS) Symlink(arg0, arg1 string) error

Symlink mocks base method.

func (*MockFS) TempDir

func (m *MockFS) TempDir(arg0, arg1 string) (string, error)

TempDir mocks base method.

func (*MockFS) TempDirInTempDir

func (m *MockFS) TempDirInTempDir(arg0 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(arg0, arg1 string) (filesystem.File, error)

TempFile mocks base method.

func (*MockFS) TempFileInTempDir

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

TempFileInTempDir mocks base method.

func (*MockFS) Unzip

func (m *MockFS) Unzip(arg0, arg1 string) ([]string, error)

Unzip mocks base method.

func (*MockFS) UnzipWithContext added in v1.15.0

func (m *MockFS) UnzipWithContext(arg0 context.Context, arg1, arg2 string) ([]string, error)

UnzipWithContext mocks base method.

func (*MockFS) UnzipWithContextAndLimits added in v1.15.0

func (m *MockFS) UnzipWithContextAndLimits(arg0 context.Context, arg1, arg2 string, arg3 filesystem.ILimits) ([]string, error)

UnzipWithContextAndLimits mocks base method.

func (*MockFS) Walk

func (m *MockFS) Walk(arg0 string, arg1 filepath.WalkFunc) error

Walk mocks base method.

func (*MockFS) WalkWithContext added in v1.15.0

func (m *MockFS) WalkWithContext(arg0 context.Context, arg1 string, arg2 filepath.WalkFunc) error

WalkWithContext mocks base method.

func (*MockFS) WalkWithContextAndExclusionPatterns added in v1.20.0

func (m *MockFS) WalkWithContextAndExclusionPatterns(arg0 context.Context, arg1 string, arg2 filepath.WalkFunc, arg3 ...string) error

WalkWithContextAndExclusionPatterns mocks base method.

func (*MockFS) WriteFile

func (m *MockFS) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) error

WriteFile mocks base method.

func (*MockFS) Zip

func (m *MockFS) Zip(arg0, arg1 string) error

Zip mocks base method.

func (*MockFS) ZipWithContext added in v1.15.0

func (m *MockFS) ZipWithContext(arg0 context.Context, arg1, arg2 string) error

ZipWithContext mocks base method.

func (*MockFS) ZipWithContextAndLimits added in v1.15.0

func (m *MockFS) ZipWithContextAndLimits(arg0 context.Context, arg1, arg2 string, arg3 filesystem.ILimits) error

ZipWithContextAndLimits mocks base method.

func (*MockFS) ZipWithContextAndLimitsAndExclusionPatterns added in v1.20.0

func (m *MockFS) ZipWithContextAndLimitsAndExclusionPatterns(arg0 context.Context, arg1, arg2 string, arg3 filesystem.ILimits, arg4 ...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) Chmod

func (mr *MockFSMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call

Chmod indicates an expected call of Chmod.

func (*MockFSMockRecorder) Chown

func (mr *MockFSMockRecorder) Chown(arg0, arg1, arg2 interface{}) *gomock.Call

Chown indicates an expected call of Chown.

func (*MockFSMockRecorder) Chtimes

func (mr *MockFSMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call

Chtimes indicates an expected call of Chtimes.

func (*MockFSMockRecorder) CleanDir

func (mr *MockFSMockRecorder) CleanDir(arg0 interface{}) *gomock.Call

CleanDir indicates an expected call of CleanDir.

func (*MockFSMockRecorder) CleanDirWithContext added in v1.15.0

func (mr *MockFSMockRecorder) CleanDirWithContext(arg0, arg1 interface{}) *gomock.Call

CleanDirWithContext indicates an expected call of CleanDirWithContext.

func (*MockFSMockRecorder) CleanDirWithContextAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) CleanDirWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CleanDirWithContextAndExclusionPatterns indicates an expected call of CleanDirWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) ConvertFilePath

func (mr *MockFSMockRecorder) ConvertFilePath(arg0 interface{}) *gomock.Call

ConvertFilePath indicates an expected call of ConvertFilePath.

func (*MockFSMockRecorder) ConvertToAbsolutePath

func (mr *MockFSMockRecorder) ConvertToAbsolutePath(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ConvertToAbsolutePath indicates an expected call of ConvertToAbsolutePath.

func (*MockFSMockRecorder) ConvertToRelativePath

func (mr *MockFSMockRecorder) ConvertToRelativePath(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ConvertToRelativePath indicates an expected call of ConvertToRelativePath.

func (*MockFSMockRecorder) Copy

func (mr *MockFSMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockFSMockRecorder) CopyWithContext added in v1.15.0

func (mr *MockFSMockRecorder) CopyWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

CopyWithContext indicates an expected call of CopyWithContext.

func (*MockFSMockRecorder) CopyWithContextAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) CopyWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CopyWithContextAndExclusionPatterns indicates an expected call of CopyWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) CreateFile

func (mr *MockFSMockRecorder) CreateFile(arg0 interface{}) *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(arg0 interface{}) *gomock.Call

DiskUsage indicates an expected call of DiskUsage.

func (*MockFSMockRecorder) ExcludeAll

func (mr *MockFSMockRecorder) ExcludeAll(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ExcludeAll indicates an expected call of ExcludeAll.

func (*MockFSMockRecorder) Exists

func (mr *MockFSMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockFSMockRecorder) FetchOwners added in v1.18.0

func (mr *MockFSMockRecorder) FetchOwners(arg0 interface{}) *gomock.Call

FetchOwners indicates an expected call of FetchOwners.

func (*MockFSMockRecorder) FileHash

func (mr *MockFSMockRecorder) FileHash(arg0, arg1 interface{}) *gomock.Call

FileHash indicates an expected call of FileHash.

func (*MockFSMockRecorder) FindAll

func (mr *MockFSMockRecorder) FindAll(arg0 interface{}, arg1 ...interface{}) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockFSMockRecorder) GarbageCollect

func (mr *MockFSMockRecorder) GarbageCollect(arg0, arg1 interface{}) *gomock.Call

GarbageCollect indicates an expected call of GarbageCollect.

func (*MockFSMockRecorder) GarbageCollectWithContext added in v1.15.0

func (mr *MockFSMockRecorder) GarbageCollectWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

GarbageCollectWithContext indicates an expected call of GarbageCollectWithContext.

func (*MockFSMockRecorder) GenericOpen

func (mr *MockFSMockRecorder) GenericOpen(arg0 interface{}) *gomock.Call

GenericOpen indicates an expected call of GenericOpen.

func (*MockFSMockRecorder) GetFileSize

func (mr *MockFSMockRecorder) GetFileSize(arg0 interface{}) *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) IsDir

func (mr *MockFSMockRecorder) IsDir(arg0 interface{}) *gomock.Call

IsDir indicates an expected call of IsDir.

func (*MockFSMockRecorder) IsEmpty

func (mr *MockFSMockRecorder) IsEmpty(arg0 interface{}) *gomock.Call

IsEmpty indicates an expected call of IsEmpty.

func (*MockFSMockRecorder) IsFile

func (mr *MockFSMockRecorder) IsFile(arg0 interface{}) *gomock.Call

IsFile indicates an expected call of IsFile.

func (mr *MockFSMockRecorder) IsLink(arg0 interface{}) *gomock.Call

IsLink indicates an expected call of IsLink.

func (mr *MockFSMockRecorder) Link(arg0, arg1 interface{}) *gomock.Call

Link indicates an expected call of Link.

func (*MockFSMockRecorder) ListDirTree

func (mr *MockFSMockRecorder) ListDirTree(arg0, arg1 interface{}) *gomock.Call

ListDirTree indicates an expected call of ListDirTree.

func (*MockFSMockRecorder) ListDirTreeWithContext added in v1.15.0

func (mr *MockFSMockRecorder) ListDirTreeWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

ListDirTreeWithContext indicates an expected call of ListDirTreeWithContext.

func (*MockFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) ListDirTreeWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListDirTreeWithContextAndExclusionPatterns indicates an expected call of ListDirTreeWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) Lls

func (mr *MockFSMockRecorder) Lls(arg0 interface{}) *gomock.Call

Lls indicates an expected call of Lls.

func (*MockFSMockRecorder) LlsFromOpenedDirectory

func (mr *MockFSMockRecorder) LlsFromOpenedDirectory(arg0 interface{}) *gomock.Call

LlsFromOpenedDirectory indicates an expected call of LlsFromOpenedDirectory.

func (*MockFSMockRecorder) Ls

func (mr *MockFSMockRecorder) Ls(arg0 interface{}) *gomock.Call

Ls indicates an expected call of Ls.

func (*MockFSMockRecorder) LsFromOpenedDirectory

func (mr *MockFSMockRecorder) LsFromOpenedDirectory(arg0 interface{}) *gomock.Call

LsFromOpenedDirectory indicates an expected call of LsFromOpenedDirectory.

func (*MockFSMockRecorder) LsWithExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) LsWithExclusionPatterns(arg0 interface{}, arg1 ...interface{}) *gomock.Call

LsWithExclusionPatterns indicates an expected call of LsWithExclusionPatterns.

func (*MockFSMockRecorder) Lstat

func (mr *MockFSMockRecorder) Lstat(arg0 interface{}) *gomock.Call

Lstat indicates an expected call of Lstat.

func (*MockFSMockRecorder) MkDir

func (mr *MockFSMockRecorder) MkDir(arg0 interface{}) *gomock.Call

MkDir indicates an expected call of MkDir.

func (*MockFSMockRecorder) MkDirAll

func (mr *MockFSMockRecorder) MkDirAll(arg0, arg1 interface{}) *gomock.Call

MkDirAll indicates an expected call of MkDirAll.

func (*MockFSMockRecorder) Move

func (mr *MockFSMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call

Move indicates an expected call of Move.

func (*MockFSMockRecorder) MoveWithContext added in v1.15.0

func (mr *MockFSMockRecorder) MoveWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

MoveWithContext indicates an expected call of MoveWithContext.

func (*MockFSMockRecorder) NewRemoteLockFile

func (mr *MockFSMockRecorder) NewRemoteLockFile(arg0, arg1 interface{}) *gomock.Call

NewRemoteLockFile indicates an expected call of NewRemoteLockFile.

func (*MockFSMockRecorder) Open

func (mr *MockFSMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockFSMockRecorder) OpenFile

func (mr *MockFSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *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(arg0 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockFSMockRecorder) ReadFileWithLimits added in v1.15.0

func (mr *MockFSMockRecorder) ReadFileWithLimits(arg0, arg1 interface{}) *gomock.Call

ReadFileWithLimits indicates an expected call of ReadFileWithLimits.

func (mr *MockFSMockRecorder) Readlink(arg0 interface{}) *gomock.Call

Readlink indicates an expected call of Readlink.

func (*MockFSMockRecorder) RemoveWithContext added in v1.15.0

func (mr *MockFSMockRecorder) RemoveWithContext(arg0, arg1 interface{}) *gomock.Call

RemoveWithContext indicates an expected call of RemoveWithContext.

func (*MockFSMockRecorder) RemoveWithContextAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) RemoveWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RemoveWithContextAndExclusionPatterns indicates an expected call of RemoveWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) Rm

func (mr *MockFSMockRecorder) Rm(arg0 interface{}) *gomock.Call

Rm indicates an expected call of Rm.

func (*MockFSMockRecorder) Stat

func (mr *MockFSMockRecorder) Stat(arg0 interface{}) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockFSMockRecorder) StatTimes

func (mr *MockFSMockRecorder) StatTimes(arg0 interface{}) *gomock.Call

StatTimes indicates an expected call of StatTimes.

func (*MockFSMockRecorder) SubDirectories

func (mr *MockFSMockRecorder) SubDirectories(arg0 interface{}) *gomock.Call

SubDirectories indicates an expected call of SubDirectories.

func (*MockFSMockRecorder) SubDirectoriesWithContext added in v1.15.0

func (mr *MockFSMockRecorder) SubDirectoriesWithContext(arg0, arg1 interface{}) *gomock.Call

SubDirectoriesWithContext indicates an expected call of SubDirectoriesWithContext.

func (*MockFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) SubDirectoriesWithContextAndExclusionPatterns(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SubDirectoriesWithContextAndExclusionPatterns indicates an expected call of SubDirectoriesWithContextAndExclusionPatterns.

func (mr *MockFSMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call

Symlink indicates an expected call of Symlink.

func (*MockFSMockRecorder) TempDir

func (mr *MockFSMockRecorder) TempDir(arg0, arg1 interface{}) *gomock.Call

TempDir indicates an expected call of TempDir.

func (*MockFSMockRecorder) TempDirInTempDir

func (mr *MockFSMockRecorder) TempDirInTempDir(arg0 interface{}) *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(arg0, arg1 interface{}) *gomock.Call

TempFile indicates an expected call of TempFile.

func (*MockFSMockRecorder) TempFileInTempDir

func (mr *MockFSMockRecorder) TempFileInTempDir(arg0 interface{}) *gomock.Call

TempFileInTempDir indicates an expected call of TempFileInTempDir.

func (*MockFSMockRecorder) Unzip

func (mr *MockFSMockRecorder) Unzip(arg0, arg1 interface{}) *gomock.Call

Unzip indicates an expected call of Unzip.

func (*MockFSMockRecorder) UnzipWithContext added in v1.15.0

func (mr *MockFSMockRecorder) UnzipWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

UnzipWithContext indicates an expected call of UnzipWithContext.

func (*MockFSMockRecorder) UnzipWithContextAndLimits added in v1.15.0

func (mr *MockFSMockRecorder) UnzipWithContextAndLimits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UnzipWithContextAndLimits indicates an expected call of UnzipWithContextAndLimits.

func (*MockFSMockRecorder) Walk

func (mr *MockFSMockRecorder) Walk(arg0, arg1 interface{}) *gomock.Call

Walk indicates an expected call of Walk.

func (*MockFSMockRecorder) WalkWithContext added in v1.15.0

func (mr *MockFSMockRecorder) WalkWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

WalkWithContext indicates an expected call of WalkWithContext.

func (*MockFSMockRecorder) WalkWithContextAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) WalkWithContextAndExclusionPatterns(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

WalkWithContextAndExclusionPatterns indicates an expected call of WalkWithContextAndExclusionPatterns.

func (*MockFSMockRecorder) WriteFile

func (mr *MockFSMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

func (*MockFSMockRecorder) Zip

func (mr *MockFSMockRecorder) Zip(arg0, arg1 interface{}) *gomock.Call

Zip indicates an expected call of Zip.

func (*MockFSMockRecorder) ZipWithContext added in v1.15.0

func (mr *MockFSMockRecorder) ZipWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

ZipWithContext indicates an expected call of ZipWithContext.

func (*MockFSMockRecorder) ZipWithContextAndLimits added in v1.15.0

func (mr *MockFSMockRecorder) ZipWithContextAndLimits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ZipWithContextAndLimits indicates an expected call of ZipWithContextAndLimits.

func (*MockFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns added in v1.20.0

func (mr *MockFSMockRecorder) ZipWithContextAndLimitsAndExclusionPatterns(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *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(arg0 []byte) (int, error)

Read mocks base method.

func (*MockFile) ReadAt

func (m *MockFile) ReadAt(arg0 []byte, arg1 int64) (int, error)

ReadAt mocks base method.

func (*MockFile) Readdir

func (m *MockFile) Readdir(arg0 int) ([]fs.FileInfo, error)

Readdir mocks base method.

func (*MockFile) Readdirnames

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

Readdirnames mocks base method.

func (*MockFile) Seek

func (m *MockFile) Seek(arg0 int64, arg1 int) (int64, error)

Seek mocks base method.

func (*MockFile) Stat

func (m *MockFile) Stat() (fs.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(arg0 int64) error

Truncate mocks base method.

func (*MockFile) Write

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

Write mocks base method.

func (*MockFile) WriteAt

func (m *MockFile) WriteAt(arg0 []byte, arg1 int64) (int, error)

WriteAt mocks base method.

func (*MockFile) WriteString

func (m *MockFile) WriteString(arg0 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(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockFileMockRecorder) ReadAt

func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call

ReadAt indicates an expected call of ReadAt.

func (*MockFileMockRecorder) Readdir

func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call

Readdir indicates an expected call of Readdir.

func (*MockFileMockRecorder) Readdirnames

func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call

Readdirnames indicates an expected call of Readdirnames.

func (*MockFileMockRecorder) Seek

func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *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(arg0 interface{}) *gomock.Call

Truncate indicates an expected call of Truncate.

func (*MockFileMockRecorder) Write

func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

func (*MockFileMockRecorder) WriteAt

func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call

WriteAt indicates an expected call of WriteAt.

func (*MockFileMockRecorder) WriteString

func (mr *MockFileMockRecorder) WriteString(arg0 interface{}) *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 MockICharsetConverter added in v1.7.0

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

MockICharsetConverter is a mock of ICharsetConverter interface.

func NewMockICharsetConverter added in v1.7.0

func NewMockICharsetConverter(ctrl *gomock.Controller) *MockICharsetConverter

NewMockICharsetConverter creates a new mock instance.

func (*MockICharsetConverter) Convert added in v1.7.0

func (m *MockICharsetConverter) Convert(arg0 io.Reader) io.Reader

Convert mocks base method.

func (*MockICharsetConverter) ConvertBytes added in v1.7.0

func (m *MockICharsetConverter) ConvertBytes(arg0 []byte) ([]byte, error)

ConvertBytes mocks base method.

func (*MockICharsetConverter) ConvertString added in v1.7.0

func (m *MockICharsetConverter) ConvertString(arg0 string) (string, error)

ConvertString mocks base method.

func (*MockICharsetConverter) EXPECT added in v1.7.0

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

func (*MockICharsetConverter) String added in v1.7.0

func (m *MockICharsetConverter) String() string

String mocks base method.

type MockICharsetConverterMockRecorder added in v1.7.0

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

MockICharsetConverterMockRecorder is the mock recorder for MockICharsetConverter.

func (*MockICharsetConverterMockRecorder) Convert added in v1.7.0

func (mr *MockICharsetConverterMockRecorder) Convert(arg0 interface{}) *gomock.Call

Convert indicates an expected call of Convert.

func (*MockICharsetConverterMockRecorder) ConvertBytes added in v1.7.0

func (mr *MockICharsetConverterMockRecorder) ConvertBytes(arg0 interface{}) *gomock.Call

ConvertBytes indicates an expected call of ConvertBytes.

func (*MockICharsetConverterMockRecorder) ConvertString added in v1.7.0

func (mr *MockICharsetConverterMockRecorder) ConvertString(arg0 interface{}) *gomock.Call

ConvertString indicates an expected call of ConvertString.

func (*MockICharsetConverterMockRecorder) String added in v1.7.0

String indicates an expected call of String.

type MockIClient

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

MockIClient is a mock of IClient interface.

func NewMockIClient

func NewMockIClient(ctrl *gomock.Controller) *MockIClient

NewMockIClient creates a new mock instance.

func (*MockIClient) Close

func (m *MockIClient) Close() error

Close mocks base method.

func (*MockIClient) Delete

func (m *MockIClient) Delete(arg0 string) (*http.Response, error)

Delete mocks base method.

func (*MockIClient) Do

func (m *MockIClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockIClient) EXPECT

func (m *MockIClient) EXPECT() *MockIClientMockRecorder

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

func (*MockIClient) Get

func (m *MockIClient) Get(arg0 string) (*http.Response, error)

Get mocks base method.

func (*MockIClient) Head

func (m *MockIClient) Head(arg0 string) (*http.Response, error)

Head mocks base method.

func (*MockIClient) Options added in v1.7.0

func (m *MockIClient) Options(arg0 string) (*http.Response, error)

Options mocks base method.

func (*MockIClient) Post

func (m *MockIClient) Post(arg0, arg1 string, arg2 interface{}) (*http.Response, error)

Post mocks base method.

func (*MockIClient) PostForm

func (m *MockIClient) PostForm(arg0 string, arg1 url.Values) (*http.Response, error)

PostForm mocks base method.

func (*MockIClient) Put

func (m *MockIClient) Put(arg0 string, arg1 interface{}) (*http.Response, error)

Put mocks base method.

func (*MockIClient) StandardClient

func (m *MockIClient) StandardClient() *http.Client

StandardClient mocks base method.

type MockIClientMockRecorder

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

MockIClientMockRecorder is the mock recorder for MockIClient.

func (*MockIClientMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockIClientMockRecorder) Delete

func (mr *MockIClientMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIClientMockRecorder) Do

func (mr *MockIClientMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockIClientMockRecorder) Get

func (mr *MockIClientMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIClientMockRecorder) Head

func (mr *MockIClientMockRecorder) Head(arg0 interface{}) *gomock.Call

Head indicates an expected call of Head.

func (*MockIClientMockRecorder) Options added in v1.7.0

func (mr *MockIClientMockRecorder) Options(arg0 interface{}) *gomock.Call

Options indicates an expected call of Options.

func (*MockIClientMockRecorder) Post

func (mr *MockIClientMockRecorder) Post(arg0, arg1, arg2 interface{}) *gomock.Call

Post indicates an expected call of Post.

func (*MockIClientMockRecorder) PostForm

func (mr *MockIClientMockRecorder) PostForm(arg0, arg1 interface{}) *gomock.Call

PostForm indicates an expected call of PostForm.

func (*MockIClientMockRecorder) Put

func (mr *MockIClientMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockIClientMockRecorder) StandardClient

func (mr *MockIClientMockRecorder) StandardClient() *gomock.Call

StandardClient indicates an expected call of StandardClient.

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(arg0 filesystem.File) (string, error)

Calculate mocks base method.

func (*MockIFileHash) CalculateFile

func (m *MockIFileHash) CalculateFile(arg0 filesystem.FS, arg1 string) (string, error)

CalculateFile 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(arg0 interface{}) *gomock.Call

Calculate indicates an expected call of Calculate.

func (*MockIFileHashMockRecorder) CalculateFile

func (mr *MockIFileHashMockRecorder) CalculateFile(arg0, arg1 interface{}) *gomock.Call

CalculateFile indicates an expected call of CalculateFile.

func (*MockIFileHashMockRecorder) GetType

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

GetType indicates an expected call of GetType.

type MockIHash

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

MockIHash is a mock of IHash interface.

func NewMockIHash

func NewMockIHash(ctrl *gomock.Controller) *MockIHash

NewMockIHash creates a new mock instance.

func (*MockIHash) Calculate

func (m *MockIHash) Calculate(arg0 io.Reader) (string, error)

Calculate mocks base method.

func (*MockIHash) EXPECT

func (m *MockIHash) EXPECT() *MockIHashMockRecorder

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

func (*MockIHash) GetType

func (m *MockIHash) GetType() string

GetType mocks base method.

type MockIHashMockRecorder

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

MockIHashMockRecorder is the mock recorder for MockIHash.

func (*MockIHashMockRecorder) Calculate

func (mr *MockIHashMockRecorder) Calculate(arg0 interface{}) *gomock.Call

Calculate indicates an expected call of Calculate.

func (*MockIHashMockRecorder) GetType

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

GetType indicates an expected call of GetType.

type MockILimits added in v1.15.0

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

MockILimits is a mock of ILimits interface.

func NewMockILimits added in v1.15.0

func NewMockILimits(ctrl *gomock.Controller) *MockILimits

NewMockILimits creates a new mock instance.

func (*MockILimits) Apply added in v1.15.0

func (m *MockILimits) Apply() bool

Apply mocks base method.

func (*MockILimits) EXPECT added in v1.15.0

func (m *MockILimits) EXPECT() *MockILimitsMockRecorder

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

func (*MockILimits) GetMaxFileCount added in v1.19.0

func (m *MockILimits) GetMaxFileCount() int64

GetMaxFileCount mocks base method.

func (*MockILimits) GetMaxFileSize added in v1.15.0

func (m *MockILimits) GetMaxFileSize() int64

GetMaxFileSize mocks base method.

func (*MockILimits) GetMaxTotalSize added in v1.15.0

func (m *MockILimits) GetMaxTotalSize() uint64

GetMaxTotalSize mocks base method.

func (*MockILimits) Validate added in v1.15.0

func (m *MockILimits) Validate() error

Validate mocks base method.

type MockILimitsMockRecorder added in v1.15.0

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

MockILimitsMockRecorder is the mock recorder for MockILimits.

func (*MockILimitsMockRecorder) Apply added in v1.15.0

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

Apply indicates an expected call of Apply.

func (*MockILimitsMockRecorder) GetMaxFileCount added in v1.19.0

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

GetMaxFileCount indicates an expected call of GetMaxFileCount.

func (*MockILimitsMockRecorder) GetMaxFileSize added in v1.15.0

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

GetMaxFileSize indicates an expected call of GetMaxFileSize.

func (*MockILimitsMockRecorder) GetMaxTotalSize added in v1.15.0

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

GetMaxTotalSize indicates an expected call of GetMaxTotalSize.

func (*MockILimitsMockRecorder) Validate added in v1.15.0

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

Validate indicates an expected call of Validate.

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(arg0 context.Context) error

Lock mocks base method.

func (*MockILock) LockWithTimeout

func (m *MockILock) LockWithTimeout(arg0 context.Context, arg1 time.Duration) error

LockWithTimeout mocks base method.

func (*MockILock) MakeStale

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

MakeStale mocks base method.

func (*MockILock) ReleaseIfStale

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

ReleaseIfStale mocks base method.

func (*MockILock) TryLock

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

TryLock mocks base method.

func (*MockILock) Unlock

func (m *MockILock) Unlock(arg0 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(arg0 interface{}) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockILockMockRecorder) LockWithTimeout

func (mr *MockILockMockRecorder) LockWithTimeout(arg0, arg1 interface{}) *gomock.Call

LockWithTimeout indicates an expected call of LockWithTimeout.

func (*MockILockMockRecorder) MakeStale

func (mr *MockILockMockRecorder) MakeStale(arg0 interface{}) *gomock.Call

MakeStale indicates an expected call of MakeStale.

func (*MockILockMockRecorder) ReleaseIfStale

func (mr *MockILockMockRecorder) ReleaseIfStale(arg0 interface{}) *gomock.Call

ReleaseIfStale indicates an expected call of ReleaseIfStale.

func (*MockILockMockRecorder) TryLock

func (mr *MockILockMockRecorder) TryLock(arg0 interface{}) *gomock.Call

TryLock indicates an expected call of TryLock.

func (*MockILockMockRecorder) Unlock

func (mr *MockILockMockRecorder) Unlock(arg0 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock.

type MockIRetryWaitPolicy added in v1.7.0

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

MockIRetryWaitPolicy is a mock of IRetryWaitPolicy interface.

func NewMockIRetryWaitPolicy added in v1.7.0

func NewMockIRetryWaitPolicy(ctrl *gomock.Controller) *MockIRetryWaitPolicy

NewMockIRetryWaitPolicy creates a new mock instance.

func (*MockIRetryWaitPolicy) Apply added in v1.7.0

func (m *MockIRetryWaitPolicy) Apply(arg0, arg1 time.Duration, arg2 int, arg3 *http.Response) time.Duration

Apply mocks base method.

func (*MockIRetryWaitPolicy) EXPECT added in v1.7.0

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

type MockIRetryWaitPolicyMockRecorder added in v1.7.0

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

MockIRetryWaitPolicyMockRecorder is the mock recorder for MockIRetryWaitPolicy.

func (*MockIRetryWaitPolicyMockRecorder) Apply added in v1.7.0

func (mr *MockIRetryWaitPolicyMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

type MockIServiceConfiguration

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

MockIServiceConfiguration is a mock of IServiceConfiguration interface.

func NewMockIServiceConfiguration

func NewMockIServiceConfiguration(ctrl *gomock.Controller) *MockIServiceConfiguration

NewMockIServiceConfiguration creates a new mock instance.

func (*MockIServiceConfiguration) EXPECT

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

func (*MockIServiceConfiguration) Validate

func (m *MockIServiceConfiguration) Validate() error

Validate mocks base method.

type MockIServiceConfigurationMockRecorder

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

MockIServiceConfigurationMockRecorder is the mock recorder for MockIServiceConfiguration.

func (*MockIServiceConfigurationMockRecorder) Validate

Validate indicates an expected call of Validate.

type MockISharedCacheRepository added in v1.18.0

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

MockISharedCacheRepository is a mock of ISharedCacheRepository interface.

func NewMockISharedCacheRepository added in v1.18.0

func NewMockISharedCacheRepository(ctrl *gomock.Controller) *MockISharedCacheRepository

NewMockISharedCacheRepository creates a new mock instance.

func (*MockISharedCacheRepository) CleanEntry added in v1.18.0

func (m *MockISharedCacheRepository) CleanEntry(arg0 context.Context, arg1 string) error

CleanEntry mocks base method.

func (*MockISharedCacheRepository) EXPECT added in v1.18.0

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

func (*MockISharedCacheRepository) EntriesCount added in v1.18.0

func (m *MockISharedCacheRepository) EntriesCount(arg0 context.Context) (int64, error)

EntriesCount mocks base method.

func (*MockISharedCacheRepository) Fetch added in v1.18.0

func (m *MockISharedCacheRepository) Fetch(arg0 context.Context, arg1, arg2 string) error

Fetch mocks base method.

func (*MockISharedCacheRepository) GenerateKey added in v1.18.0

func (m *MockISharedCacheRepository) GenerateKey(arg0 ...string) string

GenerateKey mocks base method.

func (*MockISharedCacheRepository) GetEntries added in v1.18.0

func (m *MockISharedCacheRepository) GetEntries(arg0 context.Context) ([]string, error)

GetEntries mocks base method.

func (*MockISharedCacheRepository) GetEntryAge added in v1.18.0

func (m *MockISharedCacheRepository) GetEntryAge(arg0 context.Context, arg1 string) (time.Duration, error)

GetEntryAge mocks base method.

func (*MockISharedCacheRepository) RemoveEntry added in v1.18.0

func (m *MockISharedCacheRepository) RemoveEntry(arg0 context.Context, arg1 string) error

RemoveEntry mocks base method.

func (*MockISharedCacheRepository) SetEntryAge added in v1.18.0

func (m *MockISharedCacheRepository) SetEntryAge(arg0 context.Context, arg1 string, arg2 time.Duration) error

SetEntryAge mocks base method.

func (*MockISharedCacheRepository) Store added in v1.18.0

func (m *MockISharedCacheRepository) Store(arg0 context.Context, arg1, arg2 string) error

Store mocks base method.

type MockISharedCacheRepositoryMockRecorder added in v1.18.0

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

MockISharedCacheRepositoryMockRecorder is the mock recorder for MockISharedCacheRepository.

func (*MockISharedCacheRepositoryMockRecorder) CleanEntry added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) CleanEntry(arg0, arg1 interface{}) *gomock.Call

CleanEntry indicates an expected call of CleanEntry.

func (*MockISharedCacheRepositoryMockRecorder) EntriesCount added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) EntriesCount(arg0 interface{}) *gomock.Call

EntriesCount indicates an expected call of EntriesCount.

func (*MockISharedCacheRepositoryMockRecorder) Fetch added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

func (*MockISharedCacheRepositoryMockRecorder) GenerateKey added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) GenerateKey(arg0 ...interface{}) *gomock.Call

GenerateKey indicates an expected call of GenerateKey.

func (*MockISharedCacheRepositoryMockRecorder) GetEntries added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) GetEntries(arg0 interface{}) *gomock.Call

GetEntries indicates an expected call of GetEntries.

func (*MockISharedCacheRepositoryMockRecorder) GetEntryAge added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) GetEntryAge(arg0, arg1 interface{}) *gomock.Call

GetEntryAge indicates an expected call of GetEntryAge.

func (*MockISharedCacheRepositoryMockRecorder) RemoveEntry added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) RemoveEntry(arg0, arg1 interface{}) *gomock.Call

RemoveEntry indicates an expected call of RemoveEntry.

func (*MockISharedCacheRepositoryMockRecorder) SetEntryAge added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) SetEntryAge(arg0, arg1, arg2 interface{}) *gomock.Call

SetEntryAge indicates an expected call of SetEntryAge.

func (*MockISharedCacheRepositoryMockRecorder) Store added in v1.18.0

func (mr *MockISharedCacheRepositoryMockRecorder) Store(arg0, arg1, arg2 interface{}) *gomock.Call

Store indicates an expected call of Store.

type MockLinker

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

MockLinker is a mock of Linker interface.

func NewMockLinker

func NewMockLinker(ctrl *gomock.Controller) *MockLinker

NewMockLinker creates a new mock instance.

func (*MockLinker) EXPECT

func (m *MockLinker) EXPECT() *MockLinkerMockRecorder

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

func (*MockLinker) LinkIfPossible

func (m *MockLinker) LinkIfPossible(arg0, arg1 string) error

LinkIfPossible mocks base method.

type MockLinkerMockRecorder

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

MockLinkerMockRecorder is the mock recorder for MockLinker.

func (*MockLinkerMockRecorder) LinkIfPossible

func (mr *MockLinkerMockRecorder) LinkIfPossible(arg0, arg1 interface{}) *gomock.Call

LinkIfPossible indicates an expected call of LinkIfPossible.

type MockLoggers

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

MockLoggers is a mock of Loggers interface.

func NewMockLoggers

func NewMockLoggers(ctrl *gomock.Controller) *MockLoggers

NewMockLoggers creates a new mock instance.

func (*MockLoggers) Check

func (m *MockLoggers) Check() error

Check mocks base method.

func (*MockLoggers) Close

func (m *MockLoggers) Close() error

Close mocks base method.

func (*MockLoggers) EXPECT

func (m *MockLoggers) EXPECT() *MockLoggersMockRecorder

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

func (*MockLoggers) Log

func (m *MockLoggers) Log(arg0 ...interface{})

Log mocks base method.

func (*MockLoggers) LogError

func (m *MockLoggers) LogError(arg0 ...interface{})

LogError mocks base method.

func (*MockLoggers) SetLogSource

func (m *MockLoggers) SetLogSource(arg0 string) error

SetLogSource mocks base method.

func (*MockLoggers) SetLoggerSource

func (m *MockLoggers) SetLoggerSource(arg0 string) error

SetLoggerSource mocks base method.

type MockLoggersMockRecorder

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

MockLoggersMockRecorder is the mock recorder for MockLoggers.

func (*MockLoggersMockRecorder) Check

func (mr *MockLoggersMockRecorder) Check() *gomock.Call

Check indicates an expected call of Check.

func (*MockLoggersMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockLoggersMockRecorder) Log

func (mr *MockLoggersMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockLoggersMockRecorder) LogError

func (mr *MockLoggersMockRecorder) LogError(arg0 ...interface{}) *gomock.Call

LogError indicates an expected call of LogError.

func (*MockLoggersMockRecorder) SetLogSource

func (mr *MockLoggersMockRecorder) SetLogSource(arg0 interface{}) *gomock.Call

SetLogSource indicates an expected call of SetLogSource.

func (*MockLoggersMockRecorder) SetLoggerSource

func (mr *MockLoggersMockRecorder) SetLoggerSource(arg0 interface{}) *gomock.Call

SetLoggerSource indicates an expected call of SetLoggerSource.

type MockStdLogger added in v1.14.0

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

MockStdLogger is a mock of StdLogger interface.

func NewMockStdLogger added in v1.14.0

func NewMockStdLogger(ctrl *gomock.Controller) *MockStdLogger

NewMockStdLogger creates a new mock instance.

func (*MockStdLogger) EXPECT added in v1.14.0

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

func (*MockStdLogger) Output added in v1.14.0

func (m *MockStdLogger) Output(arg0 int, arg1 string) error

Output mocks base method.

type MockStdLoggerMockRecorder added in v1.14.0

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

MockStdLoggerMockRecorder is the mock recorder for MockStdLogger.

func (*MockStdLoggerMockRecorder) Output added in v1.14.0

func (mr *MockStdLoggerMockRecorder) Output(arg0, arg1 interface{}) *gomock.Call

Output indicates an expected call of Output.

type MockWriterWithSource

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

MockWriterWithSource is a mock of WriterWithSource interface.

func NewMockWriterWithSource

func NewMockWriterWithSource(ctrl *gomock.Controller) *MockWriterWithSource

NewMockWriterWithSource creates a new mock instance.

func (*MockWriterWithSource) Close

func (m *MockWriterWithSource) Close() error

Close mocks base method.

func (*MockWriterWithSource) EXPECT

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

func (*MockWriterWithSource) SetSource

func (m *MockWriterWithSource) SetSource(arg0 string) error

SetSource mocks base method.

func (*MockWriterWithSource) Write

func (m *MockWriterWithSource) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockWriterWithSourceMockRecorder

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

MockWriterWithSourceMockRecorder is the mock recorder for MockWriterWithSource.

func (*MockWriterWithSourceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockWriterWithSourceMockRecorder) SetSource

func (mr *MockWriterWithSourceMockRecorder) SetSource(arg0 interface{}) *gomock.Call

SetSource indicates an expected call of SetSource.

func (*MockWriterWithSourceMockRecorder) Write

func (mr *MockWriterWithSourceMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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