mocks

package
v10.5.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShellWriter

type ShellWriter struct {
	mock.Mock
}

ShellWriter is an autogenerated mock type for the ShellWriter type

func (*ShellWriter) Absolute

func (_m *ShellWriter) Absolute(path string) string

Absolute provides a mock function with given fields: path

func (*ShellWriter) Cd

func (_m *ShellWriter) Cd(path string)

Cd provides a mock function with given fields: path

func (*ShellWriter) CheckForErrors

func (_m *ShellWriter) CheckForErrors()

CheckForErrors provides a mock function with given fields:

func (*ShellWriter) Command

func (_m *ShellWriter) Command(command string, arguments ...string)

Command provides a mock function with given fields: command, arguments

func (*ShellWriter) Else

func (_m *ShellWriter) Else()

Else provides a mock function with given fields:

func (*ShellWriter) EmptyLine

func (_m *ShellWriter) EmptyLine()

EmptyLine provides a mock function with given fields:

func (*ShellWriter) EndIf

func (_m *ShellWriter) EndIf()

EndIf provides a mock function with given fields:

func (*ShellWriter) Error

func (_m *ShellWriter) Error(fmt string, arguments ...interface{})

Error provides a mock function with given fields: fmt, arguments

func (*ShellWriter) IfCmd

func (_m *ShellWriter) IfCmd(cmd string, arguments ...string)

IfCmd provides a mock function with given fields: cmd, arguments

func (*ShellWriter) IfCmdWithOutput

func (_m *ShellWriter) IfCmdWithOutput(cmd string, arguments ...string)

IfCmdWithOutput provides a mock function with given fields: cmd, arguments

func (*ShellWriter) IfDirectory

func (_m *ShellWriter) IfDirectory(path string)

IfDirectory provides a mock function with given fields: path

func (*ShellWriter) IfFile

func (_m *ShellWriter) IfFile(file string)

IfFile provides a mock function with given fields: file

func (*ShellWriter) Line

func (_m *ShellWriter) Line(text string)

Line provides a mock function with given fields: text

func (*ShellWriter) MkDir

func (_m *ShellWriter) MkDir(path string)

MkDir provides a mock function with given fields: path

func (*ShellWriter) MkTmpDir

func (_m *ShellWriter) MkTmpDir(name string) string

MkTmpDir provides a mock function with given fields: name

func (*ShellWriter) Notice

func (_m *ShellWriter) Notice(fmt string, arguments ...interface{})

Notice provides a mock function with given fields: fmt, arguments

func (*ShellWriter) Print

func (_m *ShellWriter) Print(fmt string, arguments ...interface{})

Print provides a mock function with given fields: fmt, arguments

func (*ShellWriter) RmDir

func (_m *ShellWriter) RmDir(path string)

RmDir provides a mock function with given fields: path

func (*ShellWriter) RmFile

func (_m *ShellWriter) RmFile(path string)

RmFile provides a mock function with given fields: path

func (*ShellWriter) TmpFile

func (_m *ShellWriter) TmpFile(name string) string

TmpFile provides a mock function with given fields: name

func (*ShellWriter) Variable

func (_m *ShellWriter) Variable(variable common.JobVariable)

Variable provides a mock function with given fields: variable

func (*ShellWriter) Warning

func (_m *ShellWriter) Warning(fmt string, arguments ...interface{})

Warning provides a mock function with given fields: fmt, arguments

Jump to

Keyboard shortcuts

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