Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDaemonClient
- func (m *MockDaemonClient) CheckHealth(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDaemonClient) Download(ctx context.Context, in *dfdaemon.DownRequest, opts ...grpc.CallOption) (dfdaemon.Daemon_DownloadClient, error)
- func (m *MockDaemonClient) EXPECT() *MockDaemonClientMockRecorder
- func (m *MockDaemonClient) GetPieceTasks(ctx context.Context, in *base.PieceTaskRequest, opts ...grpc.CallOption) (*base.PiecePacket, error)
- func (m *MockDaemonClient) SyncPieceTasks(ctx context.Context, opts ...grpc.CallOption) (dfdaemon.Daemon_SyncPieceTasksClient, error)
- type MockDaemonClientMockRecorder
- func (mr *MockDaemonClientMockRecorder) CheckHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDaemonClientMockRecorder) Download(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDaemonClientMockRecorder) GetPieceTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDaemonClientMockRecorder) SyncPieceTasks(ctx interface{}, opts ...interface{}) *gomock.Call
- type MockDaemonServer
- func (m *MockDaemonServer) CheckHealth(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)
- func (m *MockDaemonServer) Download(arg0 *dfdaemon.DownRequest, arg1 dfdaemon.Daemon_DownloadServer) error
- func (m *MockDaemonServer) EXPECT() *MockDaemonServerMockRecorder
- func (m *MockDaemonServer) GetPieceTasks(arg0 context.Context, arg1 *base.PieceTaskRequest) (*base.PiecePacket, error)
- func (m *MockDaemonServer) SyncPieceTasks(arg0 dfdaemon.Daemon_SyncPieceTasksServer) error
- type MockDaemonServerMockRecorder
- func (mr *MockDaemonServerMockRecorder) CheckHealth(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaemonServerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaemonServerMockRecorder) GetPieceTasks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaemonServerMockRecorder) SyncPieceTasks(arg0 interface{}) *gomock.Call
- type MockDaemon_DownloadClient
- func (m *MockDaemon_DownloadClient) CloseSend() error
- func (m *MockDaemon_DownloadClient) Context() context.Context
- func (m *MockDaemon_DownloadClient) EXPECT() *MockDaemon_DownloadClientMockRecorder
- func (m *MockDaemon_DownloadClient) Header() (metadata.MD, error)
- func (m *MockDaemon_DownloadClient) Recv() (*dfdaemon.DownResult, error)
- func (m_2 *MockDaemon_DownloadClient) RecvMsg(m interface{}) error
- func (m_2 *MockDaemon_DownloadClient) SendMsg(m interface{}) error
- func (m *MockDaemon_DownloadClient) Trailer() metadata.MD
- type MockDaemon_DownloadClientMockRecorder
- func (mr *MockDaemon_DownloadClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDaemon_DownloadClientMockRecorder) Context() *gomock.Call
- func (mr *MockDaemon_DownloadClientMockRecorder) Header() *gomock.Call
- func (mr *MockDaemon_DownloadClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDaemon_DownloadClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadClientMockRecorder) Trailer() *gomock.Call
- type MockDaemon_DownloadServer
- func (m *MockDaemon_DownloadServer) Context() context.Context
- func (m *MockDaemon_DownloadServer) EXPECT() *MockDaemon_DownloadServerMockRecorder
- func (m_2 *MockDaemon_DownloadServer) RecvMsg(m interface{}) error
- func (m *MockDaemon_DownloadServer) Send(arg0 *dfdaemon.DownResult) error
- func (m *MockDaemon_DownloadServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockDaemon_DownloadServer) SendMsg(m interface{}) error
- func (m *MockDaemon_DownloadServer) SetHeader(arg0 metadata.MD) error
- func (m *MockDaemon_DownloadServer) SetTrailer(arg0 metadata.MD)
- type MockDaemon_DownloadServerMockRecorder
- func (mr *MockDaemon_DownloadServerMockRecorder) Context() *gomock.Call
- func (mr *MockDaemon_DownloadServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_DownloadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockDaemon_SyncPieceTasksClient
- func (m *MockDaemon_SyncPieceTasksClient) CloseSend() error
- func (m *MockDaemon_SyncPieceTasksClient) Context() context.Context
- func (m *MockDaemon_SyncPieceTasksClient) EXPECT() *MockDaemon_SyncPieceTasksClientMockRecorder
- func (m *MockDaemon_SyncPieceTasksClient) Header() (metadata.MD, error)
- func (m *MockDaemon_SyncPieceTasksClient) Recv() (*base.PiecePacket, error)
- func (m_2 *MockDaemon_SyncPieceTasksClient) RecvMsg(m interface{}) error
- func (m *MockDaemon_SyncPieceTasksClient) Send(arg0 *base.PieceTaskRequest) error
- func (m_2 *MockDaemon_SyncPieceTasksClient) SendMsg(m interface{}) error
- func (m *MockDaemon_SyncPieceTasksClient) Trailer() metadata.MD
- type MockDaemon_SyncPieceTasksClientMockRecorder
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Context() *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Header() *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Trailer() *gomock.Call
- type MockDaemon_SyncPieceTasksServer
- func (m *MockDaemon_SyncPieceTasksServer) Context() context.Context
- func (m *MockDaemon_SyncPieceTasksServer) EXPECT() *MockDaemon_SyncPieceTasksServerMockRecorder
- func (m *MockDaemon_SyncPieceTasksServer) Recv() (*base.PieceTaskRequest, error)
- func (m_2 *MockDaemon_SyncPieceTasksServer) RecvMsg(m interface{}) error
- func (m *MockDaemon_SyncPieceTasksServer) Send(arg0 *base.PiecePacket) error
- func (m *MockDaemon_SyncPieceTasksServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockDaemon_SyncPieceTasksServer) SendMsg(m interface{}) error
- func (m *MockDaemon_SyncPieceTasksServer) SetHeader(arg0 metadata.MD) error
- func (m *MockDaemon_SyncPieceTasksServer) SetTrailer(arg0 metadata.MD)
- type MockDaemon_SyncPieceTasksServerMockRecorder
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) Context() *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) Recv() *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDaemonClient ¶
type MockDaemonClient struct {
// contains filtered or unexported fields
}
MockDaemonClient is a mock of DaemonClient interface.
func NewMockDaemonClient ¶
func NewMockDaemonClient(ctrl *gomock.Controller) *MockDaemonClient
NewMockDaemonClient creates a new mock instance.
func (*MockDaemonClient) CheckHealth ¶
func (m *MockDaemonClient) CheckHealth(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
CheckHealth mocks base method.
func (*MockDaemonClient) Download ¶
func (m *MockDaemonClient) Download(ctx context.Context, in *dfdaemon.DownRequest, opts ...grpc.CallOption) (dfdaemon.Daemon_DownloadClient, error)
Download mocks base method.
func (*MockDaemonClient) EXPECT ¶
func (m *MockDaemonClient) EXPECT() *MockDaemonClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDaemonClient) GetPieceTasks ¶
func (m *MockDaemonClient) GetPieceTasks(ctx context.Context, in *base.PieceTaskRequest, opts ...grpc.CallOption) (*base.PiecePacket, error)
GetPieceTasks mocks base method.
func (*MockDaemonClient) SyncPieceTasks ¶
func (m *MockDaemonClient) SyncPieceTasks(ctx context.Context, opts ...grpc.CallOption) (dfdaemon.Daemon_SyncPieceTasksClient, error)
SyncPieceTasks mocks base method.
type MockDaemonClientMockRecorder ¶
type MockDaemonClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDaemonClientMockRecorder is the mock recorder for MockDaemonClient.
func (*MockDaemonClientMockRecorder) CheckHealth ¶
func (mr *MockDaemonClientMockRecorder) CheckHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
CheckHealth indicates an expected call of CheckHealth.
func (*MockDaemonClientMockRecorder) Download ¶
func (mr *MockDaemonClientMockRecorder) Download(ctx, in interface{}, opts ...interface{}) *gomock.Call
Download indicates an expected call of Download.
func (*MockDaemonClientMockRecorder) GetPieceTasks ¶
func (mr *MockDaemonClientMockRecorder) GetPieceTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetPieceTasks indicates an expected call of GetPieceTasks.
func (*MockDaemonClientMockRecorder) SyncPieceTasks ¶
func (mr *MockDaemonClientMockRecorder) SyncPieceTasks(ctx interface{}, opts ...interface{}) *gomock.Call
SyncPieceTasks indicates an expected call of SyncPieceTasks.
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, arg1 *emptypb.Empty) (*emptypb.Empty, error)
CheckHealth mocks base method.
func (*MockDaemonServer) Download ¶
func (m *MockDaemonServer) Download(arg0 *dfdaemon.DownRequest, arg1 dfdaemon.Daemon_DownloadServer) 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.
func (*MockDaemonServer) SyncPieceTasks ¶
func (m *MockDaemonServer) SyncPieceTasks(arg0 dfdaemon.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, arg1 interface{}) *gomock.Call
CheckHealth indicates an expected call of CheckHealth.
func (*MockDaemonServerMockRecorder) Download ¶
func (mr *MockDaemonServerMockRecorder) Download(arg0, arg1 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.
func (*MockDaemonServerMockRecorder) SyncPieceTasks ¶
func (mr *MockDaemonServerMockRecorder) SyncPieceTasks(arg0 interface{}) *gomock.Call
SyncPieceTasks indicates an expected call of SyncPieceTasks.
type MockDaemon_DownloadClient ¶
type MockDaemon_DownloadClient struct {
// contains filtered or unexported fields
}
MockDaemon_DownloadClient is a mock of Daemon_DownloadClient interface.
func NewMockDaemon_DownloadClient ¶
func NewMockDaemon_DownloadClient(ctrl *gomock.Controller) *MockDaemon_DownloadClient
NewMockDaemon_DownloadClient creates a new mock instance.
func (*MockDaemon_DownloadClient) CloseSend ¶
func (m *MockDaemon_DownloadClient) CloseSend() error
CloseSend mocks base method.
func (*MockDaemon_DownloadClient) Context ¶
func (m *MockDaemon_DownloadClient) Context() context.Context
Context mocks base method.
func (*MockDaemon_DownloadClient) EXPECT ¶
func (m *MockDaemon_DownloadClient) EXPECT() *MockDaemon_DownloadClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDaemon_DownloadClient) Header ¶
func (m *MockDaemon_DownloadClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockDaemon_DownloadClient) Recv ¶
func (m *MockDaemon_DownloadClient) Recv() (*dfdaemon.DownResult, error)
Recv mocks base method.
func (*MockDaemon_DownloadClient) RecvMsg ¶
func (m_2 *MockDaemon_DownloadClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockDaemon_DownloadClient) SendMsg ¶
func (m_2 *MockDaemon_DownloadClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockDaemon_DownloadClient) Trailer ¶
func (m *MockDaemon_DownloadClient) Trailer() metadata.MD
Trailer mocks base method.
type MockDaemon_DownloadClientMockRecorder ¶
type MockDaemon_DownloadClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDaemon_DownloadClientMockRecorder is the mock recorder for MockDaemon_DownloadClient.
func (*MockDaemon_DownloadClientMockRecorder) CloseSend ¶
func (mr *MockDaemon_DownloadClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockDaemon_DownloadClientMockRecorder) Context ¶
func (mr *MockDaemon_DownloadClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDaemon_DownloadClientMockRecorder) Header ¶
func (mr *MockDaemon_DownloadClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockDaemon_DownloadClientMockRecorder) Recv ¶
func (mr *MockDaemon_DownloadClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDaemon_DownloadClientMockRecorder) RecvMsg ¶
func (mr *MockDaemon_DownloadClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDaemon_DownloadClientMockRecorder) SendMsg ¶
func (mr *MockDaemon_DownloadClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDaemon_DownloadClientMockRecorder) Trailer ¶
func (mr *MockDaemon_DownloadClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockDaemon_DownloadServer ¶
type MockDaemon_DownloadServer struct {
// contains filtered or unexported fields
}
MockDaemon_DownloadServer is a mock of Daemon_DownloadServer interface.
func NewMockDaemon_DownloadServer ¶
func NewMockDaemon_DownloadServer(ctrl *gomock.Controller) *MockDaemon_DownloadServer
NewMockDaemon_DownloadServer creates a new mock instance.
func (*MockDaemon_DownloadServer) Context ¶
func (m *MockDaemon_DownloadServer) Context() context.Context
Context mocks base method.
func (*MockDaemon_DownloadServer) EXPECT ¶
func (m *MockDaemon_DownloadServer) EXPECT() *MockDaemon_DownloadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDaemon_DownloadServer) RecvMsg ¶
func (m_2 *MockDaemon_DownloadServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockDaemon_DownloadServer) Send ¶
func (m *MockDaemon_DownloadServer) Send(arg0 *dfdaemon.DownResult) error
Send mocks base method.
func (*MockDaemon_DownloadServer) SendHeader ¶
func (m *MockDaemon_DownloadServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockDaemon_DownloadServer) SendMsg ¶
func (m_2 *MockDaemon_DownloadServer) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockDaemon_DownloadServer) SetHeader ¶
func (m *MockDaemon_DownloadServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockDaemon_DownloadServer) SetTrailer ¶
func (m *MockDaemon_DownloadServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockDaemon_DownloadServerMockRecorder ¶
type MockDaemon_DownloadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDaemon_DownloadServerMockRecorder is the mock recorder for MockDaemon_DownloadServer.
func (*MockDaemon_DownloadServerMockRecorder) Context ¶
func (mr *MockDaemon_DownloadServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDaemon_DownloadServerMockRecorder) RecvMsg ¶
func (mr *MockDaemon_DownloadServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDaemon_DownloadServerMockRecorder) Send ¶
func (mr *MockDaemon_DownloadServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockDaemon_DownloadServerMockRecorder) SendHeader ¶
func (mr *MockDaemon_DownloadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockDaemon_DownloadServerMockRecorder) SendMsg ¶
func (mr *MockDaemon_DownloadServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDaemon_DownloadServerMockRecorder) SetHeader ¶
func (mr *MockDaemon_DownloadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockDaemon_DownloadServerMockRecorder) SetTrailer ¶
func (mr *MockDaemon_DownloadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockDaemon_SyncPieceTasksClient ¶
type MockDaemon_SyncPieceTasksClient struct {
// contains filtered or unexported fields
}
MockDaemon_SyncPieceTasksClient is a mock of Daemon_SyncPieceTasksClient interface.
func NewMockDaemon_SyncPieceTasksClient ¶
func NewMockDaemon_SyncPieceTasksClient(ctrl *gomock.Controller) *MockDaemon_SyncPieceTasksClient
NewMockDaemon_SyncPieceTasksClient creates a new mock instance.
func (*MockDaemon_SyncPieceTasksClient) CloseSend ¶
func (m *MockDaemon_SyncPieceTasksClient) CloseSend() error
CloseSend mocks base method.
func (*MockDaemon_SyncPieceTasksClient) Context ¶
func (m *MockDaemon_SyncPieceTasksClient) Context() context.Context
Context mocks base method.
func (*MockDaemon_SyncPieceTasksClient) EXPECT ¶
func (m *MockDaemon_SyncPieceTasksClient) EXPECT() *MockDaemon_SyncPieceTasksClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDaemon_SyncPieceTasksClient) Header ¶
func (m *MockDaemon_SyncPieceTasksClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockDaemon_SyncPieceTasksClient) Recv ¶
func (m *MockDaemon_SyncPieceTasksClient) Recv() (*base.PiecePacket, error)
Recv mocks base method.
func (*MockDaemon_SyncPieceTasksClient) RecvMsg ¶
func (m_2 *MockDaemon_SyncPieceTasksClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockDaemon_SyncPieceTasksClient) Send ¶
func (m *MockDaemon_SyncPieceTasksClient) Send(arg0 *base.PieceTaskRequest) error
Send mocks base method.
func (*MockDaemon_SyncPieceTasksClient) SendMsg ¶
func (m_2 *MockDaemon_SyncPieceTasksClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockDaemon_SyncPieceTasksClient) Trailer ¶
func (m *MockDaemon_SyncPieceTasksClient) Trailer() metadata.MD
Trailer mocks base method.
type MockDaemon_SyncPieceTasksClientMockRecorder ¶
type MockDaemon_SyncPieceTasksClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDaemon_SyncPieceTasksClientMockRecorder is the mock recorder for MockDaemon_SyncPieceTasksClient.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) CloseSend ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) Context ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) Header ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) Recv ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) RecvMsg ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) Send ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) SendMsg ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDaemon_SyncPieceTasksClientMockRecorder) Trailer ¶
func (mr *MockDaemon_SyncPieceTasksClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockDaemon_SyncPieceTasksServer ¶
type MockDaemon_SyncPieceTasksServer struct {
// contains filtered or unexported fields
}
MockDaemon_SyncPieceTasksServer is a mock of Daemon_SyncPieceTasksServer interface.
func NewMockDaemon_SyncPieceTasksServer ¶
func NewMockDaemon_SyncPieceTasksServer(ctrl *gomock.Controller) *MockDaemon_SyncPieceTasksServer
NewMockDaemon_SyncPieceTasksServer creates a new mock instance.
func (*MockDaemon_SyncPieceTasksServer) Context ¶
func (m *MockDaemon_SyncPieceTasksServer) Context() context.Context
Context mocks base method.
func (*MockDaemon_SyncPieceTasksServer) EXPECT ¶
func (m *MockDaemon_SyncPieceTasksServer) EXPECT() *MockDaemon_SyncPieceTasksServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDaemon_SyncPieceTasksServer) Recv ¶
func (m *MockDaemon_SyncPieceTasksServer) Recv() (*base.PieceTaskRequest, error)
Recv mocks base method.
func (*MockDaemon_SyncPieceTasksServer) RecvMsg ¶
func (m_2 *MockDaemon_SyncPieceTasksServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockDaemon_SyncPieceTasksServer) Send ¶
func (m *MockDaemon_SyncPieceTasksServer) Send(arg0 *base.PiecePacket) error
Send mocks base method.
func (*MockDaemon_SyncPieceTasksServer) SendHeader ¶
func (m *MockDaemon_SyncPieceTasksServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockDaemon_SyncPieceTasksServer) SendMsg ¶
func (m_2 *MockDaemon_SyncPieceTasksServer) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockDaemon_SyncPieceTasksServer) SetHeader ¶
func (m *MockDaemon_SyncPieceTasksServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockDaemon_SyncPieceTasksServer) SetTrailer ¶
func (m *MockDaemon_SyncPieceTasksServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockDaemon_SyncPieceTasksServerMockRecorder ¶
type MockDaemon_SyncPieceTasksServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDaemon_SyncPieceTasksServerMockRecorder is the mock recorder for MockDaemon_SyncPieceTasksServer.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) Context ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) Recv ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) RecvMsg ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) Send ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) SendHeader ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) SendMsg ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) SetHeader ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockDaemon_SyncPieceTasksServerMockRecorder) SetTrailer ¶
func (mr *MockDaemon_SyncPieceTasksServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.