Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDirEntry
- func (fake *FakeDirEntry) Info() (fs.FileInfo, error)
- func (fake *FakeDirEntry) InfoCallCount() int
- func (fake *FakeDirEntry) InfoCalls(stub func() (fs.FileInfo, error))
- func (fake *FakeDirEntry) InfoReturns(result1 fs.FileInfo, result2 error)
- func (fake *FakeDirEntry) InfoReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
- func (fake *FakeDirEntry) Invocations() map[string][][]interface{}
- func (fake *FakeDirEntry) IsDir() bool
- func (fake *FakeDirEntry) IsDirCallCount() int
- func (fake *FakeDirEntry) IsDirCalls(stub func() bool)
- func (fake *FakeDirEntry) IsDirReturns(result1 bool)
- func (fake *FakeDirEntry) IsDirReturnsOnCall(i int, result1 bool)
- func (fake *FakeDirEntry) Name() string
- func (fake *FakeDirEntry) NameCallCount() int
- func (fake *FakeDirEntry) NameCalls(stub func() string)
- func (fake *FakeDirEntry) NameReturns(result1 string)
- func (fake *FakeDirEntry) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeDirEntry) Type() fs.FileMode
- func (fake *FakeDirEntry) TypeCallCount() int
- func (fake *FakeDirEntry) TypeCalls(stub func() fs.FileMode)
- func (fake *FakeDirEntry) TypeReturns(result1 fs.FileMode)
- func (fake *FakeDirEntry) TypeReturnsOnCall(i int, result1 fs.FileMode)
- type FakeFile
- func (fake *FakeFile) Chdir() error
- func (fake *FakeFile) ChdirCallCount() int
- func (fake *FakeFile) ChdirCalls(stub func() error)
- func (fake *FakeFile) ChdirReturns(result1 error)
- func (fake *FakeFile) ChdirReturnsOnCall(i int, result1 error)
- func (fake *FakeFile) Close() error
- func (fake *FakeFile) CloseCallCount() int
- func (fake *FakeFile) CloseCalls(stub func() error)
- func (fake *FakeFile) CloseReturns(result1 error)
- func (fake *FakeFile) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeFile) Fd() uintptr
- func (fake *FakeFile) FdCallCount() int
- func (fake *FakeFile) FdCalls(stub func() uintptr)
- func (fake *FakeFile) FdReturns(result1 uintptr)
- func (fake *FakeFile) FdReturnsOnCall(i int, result1 uintptr)
- func (fake *FakeFile) Invocations() map[string][][]interface{}
- func (fake *FakeFile) Name() string
- func (fake *FakeFile) NameCallCount() int
- func (fake *FakeFile) NameCalls(stub func() string)
- func (fake *FakeFile) NameReturns(result1 string)
- func (fake *FakeFile) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeFile) Read(arg1 []byte) (int, error)
- func (fake *FakeFile) ReadArgsForCall(i int) []byte
- func (fake *FakeFile) ReadAt(arg1 []byte, arg2 int64) (int, error)
- func (fake *FakeFile) ReadAtArgsForCall(i int) ([]byte, int64)
- func (fake *FakeFile) ReadAtCallCount() int
- func (fake *FakeFile) ReadAtCalls(stub func([]byte, int64) (int, error))
- func (fake *FakeFile) ReadAtReturns(result1 int, result2 error)
- func (fake *FakeFile) ReadAtReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeFile) ReadCallCount() int
- func (fake *FakeFile) ReadCalls(stub func([]byte) (int, error))
- func (fake *FakeFile) ReadReturns(result1 int, result2 error)
- func (fake *FakeFile) ReadReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeFile) Seek(arg1 int64, arg2 int) (int64, error)
- func (fake *FakeFile) SeekArgsForCall(i int) (int64, int)
- func (fake *FakeFile) SeekCallCount() int
- func (fake *FakeFile) SeekCalls(stub func(int64, int) (int64, error))
- func (fake *FakeFile) SeekReturns(result1 int64, result2 error)
- func (fake *FakeFile) SeekReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeFile) Stat() (fs.FileInfo, error)
- func (fake *FakeFile) StatCallCount() int
- func (fake *FakeFile) StatCalls(stub func() (fs.FileInfo, error))
- func (fake *FakeFile) StatReturns(result1 fs.FileInfo, result2 error)
- func (fake *FakeFile) StatReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
- func (fake *FakeFile) Write(arg1 []byte) (int, error)
- func (fake *FakeFile) WriteArgsForCall(i int) []byte
- func (fake *FakeFile) WriteAt(arg1 []byte, arg2 int64) (int, error)
- func (fake *FakeFile) WriteAtArgsForCall(i int) ([]byte, int64)
- func (fake *FakeFile) WriteAtCallCount() int
- func (fake *FakeFile) WriteAtCalls(stub func([]byte, int64) (int, error))
- func (fake *FakeFile) WriteAtReturns(result1 int, result2 error)
- func (fake *FakeFile) WriteAtReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeFile) WriteCallCount() int
- func (fake *FakeFile) WriteCalls(stub func([]byte) (int, error))
- func (fake *FakeFile) WriteReturns(result1 int, result2 error)
- func (fake *FakeFile) WriteReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeFile) WriteString(arg1 string) (int, error)
- func (fake *FakeFile) WriteStringArgsForCall(i int) string
- func (fake *FakeFile) WriteStringCallCount() int
- func (fake *FakeFile) WriteStringCalls(stub func(string) (int, error))
- func (fake *FakeFile) WriteStringReturns(result1 int, result2 error)
- func (fake *FakeFile) WriteStringReturnsOnCall(i int, result1 int, result2 error)
- type FakeOs
- func (fake *FakeOs) Chdir(arg1 string) error
- func (fake *FakeOs) ChdirArgsForCall(i int) string
- func (fake *FakeOs) ChdirCallCount() int
- func (fake *FakeOs) ChdirCalls(stub func(string) error)
- func (fake *FakeOs) ChdirReturns(result1 error)
- func (fake *FakeOs) ChdirReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Chmod(arg1 string, arg2 fs.FileMode) error
- func (fake *FakeOs) ChmodArgsForCall(i int) (string, fs.FileMode)
- func (fake *FakeOs) ChmodCallCount() int
- func (fake *FakeOs) ChmodCalls(stub func(string, fs.FileMode) error)
- func (fake *FakeOs) ChmodReturns(result1 error)
- func (fake *FakeOs) ChmodReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Chown(arg1 string, arg2 int, arg3 int) error
- func (fake *FakeOs) ChownArgsForCall(i int) (string, int, int)
- func (fake *FakeOs) ChownCallCount() int
- func (fake *FakeOs) ChownCalls(stub func(string, int, int) error)
- func (fake *FakeOs) ChownReturns(result1 error)
- func (fake *FakeOs) ChownReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Chtimes(arg1 string, arg2 time.Time, arg3 time.Time) error
- func (fake *FakeOs) ChtimesArgsForCall(i int) (string, time.Time, time.Time)
- func (fake *FakeOs) ChtimesCallCount() int
- func (fake *FakeOs) ChtimesCalls(stub func(string, time.Time, time.Time) error)
- func (fake *FakeOs) ChtimesReturns(result1 error)
- func (fake *FakeOs) ChtimesReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Clearenv()
- func (fake *FakeOs) ClearenvCallCount() int
- func (fake *FakeOs) ClearenvCalls(stub func())
- func (fake *FakeOs) Create(arg1 string) (osshim.File, error)
- func (fake *FakeOs) CreateArgsForCall(i int) string
- func (fake *FakeOs) CreateCallCount() int
- func (fake *FakeOs) CreateCalls(stub func(string) (osshim.File, error))
- func (fake *FakeOs) CreateReturns(result1 osshim.File, result2 error)
- func (fake *FakeOs) CreateReturnsOnCall(i int, result1 osshim.File, result2 error)
- func (fake *FakeOs) Environ() []string
- func (fake *FakeOs) EnvironCallCount() int
- func (fake *FakeOs) EnvironCalls(stub func() []string)
- func (fake *FakeOs) EnvironReturns(result1 []string)
- func (fake *FakeOs) EnvironReturnsOnCall(i int, result1 []string)
- func (fake *FakeOs) Exit(arg1 int)
- func (fake *FakeOs) ExitArgsForCall(i int) int
- func (fake *FakeOs) ExitCallCount() int
- func (fake *FakeOs) ExitCalls(stub func(int))
- func (fake *FakeOs) Expand(arg1 string, arg2 func(string) string) string
- func (fake *FakeOs) ExpandArgsForCall(i int) (string, func(string) string)
- func (fake *FakeOs) ExpandCallCount() int
- func (fake *FakeOs) ExpandCalls(stub func(string, func(string) string) string)
- func (fake *FakeOs) ExpandEnv(arg1 string) string
- func (fake *FakeOs) ExpandEnvArgsForCall(i int) string
- func (fake *FakeOs) ExpandEnvCallCount() int
- func (fake *FakeOs) ExpandEnvCalls(stub func(string) string)
- func (fake *FakeOs) ExpandEnvReturns(result1 string)
- func (fake *FakeOs) ExpandEnvReturnsOnCall(i int, result1 string)
- func (fake *FakeOs) ExpandReturns(result1 string)
- func (fake *FakeOs) ExpandReturnsOnCall(i int, result1 string)
- func (fake *FakeOs) FindProcess(arg1 int) (*os.Process, error)
- func (fake *FakeOs) FindProcessArgsForCall(i int) int
- func (fake *FakeOs) FindProcessCallCount() int
- func (fake *FakeOs) FindProcessCalls(stub func(int) (*os.Process, error))
- func (fake *FakeOs) FindProcessReturns(result1 *os.Process, result2 error)
- func (fake *FakeOs) FindProcessReturnsOnCall(i int, result1 *os.Process, result2 error)
- func (fake *FakeOs) Getegid() int
- func (fake *FakeOs) GetegidCallCount() int
- func (fake *FakeOs) GetegidCalls(stub func() int)
- func (fake *FakeOs) GetegidReturns(result1 int)
- func (fake *FakeOs) GetegidReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getenv(arg1 string) string
- func (fake *FakeOs) GetenvArgsForCall(i int) string
- func (fake *FakeOs) GetenvCallCount() int
- func (fake *FakeOs) GetenvCalls(stub func(string) string)
- func (fake *FakeOs) GetenvReturns(result1 string)
- func (fake *FakeOs) GetenvReturnsOnCall(i int, result1 string)
- func (fake *FakeOs) Geteuid() int
- func (fake *FakeOs) GeteuidCallCount() int
- func (fake *FakeOs) GeteuidCalls(stub func() int)
- func (fake *FakeOs) GeteuidReturns(result1 int)
- func (fake *FakeOs) GeteuidReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getgid() int
- func (fake *FakeOs) GetgidCallCount() int
- func (fake *FakeOs) GetgidCalls(stub func() int)
- func (fake *FakeOs) GetgidReturns(result1 int)
- func (fake *FakeOs) GetgidReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getgroups() ([]int, error)
- func (fake *FakeOs) GetgroupsCallCount() int
- func (fake *FakeOs) GetgroupsCalls(stub func() ([]int, error))
- func (fake *FakeOs) GetgroupsReturns(result1 []int, result2 error)
- func (fake *FakeOs) GetgroupsReturnsOnCall(i int, result1 []int, result2 error)
- func (fake *FakeOs) Getpagesize() int
- func (fake *FakeOs) GetpagesizeCallCount() int
- func (fake *FakeOs) GetpagesizeCalls(stub func() int)
- func (fake *FakeOs) GetpagesizeReturns(result1 int)
- func (fake *FakeOs) GetpagesizeReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getpid() int
- func (fake *FakeOs) GetpidCallCount() int
- func (fake *FakeOs) GetpidCalls(stub func() int)
- func (fake *FakeOs) GetpidReturns(result1 int)
- func (fake *FakeOs) GetpidReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getppid() int
- func (fake *FakeOs) GetppidCallCount() int
- func (fake *FakeOs) GetppidCalls(stub func() int)
- func (fake *FakeOs) GetppidReturns(result1 int)
- func (fake *FakeOs) GetppidReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getuid() int
- func (fake *FakeOs) GetuidCallCount() int
- func (fake *FakeOs) GetuidCalls(stub func() int)
- func (fake *FakeOs) GetuidReturns(result1 int)
- func (fake *FakeOs) GetuidReturnsOnCall(i int, result1 int)
- func (fake *FakeOs) Getwd() (string, error)
- func (fake *FakeOs) GetwdCallCount() int
- func (fake *FakeOs) GetwdCalls(stub func() (string, error))
- func (fake *FakeOs) GetwdReturns(result1 string, result2 error)
- func (fake *FakeOs) GetwdReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOs) Hostname() (string, error)
- func (fake *FakeOs) HostnameCallCount() int
- func (fake *FakeOs) HostnameCalls(stub func() (string, error))
- func (fake *FakeOs) HostnameReturns(result1 string, result2 error)
- func (fake *FakeOs) HostnameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOs) Invocations() map[string][][]interface{}
- func (fake *FakeOs) IsExist(arg1 error) bool
- func (fake *FakeOs) IsExistArgsForCall(i int) error
- func (fake *FakeOs) IsExistCallCount() int
- func (fake *FakeOs) IsExistCalls(stub func(error) bool)
- func (fake *FakeOs) IsExistReturns(result1 bool)
- func (fake *FakeOs) IsExistReturnsOnCall(i int, result1 bool)
- func (fake *FakeOs) IsNotExist(arg1 error) bool
- func (fake *FakeOs) IsNotExistArgsForCall(i int) error
- func (fake *FakeOs) IsNotExistCallCount() int
- func (fake *FakeOs) IsNotExistCalls(stub func(error) bool)
- func (fake *FakeOs) IsNotExistReturns(result1 bool)
- func (fake *FakeOs) IsNotExistReturnsOnCall(i int, result1 bool)
- func (fake *FakeOs) IsPathSeparator(arg1 uint8) bool
- func (fake *FakeOs) IsPathSeparatorArgsForCall(i int) uint8
- func (fake *FakeOs) IsPathSeparatorCallCount() int
- func (fake *FakeOs) IsPathSeparatorCalls(stub func(uint8) bool)
- func (fake *FakeOs) IsPathSeparatorReturns(result1 bool)
- func (fake *FakeOs) IsPathSeparatorReturnsOnCall(i int, result1 bool)
- func (fake *FakeOs) IsPermission(arg1 error) bool
- func (fake *FakeOs) IsPermissionArgsForCall(i int) error
- func (fake *FakeOs) IsPermissionCallCount() int
- func (fake *FakeOs) IsPermissionCalls(stub func(error) bool)
- func (fake *FakeOs) IsPermissionReturns(result1 bool)
- func (fake *FakeOs) IsPermissionReturnsOnCall(i int, result1 bool)
- func (fake *FakeOs) Lchown(arg1 string, arg2 int, arg3 int) error
- func (fake *FakeOs) LchownArgsForCall(i int) (string, int, int)
- func (fake *FakeOs) LchownCallCount() int
- func (fake *FakeOs) LchownCalls(stub func(string, int, int) error)
- func (fake *FakeOs) LchownReturns(result1 error)
- func (fake *FakeOs) LchownReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Link(arg1 string, arg2 string) error
- func (fake *FakeOs) LinkArgsForCall(i int) (string, string)
- func (fake *FakeOs) LinkCallCount() int
- func (fake *FakeOs) LinkCalls(stub func(string, string) error)
- func (fake *FakeOs) LinkReturns(result1 error)
- func (fake *FakeOs) LinkReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) LookupEnv(arg1 string) (string, bool)
- func (fake *FakeOs) LookupEnvArgsForCall(i int) string
- func (fake *FakeOs) LookupEnvCallCount() int
- func (fake *FakeOs) LookupEnvCalls(stub func(string) (string, bool))
- func (fake *FakeOs) LookupEnvReturns(result1 string, result2 bool)
- func (fake *FakeOs) LookupEnvReturnsOnCall(i int, result1 string, result2 bool)
- func (fake *FakeOs) Lstat(arg1 string) (fs.FileInfo, error)
- func (fake *FakeOs) LstatArgsForCall(i int) string
- func (fake *FakeOs) LstatCallCount() int
- func (fake *FakeOs) LstatCalls(stub func(string) (fs.FileInfo, error))
- func (fake *FakeOs) LstatReturns(result1 fs.FileInfo, result2 error)
- func (fake *FakeOs) LstatReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
- func (fake *FakeOs) Mkdir(arg1 string, arg2 fs.FileMode) error
- func (fake *FakeOs) MkdirAll(arg1 string, arg2 fs.FileMode) error
- func (fake *FakeOs) MkdirAllArgsForCall(i int) (string, fs.FileMode)
- func (fake *FakeOs) MkdirAllCallCount() int
- func (fake *FakeOs) MkdirAllCalls(stub func(string, fs.FileMode) error)
- func (fake *FakeOs) MkdirAllReturns(result1 error)
- func (fake *FakeOs) MkdirAllReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) MkdirArgsForCall(i int) (string, fs.FileMode)
- func (fake *FakeOs) MkdirCallCount() int
- func (fake *FakeOs) MkdirCalls(stub func(string, fs.FileMode) error)
- func (fake *FakeOs) MkdirReturns(result1 error)
- func (fake *FakeOs) MkdirReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) NewFile(arg1 uintptr, arg2 string) osshim.File
- func (fake *FakeOs) NewFileArgsForCall(i int) (uintptr, string)
- func (fake *FakeOs) NewFileCallCount() int
- func (fake *FakeOs) NewFileCalls(stub func(uintptr, string) osshim.File)
- func (fake *FakeOs) NewFileReturns(result1 osshim.File)
- func (fake *FakeOs) NewFileReturnsOnCall(i int, result1 osshim.File)
- func (fake *FakeOs) NewSyscallError(arg1 string, arg2 error) error
- func (fake *FakeOs) NewSyscallErrorArgsForCall(i int) (string, error)
- func (fake *FakeOs) NewSyscallErrorCallCount() int
- func (fake *FakeOs) NewSyscallErrorCalls(stub func(string, error) error)
- func (fake *FakeOs) NewSyscallErrorReturns(result1 error)
- func (fake *FakeOs) NewSyscallErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Open(arg1 string) (osshim.File, error)
- func (fake *FakeOs) OpenArgsForCall(i int) string
- func (fake *FakeOs) OpenCallCount() int
- func (fake *FakeOs) OpenCalls(stub func(string) (osshim.File, error))
- func (fake *FakeOs) OpenFile(arg1 string, arg2 int, arg3 fs.FileMode) (osshim.File, error)
- func (fake *FakeOs) OpenFileArgsForCall(i int) (string, int, fs.FileMode)
- func (fake *FakeOs) OpenFileCallCount() int
- func (fake *FakeOs) OpenFileCalls(stub func(string, int, fs.FileMode) (osshim.File, error))
- func (fake *FakeOs) OpenFileReturns(result1 osshim.File, result2 error)
- func (fake *FakeOs) OpenFileReturnsOnCall(i int, result1 osshim.File, result2 error)
- func (fake *FakeOs) OpenReturns(result1 osshim.File, result2 error)
- func (fake *FakeOs) OpenReturnsOnCall(i int, result1 osshim.File, result2 error)
- func (fake *FakeOs) Pipe() (osshim.File, osshim.File, error)
- func (fake *FakeOs) PipeCallCount() int
- func (fake *FakeOs) PipeCalls(stub func() (osshim.File, osshim.File, error))
- func (fake *FakeOs) PipeReturns(result1 osshim.File, result2 osshim.File, result3 error)
- func (fake *FakeOs) PipeReturnsOnCall(i int, result1 osshim.File, result2 osshim.File, result3 error)
- func (fake *FakeOs) ReadDir(arg1 string) ([]fs.DirEntry, error)
- func (fake *FakeOs) ReadDirArgsForCall(i int) string
- func (fake *FakeOs) ReadDirCallCount() int
- func (fake *FakeOs) ReadDirCalls(stub func(string) ([]fs.DirEntry, error))
- func (fake *FakeOs) ReadDirReturns(result1 []fs.DirEntry, result2 error)
- func (fake *FakeOs) ReadDirReturnsOnCall(i int, result1 []fs.DirEntry, result2 error)
- func (fake *FakeOs) ReadFile(arg1 string) ([]byte, error)
- func (fake *FakeOs) ReadFileArgsForCall(i int) string
- func (fake *FakeOs) ReadFileCallCount() int
- func (fake *FakeOs) ReadFileCalls(stub func(string) ([]byte, error))
- func (fake *FakeOs) ReadFileReturns(result1 []byte, result2 error)
- func (fake *FakeOs) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeOs) Readlink(arg1 string) (string, error)
- func (fake *FakeOs) ReadlinkArgsForCall(i int) string
- func (fake *FakeOs) ReadlinkCallCount() int
- func (fake *FakeOs) ReadlinkCalls(stub func(string) (string, error))
- func (fake *FakeOs) ReadlinkReturns(result1 string, result2 error)
- func (fake *FakeOs) ReadlinkReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOs) Remove(arg1 string) error
- func (fake *FakeOs) RemoveAll(arg1 string) error
- func (fake *FakeOs) RemoveAllArgsForCall(i int) string
- func (fake *FakeOs) RemoveAllCallCount() int
- func (fake *FakeOs) RemoveAllCalls(stub func(string) error)
- func (fake *FakeOs) RemoveAllReturns(result1 error)
- func (fake *FakeOs) RemoveAllReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) RemoveArgsForCall(i int) string
- func (fake *FakeOs) RemoveCallCount() int
- func (fake *FakeOs) RemoveCalls(stub func(string) error)
- func (fake *FakeOs) RemoveReturns(result1 error)
- func (fake *FakeOs) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Rename(arg1 string, arg2 string) error
- func (fake *FakeOs) RenameArgsForCall(i int) (string, string)
- func (fake *FakeOs) RenameCallCount() int
- func (fake *FakeOs) RenameCalls(stub func(string, string) error)
- func (fake *FakeOs) RenameReturns(result1 error)
- func (fake *FakeOs) RenameReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) SameFile(arg1 fs.FileInfo, arg2 fs.FileInfo) bool
- func (fake *FakeOs) SameFileArgsForCall(i int) (fs.FileInfo, fs.FileInfo)
- func (fake *FakeOs) SameFileCallCount() int
- func (fake *FakeOs) SameFileCalls(stub func(fs.FileInfo, fs.FileInfo) bool)
- func (fake *FakeOs) SameFileReturns(result1 bool)
- func (fake *FakeOs) SameFileReturnsOnCall(i int, result1 bool)
- func (fake *FakeOs) Setenv(arg1 string, arg2 string) error
- func (fake *FakeOs) SetenvArgsForCall(i int) (string, string)
- func (fake *FakeOs) SetenvCallCount() int
- func (fake *FakeOs) SetenvCalls(stub func(string, string) error)
- func (fake *FakeOs) SetenvReturns(result1 error)
- func (fake *FakeOs) SetenvReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) StartProcess(arg1 string, arg2 []string, arg3 *os.ProcAttr) (*os.Process, error)
- func (fake *FakeOs) StartProcessArgsForCall(i int) (string, []string, *os.ProcAttr)
- func (fake *FakeOs) StartProcessCallCount() int
- func (fake *FakeOs) StartProcessCalls(stub func(string, []string, *os.ProcAttr) (*os.Process, error))
- func (fake *FakeOs) StartProcessReturns(result1 *os.Process, result2 error)
- func (fake *FakeOs) StartProcessReturnsOnCall(i int, result1 *os.Process, result2 error)
- func (fake *FakeOs) Stat(arg1 string) (fs.FileInfo, error)
- func (fake *FakeOs) StatArgsForCall(i int) string
- func (fake *FakeOs) StatCallCount() int
- func (fake *FakeOs) StatCalls(stub func(string) (fs.FileInfo, error))
- func (fake *FakeOs) StatReturns(result1 fs.FileInfo, result2 error)
- func (fake *FakeOs) StatReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
- func (fake *FakeOs) Symlink(arg1 string, arg2 string) error
- func (fake *FakeOs) SymlinkArgsForCall(i int) (string, string)
- func (fake *FakeOs) SymlinkCallCount() int
- func (fake *FakeOs) SymlinkCalls(stub func(string, string) error)
- func (fake *FakeOs) SymlinkReturns(result1 error)
- func (fake *FakeOs) SymlinkReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) TempDir() string
- func (fake *FakeOs) TempDirCallCount() int
- func (fake *FakeOs) TempDirCalls(stub func() string)
- func (fake *FakeOs) TempDirReturns(result1 string)
- func (fake *FakeOs) TempDirReturnsOnCall(i int, result1 string)
- func (fake *FakeOs) Truncate(arg1 string, arg2 int64) error
- func (fake *FakeOs) TruncateArgsForCall(i int) (string, int64)
- func (fake *FakeOs) TruncateCallCount() int
- func (fake *FakeOs) TruncateCalls(stub func(string, int64) error)
- func (fake *FakeOs) TruncateReturns(result1 error)
- func (fake *FakeOs) TruncateReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) Unsetenv(arg1 string) error
- func (fake *FakeOs) UnsetenvArgsForCall(i int) string
- func (fake *FakeOs) UnsetenvCallCount() int
- func (fake *FakeOs) UnsetenvCalls(stub func(string) error)
- func (fake *FakeOs) UnsetenvReturns(result1 error)
- func (fake *FakeOs) UnsetenvReturnsOnCall(i int, result1 error)
- func (fake *FakeOs) WriteFile(arg1 string, arg2 []byte, arg3 fs.FileMode) error
- func (fake *FakeOs) WriteFileArgsForCall(i int) (string, []byte, fs.FileMode)
- func (fake *FakeOs) WriteFileCallCount() int
- func (fake *FakeOs) WriteFileCalls(stub func(string, []byte, fs.FileMode) error)
- func (fake *FakeOs) WriteFileReturns(result1 error)
- func (fake *FakeOs) WriteFileReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDirEntry ¶ added in v0.43.0
type FakeDirEntry struct {
InfoStub func() (fs.FileInfo, error)
IsDirStub func() bool
NameStub func() string
TypeStub func() fs.FileMode
// contains filtered or unexported fields
}
func (*FakeDirEntry) InfoCallCount ¶ added in v0.43.0
func (fake *FakeDirEntry) InfoCallCount() int
func (*FakeDirEntry) InfoCalls ¶ added in v0.43.0
func (fake *FakeDirEntry) InfoCalls(stub func() (fs.FileInfo, error))
func (*FakeDirEntry) InfoReturns ¶ added in v0.43.0
func (fake *FakeDirEntry) InfoReturns(result1 fs.FileInfo, result2 error)
func (*FakeDirEntry) InfoReturnsOnCall ¶ added in v0.43.0
func (fake *FakeDirEntry) InfoReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
func (*FakeDirEntry) Invocations ¶ added in v0.43.0
func (fake *FakeDirEntry) Invocations() map[string][][]interface{}
func (*FakeDirEntry) IsDir ¶ added in v0.43.0
func (fake *FakeDirEntry) IsDir() bool
func (*FakeDirEntry) IsDirCallCount ¶ added in v0.43.0
func (fake *FakeDirEntry) IsDirCallCount() int
func (*FakeDirEntry) IsDirCalls ¶ added in v0.43.0
func (fake *FakeDirEntry) IsDirCalls(stub func() bool)
func (*FakeDirEntry) IsDirReturns ¶ added in v0.43.0
func (fake *FakeDirEntry) IsDirReturns(result1 bool)
func (*FakeDirEntry) IsDirReturnsOnCall ¶ added in v0.43.0
func (fake *FakeDirEntry) IsDirReturnsOnCall(i int, result1 bool)
func (*FakeDirEntry) Name ¶ added in v0.43.0
func (fake *FakeDirEntry) Name() string
func (*FakeDirEntry) NameCallCount ¶ added in v0.43.0
func (fake *FakeDirEntry) NameCallCount() int
func (*FakeDirEntry) NameCalls ¶ added in v0.43.0
func (fake *FakeDirEntry) NameCalls(stub func() string)
func (*FakeDirEntry) NameReturns ¶ added in v0.43.0
func (fake *FakeDirEntry) NameReturns(result1 string)
func (*FakeDirEntry) NameReturnsOnCall ¶ added in v0.43.0
func (fake *FakeDirEntry) NameReturnsOnCall(i int, result1 string)
func (*FakeDirEntry) Type ¶ added in v0.43.0
func (fake *FakeDirEntry) Type() fs.FileMode
func (*FakeDirEntry) TypeCallCount ¶ added in v0.43.0
func (fake *FakeDirEntry) TypeCallCount() int
func (*FakeDirEntry) TypeCalls ¶ added in v0.43.0
func (fake *FakeDirEntry) TypeCalls(stub func() fs.FileMode)
func (*FakeDirEntry) TypeReturns ¶ added in v0.43.0
func (fake *FakeDirEntry) TypeReturns(result1 fs.FileMode)
func (*FakeDirEntry) TypeReturnsOnCall ¶ added in v0.43.0
func (fake *FakeDirEntry) TypeReturnsOnCall(i int, result1 fs.FileMode)
type FakeFile ¶
type FakeFile struct {
ChdirStub func() error
CloseStub func() error
FdStub func() uintptr
NameStub func() string
ReadStub func([]byte) (int, error)
ReadAtStub func([]byte, int64) (int, error)
SeekStub func(int64, int) (int64, error)
StatStub func() (fs.FileInfo, error)
WriteStub func([]byte) (int, error)
WriteAtStub func([]byte, int64) (int, error)
WriteStringStub func(string) (int, error)
// contains filtered or unexported fields
}
func (*FakeFile) ChdirCallCount ¶
func (*FakeFile) ChdirCalls ¶
func (*FakeFile) ChdirReturns ¶
func (*FakeFile) ChdirReturnsOnCall ¶
func (*FakeFile) CloseCallCount ¶
func (*FakeFile) CloseCalls ¶
func (*FakeFile) CloseReturns ¶
func (*FakeFile) CloseReturnsOnCall ¶
func (*FakeFile) FdCallCount ¶
func (*FakeFile) FdReturnsOnCall ¶
func (*FakeFile) Invocations ¶
func (*FakeFile) NameCallCount ¶
func (*FakeFile) NameReturns ¶
func (*FakeFile) NameReturnsOnCall ¶
func (*FakeFile) ReadArgsForCall ¶
func (*FakeFile) ReadAtCallCount ¶
func (*FakeFile) ReadAtCalls ¶
func (*FakeFile) ReadAtReturns ¶
func (*FakeFile) ReadAtReturnsOnCall ¶
func (*FakeFile) ReadCallCount ¶
func (*FakeFile) ReadReturns ¶
func (*FakeFile) ReadReturnsOnCall ¶
func (*FakeFile) SeekCallCount ¶
func (*FakeFile) SeekReturns ¶
func (*FakeFile) SeekReturnsOnCall ¶
func (*FakeFile) StatCallCount ¶
func (*FakeFile) StatReturns ¶
func (*FakeFile) StatReturnsOnCall ¶
func (*FakeFile) WriteArgsForCall ¶
func (*FakeFile) WriteAtArgsForCall ¶
func (*FakeFile) WriteAtCallCount ¶
func (*FakeFile) WriteAtCalls ¶
func (*FakeFile) WriteAtReturns ¶
func (*FakeFile) WriteAtReturnsOnCall ¶
func (*FakeFile) WriteCallCount ¶
func (*FakeFile) WriteReturns ¶
func (*FakeFile) WriteReturnsOnCall ¶
func (*FakeFile) WriteStringArgsForCall ¶
func (*FakeFile) WriteStringCallCount ¶
func (*FakeFile) WriteStringCalls ¶
func (*FakeFile) WriteStringReturns ¶
type FakeOs ¶
type FakeOs struct {
ChdirStub func(string) error
ChmodStub func(string, fs.FileMode) error
ChownStub func(string, int, int) error
ChtimesStub func(string, time.Time, time.Time) error
ClearenvStub func()
CreateStub func(string) (osshim.File, error)
EnvironStub func() []string
ExitStub func(int)
ExpandStub func(string, func(string) string) string
ExpandEnvStub func(string) string
FindProcessStub func(int) (*os.Process, error)
GetegidStub func() int
GetenvStub func(string) string
GeteuidStub func() int
GetgidStub func() int
GetgroupsStub func() ([]int, error)
GetpagesizeStub func() int
GetpidStub func() int
GetppidStub func() int
GetuidStub func() int
GetwdStub func() (string, error)
HostnameStub func() (string, error)
IsExistStub func(error) bool
IsNotExistStub func(error) bool
IsPathSeparatorStub func(uint8) bool
IsPermissionStub func(error) bool
LchownStub func(string, int, int) error
LinkStub func(string, string) error
LookupEnvStub func(string) (string, bool)
LstatStub func(string) (fs.FileInfo, error)
MkdirStub func(string, fs.FileMode) error
MkdirAllStub func(string, fs.FileMode) error
NewFileStub func(uintptr, string) osshim.File
NewSyscallErrorStub func(string, error) error
OpenStub func(string) (osshim.File, error)
OpenFileStub func(string, int, fs.FileMode) (osshim.File, error)
PipeStub func() (osshim.File, osshim.File, error)
ReadDirStub func(string) ([]fs.DirEntry, error)
ReadFileStub func(string) ([]byte, error)
ReadlinkStub func(string) (string, error)
RemoveStub func(string) error
RemoveAllStub func(string) error
RenameStub func(string, string) error
SameFileStub func(fs.FileInfo, fs.FileInfo) bool
SetenvStub func(string, string) error
StartProcessStub func(string, []string, *os.ProcAttr) (*os.Process, error)
StatStub func(string) (fs.FileInfo, error)
SymlinkStub func(string, string) error
TempDirStub func() string
TruncateStub func(string, int64) error
UnsetenvStub func(string) error
WriteFileStub func(string, []byte, fs.FileMode) error
// contains filtered or unexported fields
}
func (*FakeOs) ChdirArgsForCall ¶
func (*FakeOs) ChdirCallCount ¶
func (*FakeOs) ChdirCalls ¶
func (*FakeOs) ChdirReturns ¶
func (*FakeOs) ChdirReturnsOnCall ¶
func (*FakeOs) ChmodCallCount ¶
func (*FakeOs) ChmodReturns ¶
func (*FakeOs) ChmodReturnsOnCall ¶
func (*FakeOs) ChownCallCount ¶
func (*FakeOs) ChownReturns ¶
func (*FakeOs) ChownReturnsOnCall ¶
func (*FakeOs) ChtimesArgsForCall ¶
func (*FakeOs) ChtimesCallCount ¶
func (*FakeOs) ChtimesCalls ¶
func (*FakeOs) ChtimesReturns ¶
func (*FakeOs) ChtimesReturnsOnCall ¶
func (*FakeOs) ClearenvCallCount ¶
func (*FakeOs) ClearenvCalls ¶
func (fake *FakeOs) ClearenvCalls(stub func())
func (*FakeOs) CreateArgsForCall ¶
func (*FakeOs) CreateCallCount ¶
func (*FakeOs) CreateCalls ¶
func (*FakeOs) CreateReturns ¶
func (*FakeOs) CreateReturnsOnCall ¶
func (*FakeOs) EnvironCallCount ¶
func (*FakeOs) EnvironCalls ¶
func (*FakeOs) EnvironReturns ¶
func (*FakeOs) EnvironReturnsOnCall ¶
func (*FakeOs) ExitArgsForCall ¶
func (*FakeOs) ExitCallCount ¶
func (*FakeOs) ExpandArgsForCall ¶
func (*FakeOs) ExpandCallCount ¶
func (*FakeOs) ExpandCalls ¶
func (*FakeOs) ExpandEnvArgsForCall ¶
func (*FakeOs) ExpandEnvCallCount ¶
func (*FakeOs) ExpandEnvCalls ¶
func (*FakeOs) ExpandEnvReturns ¶
func (*FakeOs) ExpandEnvReturnsOnCall ¶
func (*FakeOs) ExpandReturns ¶
func (*FakeOs) ExpandReturnsOnCall ¶
func (*FakeOs) FindProcessArgsForCall ¶
func (*FakeOs) FindProcessCallCount ¶
func (*FakeOs) FindProcessCalls ¶
func (*FakeOs) FindProcessReturns ¶
func (*FakeOs) FindProcessReturnsOnCall ¶
func (*FakeOs) GetegidCallCount ¶
func (*FakeOs) GetegidCalls ¶
func (*FakeOs) GetegidReturns ¶
func (*FakeOs) GetegidReturnsOnCall ¶
func (*FakeOs) GetenvArgsForCall ¶
func (*FakeOs) GetenvCallCount ¶
func (*FakeOs) GetenvCalls ¶
func (*FakeOs) GetenvReturns ¶
func (*FakeOs) GetenvReturnsOnCall ¶
func (*FakeOs) GeteuidCallCount ¶
func (*FakeOs) GeteuidCalls ¶
func (*FakeOs) GeteuidReturns ¶
func (*FakeOs) GeteuidReturnsOnCall ¶
func (*FakeOs) GetgidCallCount ¶
func (*FakeOs) GetgidCalls ¶
func (*FakeOs) GetgidReturns ¶
func (*FakeOs) GetgidReturnsOnCall ¶
func (*FakeOs) GetgroupsCallCount ¶
func (*FakeOs) GetgroupsCalls ¶
func (*FakeOs) GetgroupsReturns ¶
func (*FakeOs) GetgroupsReturnsOnCall ¶
func (*FakeOs) Getpagesize ¶
func (*FakeOs) GetpagesizeCallCount ¶
func (*FakeOs) GetpagesizeCalls ¶
func (*FakeOs) GetpagesizeReturns ¶
func (*FakeOs) GetpagesizeReturnsOnCall ¶
func (*FakeOs) GetpidCallCount ¶
func (*FakeOs) GetpidCalls ¶
func (*FakeOs) GetpidReturns ¶
func (*FakeOs) GetpidReturnsOnCall ¶
func (*FakeOs) GetppidCallCount ¶
func (*FakeOs) GetppidCalls ¶
func (*FakeOs) GetppidReturns ¶
func (*FakeOs) GetppidReturnsOnCall ¶
func (*FakeOs) GetuidCallCount ¶
func (*FakeOs) GetuidCalls ¶
func (*FakeOs) GetuidReturns ¶
func (*FakeOs) GetuidReturnsOnCall ¶
func (*FakeOs) GetwdCallCount ¶
func (*FakeOs) GetwdCalls ¶
func (*FakeOs) GetwdReturns ¶
func (*FakeOs) GetwdReturnsOnCall ¶
func (*FakeOs) HostnameCallCount ¶
func (*FakeOs) HostnameCalls ¶
func (*FakeOs) HostnameReturns ¶
func (*FakeOs) HostnameReturnsOnCall ¶
func (*FakeOs) Invocations ¶
func (*FakeOs) IsExistArgsForCall ¶
func (*FakeOs) IsExistCallCount ¶
func (*FakeOs) IsExistCalls ¶
func (*FakeOs) IsExistReturns ¶
func (*FakeOs) IsExistReturnsOnCall ¶
func (*FakeOs) IsNotExist ¶
func (*FakeOs) IsNotExistArgsForCall ¶
func (*FakeOs) IsNotExistCallCount ¶
func (*FakeOs) IsNotExistCalls ¶
func (*FakeOs) IsNotExistReturns ¶
func (*FakeOs) IsNotExistReturnsOnCall ¶
func (*FakeOs) IsPathSeparator ¶
func (*FakeOs) IsPathSeparatorArgsForCall ¶
func (*FakeOs) IsPathSeparatorCallCount ¶
func (*FakeOs) IsPathSeparatorCalls ¶
func (*FakeOs) IsPathSeparatorReturns ¶
func (*FakeOs) IsPathSeparatorReturnsOnCall ¶
func (*FakeOs) IsPermission ¶
func (*FakeOs) IsPermissionArgsForCall ¶
func (*FakeOs) IsPermissionCallCount ¶
func (*FakeOs) IsPermissionCalls ¶
func (*FakeOs) IsPermissionReturns ¶
func (*FakeOs) IsPermissionReturnsOnCall ¶
func (*FakeOs) LchownCallCount ¶
func (*FakeOs) LchownReturns ¶
func (*FakeOs) LchownReturnsOnCall ¶
func (*FakeOs) LinkCallCount ¶
func (*FakeOs) LinkReturns ¶
func (*FakeOs) LinkReturnsOnCall ¶
func (*FakeOs) LookupEnvArgsForCall ¶
func (*FakeOs) LookupEnvCallCount ¶
func (*FakeOs) LookupEnvCalls ¶
func (*FakeOs) LookupEnvReturns ¶
func (*FakeOs) LookupEnvReturnsOnCall ¶
func (*FakeOs) LstatArgsForCall ¶
func (*FakeOs) LstatCallCount ¶
func (*FakeOs) LstatReturnsOnCall ¶
func (*FakeOs) MkdirAllArgsForCall ¶
func (*FakeOs) MkdirAllCallCount ¶
func (*FakeOs) MkdirAllCalls ¶
func (*FakeOs) MkdirAllReturns ¶
func (*FakeOs) MkdirAllReturnsOnCall ¶
func (*FakeOs) MkdirCallCount ¶
func (*FakeOs) MkdirReturns ¶
func (*FakeOs) MkdirReturnsOnCall ¶
func (*FakeOs) NewFileCallCount ¶
func (*FakeOs) NewFileCalls ¶
func (*FakeOs) NewFileReturns ¶
func (*FakeOs) NewFileReturnsOnCall ¶
func (*FakeOs) NewSyscallErrorArgsForCall ¶
func (*FakeOs) NewSyscallErrorCallCount ¶
func (*FakeOs) NewSyscallErrorCalls ¶
func (*FakeOs) NewSyscallErrorReturns ¶
func (*FakeOs) NewSyscallErrorReturnsOnCall ¶
func (*FakeOs) OpenArgsForCall ¶
func (*FakeOs) OpenCallCount ¶
func (*FakeOs) OpenFileArgsForCall ¶
func (*FakeOs) OpenFileCallCount ¶
func (*FakeOs) OpenFileCalls ¶
func (*FakeOs) OpenFileReturns ¶
func (*FakeOs) OpenFileReturnsOnCall ¶
func (*FakeOs) OpenReturnsOnCall ¶
func (*FakeOs) PipeCallCount ¶
func (*FakeOs) PipeReturns ¶
func (*FakeOs) PipeReturnsOnCall ¶
func (*FakeOs) ReadDirArgsForCall ¶ added in v0.43.0
func (*FakeOs) ReadDirCallCount ¶ added in v0.43.0
func (*FakeOs) ReadDirCalls ¶ added in v0.43.0
func (*FakeOs) ReadDirReturns ¶ added in v0.43.0
func (*FakeOs) ReadDirReturnsOnCall ¶ added in v0.43.0
func (*FakeOs) ReadFileArgsForCall ¶ added in v0.43.0
func (*FakeOs) ReadFileCallCount ¶ added in v0.43.0
func (*FakeOs) ReadFileCalls ¶ added in v0.43.0
func (*FakeOs) ReadFileReturns ¶ added in v0.43.0
func (*FakeOs) ReadFileReturnsOnCall ¶ added in v0.43.0
func (*FakeOs) ReadlinkArgsForCall ¶
func (*FakeOs) ReadlinkCallCount ¶
func (*FakeOs) ReadlinkReturns ¶
func (*FakeOs) ReadlinkReturnsOnCall ¶
func (*FakeOs) RemoveAllArgsForCall ¶
func (*FakeOs) RemoveAllCallCount ¶
func (*FakeOs) RemoveAllCalls ¶
func (*FakeOs) RemoveAllReturns ¶
func (*FakeOs) RemoveAllReturnsOnCall ¶
func (*FakeOs) RemoveArgsForCall ¶
func (*FakeOs) RemoveCallCount ¶
func (*FakeOs) RemoveCalls ¶
func (*FakeOs) RemoveReturns ¶
func (*FakeOs) RemoveReturnsOnCall ¶
func (*FakeOs) RenameCallCount ¶
func (*FakeOs) RenameReturns ¶
func (*FakeOs) RenameReturnsOnCall ¶
func (*FakeOs) SameFileArgsForCall ¶
func (*FakeOs) SameFileCallCount ¶
func (*FakeOs) SameFileCalls ¶
func (*FakeOs) SameFileReturns ¶
func (*FakeOs) SameFileReturnsOnCall ¶
func (*FakeOs) SetenvCallCount ¶
func (*FakeOs) SetenvReturns ¶
func (*FakeOs) SetenvReturnsOnCall ¶
func (*FakeOs) StartProcess ¶
func (*FakeOs) StartProcessArgsForCall ¶
func (*FakeOs) StartProcessCallCount ¶
func (*FakeOs) StartProcessCalls ¶
func (*FakeOs) StartProcessReturns ¶
func (*FakeOs) StartProcessReturnsOnCall ¶
func (*FakeOs) StatArgsForCall ¶
func (*FakeOs) StatCallCount ¶
func (*FakeOs) StatReturnsOnCall ¶
func (*FakeOs) SymlinkCallCount ¶
func (*FakeOs) SymlinkReturns ¶
func (*FakeOs) SymlinkReturnsOnCall ¶
func (*FakeOs) TempDirCallCount ¶
func (*FakeOs) TempDirCalls ¶
func (*FakeOs) TempDirReturns ¶
func (*FakeOs) TempDirReturnsOnCall ¶
func (*FakeOs) TruncateCallCount ¶
func (*FakeOs) TruncateReturns ¶
func (*FakeOs) TruncateReturnsOnCall ¶
func (*FakeOs) UnsetenvArgsForCall ¶
func (*FakeOs) UnsetenvCallCount ¶
func (*FakeOs) UnsetenvCalls ¶
func (*FakeOs) UnsetenvReturns ¶
func (*FakeOs) UnsetenvReturnsOnCall ¶
func (*FakeOs) WriteFileArgsForCall ¶ added in v0.43.0
func (*FakeOs) WriteFileCallCount ¶ added in v0.43.0
func (*FakeOs) WriteFileCalls ¶ added in v0.43.0
func (*FakeOs) WriteFileReturns ¶ added in v0.43.0
func (*FakeOs) WriteFileReturnsOnCall ¶ added in v0.43.0
Click to show internal directories.
Click to hide internal directories.