runnerpoolmock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct {
	mock.Mock
}

Pool is an autogenerated mock type for the Pool type

func (*Pool) Stats

func (_m *Pool) Stats() runnerpool.Stats

Stats provides a mock function with given fields:

func (*Pool) Worker

func (_m *Pool) Worker(ctx context.Context) (runnerpool.Worker, error)

Worker provides a mock function with given fields: ctx

type Worker

type Worker struct {
	mock.Mock
}

Worker is an autogenerated mock type for the Worker type

func (*Worker) Release

func (_m *Worker) Release()

Release provides a mock function with given fields:

func (*Worker) Run

func (_m *Worker) Run(_a0 func(context.Context))

Run provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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