osysfakes

package
v0.5.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOsys

type FakeOsys struct {
	ExitStub func(int)

	GetenvStub func(string) string

	LookupEnvStub func(string) (string, bool)

	ReadDirStub func(string) ([]fs.DirEntry, error)

	SetenvStub func(string, string) error

	StderrStub func() *os.File

	StdinStub func() *os.File

	StdoutStub func() *os.File

	UnsetenvStub func(string) error

	UserHomeDirStub func() (string, error)
	// contains filtered or unexported fields
}

func (*FakeOsys) Exit

func (fake *FakeOsys) Exit(arg1 int)

func (*FakeOsys) ExitArgsForCall

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

func (*FakeOsys) ExitCallCount

func (fake *FakeOsys) ExitCallCount() int

func (*FakeOsys) ExitCalls

func (fake *FakeOsys) ExitCalls(stub func(int))

func (*FakeOsys) Getenv added in v0.2.3

func (fake *FakeOsys) Getenv(arg1 string) string

func (*FakeOsys) GetenvArgsForCall added in v0.2.3

func (fake *FakeOsys) GetenvArgsForCall(i int) string

func (*FakeOsys) GetenvCallCount added in v0.2.3

func (fake *FakeOsys) GetenvCallCount() int

func (*FakeOsys) GetenvCalls added in v0.2.3

func (fake *FakeOsys) GetenvCalls(stub func(string) string)

func (*FakeOsys) GetenvReturns added in v0.2.3

func (fake *FakeOsys) GetenvReturns(result1 string)

func (*FakeOsys) GetenvReturnsOnCall added in v0.2.3

func (fake *FakeOsys) GetenvReturnsOnCall(i int, result1 string)

func (*FakeOsys) Invocations

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

func (*FakeOsys) LookupEnv added in v0.2.3

func (fake *FakeOsys) LookupEnv(arg1 string) (string, bool)

func (*FakeOsys) LookupEnvArgsForCall added in v0.2.3

func (fake *FakeOsys) LookupEnvArgsForCall(i int) string

func (*FakeOsys) LookupEnvCallCount added in v0.2.3

func (fake *FakeOsys) LookupEnvCallCount() int

func (*FakeOsys) LookupEnvCalls added in v0.2.3

func (fake *FakeOsys) LookupEnvCalls(stub func(string) (string, bool))

func (*FakeOsys) LookupEnvReturns added in v0.2.3

func (fake *FakeOsys) LookupEnvReturns(result1 string, result2 bool)

func (*FakeOsys) LookupEnvReturnsOnCall added in v0.2.3

func (fake *FakeOsys) LookupEnvReturnsOnCall(i int, result1 string, result2 bool)

func (*FakeOsys) ReadDir added in v0.5.0

func (fake *FakeOsys) ReadDir(arg1 string) ([]fs.DirEntry, error)

func (*FakeOsys) ReadDirArgsForCall added in v0.5.0

func (fake *FakeOsys) ReadDirArgsForCall(i int) string

func (*FakeOsys) ReadDirCallCount added in v0.5.0

func (fake *FakeOsys) ReadDirCallCount() int

func (*FakeOsys) ReadDirCalls added in v0.5.0

func (fake *FakeOsys) ReadDirCalls(stub func(string) ([]fs.DirEntry, error))

func (*FakeOsys) ReadDirReturns added in v0.5.0

func (fake *FakeOsys) ReadDirReturns(result1 []fs.DirEntry, result2 error)

func (*FakeOsys) ReadDirReturnsOnCall added in v0.5.0

func (fake *FakeOsys) ReadDirReturnsOnCall(i int, result1 []fs.DirEntry, result2 error)

func (*FakeOsys) Setenv added in v0.2.3

func (fake *FakeOsys) Setenv(arg1 string, arg2 string) error

func (*FakeOsys) SetenvArgsForCall added in v0.2.3

