Documentation ¶
Index ¶
- type Database
- func (_m *Database) CancelTask(_a0 context.Context, _a1 *tes.CancelTaskRequest) (*tes.CancelTaskResponse, error)
- func (_m *Database) CreateEvent(_a0 context.Context, _a1 *events.Event) (*events.CreateEventResponse, error)
- func (_m *Database) CreateTask(_a0 context.Context, _a1 *tes.Task) (*tes.CreateTaskResponse, error)
- func (_m *Database) GetNode(_a0 context.Context, _a1 *scheduler.GetNodeRequest) (*scheduler.Node, error)
- func (_m *Database) GetServiceInfo(_a0 context.Context, _a1 *tes.ServiceInfoRequest) (*tes.ServiceInfo, error)
- func (_m *Database) GetTask(_a0 context.Context, _a1 *tes.GetTaskRequest) (*tes.Task, error)
- func (_m *Database) Init(_a0 context.Context) error
- func (_m *Database) ListNodes(_a0 context.Context, _a1 *scheduler.ListNodesRequest) (*scheduler.ListNodesResponse, error)
- func (_m *Database) ListTasks(_a0 context.Context, _a1 *tes.ListTasksRequest) (*tes.ListTasksResponse, error)
- func (_m *Database) PutNode(_a0 context.Context, _a1 *scheduler.Node) (*scheduler.PutNodeResponse, error)
- func (_m *Database) WithComputeBackend(_a0 compute.Backend)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
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 ¶
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) ListNodes ¶
func (_m *Database) ListNodes(_a0 context.Context, _a1 *scheduler.ListNodesRequest) (*scheduler.ListNodesResponse, error)
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 ¶
WithComputeBackend provides a mock function with given fields: _a0