mocks

package
v2.0.6-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDaemonServer

type MockDaemonServer struct {
	// contains filtered or unexported fields
}

MockDaemonServer is a mock of DaemonServer interface.

func NewMockDaemonServer

func NewMockDaemonServer(ctrl *gomock.Controller) *MockDaemonServer

NewMockDaemonServer creates a new mock instance.

func (*MockDaemonServer) CheckHealth

func (m *MockDaemonServer) CheckHealth(arg0 context.Context) error

CheckHealth mocks base method.

func (*MockDaemonServer) DeleteTask added in v2.0.4

func (m *MockDaemonServer) DeleteTask(arg0 context.Context, arg1 *v10.DeleteTaskRequest) error

DeleteTask mocks base method.

func (*MockDaemonServer) Download

Download mocks base method.

func (*MockDaemonServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDaemonServer) ExportTask added in v2.0.4

func (m *MockDaemonServer) ExportTask(arg0 context.Context, arg1 *v10.ExportTaskRequest) error

ExportTask mocks base method.

func (*MockDaemonServer) GetPieceTasks

func (m *MockDaemonServer) GetPieceTasks(arg0 context.Context, arg1 *v1.PieceTaskRequest) (*v1.PiecePacket, error)

GetPieceTasks mocks base method.

func (*MockDaemonServer) ImportTask added in v2.0.4

func (m *MockDaemonServer) ImportTask(arg0 context.Context, arg1 *v10.ImportTaskRequest) error

ImportTask mocks base method.

func (*MockDaemonServer) StatTask added in v2.0.4

func (m *MockDaemonServer) StatTask(arg0 context.Context, arg1 *v10.StatTaskRequest) error

StatTask mocks base method.

func (*MockDaemonServer) SyncPieceTasks added in v2.0.4

func (m *MockDaemonServer) SyncPieceTasks(arg0 v10.Daemon_SyncPieceTasksServer) error

SyncPieceTasks mocks base method.

type MockDaemonServerMockRecorder

type MockDaemonServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDaemonServerMockRecorder is the mock recorder for MockDaemonServer.

func (*MockDaemonServerMockRecorder) CheckHealth

func (mr *MockDaemonServerMockRecorder) CheckHealth(arg0 interface{}) *gomock.Call

CheckHealth indicates an expected call of CheckHealth.

func (*MockDaemonServerMockRecorder) DeleteTask added in v2.0.4

func (mr *MockDaemonServerMockRecorder) DeleteTask(arg0, arg1 interface{}) *gomock.Call

DeleteTask indicates an expected call of DeleteTask.

func (*MockDaemonServerMockRecorder) Download

func (mr *MockDaemonServerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call

Download indicates an expected call of Download.

func (*MockDaemonServerMockRecorder) ExportTask added in v2.0.4

func (mr *MockDaemonServerMockRecorder) ExportTask(arg0, arg1 interface{}) *gomock.Call

ExportTask indicates an expected call of ExportTask.

func (*MockDaemonServerMockRecorder) GetPieceTasks

func (mr *MockDaemonServerMockRecorder) GetPieceTasks(arg0, arg1 interface{}) *gomock.Call

GetPieceTasks indicates an expected call of GetPieceTasks.

func (*MockDaemonServerMockRecorder) ImportTask added in v2.0.4

func (mr *MockDaemonServerMockRecorder) ImportTask(arg0, arg1 interface{}) *gomock.Call

ImportTask indicates an expected call of ImportTask.

func (*MockDaemonServerMockRecorder) StatTask added in v2.0.4

func (mr *MockDaemonServerMockRecorder) StatTask(arg0, arg1 interface{}) *gomock.Call

StatTask indicates an expected call of StatTask.

func (*MockDaemonServerMockRecorder) SyncPieceTasks added in v2.0.4

func (mr *MockDaemonServerMockRecorder) SyncPieceTasks(arg0 interface{}) *gomock.Call

SyncPieceTasks indicates an expected call of SyncPieceTasks.

Jump to

Keyboard shortcuts

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