mocks

package
v2.0.102 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

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

DeleteTask mocks base method.

func (*MockDfdaemonDownloadClient) DownloadTask added in v2.0.63

DownloadTask mocks base method.

func (*MockDfdaemonDownloadClient) EXPECT added in v2.0.63

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

func (*MockDfdaemonDownloadClient) LeaveHost added in v2.0.93

LeaveHost mocks base method.

func (*MockDfdaemonDownloadClient) StatTask added in v2.0.63

StatTask mocks base method.

func (*MockDfdaemonDownloadClient) UploadTask added in v2.0.63

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

DeleteTask mocks base method.

func (*MockDfdaemonDownloadServer) DownloadTask added in v2.0.63

DownloadTask mocks base method.

func (*MockDfdaemonDownloadServer) EXPECT added in v2.0.63

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

StatTask mocks base method.

func (*MockDfdaemonDownloadServer) UploadTask added in v2.0.63

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

CloseSend mocks base method.

func (*MockDfdaemonDownload_DownloadTaskClient) Context added in v2.0.63

Context mocks base method.

func (*MockDfdaemonDownload_DownloadTaskClient) EXPECT added in v2.0.63

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

func (*MockDfdaemonDownload_DownloadTaskClient) Header added in v2.0.63

Header mocks base method.

func (*MockDfdaemonDownload_DownloadTaskClient) Recv added in v2.0.63

Recv mocks base method.

func (*MockDfdaemonDownload_DownloadTaskClient) RecvMsg added in v2.0.63

RecvMsg mocks base method.

func (*MockDfdaemonDownload_DownloadTaskClient) SendMsg added in v2.0.63

SendMsg mocks base method.

func (*MockDfdaemonDownload_DownloadTaskClient) Trailer added in v2.0.63

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

CloseSend indicates an expected call of CloseSend.

func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Context added in v2.0.63

Context indicates an expected call of Context.

func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Header added in v2.0.63

Header indicates an expected call of Header.

func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Recv added in v2.0.63

Recv indicates an expected call of Recv.

func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) RecvMsg added in v2.0.63

RecvMsg indicates an expected call of RecvMsg.

func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) SendMsg added in v2.0.63

SendMsg indicates an expected call of SendMsg.

func (*MockDfdaemonDownload_DownloadTaskClientMockRecorder) Trailer added in v2.0.63

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

Context mocks base method.

func (*MockDfdaemonDownload_DownloadTaskServer) EXPECT added in v2.0.63

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

func (*MockDfdaemonDownload_DownloadTaskServer) RecvMsg added in v2.0.63

RecvMsg mocks base method.

func (*MockDfdaemonDownload_DownloadTaskServer) Send added in v2.0.63

Send mocks base method.

func (*MockDfdaemonDownload_DownloadTaskServer) SendHeader added in v2.0.63

SendHeader mocks base method.

func (*MockDfdaemonDownload_DownloadTaskServer) SendMsg added in v2.0.63

SendMsg mocks base method.

func (*MockDfdaemonDownload_DownloadTaskServer) SetHeader added in v2.0.63

SetHeader mocks base method.

func (*MockDfdaemonDownload_DownloadTaskServer) SetTrailer added in v2.0.63

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

Context indicates an expected call of Context.

func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) RecvMsg added in v2.0.63

RecvMsg indicates an expected call of RecvMsg.

func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) Send added in v2.0.63

Send indicates an expected call of Send.

func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendHeader added in v2.0.63

SendHeader indicates an expected call of SendHeader.

func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SendMsg added in v2.0.63

SendMsg indicates an expected call of SendMsg.

func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetHeader added in v2.0.63

SetHeader indicates an expected call of SetHeader.

func (*MockDfdaemonDownload_DownloadTaskServerMockRecorder) SetTrailer added in v2.0.63

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

DownloadPiece mocks base method.

func (*MockDfdaemonUploadClient) EXPECT added in v2.0.63

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

func (*MockDfdaemonUploadClient) SyncPieces added in v2.0.63

SyncPieces mocks base method.

func (*MockDfdaemonUploadClient) TriggerDownloadTask added in v2.0.67

TriggerDownloadTask 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) SyncPieces added in v2.0.63

