mocks

package
v0.0.0-...-5db00e0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	mock.Mock
}

Database is an autogenerated mock type for the Database type

func (*Database) CancelTask

func (_m *Database) CancelTask(_a0 context.Context, _a1 *tes.CancelTaskRequest) (*tes.CancelTaskResponse, error)

CancelTask provides a mock function with given fields: _a0, _a1

func (*Database) CreateEvent

func (_m *Database) CreateEvent(_a0 context.Context, _a1 *events.Event) (*events.CreateEventResponse, error)

CreateEvent provides a mock function with given fields: _a0, _a1

func (*Database) CreateTask

func (_m *Database) CreateTask(_a0 context.Context, _a1 *tes.Task) (*tes.CreateTaskResponse, error)

CreateTask provides a mock function with given fields: _a0, _a1

func (*Database) GetNode

func (_m *Database) GetNode(_a0 context.Context, _a1 *scheduler.GetNodeRequest) (*scheduler.Node, error)

GetNode provides a mock function with given fields: _a0, _a1

func (*Database) GetServiceInfo

func (_m *Database) GetServiceInfo(_a0 context.Context, _a1 *tes.ServiceInfoRequest) (*tes.ServiceInfo, error)

GetServiceInfo provides a mock function with given fields: _a0, _a1

func (*Database) GetTask

func (_m *Database) GetTask(_a0 context.Context, _a1 *tes.GetTaskRequest) (*tes.Task, error)

GetTask provides a mock function with given fields: _a0, _a1

func (*Database) Init

func (_m *Database) Init(_a0 context.Context) error

Init provides a mock function with given fields: _a0

func (*Database) ListNodes

ListNodes provides a mock function with given fields: _a0, _a1

func (*Database) ListTasks

func (_m *Database) ListTasks(_a0 context.Context, _a1 *tes.ListTasksRequest) (*tes.ListTasksResponse, error)

ListTasks provides a mock function with given fields: _a0, _a1

func (*Database) PutNode

func (_m *Database) PutNode(_a0 context.Context, _a1 *scheduler.Node) (*scheduler.PutNodeResponse, error)

PutNode provides a mock function with given fields: _a0, _a1

func (*Database) WithComputeBackend

func (_m *Database) WithComputeBackend(_a0 compute.Backend)

WithComputeBackend 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