Version: v4.0.0-...-b8c427d Latest Latest

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

Go to latest
Published: Apr 28, 2017 License: MIT Imports: 4 Imported by: 0



This file was generated by counterfeiter



This section is empty.


This section is empty.


This section is empty.


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

func (fake *FakeOs) Chtimes(name string, atime time.Time, mtime time.Time) error

func (*FakeOs) ChtimesArgsForCall

func (fake *FakeOs) ChtimesArgsForCall(i int) (string, time.Time, time.Time)

func (*FakeOs) ChtimesCallCount

func (fake *FakeOs) ChtimesCallCount() int

func (*FakeOs) ChtimesReturns

func (fake *FakeOs) ChtimesReturns(result1 error)

func (*FakeOs) ChtimesReturnsOnCall

func (fake *FakeOs) ChtimesReturnsOnCall(i int, result1 error)

func (*FakeOs) Clearenv

func (fake *FakeOs) Clearenv()

func (*FakeOs) ClearenvCallCount

func (fake *FakeOs) ClearenvCallCount() int

func (*FakeOs) Environ

func (fake *FakeOs) Environ() []string

func (*FakeOs) EnvironCallCount

func (fake *FakeOs) EnvironCallCount() int

func (*FakeOs) EnvironReturns

func (fake *FakeOs) EnvironReturns(result1 []string)

func (*FakeOs) EnvironReturnsOnCall

func (fake *FakeOs) EnvironReturnsOnCall(i int, result1 []string)

func (*FakeOs) Exit

func (fake *FakeOs) Exit(code int)

func (*FakeOs) ExitArgsForCall

func (fake *FakeOs) ExitArgsForCall(i int) int

func (*FakeOs) ExitCallCount

func (fake *FakeOs) ExitCallCount() int

func (*FakeOs) Expand

func (fake *FakeOs) Expand(s string, mapping func(string) string) string

func (*FakeOs) ExpandArgsForCall

func (fake *FakeOs) ExpandArgsForCall(i int) (string, func(string) string)

func (*FakeOs) ExpandCallCount

func (fake *FakeOs) ExpandCallCount() int

func (*FakeOs) ExpandReturns

func (fake *FakeOs) ExpandReturns(result1 string)

func (*FakeOs) ExpandReturnsOnCall

func (fake *FakeOs) ExpandReturnsOnCall(i int, result1 string)

func (*FakeOs) Fictional

func (fake *FakeOs) Fictional(lol ...string)

func (*FakeOs) FictionalArgsForCall

func (fake *FakeOs) FictionalArgsForCall(i int) []string

func (*FakeOs) FictionalCallCount

func (fake *FakeOs) FictionalCallCount() int

func (*FakeOs) FindProcess

func (fake *FakeOs) FindProcess(pid int) (*os.Process, error)

func (*FakeOs) FindProcessArgsForCall

func (fake *FakeOs) FindProcessArgsForCall(i int) int

func (*FakeOs) FindProcessCallCount

func (fake *FakeOs) FindProcessCallCount() int

func (*FakeOs) FindProcessReturns

func (fake *FakeOs) FindProcessReturns(result1 *os.Process, result2 error)

func (*FakeOs) FindProcessReturnsOnCall

func (fake *FakeOs) FindProcessReturnsOnCall(i int, result1 *os.Process, result2 error)

func (*FakeOs) Hostname

func (fake *FakeOs) Hostname() (name string, err error)

func (*FakeOs) HostnameCallCount

func (fake *FakeOs) HostnameCallCount() int

func (*FakeOs) HostnameReturns

func (fake *FakeOs) HostnameReturns(result1 string, result2 error)

func (*FakeOs) HostnameReturnsOnCall

func (fake *FakeOs) HostnameReturnsOnCall(i int, result1 string, result2 error)

func (*FakeOs) Invocations

func (fake *FakeOs) Invocations() map[string][][]interface{}

func (*FakeOs) MkdirAll

func (fake *FakeOs) MkdirAll(path string, perm os.FileMode) error

func (*FakeOs) MkdirAllArgsForCall

func (fake *FakeOs) MkdirAllArgsForCall(i int) (string, os.FileMode)

func (*FakeOs) MkdirAllCallCount

func (fake *FakeOs) MkdirAllCallCount() int

func (*FakeOs) MkdirAllReturns

func (fake *FakeOs) MkdirAllReturns(result1 error)

func (*FakeOs) MkdirAllReturnsOnCall

func (fake *FakeOs) MkdirAllReturnsOnCall(i int, result1 error)

Source Files

Jump to

Keyboard shortcuts

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