mocks

package
v2.0.2-rc.21 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 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) Download

func (m *MockDaemonServer) Download(arg0 context.Context, arg1 *dfdaemon.DownRequest, arg2 chan<- *dfdaemon.DownResult) error

Download mocks base method.

func (*MockDaemonServer) EXPECT

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

func (*MockDaemonServer) GetPieceTasks

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

GetPieceTasks 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) Download

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

Download indicates an expected call of Download.

func (*MockDaemonServerMockRecorder) GetPieceTasks

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

GetPieceTasks indicates an expected call of GetPieceTasks.

Jump to

Keyboard shortcuts

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