mocks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 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.

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

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) 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) 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) 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 (m *MockFS) Readlink(arg0 string) (string, error)

Readlink 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 (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) Walk

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

Walk 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

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

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

ConvertFilePath indicates an expected call of ConvertFilePath

func (*MockFSMockRecorder) ConvertToAbsolutePath

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

ConvertToAbsolutePath indicates an expected call of ConvertToAbsolutePath

func (*MockFSMockRecorder) ConvertToRelativePath

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

Readlink indicates an expected call of Readlink

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

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

Walk indicates an expected call of Walk

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

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