mocks

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSDK

type EventSDK struct {
	mock.Mock
}

EventSDK is an autogenerated mock type for the EventSDK type

func (*EventSDK) GetStream

func (_m *EventSDK) GetStream(f *eventsdk.Filter) *eventsdk.Listener

GetStream provides a mock function with given fields: f

type ExecutionSDK

type ExecutionSDK struct {
	mock.Mock
}

ExecutionSDK is an autogenerated mock type for the ExecutionSDK type

func (*ExecutionSDK) Create added in v0.17.0

Create provides a mock function with given fields: req

func (*ExecutionSDK) Get

func (_m *ExecutionSDK) Get(_a0 hash.Hash) (*execution.Execution, error)

Get provides a mock function with given fields: _a0

func (*ExecutionSDK) Stream added in v0.17.0

func (_m *ExecutionSDK) Stream(ctx context.Context, req *api.StreamExecutionRequest) (chan *execution.Execution, chan error, error)

Stream provides a mock function with given fields: ctx, req

type ProcessSDK

type ProcessSDK struct {
	mock.Mock
}

ProcessSDK is an autogenerated mock type for the ProcessSDK type

func (*ProcessSDK) List

func (_m *ProcessSDK) List() ([]*process.Process, error)

List provides a mock function with given fields:

type RunnerSDK added in v0.17.0

type RunnerSDK struct {
	mock.Mock
}

RunnerSDK is an autogenerated mock type for the RunnerSDK type

func (*RunnerSDK) List added in v0.17.0

func (_m *RunnerSDK) List(f *runnersdk.Filter) ([]*runner.Runner, error)

List provides a mock function with given fields: f

Jump to

Keyboard shortcuts

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