func (fake *FakeOsys) SetenvArgsForCall(i int) (string, string)

func (*FakeOsys) SetenvCallCount added in v0.2.3

func (fake *FakeOsys) SetenvCallCount() int

func (*FakeOsys) SetenvCalls added in v0.2.3

func (fake *FakeOsys) SetenvCalls(stub func(string, string) error)

func (*FakeOsys) SetenvReturns added in v0.2.3

func (fake *FakeOsys) SetenvReturns(result1 error)

func (*FakeOsys) SetenvReturnsOnCall added in v0.2.3

func (fake *FakeOsys) SetenvReturnsOnCall(i int, result1 error)

func (*FakeOsys) Stderr

func (fake *FakeOsys) Stderr() *os.File

func (*FakeOsys) StderrCallCount

func (fake *FakeOsys) StderrCallCount() int

func (*FakeOsys) StderrCalls

func (fake *FakeOsys) StderrCalls(stub func() *os.File)

func (*FakeOsys) StderrReturns

func (fake *FakeOsys) StderrReturns(result1 *os.File)

func (*FakeOsys) StderrReturnsOnCall

func (fake *FakeOsys) StderrReturnsOnCall(i int, result1 *os.File)

func (*FakeOsys) Stdin

func (fake *FakeOsys) Stdin() *os.File

func (*FakeOsys) StdinCallCount

func (fake *FakeOsys) StdinCallCount() int

func (*FakeOsys) StdinCalls

func (fake *FakeOsys) StdinCalls(stub func() *os.File)

func (*FakeOsys) StdinReturns

func (fake *FakeOsys) StdinReturns(result1 *os.File)

func (*FakeOsys) StdinReturnsOnCall

func (fake *FakeOsys) StdinReturnsOnCall(i int, result1 *os.File)

func (*FakeOsys) Stdout

func (fake *FakeOsys) Stdout() *os.File

func (*FakeOsys) StdoutCallCount

func (fake *FakeOsys) StdoutCallCount() int

func (*FakeOsys) StdoutCalls

func (fake *FakeOsys) StdoutCalls(stub func() *os.File)

func (*FakeOsys) StdoutReturns

func (fake *FakeOsys) StdoutReturns(result1 *os.File)

func (*FakeOsys) StdoutReturnsOnCall

func (fake *FakeOsys) StdoutReturnsOnCall(i int, result1 *os.File)

func (*FakeOsys) Unsetenv added in v0.3.0

func (fake *FakeOsys) Unsetenv(arg1 string) error

func (*FakeOsys) UnsetenvArgsForCall added in v0.3.0

func (fake *FakeOsys) UnsetenvArgsForCall(i int) string

func (*FakeOsys) UnsetenvCallCount added in v0.3.0

func (fake *FakeOsys) UnsetenvCallCount() int

func (*FakeOsys) UnsetenvCalls added in v0.3.0

func (fake *FakeOsys) UnsetenvCalls(stub func(string) error)

func (*FakeOsys) UnsetenvReturns added in v0.3.0

func (fake *FakeOsys) UnsetenvReturns(result1 error)

func (*FakeOsys) UnsetenvReturnsOnCall added in v0.3.0

func (fake *FakeOsys) UnsetenvReturnsOnCall(i int, result1 error)

func (*FakeOsys) UserHomeDir

func (fake *FakeOsys) UserHomeDir() (string, error)

func (*FakeOsys) UserHomeDirCallCount

func (fake *FakeOsys) UserHomeDirCallCount() int

func (*FakeOsys) UserHomeDirCalls

func (fake *FakeOsys) UserHomeDirCalls(stub func() (string, error))

func (*FakeOsys) UserHomeDirReturns

func (fake *FakeOsys) UserHomeDirReturns(result1 string, result2 error)

func (*FakeOsys) UserHomeDirReturnsOnCall

func (fake *FakeOsys) UserHomeDirReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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