Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDaemonServer
- func (m *MockDaemonServer) CheckHealth(arg0 context.Context) error
- func (m *MockDaemonServer) Download(arg0 context.Context, arg1 *dfdaemon.DownRequest, ...) error
- func (m *MockDaemonServer) EXPECT() *MockDaemonServerMockRecorder
- func (m *MockDaemonServer) GetPieceTasks(arg0 context.Context, arg1 *base.PieceTaskRequest) (*base.PiecePacket, error)
- type MockDaemonServerMockRecorder
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 ¶
func (m *MockDaemonServer) EXPECT() *MockDaemonServerMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.