Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ../dfdaemon_grpc.pb.go
Generated by this command:
mockgen -destination dfdaemon_mock.go -source ../dfdaemon_grpc.pb.go -package mocks
Package mocks is a generated GoMock package.
Index ¶
- type MockDfdaemonDownloadClient
- func (m *MockDfdaemonDownloadClient) DeleteTask(ctx context.Context, in *dfdaemon.DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDfdaemonDownloadClient) DownloadTask(ctx context.Context, in *dfdaemon.DownloadTaskRequest, opts ...grpc.CallOption) (dfdaemon.DfdaemonDownload_DownloadTaskClient, error)
- func (m *MockDfdaemonDownloadClient) EXPECT() *MockDfdaemonDownloadClientMockRecorder
- func (m *MockDfdaemonDownloadClient) LeaveHost(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDfdaemonDownloadClient) StatTask(ctx context.Context, in *dfdaemon.StatTaskRequest, opts ...grpc.CallOption) (*common.Task, error)
- func (m *MockDfdaemonDownloadClient) UploadTask(ctx context.Context, in *dfdaemon.UploadTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type MockDfdaemonDownloadClientMockRecorder
- func (mr *MockDfdaemonDownloadClientMockRecorder) DeleteTask(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockDfdaemonDownloadClientMockRecorder) DownloadTask(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockDfdaemonDownloadClientMockRecorder) LeaveHost(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockDfdaemonDownloadClientMockRecorder) StatTask(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockDfdaemonDownloadClientMockRecorder) UploadTask(ctx, in any, opts ...any) *gomock.Call
- type MockDfdaemonDownloadServer
- func (m *MockDfdaemonDownloadServer) DeleteTask(arg0 context.Context, arg1 *dfdaemon.DeleteTaskRequest) (*emptypb.Empty, error)
- func (m *MockDfdaemonDownloadServer) DownloadTask(arg0 *dfdaemon.DownloadTaskRequest, ...) error
- func (m *MockDfdaemonDownloadServer) EXPECT() *MockDfdaemonDownloadServerMockRecorder
- func (m *MockDfdaemonDownloadServer) LeaveHost(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)
- func (m *MockDfdaemonDownloadServer) StatTask(arg0 context.Context, arg1 *dfdaemon.StatTaskRequest) (*common.Task, error)
- func (m *MockDfdaemonDownloadServer) UploadTask(arg0 context.Context, arg1 *dfdaemon.UploadTaskRequest) (*emptypb.Empty, error)
- type MockDfdaemonDownloadServerMockRecorder
- func (mr *MockDfdaemonDownloadServerMockRecorder) DeleteTask(arg0, arg1 any) *gomock.Call
- func (mr *MockDfdaemonDownloadServerMockRecorder) DownloadTask(arg0, arg1 any) *gomock.Call
- func (mr *MockDfdaemonDownloadServerMockRecorder) LeaveHost(arg0, arg1 any) *gomock.Call
- func (mr *MockDfdaemonDownloadServerMockRecorder) StatTask(arg0, arg1 any) *gomock.Call
- func (mr *MockDfdaemonDownloadServerMockRecorder) UploadTask(arg0, arg1 any) *gomock.Call
- type MockDfdaemonDownload_DownloadTaskClient
- func (m *MockDfdaemonDownload_DownloadTaskClient) CloseSend() error
- func (m *MockDfdaemonDownload_DownloadTaskClient) Context() context.Context
- func (m *MockDfdaemonDownload_DownloadTaskClient) EXPECT() *MockDfdaemonDownload_DownloadTaskClientMockRecorder
- func (m *MockDfdaemonDownload_DownloadTaskClient) Header() (metadata.MD, error)
- func (m *MockDfdaemonDownload_DownloadTaskClient) Recv() (*dfdaemon.DownloadTaskResponse, error)
- func (m_2 *MockDfdaemonDownload_DownloadTaskClient) RecvMsg(m any) error
- func (m_2 *MockDfdaemonDownload_DownloadTaskClient) SendMsg(m any) error
- func (m *MockDfdaemonDownload_DownloadTaskClient) Trailer() metadata.MD
- type MockDfdaemonDownload_DownloadTaskClientMockRecorder
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Context() *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Header() *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Trailer() *gomock.Call
- type MockDfdaemonDownload_DownloadTaskServer
- func (m *MockDfdaemonDownload_DownloadTaskServer) Context() context.Context
- func (m *MockDfdaemonDownload_DownloadTaskServer) EXPECT() *MockDfdaemonDownload_DownloadTaskServerMockRecorder
- func (m_2 *MockDfdaemonDownload_DownloadTaskServer) RecvMsg(m any) error
- func (m *MockDfdaemonDownload_DownloadTaskServer) Send(arg0 *dfdaemon.DownloadTaskResponse) error
- func (m *MockDfdaemonDownload_DownloadTaskServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockDfdaemonDownload_DownloadTaskServer) SendMsg(m any) error
- func (m *MockDfdaemonDownload_DownloadTaskServer) SetHeader(arg0 metadata.MD) error
- func (m *MockDfdaemonDownload_DownloadTaskServer) SetTrailer(arg0 metadata.MD)
- type MockDfdaemonDownload_DownloadTaskServerMockRecorder
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) Context() *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockDfdaemonUploadClient
- func (m *MockDfdaemonUploadClient) DownloadPiece(ctx context.Context, in *dfdaemon.DownloadPieceRequest, ...) (*dfdaemon.DownloadPieceResponse, error)
- func (m *MockDfdaemonUploadClient) DownloadTask(ctx context.Context, in *dfdaemon.DownloadTaskRequest, opts ...grpc.CallOption) (dfdaemon.DfdaemonUpload_DownloadTaskClient, error)
- func (m *MockDfdaemonUploadClient) EXPECT() *MockDfdaemonUploadClientMockRecorder
- func (m *MockDfdaemonUploadClient) SyncPieces(ctx context.Context, in *dfdaemon.SyncPiecesRequest, opts ...grpc.CallOption) (dfdaemon.DfdaemonUpload_SyncPiecesClient, error)
- type MockDfdaemonUploadClientMockRecorder
- type MockDfdaemonUploadServer
- func (m *MockDfdaemonUploadServer) DownloadPiece(arg0 context.Context, arg1 *dfdaemon.DownloadPieceRequest) (*dfdaemon.DownloadPieceResponse, error)
- func (m *MockDfdaemonUploadServer) DownloadTask(arg0 *dfdaemon.DownloadTaskRequest, ...) error
- func (m *MockDfdaemonUploadServer) EXPECT() *MockDfdaemonUploadServerMockRecorder
- func (m *MockDfdaemonUploadServer) SyncPieces(arg0 *dfdaemon.SyncPiecesRequest, ...) error
- type MockDfdaemonUploadServerMockRecorder
- type MockDfdaemonUpload_DownloadTaskClient
- func (m *MockDfdaemonUpload_DownloadTaskClient) CloseSend() error
- func (m *MockDfdaemonUpload_DownloadTaskClient) Context() context.Context
- func (m *MockDfdaemonUpload_DownloadTaskClient) EXPECT() *MockDfdaemonUpload_DownloadTaskClientMockRecorder
- func (m *MockDfdaemonUpload_DownloadTaskClient) Header() (metadata.MD, error)
- func (m *MockDfdaemonUpload_DownloadTaskClient) Recv() (*dfdaemon.DownloadTaskResponse, error)
- func (m_2 *MockDfdaemonUpload_DownloadTaskClient) RecvMsg(m any) error
- func (m_2 *MockDfdaemonUpload_DownloadTaskClient) SendMsg(m any) error
- func (m *MockDfdaemonUpload_DownloadTaskClient) Trailer() metadata.MD
- type MockDfdaemonUpload_DownloadTaskClientMockRecorder
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Context() *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Header() *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Trailer() *gomock.Call
- type MockDfdaemonUpload_DownloadTaskServer
- func (m *MockDfdaemonUpload_DownloadTaskServer) Context() context.Context
- func (m *MockDfdaemonUpload_DownloadTaskServer) EXPECT() *MockDfdaemonUpload_DownloadTaskServerMockRecorder
- func (m_2 *MockDfdaemonUpload_DownloadTaskServer) RecvMsg(m any) error
- func (m *MockDfdaemonUpload_DownloadTaskServer) Send(arg0 *dfdaemon.DownloadTaskResponse) error
- func (m *MockDfdaemonUpload_DownloadTaskServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockDfdaemonUpload_DownloadTaskServer) SendMsg(m any) error
- func (m *MockDfdaemonUpload_DownloadTaskServer) SetHeader(arg0 metadata.MD) error
- func (m *MockDfdaemonUpload_DownloadTaskServer) SetTrailer(arg0 metadata.MD)
- type MockDfdaemonUpload_DownloadTaskServerMockRecorder
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) Context() *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockDfdaemonUpload_SyncPiecesClient
- func (m *MockDfdaemonUpload_SyncPiecesClient) CloseSend() error
- func (m *MockDfdaemonUpload_SyncPiecesClient) Context() context.Context
- func (m *MockDfdaemonUpload_SyncPiecesClient) EXPECT() *MockDfdaemonUpload_SyncPiecesClientMockRecorder
- func (m *MockDfdaemonUpload_SyncPiecesClient) Header() (metadata.MD, error)
- func (m *MockDfdaemonUpload_SyncPiecesClient) Recv() (*dfdaemon.SyncPiecesResponse, error)
- func (m_2 *MockDfdaemonUpload_SyncPiecesClient) RecvMsg(m any) error
- func (m_2 *MockDfdaemonUpload_SyncPiecesClient) SendMsg(m any) error
- func (m *MockDfdaemonUpload_SyncPiecesClient) Trailer() metadata.MD
- type MockDfdaemonUpload_SyncPiecesClientMockRecorder
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Context() *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Header() *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Trailer() *gomock.Call
- type MockDfdaemonUpload_SyncPiecesServer
- func (m *MockDfdaemonUpload_SyncPiecesServer) Context() context.Context
- func (m *MockDfdaemonUpload_SyncPiecesServer) EXPECT() *MockDfdaemonUpload_SyncPiecesServerMockRecorder
- func (m_2 *MockDfdaemonUpload_SyncPiecesServer) RecvMsg(m any) error
- func (m *MockDfdaemonUpload_SyncPiecesServer) Send(arg0 *dfdaemon.SyncPiecesResponse) error
- func (m *MockDfdaemonUpload_SyncPiecesServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockDfdaemonUpload_SyncPiecesServer) SendMsg(m any) error
- func (m *MockDfdaemonUpload_SyncPiecesServer) SetHeader(arg0 metadata.MD) error
- func (m *MockDfdaemonUpload_SyncPiecesServer) SetTrailer(arg0 metadata.MD)
- type MockDfdaemonUpload_SyncPiecesServerMockRecorder
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) Context() *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockUnsafeDfdaemonDownloadServer
- type MockUnsafeDfdaemonDownloadServerMockRecorder
- type MockUnsafeDfdaemonUploadServer
- type MockUnsafeDfdaemonUploadServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDfdaemonDownloadClient ¶ added in v2.0.63
type MockDfdaemonDownloadClient struct {
// contains filtered or unexported fields
}
MockDfdaemonDownloadClient is a mock of DfdaemonDownloadClient interface.
func NewMockDfdaemonDownloadClient ¶ added in v2.0.63
func NewMockDfdaemonDownloadClient(ctrl *gomock.Controller) *MockDfdaemonDownloadClient
NewMockDfdaemonDownloadClient creates a new mock instance.
func (*MockDfdaemonDownloadClient) DeleteTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadClient) DeleteTask(ctx context.Context, in *dfdaemon.DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteTask mocks base method.
func (*MockDfdaemonDownloadClient) DownloadTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadClient) DownloadTask(ctx context.Context, in *dfdaemon.DownloadTaskRequest, opts ...grpc.CallOption) (dfdaemon.DfdaemonDownload_DownloadTaskClient, error)
DownloadTask mocks base method.
func (*MockDfdaemonDownloadClient) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonDownloadClient) EXPECT() *MockDfdaemonDownloadClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonDownloadClient) LeaveHost ¶ added in v2.0.93
func (m *MockDfdaemonDownloadClient) LeaveHost(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
LeaveHost mocks base method.
func (*MockDfdaemonDownloadClient) StatTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadClient) StatTask(ctx context.Context, in *dfdaemon.StatTaskRequest, opts ...grpc.CallOption) (*common.Task, error)
StatTask mocks base method.
func (*MockDfdaemonDownloadClient) UploadTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadClient) UploadTask(ctx context.Context, in *dfdaemon.UploadTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UploadTask mocks base method.
type MockDfdaemonDownloadClientMockRecorder ¶ added in v2.0.63
type MockDfdaemonDownloadClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonDownloadClientMockRecorder is the mock recorder for MockDfdaemonDownloadClient.
func (*MockDfdaemonDownloadClientMockRecorder) DeleteTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadClientMockRecorder) DeleteTask(ctx, in any, opts ...any) *gomock.Call
DeleteTask indicates an expected call of DeleteTask.
func (*MockDfdaemonDownloadClientMockRecorder) DownloadTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadClientMockRecorder) DownloadTask(ctx, in any, opts ...any) *gomock.Call
DownloadTask indicates an expected call of DownloadTask.
func (*MockDfdaemonDownloadClientMockRecorder) LeaveHost ¶ added in v2.0.93
func (mr *MockDfdaemonDownloadClientMockRecorder) LeaveHost(ctx, in any, opts ...any) *gomock.Call
LeaveHost indicates an expected call of LeaveHost.
func (*MockDfdaemonDownloadClientMockRecorder) StatTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadClientMockRecorder) StatTask(ctx, in any, opts ...any) *gomock.Call
StatTask indicates an expected call of StatTask.
func (*MockDfdaemonDownloadClientMockRecorder) UploadTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadClientMockRecorder) UploadTask(ctx, in any, opts ...any) *gomock.Call
UploadTask indicates an expected call of UploadTask.
type MockDfdaemonDownloadServer ¶ added in v2.0.63
type MockDfdaemonDownloadServer struct {
// contains filtered or unexported fields
}
MockDfdaemonDownloadServer is a mock of DfdaemonDownloadServer interface.
func NewMockDfdaemonDownloadServer ¶ added in v2.0.63
func NewMockDfdaemonDownloadServer(ctrl *gomock.Controller) *MockDfdaemonDownloadServer
NewMockDfdaemonDownloadServer creates a new mock instance.
func (*MockDfdaemonDownloadServer) DeleteTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadServer) DeleteTask(arg0 context.Context, arg1 *dfdaemon.DeleteTaskRequest) (*emptypb.Empty, error)
DeleteTask mocks base method.
func (*MockDfdaemonDownloadServer) DownloadTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadServer) DownloadTask(arg0 *dfdaemon.DownloadTaskRequest, arg1 dfdaemon.DfdaemonDownload_DownloadTaskServer) error
DownloadTask mocks base method.
func (*MockDfdaemonDownloadServer) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonDownloadServer) EXPECT() *MockDfdaemonDownloadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonDownloadServer) LeaveHost ¶ added in v2.0.93
func (m *MockDfdaemonDownloadServer) LeaveHost(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)
LeaveHost mocks base method.
func (*MockDfdaemonDownloadServer) StatTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadServer) StatTask(arg0 context.Context, arg1 *dfdaemon.StatTaskRequest) (*common.Task, error)
StatTask mocks base method.
func (*MockDfdaemonDownloadServer) UploadTask ¶ added in v2.0.63
func (m *MockDfdaemonDownloadServer) UploadTask(arg0 context.Context, arg1 *dfdaemon.UploadTaskRequest) (*emptypb.Empty, error)
UploadTask mocks base method.
type MockDfdaemonDownloadServerMockRecorder ¶ added in v2.0.63
type MockDfdaemonDownloadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonDownloadServerMockRecorder is the mock recorder for MockDfdaemonDownloadServer.
func (*MockDfdaemonDownloadServerMockRecorder) DeleteTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadServerMockRecorder) DeleteTask(arg0, arg1 any) *gomock.Call
DeleteTask indicates an expected call of DeleteTask.
func (*MockDfdaemonDownloadServerMockRecorder) DownloadTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadServerMockRecorder) DownloadTask(arg0, arg1 any) *gomock.Call
DownloadTask indicates an expected call of DownloadTask.
func (*MockDfdaemonDownloadServerMockRecorder) LeaveHost ¶ added in v2.0.93
func (mr *MockDfdaemonDownloadServerMockRecorder) LeaveHost(arg0, arg1 any) *gomock.Call
LeaveHost indicates an expected call of LeaveHost.
func (*MockDfdaemonDownloadServerMockRecorder) StatTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadServerMockRecorder) StatTask(arg0, arg1 any) *gomock.Call
StatTask indicates an expected call of StatTask.
func (*MockDfdaemonDownloadServerMockRecorder) UploadTask ¶ added in v2.0.63
func (mr *MockDfdaemonDownloadServerMockRecorder) UploadTask(arg0, arg1 any) *gomock.Call
UploadTask indicates an expected call of UploadTask.
type MockDfdaemonDownload_DownloadTaskClient ¶ added in v2.0.63
type MockDfdaemonDownload_DownloadTaskClient struct {
// contains filtered or unexported fields
}
MockDfdaemonDownload_DownloadTaskClient is a mock of DfdaemonDownload_DownloadTaskClient interface.
func NewMockDfdaemonDownload_DownloadTaskClient ¶ added in v2.0.63
func NewMockDfdaemonDownload_DownloadTaskClient(ctrl *gomock.Controller) *MockDfdaemonDownload_DownloadTaskClient
NewMockDfdaemonDownload_DownloadTaskClient creates a new mock instance.
func (*MockDfdaemonDownload_DownloadTaskClient) CloseSend ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskClient) CloseSend() error
CloseSend mocks base method.
func (*MockDfdaemonDownload_DownloadTaskClient) Context ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskClient) Context() context.Context
Context mocks base method.
func (*MockDfdaemonDownload_DownloadTaskClient) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskClient) EXPECT() *MockDfdaemonDownload_DownloadTaskClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonDownload_DownloadTaskClient) Header ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockDfdaemonDownload_DownloadTaskClient) Recv ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskClient) Recv() (*dfdaemon.DownloadTaskResponse, error)
Recv mocks base method.
func (*MockDfdaemonDownload_DownloadTaskClient) RecvMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonDownload_DownloadTaskClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockDfdaemonDownload_DownloadTaskClient) SendMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonDownload_DownloadTaskClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockDfdaemonDownload_DownloadTaskClient) Trailer ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskClient) Trailer() metadata.MD
Trailer mocks base method.
type MockDfdaemonDownload_DownloadTaskClientMockRecorder ¶ added in v2.0.63
type MockDfdaemonDownload_DownloadTaskClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonDownload_DownloadTaskClientMockRecorder is the mock recorder for MockDfdaemonDownload_DownloadTaskClient.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) CloseSend ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Context ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Header ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Recv ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) RecvMsg ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) SendMsg ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Trailer ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockDfdaemonDownload_DownloadTaskServer ¶ added in v2.0.63
type MockDfdaemonDownload_DownloadTaskServer struct {
// contains filtered or unexported fields
}
MockDfdaemonDownload_DownloadTaskServer is a mock of DfdaemonDownload_DownloadTaskServer interface.
func NewMockDfdaemonDownload_DownloadTaskServer ¶ added in v2.0.63
func NewMockDfdaemonDownload_DownloadTaskServer(ctrl *gomock.Controller) *MockDfdaemonDownload_DownloadTaskServer
NewMockDfdaemonDownload_DownloadTaskServer creates a new mock instance.
func (*MockDfdaemonDownload_DownloadTaskServer) Context ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskServer) Context() context.Context
Context mocks base method.
func (*MockDfdaemonDownload_DownloadTaskServer) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskServer) EXPECT() *MockDfdaemonDownload_DownloadTaskServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonDownload_DownloadTaskServer) RecvMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonDownload_DownloadTaskServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockDfdaemonDownload_DownloadTaskServer) Send ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskServer) Send(arg0 *dfdaemon.DownloadTaskResponse) error
Send mocks base method.
func (*MockDfdaemonDownload_DownloadTaskServer) SendHeader ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockDfdaemonDownload_DownloadTaskServer) SendMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonDownload_DownloadTaskServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockDfdaemonDownload_DownloadTaskServer) SetHeader ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockDfdaemonDownload_DownloadTaskServer) SetTrailer ¶ added in v2.0.63
func (m *MockDfdaemonDownload_DownloadTaskServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockDfdaemonDownload_DownloadTaskServerMockRecorder ¶ added in v2.0.63
type MockDfdaemonDownload_DownloadTaskServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonDownload_DownloadTaskServerMockRecorder is the mock recorder for MockDfdaemonDownload_DownloadTaskServer.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) Context ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) RecvMsg ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) Send ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendHeader ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendMsg ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetHeader ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetTrailer ¶ added in v2.0.63
func (mr *MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockDfdaemonUploadClient ¶ added in v2.0.63
type MockDfdaemonUploadClient struct {
// contains filtered or unexported fields
}
MockDfdaemonUploadClient is a mock of DfdaemonUploadClient interface.
func NewMockDfdaemonUploadClient ¶ added in v2.0.63
func NewMockDfdaemonUploadClient(ctrl *gomock.Controller) *MockDfdaemonUploadClient
NewMockDfdaemonUploadClient creates a new mock instance.
func (*MockDfdaemonUploadClient) DownloadPiece ¶ added in v2.0.63
func (m *MockDfdaemonUploadClient) DownloadPiece(ctx context.Context, in *dfdaemon.DownloadPieceRequest, opts ...grpc.CallOption) (*dfdaemon.DownloadPieceResponse, error)
DownloadPiece mocks base method.
func (*MockDfdaemonUploadClient) DownloadTask ¶ added in v2.0.64
func (m *MockDfdaemonUploadClient) DownloadTask(ctx context.Context, in *dfdaemon.DownloadTaskRequest, opts ...grpc.CallOption) (dfdaemon.DfdaemonUpload_DownloadTaskClient, error)
DownloadTask mocks base method.
func (*MockDfdaemonUploadClient) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonUploadClient) EXPECT() *MockDfdaemonUploadClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonUploadClient) SyncPieces ¶ added in v2.0.63
func (m *MockDfdaemonUploadClient) SyncPieces(ctx context.Context, in *dfdaemon.SyncPiecesRequest, opts ...grpc.CallOption) (dfdaemon.DfdaemonUpload_SyncPiecesClient, error)
SyncPieces mocks base method.
type MockDfdaemonUploadClientMockRecorder ¶ added in v2.0.63
type MockDfdaemonUploadClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonUploadClientMockRecorder is the mock recorder for MockDfdaemonUploadClient.
func (*MockDfdaemonUploadClientMockRecorder) DownloadPiece ¶ added in v2.0.63
func (mr *MockDfdaemonUploadClientMockRecorder) DownloadPiece(ctx, in any, opts ...any) *gomock.Call
DownloadPiece indicates an expected call of DownloadPiece.
func (*MockDfdaemonUploadClientMockRecorder) DownloadTask ¶ added in v2.0.64
func (mr *MockDfdaemonUploadClientMockRecorder) DownloadTask(ctx, in any, opts ...any) *gomock.Call
DownloadTask indicates an expected call of DownloadTask.
func (*MockDfdaemonUploadClientMockRecorder) SyncPieces ¶ added in v2.0.63
func (mr *MockDfdaemonUploadClientMockRecorder) SyncPieces(ctx, in any, opts ...any) *gomock.Call
SyncPieces indicates an expected call of SyncPieces.
type MockDfdaemonUploadServer ¶ added in v2.0.63
type MockDfdaemonUploadServer struct {
// contains filtered or unexported fields
}
MockDfdaemonUploadServer is a mock of DfdaemonUploadServer interface.
func NewMockDfdaemonUploadServer ¶ added in v2.0.63
func NewMockDfdaemonUploadServer(ctrl *gomock.Controller) *MockDfdaemonUploadServer
NewMockDfdaemonUploadServer creates a new mock instance.
func (*MockDfdaemonUploadServer) DownloadPiece ¶ added in v2.0.63
func (m *MockDfdaemonUploadServer) DownloadPiece(arg0 context.Context, arg1 *dfdaemon.DownloadPieceRequest) (*dfdaemon.DownloadPieceResponse, error)
DownloadPiece mocks base method.
func (*MockDfdaemonUploadServer) DownloadTask ¶ added in v2.0.64
func (m *MockDfdaemonUploadServer) DownloadTask(arg0 *dfdaemon.DownloadTaskRequest, arg1 dfdaemon.DfdaemonUpload_DownloadTaskServer) error
DownloadTask mocks base method.
func (*MockDfdaemonUploadServer) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonUploadServer) EXPECT() *MockDfdaemonUploadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonUploadServer) SyncPieces ¶ added in v2.0.63
func (m *MockDfdaemonUploadServer) SyncPieces(arg0 *dfdaemon.SyncPiecesRequest, arg1 dfdaemon.DfdaemonUpload_SyncPiecesServer) error
SyncPieces mocks base method.
type MockDfdaemonUploadServerMockRecorder ¶ added in v2.0.63
type MockDfdaemonUploadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonUploadServerMockRecorder is the mock recorder for MockDfdaemonUploadServer.
func (*MockDfdaemonUploadServerMockRecorder) DownloadPiece ¶ added in v2.0.63
func (mr *MockDfdaemonUploadServerMockRecorder) DownloadPiece(arg0, arg1 any) *gomock.Call
DownloadPiece indicates an expected call of DownloadPiece.
func (*MockDfdaemonUploadServerMockRecorder) DownloadTask ¶ added in v2.0.64
func (mr *MockDfdaemonUploadServerMockRecorder) DownloadTask(arg0, arg1 any) *gomock.Call
DownloadTask indicates an expected call of DownloadTask.
func (*MockDfdaemonUploadServerMockRecorder) SyncPieces ¶ added in v2.0.63
func (mr *MockDfdaemonUploadServerMockRecorder) SyncPieces(arg0, arg1 any) *gomock.Call
SyncPieces indicates an expected call of SyncPieces.
type MockDfdaemonUpload_DownloadTaskClient ¶ added in v2.0.64
type MockDfdaemonUpload_DownloadTaskClient struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_DownloadTaskClient is a mock of DfdaemonUpload_DownloadTaskClient interface.
func NewMockDfdaemonUpload_DownloadTaskClient ¶ added in v2.0.64
func NewMockDfdaemonUpload_DownloadTaskClient(ctrl *gomock.Controller) *MockDfdaemonUpload_DownloadTaskClient
NewMockDfdaemonUpload_DownloadTaskClient creates a new mock instance.
func (*MockDfdaemonUpload_DownloadTaskClient) CloseSend ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskClient) CloseSend() error
CloseSend mocks base method.
func (*MockDfdaemonUpload_DownloadTaskClient) Context ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskClient) Context() context.Context
Context mocks base method.
func (*MockDfdaemonUpload_DownloadTaskClient) EXPECT ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskClient) EXPECT() *MockDfdaemonUpload_DownloadTaskClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonUpload_DownloadTaskClient) Header ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockDfdaemonUpload_DownloadTaskClient) Recv ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskClient) Recv() (*dfdaemon.DownloadTaskResponse, error)
Recv mocks base method.
func (*MockDfdaemonUpload_DownloadTaskClient) RecvMsg ¶ added in v2.0.64
func (m_2 *MockDfdaemonUpload_DownloadTaskClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockDfdaemonUpload_DownloadTaskClient) SendMsg ¶ added in v2.0.64
func (m_2 *MockDfdaemonUpload_DownloadTaskClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockDfdaemonUpload_DownloadTaskClient) Trailer ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskClient) Trailer() metadata.MD
Trailer mocks base method.
type MockDfdaemonUpload_DownloadTaskClientMockRecorder ¶ added in v2.0.64
type MockDfdaemonUpload_DownloadTaskClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_DownloadTaskClientMockRecorder is the mock recorder for MockDfdaemonUpload_DownloadTaskClient.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) CloseSend ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) Context ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) Header ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) Recv ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) RecvMsg ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) SendMsg ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDfdaemonUpload_DownloadTaskClientMockRecorder) Trailer ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockDfdaemonUpload_DownloadTaskServer ¶ added in v2.0.64
type MockDfdaemonUpload_DownloadTaskServer struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_DownloadTaskServer is a mock of DfdaemonUpload_DownloadTaskServer interface.
func NewMockDfdaemonUpload_DownloadTaskServer ¶ added in v2.0.64
func NewMockDfdaemonUpload_DownloadTaskServer(ctrl *gomock.Controller) *MockDfdaemonUpload_DownloadTaskServer
NewMockDfdaemonUpload_DownloadTaskServer creates a new mock instance.
func (*MockDfdaemonUpload_DownloadTaskServer) Context ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskServer) Context() context.Context
Context mocks base method.
func (*MockDfdaemonUpload_DownloadTaskServer) EXPECT ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskServer) EXPECT() *MockDfdaemonUpload_DownloadTaskServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonUpload_DownloadTaskServer) RecvMsg ¶ added in v2.0.64
func (m_2 *MockDfdaemonUpload_DownloadTaskServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockDfdaemonUpload_DownloadTaskServer) Send ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskServer) Send(arg0 *dfdaemon.DownloadTaskResponse) error
Send mocks base method.
func (*MockDfdaemonUpload_DownloadTaskServer) SendHeader ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockDfdaemonUpload_DownloadTaskServer) SendMsg ¶ added in v2.0.64
func (m_2 *MockDfdaemonUpload_DownloadTaskServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockDfdaemonUpload_DownloadTaskServer) SetHeader ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockDfdaemonUpload_DownloadTaskServer) SetTrailer ¶ added in v2.0.64
func (m *MockDfdaemonUpload_DownloadTaskServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockDfdaemonUpload_DownloadTaskServerMockRecorder ¶ added in v2.0.64
type MockDfdaemonUpload_DownloadTaskServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_DownloadTaskServerMockRecorder is the mock recorder for MockDfdaemonUpload_DownloadTaskServer.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) Context ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) RecvMsg ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) Send ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) SendHeader ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) SendMsg ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) SetHeader ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockDfdaemonUpload_DownloadTaskServerMockRecorder) SetTrailer ¶ added in v2.0.64
func (mr *MockDfdaemonUpload_DownloadTaskServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockDfdaemonUpload_SyncPiecesClient ¶ added in v2.0.63
type MockDfdaemonUpload_SyncPiecesClient struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_SyncPiecesClient is a mock of DfdaemonUpload_SyncPiecesClient interface.
func NewMockDfdaemonUpload_SyncPiecesClient ¶ added in v2.0.63
func NewMockDfdaemonUpload_SyncPiecesClient(ctrl *gomock.Controller) *MockDfdaemonUpload_SyncPiecesClient
NewMockDfdaemonUpload_SyncPiecesClient creates a new mock instance.
func (*MockDfdaemonUpload_SyncPiecesClient) CloseSend ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesClient) CloseSend() error
CloseSend mocks base method.
func (*MockDfdaemonUpload_SyncPiecesClient) Context ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesClient) Context() context.Context
Context mocks base method.
func (*MockDfdaemonUpload_SyncPiecesClient) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesClient) EXPECT() *MockDfdaemonUpload_SyncPiecesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonUpload_SyncPiecesClient) Header ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockDfdaemonUpload_SyncPiecesClient) Recv ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesClient) Recv() (*dfdaemon.SyncPiecesResponse, error)
Recv mocks base method.
func (*MockDfdaemonUpload_SyncPiecesClient) RecvMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonUpload_SyncPiecesClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockDfdaemonUpload_SyncPiecesClient) SendMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonUpload_SyncPiecesClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockDfdaemonUpload_SyncPiecesClient) Trailer ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesClient) Trailer() metadata.MD
Trailer mocks base method.
type MockDfdaemonUpload_SyncPiecesClientMockRecorder ¶ added in v2.0.63
type MockDfdaemonUpload_SyncPiecesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_SyncPiecesClientMockRecorder is the mock recorder for MockDfdaemonUpload_SyncPiecesClient.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) CloseSend ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Context ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Header ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Recv ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) RecvMsg ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) SendMsg ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Trailer ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockDfdaemonUpload_SyncPiecesServer ¶ added in v2.0.63
type MockDfdaemonUpload_SyncPiecesServer struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_SyncPiecesServer is a mock of DfdaemonUpload_SyncPiecesServer interface.
func NewMockDfdaemonUpload_SyncPiecesServer ¶ added in v2.0.63
func NewMockDfdaemonUpload_SyncPiecesServer(ctrl *gomock.Controller) *MockDfdaemonUpload_SyncPiecesServer
NewMockDfdaemonUpload_SyncPiecesServer creates a new mock instance.
func (*MockDfdaemonUpload_SyncPiecesServer) Context ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesServer) Context() context.Context
Context mocks base method.
func (*MockDfdaemonUpload_SyncPiecesServer) EXPECT ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesServer) EXPECT() *MockDfdaemonUpload_SyncPiecesServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDfdaemonUpload_SyncPiecesServer) RecvMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonUpload_SyncPiecesServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockDfdaemonUpload_SyncPiecesServer) Send ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesServer) Send(arg0 *dfdaemon.SyncPiecesResponse) error
Send mocks base method.
func (*MockDfdaemonUpload_SyncPiecesServer) SendHeader ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockDfdaemonUpload_SyncPiecesServer) SendMsg ¶ added in v2.0.63
func (m_2 *MockDfdaemonUpload_SyncPiecesServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockDfdaemonUpload_SyncPiecesServer) SetHeader ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockDfdaemonUpload_SyncPiecesServer) SetTrailer ¶ added in v2.0.63
func (m *MockDfdaemonUpload_SyncPiecesServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockDfdaemonUpload_SyncPiecesServerMockRecorder ¶ added in v2.0.63
type MockDfdaemonUpload_SyncPiecesServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDfdaemonUpload_SyncPiecesServerMockRecorder is the mock recorder for MockDfdaemonUpload_SyncPiecesServer.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) Context ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) RecvMsg ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) Send ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendHeader ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendMsg ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetHeader ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetTrailer ¶ added in v2.0.63
func (mr *MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockUnsafeDfdaemonDownloadServer ¶ added in v2.0.63
type MockUnsafeDfdaemonDownloadServer struct {
// contains filtered or unexported fields
}
MockUnsafeDfdaemonDownloadServer is a mock of UnsafeDfdaemonDownloadServer interface.
func NewMockUnsafeDfdaemonDownloadServer ¶ added in v2.0.63
func NewMockUnsafeDfdaemonDownloadServer(ctrl *gomock.Controller) *MockUnsafeDfdaemonDownloadServer
NewMockUnsafeDfdaemonDownloadServer creates a new mock instance.
func (*MockUnsafeDfdaemonDownloadServer) EXPECT ¶ added in v2.0.63
func (m *MockUnsafeDfdaemonDownloadServer) EXPECT() *MockUnsafeDfdaemonDownloadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeDfdaemonDownloadServerMockRecorder ¶ added in v2.0.63
type MockUnsafeDfdaemonDownloadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeDfdaemonDownloadServerMockRecorder is the mock recorder for MockUnsafeDfdaemonDownloadServer.
type MockUnsafeDfdaemonUploadServer ¶ added in v2.0.63
type MockUnsafeDfdaemonUploadServer struct {
// contains filtered or unexported fields
}
MockUnsafeDfdaemonUploadServer is a mock of UnsafeDfdaemonUploadServer interface.
func NewMockUnsafeDfdaemonUploadServer ¶ added in v2.0.63
func NewMockUnsafeDfdaemonUploadServer(ctrl *gomock.Controller) *MockUnsafeDfdaemonUploadServer
NewMockUnsafeDfdaemonUploadServer creates a new mock instance.
func (*MockUnsafeDfdaemonUploadServer) EXPECT ¶ added in v2.0.63
func (m *MockUnsafeDfdaemonUploadServer) EXPECT() *MockUnsafeDfdaemonUploadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeDfdaemonUploadServerMockRecorder ¶ added in v2.0.63
type MockUnsafeDfdaemonUploadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeDfdaemonUploadServerMockRecorder is the mock recorder for MockUnsafeDfdaemonUploadServer.