mocks

package
v0.0.0-...-b258b02 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunInterface

type RunInterface struct {
	mock.Mock
}

RunInterface is an autogenerated mock type for the RunInterface type

func (*RunInterface) CreateEvent

func (_m *RunInterface) CreateEvent(event protocol.Event) (int, error)

CreateEvent provides a mock function with given fields: event

func (*RunInterface) CreateFinishEvent

func (_m *RunInterface) CreateFinishEvent(stage string, exitData protocol.ExitDataStage) (int, error)

CreateFinishEvent provides a mock function with given fields: stage, exitData

func (*RunInterface) CreateFirstEvent

func (_m *RunInterface) CreateFirstEvent() (int, error)

CreateFirstEvent provides a mock function with given fields:

func (*RunInterface) CreateLastEvent

func (_m *RunInterface) CreateLastEvent() (int, error)

CreateLastEvent provides a mock function with given fields:

func (*RunInterface) CreateLogEvent

func (_m *RunInterface) CreateLogEvent(stage string, stream string, text string) (int, error)

CreateLogEvent provides a mock function with given fields: stage, stream, text

func (*RunInterface) CreateStartEvent

func (_m *RunInterface) CreateStartEvent(stage string) (int, error)

CreateStartEvent provides a mock function with given fields: stage

func (*RunInterface) Delete

func (_m *RunInterface) Delete() error

Delete provides a mock function with given fields:

func (*RunInterface) GetApp

func (_m *RunInterface) GetApp() (io.ReadCloser, error)

GetApp provides a mock function with given fields:

func (*RunInterface) GetAppToDirectory

func (_m *RunInterface) GetAppToDirectory(dir string) error

GetAppToDirectory provides a mock function with given fields: dir

func (*RunInterface) GetCache

func (_m *RunInterface) GetCache() (io.ReadCloser, error)

GetCache provides a mock function with given fields:

func (*RunInterface) GetCacheToDirectory

func (_m *RunInterface) GetCacheToDirectory(dir string) error

GetCacheToDirectory provides a mock function with given fields: dir

func (*RunInterface) GetCacheToFile

func (_m *RunInterface) GetCacheToFile(path string) error

GetCacheToFile provides a mock function with given fields: path

func (*RunInterface) GetEvents

func (_m *RunInterface) GetEvents(lastID string) (*apiclient.EventIterator, error)

GetEvents provides a mock function with given fields: lastID

func (*RunInterface) GetExitData

func (_m *RunInterface) GetExitData() (protocol.ExitData, error)

GetExitData provides a mock function with given fields:

func (*RunInterface) GetID

func (_m *RunInterface) GetID() string

GetID provides a mock function with given fields:

func (*RunInterface) GetOutput

func (_m *RunInterface) GetOutput() (io.ReadCloser, error)

GetOutput provides a mock function with given fields:

func (*RunInterface) GetOutputToFile

func (_m *RunInterface) GetOutputToFile(path string) error

GetOutputToFile provides a mock function with given fields: path

func (*RunInterface) PutApp

func (_m *RunInterface) PutApp(data io.Reader) error

PutApp provides a mock function with given fields: data

func (*RunInterface) PutAppFromDirectory

func (_m *RunInterface) PutAppFromDirectory(dir string, ignorePaths []string) error

PutAppFromDirectory provides a mock function with given fields: dir, ignorePaths

func (*RunInterface) PutCache

func (_m *RunInterface) PutCache(data io.Reader) error

PutCache provides a mock function with given fields: data

func (*RunInterface) PutCacheFromDirectory

func (_m *RunInterface) PutCacheFromDirectory(dir string) error

PutCacheFromDirectory provides a mock function with given fields: dir

func (*RunInterface) PutOutput

func (_m *RunInterface) PutOutput(data io.Reader) error

PutOutput provides a mock function with given fields: data

func (*RunInterface) PutOutputFromFile

func (_m *RunInterface) PutOutputFromFile(path string) error

PutOutputFromFile provides a mock function with given fields: path

func (*RunInterface) Start

func (_m *RunInterface) Start(options *protocol.StartRunOptions) error

Start provides a mock function with given fields: options

Jump to

Keyboard shortcuts

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