os_helperfakes

package
v2.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0, Apache-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 FakeOsHelper

type FakeOsHelper struct {
	RunCommandStub func(executable string, args ...string) (string, error)

	StartCommandStub func(logFileName string, executable string, args ...string) (*exec.Cmd, error)

	WaitForCommandStub func(cmd *exec.Cmd) chan error

	FileExistsStub func(filename string) bool

	ReadFileStub func(filename string) (string, error)

	WriteStringToFileStub func(filename string, contents string) error

	SleepStub func(duration time.Duration)
	// contains filtered or unexported fields
}

func (*FakeOsHelper) FileExists

func (fake *FakeOsHelper) FileExists(filename string) bool

func (*FakeOsHelper) FileExistsArgsForCall

func (fake *FakeOsHelper) FileExistsArgsForCall(i int) string

func (*FakeOsHelper) FileExistsCallCount

func (fake *FakeOsHelper) FileExistsCallCount() int

func (*FakeOsHelper) FileExistsReturns

func (fake *FakeOsHelper) FileExistsReturns(result1 bool)

func (*FakeOsHelper) FileExistsReturnsOnCall

func (fake *FakeOsHelper) FileExistsReturnsOnCall(i int, result1 bool)

func (*FakeOsHelper) Invocations

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

func (*FakeOsHelper) ReadFile

func (fake *FakeOsHelper) ReadFile(filename string) (string, error)

func (*FakeOsHelper) ReadFileArgsForCall

func (fake *FakeOsHelper) ReadFileArgsForCall(i int) string

func (*FakeOsHelper) ReadFileCallCount

func (fake *FakeOsHelper) ReadFileCallCount() int

func (*FakeOsHelper) ReadFileReturns

func (fake *FakeOsHelper) ReadFileReturns(result1 string, result2 error)

func (*FakeOsHelper) ReadFileReturnsOnCall

func (fake *FakeOsHelper) ReadFileReturnsOnCall(i int, result1 string, result2 error)

func (*FakeOsHelper) RunCommand

func (fake *FakeOsHelper) RunCommand(executable string, args ...string) (string, error)

func (*FakeOsHelper) RunCommandArgsForCall

func (fake *FakeOsHelper) RunCommandArgsForCall(i int) (string, []string)

func (*FakeOsHelper) RunCommandCallCount

func (fake *FakeOsHelper) RunCommandCallCount() int

func (*FakeOsHelper) RunCommandReturns

func (fake *FakeOsHelper) RunCommandReturns(result1 string, result2 error)

func (*FakeOsHelper) RunCommandReturnsOnCall

func (fake *FakeOsHelper) RunCommandReturnsOnCall(i int, result1 string, result2 error)

func (*FakeOsHelper) Sleep

func (fake *FakeOsHelper) Sleep(duration time.Duration)

func (*FakeOsHelper) SleepArgsForCall

func (fake *FakeOsHelper) SleepArgsForCall(i int) time.Duration

func (*FakeOsHelper) SleepCallCount

func (fake *FakeOsHelper) SleepCallCount() int

func (*FakeOsHelper) StartCommand

func (fake *FakeOsHelper) StartCommand(logFileName string, executable string, args ...string) (*exec.Cmd, error)

func (*FakeOsHelper) StartCommandArgsForCall

func (fake *FakeOsHelper) StartCommandArgsForCall(i int) (string, string, []string)

func (*FakeOsHelper) StartCommandCallCount

func (fake *FakeOsHelper) StartCommandCallCount() int

func (*FakeOsHelper) StartCommandReturns

func (fake *FakeOsHelper) StartCommandReturns(result1 *exec.Cmd, result2 error)

func (*FakeOsHelper) StartCommandReturnsOnCall

func (fake *FakeOsHelper) StartCommandReturnsOnCall(i int, result1 *exec.Cmd, result2 error)

func (*FakeOsHelper) WaitForCommand

func (fake *FakeOsHelper) WaitForCommand(cmd *exec.Cmd) chan error

func (*FakeOsHelper) WaitForCommandArgsForCall

func (fake *FakeOsHelper) WaitForCommandArgsForCall(i int) *exec.Cmd

func (*FakeOsHelper) WaitForCommandCallCount

func (fake *FakeOsHelper) WaitForCommandCallCount() int

func (*FakeOsHelper) WaitForCommandReturns

func (fake *FakeOsHelper) WaitForCommandReturns(result1 chan error)

func (*FakeOsHelper) WaitForCommandReturnsOnCall

func (fake *FakeOsHelper) WaitForCommandReturnsOnCall(i int, result1 chan error)

func (*FakeOsHelper) WriteStringToFile

func (fake *FakeOsHelper) WriteStringToFile(filename string, contents string) error

func (*FakeOsHelper) WriteStringToFileArgsForCall

func (fake *FakeOsHelper) WriteStringToFileArgsForCall(i int) (string, string)

func (*FakeOsHelper) WriteStringToFileCallCount

func (fake *FakeOsHelper) WriteStringToFileCallCount() int

func (*FakeOsHelper) WriteStringToFileReturns

func (fake *FakeOsHelper) WriteStringToFileReturns(result1 error)

func (*FakeOsHelper) WriteStringToFileReturnsOnCall

func (fake *FakeOsHelper) WriteStringToFileReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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