func (mr *MockDfdaemonUploadClientMockRecorder) SyncPieces(ctx, in any, opts ...any) *gomock.Call

SyncPieces indicates an expected call of SyncPieces.

func (*MockDfdaemonUploadClientMockRecorder) TriggerDownloadTask added in v2.0.67

func (mr *MockDfdaemonUploadClientMockRecorder) TriggerDownloadTask(ctx, in any, opts ...any) *gomock.Call

TriggerDownloadTask indicates an expected call of TriggerDownloadTask.

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

DownloadPiece mocks base method.

func (*MockDfdaemonUploadServer) EXPECT added in v2.0.63

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

func (*MockDfdaemonUploadServer) SyncPieces added in v2.0.63

SyncPieces mocks base method.

func (*MockDfdaemonUploadServer) TriggerDownloadTask added in v2.0.67

TriggerDownloadTask 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) SyncPieces added in v2.0.63

func (mr *MockDfdaemonUploadServerMockRecorder) SyncPieces(arg0, arg1 any) *gomock.Call

SyncPieces indicates an expected call of SyncPieces.

func (*MockDfdaemonUploadServerMockRecorder) TriggerDownloadTask added in v2.0.67

func (mr *MockDfdaemonUploadServerMockRecorder) TriggerDownloadTask(arg0, arg1 any) *gomock.Call

TriggerDownloadTask indicates an expected call of TriggerDownloadTask.

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

CloseSend mocks base method.

func (*MockDfdaemonUpload_SyncPiecesClient) Context added in v2.0.63

Context mocks base method.

func (*MockDfdaemonUpload_SyncPiecesClient) EXPECT added in v2.0.63

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

func (*MockDfdaemonUpload_SyncPiecesClient) Header added in v2.0.63

Header mocks base method.

func (*MockDfdaemonUpload_SyncPiecesClient) Recv added in v2.0.63

Recv mocks base method.

func (*MockDfdaemonUpload_SyncPiecesClient) RecvMsg added in v2.0.63

RecvMsg mocks base method.

func (*MockDfdaemonUpload_SyncPiecesClient) SendMsg added in v2.0.63

SendMsg mocks base method.

func (*MockDfdaemonUpload_SyncPiecesClient) Trailer added in v2.0.63

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

CloseSend indicates an expected call of CloseSend.

func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Context added in v2.0.63

Context indicates an expected call of Context.

func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Header added in v2.0.63

Header indicates an expected call of Header.

func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Recv added in v2.0.63

Recv indicates an expected call of Recv.

func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) RecvMsg added in v2.0.63

RecvMsg indicates an expected call of RecvMsg.

func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) SendMsg added in v2.0.63

SendMsg indicates an expected call of SendMsg.

func (*MockDfdaemonUpload_SyncPiecesClientMockRecorder) Trailer added in v2.0.63

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

Context mocks base method.

func (*MockDfdaemonUpload_SyncPiecesServer) EXPECT added in v2.0.63

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

func (*MockDfdaemonUpload_SyncPiecesServer) RecvMsg added in v2.0.63

RecvMsg mocks base method.

func (*MockDfdaemonUpload_SyncPiecesServer) Send added in v2.0.63

Send mocks base method.

func (*MockDfdaemonUpload_SyncPiecesServer) SendHeader added in v2.0.63

SendHeader mocks base method.

func (*MockDfdaemonUpload_SyncPiecesServer) SendMsg added in v2.0.63

SendMsg mocks base method.

func (*MockDfdaemonUpload_SyncPiecesServer) SetHeader added in v2.0.63

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

Context indicates an expected call of Context.

func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) RecvMsg added in v2.0.63

RecvMsg indicates an expected call of RecvMsg.

func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) Send added in v2.0.63

Send indicates an expected call of Send.

func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendHeader added in v2.0.63

SendHeader indicates an expected call of SendHeader.

func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SendMsg added in v2.0.63

SendMsg indicates an expected call of SendMsg.

func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetHeader added in v2.0.63

SetHeader indicates an expected call of SetHeader.

func (*MockDfdaemonUpload_SyncPiecesServerMockRecorder) SetTrailer added in v2.0.63

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

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

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.

Jump to

Keyboard shortcuts

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