Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- 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) (*os.File, error)
- func (fake *FakeOs) CreateArgsForCall(i int) string
- func (fake *FakeOs) CreateCallCount() int
- func (fake *FakeOs) CreateCalls(stub func(string) (*os.File, error))
- func (fake *FakeOs) CreateReturns(result1 *os.File, result2 error)
- func (fake *FakeOs) CreateReturnsOnCall(i int, result1 *os.File, result2 error)
- func (fake *FakeOs) CreateTemp(arg1 string, arg2 string) (*os.File, error)
- func (fake *FakeOs) CreateTempArgsForCall(i int) (string, string)
- func (fake *FakeOs) CreateTempCallCount() int
- func (fake *FakeOs) CreateTempCalls(stub func(string, string) (*os.File, error))
- func (fake *FakeOs) CreateTempReturns(result1 *os.File, result2 error)
- func (fake *FakeOs) CreateTempReturnsOnCall(i int, result1 *os.File, result2 error)
- func (fake *FakeOs) DirFS(arg1 string) fs.FS
- func (fake *FakeOs) DirFSArgsForCall(i int) string
- func (fake *FakeOs) DirFSCallCount() int
- func (fake *FakeOs) DirFSCalls(stub func(string) fs.FS)
- func (fake *FakeOs) DirFSReturns(result1 fs.FS)
- func (fake *FakeOs) DirFSReturnsOnCall(i int, result1 fs.FS)
- 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) Executable() (string, error)
- func (fake *FakeOs) ExecutableCallCount() int
- func (fake *FakeOs) ExecutableCalls(stub func() (string, error))
- func (fake *FakeOs) ExecutableReturns(result1 string, result2 error)
- func (fake *FakeOs) ExecutableReturnsOnCall(i int, result1 string, result2 error)
- 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) IsTimeout(arg1 error) bool
- func (fake *FakeOs) IsTimeoutArgsForCall(i int) error
- func (fake *FakeOs) IsTimeoutCallCount() int
- func (fake *FakeOs) IsTimeoutCalls(stub func(error) bool)
- func (fake *FakeOs) IsTimeoutReturns(result1 bool)
- func (fake *FakeOs) IsTimeoutReturnsOnCall(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) MkdirTemp(arg1 string, arg2 string) (string, error)
- func (fake *FakeOs) MkdirTempArgsForCall(i int) (string, string)
- func (fake *FakeOs) MkdirTempCallCount() int
- func (fake *FakeOs) MkdirTempCalls(stub func(string, string) (string, error))
- func (fake *FakeOs) MkdirTempReturns(result1 string, result2 error)
- func (fake *FakeOs) MkdirTempReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOs) NewFile(arg1 uintptr, arg2 string) *os.File
- func (fake *FakeOs) NewFileArgsForCall(i int) (uintptr, string)
- func (fake *FakeOs) NewFileCallCount() int
- func (fake *FakeOs) NewFileCalls(stub func(uintptr, string) *os.File)
- func (fake *FakeOs) NewFileReturns(result1 *os.File)
- func (fake *FakeOs) NewFileReturnsOnCall(i int, result1 *os.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) (*os.File, error)
- func (fake *FakeOs) OpenArgsForCall(i int) string
- func (fake *FakeOs) OpenCallCount() int
- func (fake *FakeOs) OpenCalls(stub func(string) (*os.File, error))
- func (fake *FakeOs) OpenFile(arg1 string, arg2 int, arg3 fs.FileMode) (*os.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) (*os.File, error))
- func (fake *FakeOs) OpenFileReturns(result1 *os.File, result2 error)
- func (fake *FakeOs) OpenFileReturnsOnCall(i int, result1 *os.File, result2 error)
- func (fake *FakeOs) OpenReturns(result1 *os.File, result2 error)
- func (fake *FakeOs) OpenReturnsOnCall(i int, result1 *os.File, result2 error)
- func (fake *FakeOs) Pipe() (*os.File, *os.File, error)
- func (fake *FakeOs) PipeCallCount() int
- func (fake *FakeOs) PipeCalls(stub func() (*os.File, *os.File, error))
- func (fake *FakeOs) PipeReturns(result1 *os.File, result2 *os.File, result3 error)
- func (fake *FakeOs) PipeReturnsOnCall(i int, result1 *os.File, result2 *os.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) UserCacheDir() (string, error)
- func (fake *FakeOs) UserCacheDirCallCount() int
- func (fake *FakeOs) UserCacheDirCalls(stub func() (string, error))
- func (fake *FakeOs) UserCacheDirReturns(result1 string, result2 error)
- func (fake *FakeOs) UserCacheDirReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOs) UserConfigDir() (string, error)
- func (fake *FakeOs) UserConfigDirCallCount() int
- func (fake *FakeOs) UserConfigDirCalls(stub func() (string, error))
- func (fake *FakeOs) UserConfigDirReturns(result1 string, result2 error)
- func (fake *FakeOs) UserConfigDirReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOs) UserHomeDir() (string, error)
- func (fake *FakeOs) UserHomeDirCallCount() int
- func (fake *FakeOs) UserHomeDirCalls(stub func() (string, error))
- func (fake *FakeOs) UserHomeDirReturns(result1 string, result2 error)
- func (fake *FakeOs) UserHomeDirReturnsOnCall(i int, result1 string, result2 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 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) (*os.File, error)
CreateTempStub func(string, string) (*os.File, error)
DirFSStub func(string) fs.FS
EnvironStub func() []string
ExecutableStub func() (string, error)
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
IsTimeoutStub 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
MkdirTempStub func(string, string) (string, error)
NewFileStub func(uintptr, string) *os.File
NewSyscallErrorStub func(string, error) error
OpenStub func(string) (*os.File, error)
OpenFileStub func(string, int, fs.FileMode) (*os.File, error)
PipeStub func() (*os.File, *os.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
UserCacheDirStub func() (string, error)
UserConfigDirStub func() (string, error)
UserHomeDirStub 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) CreateReturnsOnCall ¶
func (*FakeOs) CreateTemp ¶
func (*FakeOs) CreateTempArgsForCall ¶
func (*FakeOs) CreateTempCallCount ¶
func (*FakeOs) CreateTempCalls ¶
func (*FakeOs) CreateTempReturns ¶
func (*FakeOs) CreateTempReturnsOnCall ¶
func (*FakeOs) DirFSArgsForCall ¶
func (*FakeOs) DirFSCallCount ¶
func (*FakeOs) DirFSReturns ¶
func (*FakeOs) EnvironCallCount ¶
func (*FakeOs) EnvironCalls ¶
func (*FakeOs) EnvironReturns ¶
func (*FakeOs) EnvironReturnsOnCall ¶
func (*FakeOs) Executable ¶
func (*FakeOs) ExecutableCallCount ¶
func (*FakeOs) ExecutableCalls ¶
func (*FakeOs) ExecutableReturns ¶
func (*FakeOs) ExecutableReturnsOnCall ¶
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) IsTimeoutArgsForCall ¶
func (*FakeOs) IsTimeoutCallCount ¶
func (*FakeOs) IsTimeoutCalls ¶
func (*FakeOs) IsTimeoutReturns ¶
func (*FakeOs) IsTimeoutReturnsOnCall ¶
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) MkdirTempArgsForCall ¶
func (*FakeOs) MkdirTempCallCount ¶
func (*FakeOs) MkdirTempCalls ¶
func (*FakeOs) MkdirTempReturns ¶
func (*FakeOs) MkdirTempReturnsOnCall ¶
func (*FakeOs) NewFileCallCount ¶
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 ¶
func (*FakeOs) ReadDirCallCount ¶
func (*FakeOs) ReadDirCalls ¶
func (*FakeOs) ReadDirReturns ¶
func (*FakeOs) ReadDirReturnsOnCall ¶
func (*FakeOs) ReadFileArgsForCall ¶
func (*FakeOs) ReadFileCallCount ¶
func (*FakeOs) ReadFileReturns ¶
func (*FakeOs) ReadFileReturnsOnCall ¶
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) UserCacheDir ¶
func (*FakeOs) UserCacheDirCallCount ¶
func (*FakeOs) UserCacheDirCalls ¶
func (*FakeOs) UserCacheDirReturns ¶
func (*FakeOs) UserCacheDirReturnsOnCall ¶
func (*FakeOs) UserConfigDir ¶
func (*FakeOs) UserConfigDirCallCount ¶
func (*FakeOs) UserConfigDirCalls ¶
func (*FakeOs) UserConfigDirReturns ¶
func (*FakeOs) UserConfigDirReturnsOnCall ¶
func (*FakeOs) UserHomeDir ¶
func (*FakeOs) UserHomeDirCallCount ¶
func (*FakeOs) UserHomeDirCalls ¶
func (*FakeOs) UserHomeDirReturns ¶
func (*FakeOs) UserHomeDirReturnsOnCall ¶
func (*FakeOs) WriteFileArgsForCall ¶
func (*FakeOs) WriteFileCallCount ¶
func (*FakeOs) WriteFileCalls ¶
func (*FakeOs) WriteFileReturns ¶
func (*FakeOs) WriteFileReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.