Documentation
¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeOs
- func (fake *FakeOs) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fake *FakeOs) ChtimesArgsForCall(i int) (string, time.Time, time.Time)
- func (fake *FakeOs) ChtimesCallCount() int
- 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) Environ() []string
- func (fake *FakeOs) EnvironCallCount() int
- func (fake *FakeOs) EnvironReturns(result1 []string)
- func (fake *FakeOs) EnvironReturnsOnCall(i int, result1 []string)
- func (fake *FakeOs) Exit(code int)
- func (fake *FakeOs) ExitArgsForCall(i int) int
- func (fake *FakeOs) ExitCallCount() int
- func (fake *FakeOs) Expand(s string, mapping func(string) string) string
- func (fake *FakeOs) ExpandArgsForCall(i int) (string, func(string) string)
- func (fake *FakeOs) ExpandCallCount() int
- func (fake *FakeOs) ExpandReturns(result1 string)
- func (fake *FakeOs) ExpandReturnsOnCall(i int, result1 string)
- func (fake *FakeOs) Fictional(lol ...string)
- func (fake *FakeOs) FictionalArgsForCall(i int) []string
- func (fake *FakeOs) FictionalCallCount() int
- func (fake *FakeOs) FindProcess(pid int) (*os.Process, error)
- func (fake *FakeOs) FindProcessArgsForCall(i int) int
- func (fake *FakeOs) FindProcessCallCount() int
- func (fake *FakeOs) FindProcessReturns(result1 *os.Process, result2 error)
- func (fake *FakeOs) FindProcessReturnsOnCall(i int, result1 *os.Process, result2 error)
- func (fake *FakeOs) Hostname() (name string, err error)
- func (fake *FakeOs) HostnameCallCount() int
- 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) MkdirAll(path string, perm os.FileMode) error
- func (fake *FakeOs) MkdirAllArgsForCall(i int) (string, os.FileMode)
- func (fake *FakeOs) MkdirAllCallCount() int
- func (fake *FakeOs) MkdirAllReturns(result1 error)
- func (fake *FakeOs) MkdirAllReturnsOnCall(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 { FindProcessStub func(pid int) (*os.Process, error) HostnameStub func() (name string, err error) ExpandStub func(s string, mapping func(string) string) string ClearenvStub func() EnvironStub func() []string ChtimesStub func(name string, atime time.Time, mtime time.Time) error MkdirAllStub func(path string, perm os.FileMode) error ExitStub func(code int) FictionalStub func(lol ...string) // contains filtered or unexported fields }
func (*FakeOs) ChtimesArgsForCall ¶
func (*FakeOs) ChtimesCallCount ¶
func (*FakeOs) ChtimesReturns ¶
func (*FakeOs) ChtimesReturnsOnCall ¶
func (*FakeOs) ClearenvCallCount ¶
func (*FakeOs) EnvironCallCount ¶
func (*FakeOs) EnvironReturns ¶
func (*FakeOs) EnvironReturnsOnCall ¶
func (*FakeOs) ExitArgsForCall ¶
func (*FakeOs) ExitCallCount ¶
func (*FakeOs) ExpandArgsForCall ¶
func (*FakeOs) ExpandCallCount ¶
func (*FakeOs) ExpandReturns ¶
func (*FakeOs) ExpandReturnsOnCall ¶
func (*FakeOs) FictionalArgsForCall ¶
func (*FakeOs) FictionalCallCount ¶
func (*FakeOs) FindProcessArgsForCall ¶
func (*FakeOs) FindProcessCallCount ¶
func (*FakeOs) FindProcessReturns ¶
func (*FakeOs) FindProcessReturnsOnCall ¶
func (*FakeOs) HostnameCallCount ¶
func (*FakeOs) HostnameReturns ¶
func (*FakeOs) HostnameReturnsOnCall ¶
func (*FakeOs) Invocations ¶
func (*FakeOs) MkdirAllArgsForCall ¶
func (*FakeOs) MkdirAllCallCount ¶
func (*FakeOs) MkdirAllReturns ¶
func (*FakeOs) MkdirAllReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.