mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerDataNodeClient

type PeerDataNodeClient struct {
	mock.Mock
}

PeerDataNodeClient is an autogenerated mock type for the PeerDataNodeClient type

func (*PeerDataNodeClient) BenchmarkFileTransfer

BenchmarkFileTransfer provides a mock function with given fields: ctx, in, opts

func (*PeerDataNodeClient) FetchTableShardMetaData

func (_m *PeerDataNodeClient) FetchTableShardMetaData(ctx context.Context, in *rpc.TableShardMetaDataRequest, opts ...grpc.CallOption) (*rpc.TableShardMetaData, error)

FetchTableShardMetaData provides a mock function with given fields: ctx, in, opts

func (*PeerDataNodeClient) FetchVectorPartyRawData

FetchVectorPartyRawData provides a mock function with given fields: ctx, in, opts

func (*PeerDataNodeClient) Health

Health provides a mock function with given fields: ctx, in, opts

func (*PeerDataNodeClient) KeepAlive

KeepAlive provides a mock function with given fields: ctx, opts

func (*PeerDataNodeClient) StartSession

func (_m *PeerDataNodeClient) StartSession(ctx context.Context, in *rpc.StartSessionRequest, opts ...grpc.CallOption) (*rpc.Session, error)

StartSession provides a mock function with given fields: ctx, in, opts

type PeerDataNode_BenchmarkFileTransferClient

type PeerDataNode_BenchmarkFileTransferClient struct {
	mock.Mock
}

PeerDataNode_BenchmarkFileTransferClient is an autogenerated mock type for the PeerDataNode_BenchmarkFileTransferClient type

func (*PeerDataNode_BenchmarkFileTransferClient) CloseSend

CloseSend provides a mock function with given fields:

func (*PeerDataNode_BenchmarkFileTransferClient) Context

Context provides a mock function with given fields:

func (*PeerDataNode_BenchmarkFileTransferClient) Header

Header provides a mock function with given fields:

func (*PeerDataNode_BenchmarkFileTransferClient) Recv

Recv provides a mock function with given fields:

func (*PeerDataNode_BenchmarkFileTransferClient) RecvMsg

func (_m *PeerDataNode_BenchmarkFileTransferClient) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*PeerDataNode_BenchmarkFileTransferClient) SendMsg

func (_m *PeerDataNode_BenchmarkFileTransferClient) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*PeerDataNode_BenchmarkFileTransferClient) Trailer

Trailer provides a mock function with given fields:

type PeerDataNode_FetchVectorPartyRawDataClient

type PeerDataNode_FetchVectorPartyRawDataClient struct {
	mock.Mock
}

PeerDataNode_FetchVectorPartyRawDataClient is an autogenerated mock type for the PeerDataNode_FetchVectorPartyRawDataClient type

func (*PeerDataNode_FetchVectorPartyRawDataClient) CloseSend

CloseSend provides a mock function with given fields:

func (*PeerDataNode_FetchVectorPartyRawDataClient) Context

Context provides a mock function with given fields:

func (*PeerDataNode_FetchVectorPartyRawDataClient) Header

Header provides a mock function with given fields:

func (*PeerDataNode_FetchVectorPartyRawDataClient) Recv

Recv provides a mock function with given fields:

func (*PeerDataNode_FetchVectorPartyRawDataClient) RecvMsg

func (_m *PeerDataNode_FetchVectorPartyRawDataClient) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*PeerDataNode_FetchVectorPartyRawDataClient) SendMsg

func (_m *PeerDataNode_FetchVectorPartyRawDataClient) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*PeerDataNode_FetchVectorPartyRawDataClient) Trailer

Trailer provides a mock function with given fields:

type PeerDataNode_KeepAliveClient

type PeerDataNode_KeepAliveClient struct {
	mock.Mock
}

PeerDataNode_KeepAliveClient is an autogenerated mock type for the PeerDataNode_KeepAliveClient type

func (*PeerDataNode_KeepAliveClient) CloseSend

func (_m *PeerDataNode_KeepAliveClient) CloseSend() error

CloseSend provides a mock function with given fields:

func (*PeerDataNode_KeepAliveClient) Context

Context provides a mock function with given fields:

func (*PeerDataNode_KeepAliveClient) Header

Header provides a mock function with given fields:

func (*PeerDataNode_KeepAliveClient) Recv

Recv provides a mock function with given fields:

func (*PeerDataNode_KeepAliveClient) RecvMsg

func (_m *PeerDataNode_KeepAliveClient) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*PeerDataNode_KeepAliveClient) Send

Send provides a mock function with given fields: _a0

func (*PeerDataNode_KeepAliveClient) SendMsg

func (_m *PeerDataNode_KeepAliveClient) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*PeerDataNode_KeepAliveClient) Trailer

Trailer provides a mock function with given fields:

Jump to

Keyboard shortcuts

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