Documentation
¶
Index ¶
- type RunInterface
- func (_m *RunInterface) CreateEvent(event protocol.Event) (int, error)
- func (_m *RunInterface) CreateFinishEvent(stage string, exitData protocol.ExitDataStage) (int, error)
- func (_m *RunInterface) CreateFirstEvent() (int, error)
- func (_m *RunInterface) CreateLastEvent() (int, error)
- func (_m *RunInterface) CreateLogEvent(stage string, stream string, text string) (int, error)
- func (_m *RunInterface) CreateStartEvent(stage string) (int, error)
- func (_m *RunInterface) Delete() error
- func (_m *RunInterface) GetApp() (io.ReadCloser, error)
- func (_m *RunInterface) GetAppToDirectory(dir string) error
- func (_m *RunInterface) GetCache() (io.ReadCloser, error)
- func (_m *RunInterface) GetCacheToDirectory(dir string) error
- func (_m *RunInterface) GetCacheToFile(path string) error
- func (_m *RunInterface) GetEvents(lastID string) (*apiclient.EventIterator, error)
- func (_m *RunInterface) GetExitData() (protocol.ExitData, error)
- func (_m *RunInterface) GetID() string
- func (_m *RunInterface) GetOutput() (io.ReadCloser, error)
- func (_m *RunInterface) GetOutputToFile(path string) error
- func (_m *RunInterface) PutApp(data io.Reader) error
- func (_m *RunInterface) PutAppFromDirectory(dir string, ignorePaths []string) error
- func (_m *RunInterface) PutCache(data io.Reader) error
- func (_m *RunInterface) PutCacheFromDirectory(dir string) error
- func (_m *RunInterface) PutOutput(data io.Reader) error
- func (_m *RunInterface) PutOutputFromFile(path string) error
- func (_m *RunInterface) Start(options *protocol.StartRunOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunInterface ¶
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 ¶
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