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 App

type App struct {
	mock.Mock
}

App is an autogenerated mock type for the App type

func (*App) CreateEvent

func (_m *App) CreateEvent(runID string, event protocol.Event) error

CreateEvent provides a mock function with given fields: runID, event

func (*App) CreateRun

func (_m *App) CreateRun(options protocol.CreateRunOptions) (protocol.Run, error)

CreateRun provides a mock function with given fields: options

func (*App) DeleteRun

func (_m *App) DeleteRun(runID string) error

DeleteRun provides a mock function with given fields: runID

func (*App) GetApp

func (_m *App) GetApp(runID string) (io.Reader, error)

GetApp provides a mock function with given fields: runID

func (*App) GetCache

func (_m *App) GetCache(runID string) (io.Reader, error)

GetCache provides a mock function with given fields: runID

func (*App) GetEvents

func (_m *App) GetEvents(runID string, lastID string) commands.EventIterator

GetEvents provides a mock function with given fields: runID, lastID

func (*App) GetExitData

func (_m *App) GetExitData(runID string) (protocol.ExitData, error)

GetExitData provides a mock function with given fields: runID

func (*App) GetOutput

func (_m *App) GetOutput(runID string) (io.Reader, error)

GetOutput provides a mock function with given fields: runID

func (*App) IsRunCreated

func (_m *App) IsRunCreated(runID string) (bool, error)

IsRunCreated provides a mock function with given fields: runID

func (*App) PutApp

func (_m *App) PutApp(runID string, reader io.Reader, objectSize int64) error

PutApp provides a mock function with given fields: runID, reader, objectSize

func (*App) PutCache

func (_m *App) PutCache(runID string, reader io.Reader, objectSize int64) error

PutCache provides a mock function with given fields: runID, reader, objectSize

func (*App) PutOutput

func (_m *App) PutOutput(runID string, reader io.Reader, objectSize int64) error

PutOutput provides a mock function with given fields: runID, reader, objectSize

func (*App) ReportAPINetworkUsage

func (_m *App) ReportAPINetworkUsage(runID string, in uint64, out uint64) error

ReportAPINetworkUsage provides a mock function with given fields: runID, in, out

func (*App) StartRun

func (_m *App) StartRun(runID string, dockerImage string, options protocol.StartRunOptions) error

StartRun provides a mock function with given fields: runID, dockerImage, options

type EventIterator

type EventIterator struct {
	mock.Mock
}

EventIterator is an autogenerated mock type for the EventIterator type

func (*EventIterator) More

func (_m *EventIterator) More() bool

More provides a mock function with given fields:

func (*EventIterator) Next

func (_m *EventIterator) Next() (protocol.Event, error)

Next provides a mock function with given fields:

Jump to

Keyboard shortcuts

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