Documentation ¶
Index ¶
- type MockTestServiceClient
- func (_m *MockTestServiceClient) BidiStream(ctx context.Context, opts ...grpc.CallOption) (testproto.TestService_BidiStreamClient, error)
- func (_m *MockTestServiceClient) ClientStream(ctx context.Context, opts ...grpc.CallOption) (testproto.TestService_ClientStreamClient, error)
- func (_m *MockTestServiceClient) EXPECT() *MockTestServiceClient_Expecter
- func (_m *MockTestServiceClient) ServerStream(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption) (testproto.TestService_ServerStreamClient, error)
- func (_m *MockTestServiceClient) ServerStreamThatSleeps(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption) (testproto.TestService_ServerStreamThatSleepsClient, error)
- func (_m *MockTestServiceClient) Unary(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption) (*testproto.Msg, error)
- type MockTestServiceClient_BidiStream_Call
- func (_c *MockTestServiceClient_BidiStream_Call) Return(_a0 testproto.TestService_BidiStreamClient, _a1 error) *MockTestServiceClient_BidiStream_Call
- func (_c *MockTestServiceClient_BidiStream_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *MockTestServiceClient_BidiStream_Call
- func (_c *MockTestServiceClient_BidiStream_Call) RunAndReturn(...) *MockTestServiceClient_BidiStream_Call
- type MockTestServiceClient_ClientStream_Call
- func (_c *MockTestServiceClient_ClientStream_Call) Return(_a0 testproto.TestService_ClientStreamClient, _a1 error) *MockTestServiceClient_ClientStream_Call
- func (_c *MockTestServiceClient_ClientStream_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *MockTestServiceClient_ClientStream_Call
- func (_c *MockTestServiceClient_ClientStream_Call) RunAndReturn(...) *MockTestServiceClient_ClientStream_Call
- type MockTestServiceClient_Expecter
- func (_e *MockTestServiceClient_Expecter) BidiStream(ctx interface{}, opts ...interface{}) *MockTestServiceClient_BidiStream_Call
- func (_e *MockTestServiceClient_Expecter) ClientStream(ctx interface{}, opts ...interface{}) *MockTestServiceClient_ClientStream_Call
- func (_e *MockTestServiceClient_Expecter) ServerStream(ctx interface{}, in interface{}, opts ...interface{}) *MockTestServiceClient_ServerStream_Call
- func (_e *MockTestServiceClient_Expecter) ServerStreamThatSleeps(ctx interface{}, in interface{}, opts ...interface{}) *MockTestServiceClient_ServerStreamThatSleeps_Call
- func (_e *MockTestServiceClient_Expecter) Unary(ctx interface{}, in interface{}, opts ...interface{}) *MockTestServiceClient_Unary_Call
- type MockTestServiceClient_ServerStreamThatSleeps_Call
- func (_c *MockTestServiceClient_ServerStreamThatSleeps_Call) Return(_a0 testproto.TestService_ServerStreamThatSleepsClient, _a1 error) *MockTestServiceClient_ServerStreamThatSleeps_Call
- func (_c *MockTestServiceClient_ServerStreamThatSleeps_Call) Run(run func(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption)) *MockTestServiceClient_ServerStreamThatSleeps_Call
- func (_c *MockTestServiceClient_ServerStreamThatSleeps_Call) RunAndReturn(...) *MockTestServiceClient_ServerStreamThatSleeps_Call
- type MockTestServiceClient_ServerStream_Call
- func (_c *MockTestServiceClient_ServerStream_Call) Return(_a0 testproto.TestService_ServerStreamClient, _a1 error) *MockTestServiceClient_ServerStream_Call
- func (_c *MockTestServiceClient_ServerStream_Call) Run(run func(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption)) *MockTestServiceClient_ServerStream_Call
- func (_c *MockTestServiceClient_ServerStream_Call) RunAndReturn(...) *MockTestServiceClient_ServerStream_Call
- type MockTestServiceClient_Unary_Call
- func (_c *MockTestServiceClient_Unary_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestServiceClient_Unary_Call
- func (_c *MockTestServiceClient_Unary_Call) Run(run func(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption)) *MockTestServiceClient_Unary_Call
- func (_c *MockTestServiceClient_Unary_Call) RunAndReturn(...) *MockTestServiceClient_Unary_Call
- type MockTestServiceServer
- func (_m *MockTestServiceServer) BidiStream(_a0 testproto.TestService_BidiStreamServer) error
- func (_m *MockTestServiceServer) ClientStream(_a0 testproto.TestService_ClientStreamServer) error
- func (_m *MockTestServiceServer) EXPECT() *MockTestServiceServer_Expecter
- func (_m *MockTestServiceServer) ServerStream(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamServer) error
- func (_m *MockTestServiceServer) ServerStreamThatSleeps(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamThatSleepsServer) error
- func (_m *MockTestServiceServer) Unary(_a0 context.Context, _a1 *testproto.Msg) (*testproto.Msg, error)
- type MockTestServiceServer_BidiStream_Call
- func (_c *MockTestServiceServer_BidiStream_Call) Return(_a0 error) *MockTestServiceServer_BidiStream_Call
- func (_c *MockTestServiceServer_BidiStream_Call) Run(run func(_a0 testproto.TestService_BidiStreamServer)) *MockTestServiceServer_BidiStream_Call
- func (_c *MockTestServiceServer_BidiStream_Call) RunAndReturn(run func(testproto.TestService_BidiStreamServer) error) *MockTestServiceServer_BidiStream_Call
- type MockTestServiceServer_ClientStream_Call
- func (_c *MockTestServiceServer_ClientStream_Call) Return(_a0 error) *MockTestServiceServer_ClientStream_Call
- func (_c *MockTestServiceServer_ClientStream_Call) Run(run func(_a0 testproto.TestService_ClientStreamServer)) *MockTestServiceServer_ClientStream_Call
- func (_c *MockTestServiceServer_ClientStream_Call) RunAndReturn(run func(testproto.TestService_ClientStreamServer) error) *MockTestServiceServer_ClientStream_Call
- type MockTestServiceServer_Expecter
- func (_e *MockTestServiceServer_Expecter) BidiStream(_a0 interface{}) *MockTestServiceServer_BidiStream_Call
- func (_e *MockTestServiceServer_Expecter) ClientStream(_a0 interface{}) *MockTestServiceServer_ClientStream_Call
- func (_e *MockTestServiceServer_Expecter) ServerStream(_a0 interface{}, _a1 interface{}) *MockTestServiceServer_ServerStream_Call
- func (_e *MockTestServiceServer_Expecter) ServerStreamThatSleeps(_a0 interface{}, _a1 interface{}) *MockTestServiceServer_ServerStreamThatSleeps_Call
- func (_e *MockTestServiceServer_Expecter) Unary(_a0 interface{}, _a1 interface{}) *MockTestServiceServer_Unary_Call
- type MockTestServiceServer_ServerStreamThatSleeps_Call
- func (_c *MockTestServiceServer_ServerStreamThatSleeps_Call) Return(_a0 error) *MockTestServiceServer_ServerStreamThatSleeps_Call
- func (_c *MockTestServiceServer_ServerStreamThatSleeps_Call) Run(...) *MockTestServiceServer_ServerStreamThatSleeps_Call
- func (_c *MockTestServiceServer_ServerStreamThatSleeps_Call) RunAndReturn(...) *MockTestServiceServer_ServerStreamThatSleeps_Call
- type MockTestServiceServer_ServerStream_Call
- func (_c *MockTestServiceServer_ServerStream_Call) Return(_a0 error) *MockTestServiceServer_ServerStream_Call
- func (_c *MockTestServiceServer_ServerStream_Call) Run(run func(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamServer)) *MockTestServiceServer_ServerStream_Call
- func (_c *MockTestServiceServer_ServerStream_Call) RunAndReturn(run func(*testproto.Msg, testproto.TestService_ServerStreamServer) error) *MockTestServiceServer_ServerStream_Call
- type MockTestServiceServer_Unary_Call
- func (_c *MockTestServiceServer_Unary_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestServiceServer_Unary_Call
- func (_c *MockTestServiceServer_Unary_Call) Run(run func(_a0 context.Context, _a1 *testproto.Msg)) *MockTestServiceServer_Unary_Call
- func (_c *MockTestServiceServer_Unary_Call) RunAndReturn(run func(context.Context, *testproto.Msg) (*testproto.Msg, error)) *MockTestServiceServer_Unary_Call
- type MockTestService_BidiStreamClient
- func (_m *MockTestService_BidiStreamClient) CloseSend() error
- func (_m *MockTestService_BidiStreamClient) Context() context.Context
- func (_m *MockTestService_BidiStreamClient) EXPECT() *MockTestService_BidiStreamClient_Expecter
- func (_m *MockTestService_BidiStreamClient) Header() (metadata.MD, error)
- func (_m *MockTestService_BidiStreamClient) Recv() (*testproto.Msg, error)
- func (_m *MockTestService_BidiStreamClient) RecvMsg(m interface{}) error
- func (_m *MockTestService_BidiStreamClient) Send(_a0 *testproto.Msg) error
- func (_m *MockTestService_BidiStreamClient) SendMsg(m interface{}) error
- func (_m *MockTestService_BidiStreamClient) Trailer() metadata.MD
- type MockTestService_BidiStreamClient_CloseSend_Call
- func (_c *MockTestService_BidiStreamClient_CloseSend_Call) Return(_a0 error) *MockTestService_BidiStreamClient_CloseSend_Call
- func (_c *MockTestService_BidiStreamClient_CloseSend_Call) Run(run func()) *MockTestService_BidiStreamClient_CloseSend_Call
- func (_c *MockTestService_BidiStreamClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_BidiStreamClient_CloseSend_Call
- type MockTestService_BidiStreamClient_Context_Call
- func (_c *MockTestService_BidiStreamClient_Context_Call) Return(_a0 context.Context) *MockTestService_BidiStreamClient_Context_Call
- func (_c *MockTestService_BidiStreamClient_Context_Call) Run(run func()) *MockTestService_BidiStreamClient_Context_Call
- func (_c *MockTestService_BidiStreamClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_BidiStreamClient_Context_Call
- type MockTestService_BidiStreamClient_Expecter
- func (_e *MockTestService_BidiStreamClient_Expecter) CloseSend() *MockTestService_BidiStreamClient_CloseSend_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) Context() *MockTestService_BidiStreamClient_Context_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) Header() *MockTestService_BidiStreamClient_Header_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) Recv() *MockTestService_BidiStreamClient_Recv_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) RecvMsg(m interface{}) *MockTestService_BidiStreamClient_RecvMsg_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) Send(_a0 interface{}) *MockTestService_BidiStreamClient_Send_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) SendMsg(m interface{}) *MockTestService_BidiStreamClient_SendMsg_Call
- func (_e *MockTestService_BidiStreamClient_Expecter) Trailer() *MockTestService_BidiStreamClient_Trailer_Call
- type MockTestService_BidiStreamClient_Header_Call
- func (_c *MockTestService_BidiStreamClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_BidiStreamClient_Header_Call
- func (_c *MockTestService_BidiStreamClient_Header_Call) Run(run func()) *MockTestService_BidiStreamClient_Header_Call
- func (_c *MockTestService_BidiStreamClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_BidiStreamClient_Header_Call
- type MockTestService_BidiStreamClient_RecvMsg_Call
- func (_c *MockTestService_BidiStreamClient_RecvMsg_Call) Return(_a0 error) *MockTestService_BidiStreamClient_RecvMsg_Call
- func (_c *MockTestService_BidiStreamClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamClient_RecvMsg_Call
- func (_c *MockTestService_BidiStreamClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamClient_RecvMsg_Call
- type MockTestService_BidiStreamClient_Recv_Call
- func (_c *MockTestService_BidiStreamClient_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_BidiStreamClient_Recv_Call
- func (_c *MockTestService_BidiStreamClient_Recv_Call) Run(run func()) *MockTestService_BidiStreamClient_Recv_Call
- func (_c *MockTestService_BidiStreamClient_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_BidiStreamClient_Recv_Call
- type MockTestService_BidiStreamClient_SendMsg_Call
- func (_c *MockTestService_BidiStreamClient_SendMsg_Call) Return(_a0 error) *MockTestService_BidiStreamClient_SendMsg_Call
- func (_c *MockTestService_BidiStreamClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamClient_SendMsg_Call
- func (_c *MockTestService_BidiStreamClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamClient_SendMsg_Call
- type MockTestService_BidiStreamClient_Send_Call
- func (_c *MockTestService_BidiStreamClient_Send_Call) Return(_a0 error) *MockTestService_BidiStreamClient_Send_Call
- func (_c *MockTestService_BidiStreamClient_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_BidiStreamClient_Send_Call
- func (_c *MockTestService_BidiStreamClient_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_BidiStreamClient_Send_Call
- type MockTestService_BidiStreamClient_Trailer_Call
- func (_c *MockTestService_BidiStreamClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_BidiStreamClient_Trailer_Call
- func (_c *MockTestService_BidiStreamClient_Trailer_Call) Run(run func()) *MockTestService_BidiStreamClient_Trailer_Call
- func (_c *MockTestService_BidiStreamClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_BidiStreamClient_Trailer_Call
- type MockTestService_BidiStreamServer
- func (_m *MockTestService_BidiStreamServer) Context() context.Context
- func (_m *MockTestService_BidiStreamServer) EXPECT() *MockTestService_BidiStreamServer_Expecter
- func (_m *MockTestService_BidiStreamServer) Recv() (*testproto.Msg, error)
- func (_m *MockTestService_BidiStreamServer) RecvMsg(m interface{}) error
- func (_m *MockTestService_BidiStreamServer) Send(_a0 *testproto.Msg) error
- func (_m *MockTestService_BidiStreamServer) SendHeader(_a0 metadata.MD) error
- func (_m *MockTestService_BidiStreamServer) SendMsg(m interface{}) error
- func (_m *MockTestService_BidiStreamServer) SetHeader(_a0 metadata.MD) error
- func (_m *MockTestService_BidiStreamServer) SetTrailer(_a0 metadata.MD)
- type MockTestService_BidiStreamServer_Context_Call
- func (_c *MockTestService_BidiStreamServer_Context_Call) Return(_a0 context.Context) *MockTestService_BidiStreamServer_Context_Call
- func (_c *MockTestService_BidiStreamServer_Context_Call) Run(run func()) *MockTestService_BidiStreamServer_Context_Call
- func (_c *MockTestService_BidiStreamServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_BidiStreamServer_Context_Call
- type MockTestService_BidiStreamServer_Expecter
- func (_e *MockTestService_BidiStreamServer_Expecter) Context() *MockTestService_BidiStreamServer_Context_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) Recv() *MockTestService_BidiStreamServer_Recv_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) RecvMsg(m interface{}) *MockTestService_BidiStreamServer_RecvMsg_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) Send(_a0 interface{}) *MockTestService_BidiStreamServer_Send_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_BidiStreamServer_SendHeader_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) SendMsg(m interface{}) *MockTestService_BidiStreamServer_SendMsg_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_BidiStreamServer_SetHeader_Call
- func (_e *MockTestService_BidiStreamServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_BidiStreamServer_SetTrailer_Call
- type MockTestService_BidiStreamServer_RecvMsg_Call
- func (_c *MockTestService_BidiStreamServer_RecvMsg_Call) Return(_a0 error) *MockTestService_BidiStreamServer_RecvMsg_Call
- func (_c *MockTestService_BidiStreamServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamServer_RecvMsg_Call
- func (_c *MockTestService_BidiStreamServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamServer_RecvMsg_Call
- type MockTestService_BidiStreamServer_Recv_Call
- func (_c *MockTestService_BidiStreamServer_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_BidiStreamServer_Recv_Call
- func (_c *MockTestService_BidiStreamServer_Recv_Call) Run(run func()) *MockTestService_BidiStreamServer_Recv_Call
- func (_c *MockTestService_BidiStreamServer_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_BidiStreamServer_Recv_Call
- type MockTestService_BidiStreamServer_SendHeader_Call
- func (_c *MockTestService_BidiStreamServer_SendHeader_Call) Return(_a0 error) *MockTestService_BidiStreamServer_SendHeader_Call
- func (_c *MockTestService_BidiStreamServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_BidiStreamServer_SendHeader_Call
- func (_c *MockTestService_BidiStreamServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_BidiStreamServer_SendHeader_Call
- type MockTestService_BidiStreamServer_SendMsg_Call
- func (_c *MockTestService_BidiStreamServer_SendMsg_Call) Return(_a0 error) *MockTestService_BidiStreamServer_SendMsg_Call
- func (_c *MockTestService_BidiStreamServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamServer_SendMsg_Call
- func (_c *MockTestService_BidiStreamServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamServer_SendMsg_Call
- type MockTestService_BidiStreamServer_Send_Call
- func (_c *MockTestService_BidiStreamServer_Send_Call) Return(_a0 error) *MockTestService_BidiStreamServer_Send_Call
- func (_c *MockTestService_BidiStreamServer_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_BidiStreamServer_Send_Call
- func (_c *MockTestService_BidiStreamServer_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_BidiStreamServer_Send_Call
- type MockTestService_BidiStreamServer_SetHeader_Call
- func (_c *MockTestService_BidiStreamServer_SetHeader_Call) Return(_a0 error) *MockTestService_BidiStreamServer_SetHeader_Call
- func (_c *MockTestService_BidiStreamServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_BidiStreamServer_SetHeader_Call
- func (_c *MockTestService_BidiStreamServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_BidiStreamServer_SetHeader_Call
- type MockTestService_BidiStreamServer_SetTrailer_Call
- func (_c *MockTestService_BidiStreamServer_SetTrailer_Call) Return() *MockTestService_BidiStreamServer_SetTrailer_Call
- func (_c *MockTestService_BidiStreamServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_BidiStreamServer_SetTrailer_Call
- func (_c *MockTestService_BidiStreamServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_BidiStreamServer_SetTrailer_Call
- type MockTestService_ClientStreamClient
- func (_m *MockTestService_ClientStreamClient) CloseAndRecv() (*testproto.Msg, error)
- func (_m *MockTestService_ClientStreamClient) CloseSend() error
- func (_m *MockTestService_ClientStreamClient) Context() context.Context
- func (_m *MockTestService_ClientStreamClient) EXPECT() *MockTestService_ClientStreamClient_Expecter
- func (_m *MockTestService_ClientStreamClient) Header() (metadata.MD, error)
- func (_m *MockTestService_ClientStreamClient) RecvMsg(m interface{}) error
- func (_m *MockTestService_ClientStreamClient) Send(_a0 *testproto.Msg) error
- func (_m *MockTestService_ClientStreamClient) SendMsg(m interface{}) error
- func (_m *MockTestService_ClientStreamClient) Trailer() metadata.MD
- type MockTestService_ClientStreamClient_CloseAndRecv_Call
- func (_c *MockTestService_ClientStreamClient_CloseAndRecv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ClientStreamClient_CloseAndRecv_Call
- func (_c *MockTestService_ClientStreamClient_CloseAndRecv_Call) Run(run func()) *MockTestService_ClientStreamClient_CloseAndRecv_Call
- func (_c *MockTestService_ClientStreamClient_CloseAndRecv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ClientStreamClient_CloseAndRecv_Call
- type MockTestService_ClientStreamClient_CloseSend_Call
- func (_c *MockTestService_ClientStreamClient_CloseSend_Call) Return(_a0 error) *MockTestService_ClientStreamClient_CloseSend_Call
- func (_c *MockTestService_ClientStreamClient_CloseSend_Call) Run(run func()) *MockTestService_ClientStreamClient_CloseSend_Call
- func (_c *MockTestService_ClientStreamClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_ClientStreamClient_CloseSend_Call
- type MockTestService_ClientStreamClient_Context_Call
- func (_c *MockTestService_ClientStreamClient_Context_Call) Return(_a0 context.Context) *MockTestService_ClientStreamClient_Context_Call
- func (_c *MockTestService_ClientStreamClient_Context_Call) Run(run func()) *MockTestService_ClientStreamClient_Context_Call
- func (_c *MockTestService_ClientStreamClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ClientStreamClient_Context_Call
- type MockTestService_ClientStreamClient_Expecter
- func (_e *MockTestService_ClientStreamClient_Expecter) CloseAndRecv() *MockTestService_ClientStreamClient_CloseAndRecv_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) CloseSend() *MockTestService_ClientStreamClient_CloseSend_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) Context() *MockTestService_ClientStreamClient_Context_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) Header() *MockTestService_ClientStreamClient_Header_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) RecvMsg(m interface{}) *MockTestService_ClientStreamClient_RecvMsg_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) Send(_a0 interface{}) *MockTestService_ClientStreamClient_Send_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) SendMsg(m interface{}) *MockTestService_ClientStreamClient_SendMsg_Call
- func (_e *MockTestService_ClientStreamClient_Expecter) Trailer() *MockTestService_ClientStreamClient_Trailer_Call
- type MockTestService_ClientStreamClient_Header_Call
- func (_c *MockTestService_ClientStreamClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_ClientStreamClient_Header_Call
- func (_c *MockTestService_ClientStreamClient_Header_Call) Run(run func()) *MockTestService_ClientStreamClient_Header_Call
- func (_c *MockTestService_ClientStreamClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_ClientStreamClient_Header_Call
- type MockTestService_ClientStreamClient_RecvMsg_Call
- func (_c *MockTestService_ClientStreamClient_RecvMsg_Call) Return(_a0 error) *MockTestService_ClientStreamClient_RecvMsg_Call
- func (_c *MockTestService_ClientStreamClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamClient_RecvMsg_Call
- func (_c *MockTestService_ClientStreamClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamClient_RecvMsg_Call
- type MockTestService_ClientStreamClient_SendMsg_Call
- func (_c *MockTestService_ClientStreamClient_SendMsg_Call) Return(_a0 error) *MockTestService_ClientStreamClient_SendMsg_Call
- func (_c *MockTestService_ClientStreamClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamClient_SendMsg_Call
- func (_c *MockTestService_ClientStreamClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamClient_SendMsg_Call
- type MockTestService_ClientStreamClient_Send_Call
- func (_c *MockTestService_ClientStreamClient_Send_Call) Return(_a0 error) *MockTestService_ClientStreamClient_Send_Call
- func (_c *MockTestService_ClientStreamClient_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ClientStreamClient_Send_Call
- func (_c *MockTestService_ClientStreamClient_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ClientStreamClient_Send_Call
- type MockTestService_ClientStreamClient_Trailer_Call
- func (_c *MockTestService_ClientStreamClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_ClientStreamClient_Trailer_Call
- func (_c *MockTestService_ClientStreamClient_Trailer_Call) Run(run func()) *MockTestService_ClientStreamClient_Trailer_Call
- func (_c *MockTestService_ClientStreamClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_ClientStreamClient_Trailer_Call
- type MockTestService_ClientStreamServer
- func (_m *MockTestService_ClientStreamServer) Context() context.Context
- func (_m *MockTestService_ClientStreamServer) EXPECT() *MockTestService_ClientStreamServer_Expecter
- func (_m *MockTestService_ClientStreamServer) Recv() (*testproto.Msg, error)
- func (_m *MockTestService_ClientStreamServer) RecvMsg(m interface{}) error
- func (_m *MockTestService_ClientStreamServer) SendAndClose(_a0 *testproto.Msg) error
- func (_m *MockTestService_ClientStreamServer) SendHeader(_a0 metadata.MD) error
- func (_m *MockTestService_ClientStreamServer) SendMsg(m interface{}) error
- func (_m *MockTestService_ClientStreamServer) SetHeader(_a0 metadata.MD) error
- func (_m *MockTestService_ClientStreamServer) SetTrailer(_a0 metadata.MD)
- type MockTestService_ClientStreamServer_Context_Call
- func (_c *MockTestService_ClientStreamServer_Context_Call) Return(_a0 context.Context) *MockTestService_ClientStreamServer_Context_Call
- func (_c *MockTestService_ClientStreamServer_Context_Call) Run(run func()) *MockTestService_ClientStreamServer_Context_Call
- func (_c *MockTestService_ClientStreamServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ClientStreamServer_Context_Call
- type MockTestService_ClientStreamServer_Expecter
- func (_e *MockTestService_ClientStreamServer_Expecter) Context() *MockTestService_ClientStreamServer_Context_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) Recv() *MockTestService_ClientStreamServer_Recv_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) RecvMsg(m interface{}) *MockTestService_ClientStreamServer_RecvMsg_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) SendAndClose(_a0 interface{}) *MockTestService_ClientStreamServer_SendAndClose_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_ClientStreamServer_SendHeader_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) SendMsg(m interface{}) *MockTestService_ClientStreamServer_SendMsg_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_ClientStreamServer_SetHeader_Call
- func (_e *MockTestService_ClientStreamServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_ClientStreamServer_SetTrailer_Call
- type MockTestService_ClientStreamServer_RecvMsg_Call
- func (_c *MockTestService_ClientStreamServer_RecvMsg_Call) Return(_a0 error) *MockTestService_ClientStreamServer_RecvMsg_Call
- func (_c *MockTestService_ClientStreamServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamServer_RecvMsg_Call
- func (_c *MockTestService_ClientStreamServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamServer_RecvMsg_Call
- type MockTestService_ClientStreamServer_Recv_Call
- func (_c *MockTestService_ClientStreamServer_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ClientStreamServer_Recv_Call
- func (_c *MockTestService_ClientStreamServer_Recv_Call) Run(run func()) *MockTestService_ClientStreamServer_Recv_Call
- func (_c *MockTestService_ClientStreamServer_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ClientStreamServer_Recv_Call
- type MockTestService_ClientStreamServer_SendAndClose_Call
- func (_c *MockTestService_ClientStreamServer_SendAndClose_Call) Return(_a0 error) *MockTestService_ClientStreamServer_SendAndClose_Call
- func (_c *MockTestService_ClientStreamServer_SendAndClose_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ClientStreamServer_SendAndClose_Call
- func (_c *MockTestService_ClientStreamServer_SendAndClose_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ClientStreamServer_SendAndClose_Call
- type MockTestService_ClientStreamServer_SendHeader_Call
- func (_c *MockTestService_ClientStreamServer_SendHeader_Call) Return(_a0 error) *MockTestService_ClientStreamServer_SendHeader_Call
- func (_c *MockTestService_ClientStreamServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ClientStreamServer_SendHeader_Call
- func (_c *MockTestService_ClientStreamServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ClientStreamServer_SendHeader_Call
- type MockTestService_ClientStreamServer_SendMsg_Call
- func (_c *MockTestService_ClientStreamServer_SendMsg_Call) Return(_a0 error) *MockTestService_ClientStreamServer_SendMsg_Call
- func (_c *MockTestService_ClientStreamServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamServer_SendMsg_Call
- func (_c *MockTestService_ClientStreamServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamServer_SendMsg_Call
- type MockTestService_ClientStreamServer_SetHeader_Call
- func (_c *MockTestService_ClientStreamServer_SetHeader_Call) Return(_a0 error) *MockTestService_ClientStreamServer_SetHeader_Call
- func (_c *MockTestService_ClientStreamServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ClientStreamServer_SetHeader_Call
- func (_c *MockTestService_ClientStreamServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ClientStreamServer_SetHeader_Call
- type MockTestService_ClientStreamServer_SetTrailer_Call
- func (_c *MockTestService_ClientStreamServer_SetTrailer_Call) Return() *MockTestService_ClientStreamServer_SetTrailer_Call
- func (_c *MockTestService_ClientStreamServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ClientStreamServer_SetTrailer_Call
- func (_c *MockTestService_ClientStreamServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_ClientStreamServer_SetTrailer_Call
- type MockTestService_ServerStreamClient
- func (_m *MockTestService_ServerStreamClient) CloseSend() error
- func (_m *MockTestService_ServerStreamClient) Context() context.Context
- func (_m *MockTestService_ServerStreamClient) EXPECT() *MockTestService_ServerStreamClient_Expecter
- func (_m *MockTestService_ServerStreamClient) Header() (metadata.MD, error)
- func (_m *MockTestService_ServerStreamClient) Recv() (*testproto.Msg, error)
- func (_m *MockTestService_ServerStreamClient) RecvMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamClient) SendMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamClient) Trailer() metadata.MD
- type MockTestService_ServerStreamClient_CloseSend_Call
- func (_c *MockTestService_ServerStreamClient_CloseSend_Call) Return(_a0 error) *MockTestService_ServerStreamClient_CloseSend_Call
- func (_c *MockTestService_ServerStreamClient_CloseSend_Call) Run(run func()) *MockTestService_ServerStreamClient_CloseSend_Call
- func (_c *MockTestService_ServerStreamClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_ServerStreamClient_CloseSend_Call
- type MockTestService_ServerStreamClient_Context_Call
- func (_c *MockTestService_ServerStreamClient_Context_Call) Return(_a0 context.Context) *MockTestService_ServerStreamClient_Context_Call
- func (_c *MockTestService_ServerStreamClient_Context_Call) Run(run func()) *MockTestService_ServerStreamClient_Context_Call
- func (_c *MockTestService_ServerStreamClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamClient_Context_Call
- type MockTestService_ServerStreamClient_Expecter
- func (_e *MockTestService_ServerStreamClient_Expecter) CloseSend() *MockTestService_ServerStreamClient_CloseSend_Call
- func (_e *MockTestService_ServerStreamClient_Expecter) Context() *MockTestService_ServerStreamClient_Context_Call
- func (_e *MockTestService_ServerStreamClient_Expecter) Header() *MockTestService_ServerStreamClient_Header_Call
- func (_e *MockTestService_ServerStreamClient_Expecter) Recv() *MockTestService_ServerStreamClient_Recv_Call
- func (_e *MockTestService_ServerStreamClient_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamClient_RecvMsg_Call
- func (_e *MockTestService_ServerStreamClient_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamClient_SendMsg_Call
- func (_e *MockTestService_ServerStreamClient_Expecter) Trailer() *MockTestService_ServerStreamClient_Trailer_Call
- type MockTestService_ServerStreamClient_Header_Call
- func (_c *MockTestService_ServerStreamClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_ServerStreamClient_Header_Call
- func (_c *MockTestService_ServerStreamClient_Header_Call) Run(run func()) *MockTestService_ServerStreamClient_Header_Call
- func (_c *MockTestService_ServerStreamClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_ServerStreamClient_Header_Call
- type MockTestService_ServerStreamClient_RecvMsg_Call
- func (_c *MockTestService_ServerStreamClient_RecvMsg_Call) Return(_a0 error) *MockTestService_ServerStreamClient_RecvMsg_Call
- func (_c *MockTestService_ServerStreamClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamClient_RecvMsg_Call
- func (_c *MockTestService_ServerStreamClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamClient_RecvMsg_Call
- type MockTestService_ServerStreamClient_Recv_Call
- func (_c *MockTestService_ServerStreamClient_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ServerStreamClient_Recv_Call
- func (_c *MockTestService_ServerStreamClient_Recv_Call) Run(run func()) *MockTestService_ServerStreamClient_Recv_Call
- func (_c *MockTestService_ServerStreamClient_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ServerStreamClient_Recv_Call
- type MockTestService_ServerStreamClient_SendMsg_Call
- func (_c *MockTestService_ServerStreamClient_SendMsg_Call) Return(_a0 error) *MockTestService_ServerStreamClient_SendMsg_Call
- func (_c *MockTestService_ServerStreamClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamClient_SendMsg_Call
- func (_c *MockTestService_ServerStreamClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamClient_SendMsg_Call
- type MockTestService_ServerStreamClient_Trailer_Call
- func (_c *MockTestService_ServerStreamClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_ServerStreamClient_Trailer_Call
- func (_c *MockTestService_ServerStreamClient_Trailer_Call) Run(run func()) *MockTestService_ServerStreamClient_Trailer_Call
- func (_c *MockTestService_ServerStreamClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_ServerStreamClient_Trailer_Call
- type MockTestService_ServerStreamServer
- func (_m *MockTestService_ServerStreamServer) Context() context.Context
- func (_m *MockTestService_ServerStreamServer) EXPECT() *MockTestService_ServerStreamServer_Expecter
- func (_m *MockTestService_ServerStreamServer) RecvMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamServer) Send(_a0 *testproto.Msg) error
- func (_m *MockTestService_ServerStreamServer) SendHeader(_a0 metadata.MD) error
- func (_m *MockTestService_ServerStreamServer) SendMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamServer) SetHeader(_a0 metadata.MD) error
- func (_m *MockTestService_ServerStreamServer) SetTrailer(_a0 metadata.MD)
- type MockTestService_ServerStreamServer_Context_Call
- func (_c *MockTestService_ServerStreamServer_Context_Call) Return(_a0 context.Context) *MockTestService_ServerStreamServer_Context_Call
- func (_c *MockTestService_ServerStreamServer_Context_Call) Run(run func()) *MockTestService_ServerStreamServer_Context_Call
- func (_c *MockTestService_ServerStreamServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamServer_Context_Call
- type MockTestService_ServerStreamServer_Expecter
- func (_e *MockTestService_ServerStreamServer_Expecter) Context() *MockTestService_ServerStreamServer_Context_Call
- func (_e *MockTestService_ServerStreamServer_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamServer_RecvMsg_Call
- func (_e *MockTestService_ServerStreamServer_Expecter) Send(_a0 interface{}) *MockTestService_ServerStreamServer_Send_Call
- func (_e *MockTestService_ServerStreamServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_ServerStreamServer_SendHeader_Call
- func (_e *MockTestService_ServerStreamServer_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamServer_SendMsg_Call
- func (_e *MockTestService_ServerStreamServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_ServerStreamServer_SetHeader_Call
- func (_e *MockTestService_ServerStreamServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_ServerStreamServer_SetTrailer_Call
- type MockTestService_ServerStreamServer_RecvMsg_Call
- func (_c *MockTestService_ServerStreamServer_RecvMsg_Call) Return(_a0 error) *MockTestService_ServerStreamServer_RecvMsg_Call
- func (_c *MockTestService_ServerStreamServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamServer_RecvMsg_Call
- func (_c *MockTestService_ServerStreamServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamServer_RecvMsg_Call
- type MockTestService_ServerStreamServer_SendHeader_Call
- func (_c *MockTestService_ServerStreamServer_SendHeader_Call) Return(_a0 error) *MockTestService_ServerStreamServer_SendHeader_Call
- func (_c *MockTestService_ServerStreamServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamServer_SendHeader_Call
- func (_c *MockTestService_ServerStreamServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamServer_SendHeader_Call
- type MockTestService_ServerStreamServer_SendMsg_Call
- func (_c *MockTestService_ServerStreamServer_SendMsg_Call) Return(_a0 error) *MockTestService_ServerStreamServer_SendMsg_Call
- func (_c *MockTestService_ServerStreamServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamServer_SendMsg_Call
- func (_c *MockTestService_ServerStreamServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamServer_SendMsg_Call
- type MockTestService_ServerStreamServer_Send_Call
- func (_c *MockTestService_ServerStreamServer_Send_Call) Return(_a0 error) *MockTestService_ServerStreamServer_Send_Call
- func (_c *MockTestService_ServerStreamServer_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ServerStreamServer_Send_Call
- func (_c *MockTestService_ServerStreamServer_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ServerStreamServer_Send_Call
- type MockTestService_ServerStreamServer_SetHeader_Call
- func (_c *MockTestService_ServerStreamServer_SetHeader_Call) Return(_a0 error) *MockTestService_ServerStreamServer_SetHeader_Call
- func (_c *MockTestService_ServerStreamServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamServer_SetHeader_Call
- func (_c *MockTestService_ServerStreamServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamServer_SetHeader_Call
- type MockTestService_ServerStreamServer_SetTrailer_Call
- func (_c *MockTestService_ServerStreamServer_SetTrailer_Call) Return() *MockTestService_ServerStreamServer_SetTrailer_Call
- func (_c *MockTestService_ServerStreamServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamServer_SetTrailer_Call
- func (_c *MockTestService_ServerStreamServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_ServerStreamServer_SetTrailer_Call
- type MockTestService_ServerStreamThatSleepsClient
- func (_m *MockTestService_ServerStreamThatSleepsClient) CloseSend() error
- func (_m *MockTestService_ServerStreamThatSleepsClient) Context() context.Context
- func (_m *MockTestService_ServerStreamThatSleepsClient) EXPECT() *MockTestService_ServerStreamThatSleepsClient_Expecter
- func (_m *MockTestService_ServerStreamThatSleepsClient) Header() (metadata.MD, error)
- func (_m *MockTestService_ServerStreamThatSleepsClient) Recv() (*testproto.Msg, error)
- func (_m *MockTestService_ServerStreamThatSleepsClient) RecvMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamThatSleepsClient) SendMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamThatSleepsClient) Trailer() metadata.MD
- type MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
- type MockTestService_ServerStreamThatSleepsClient_Context_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Context_Call) Return(_a0 context.Context) *MockTestService_ServerStreamThatSleepsClient_Context_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Context_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Context_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamThatSleepsClient_Context_Call
- type MockTestService_ServerStreamThatSleepsClient_Expecter
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) CloseSend() *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Context() *MockTestService_ServerStreamThatSleepsClient_Context_Call
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Header() *MockTestService_ServerStreamThatSleepsClient_Header_Call
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Recv() *MockTestService_ServerStreamThatSleepsClient_Recv_Call
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
- func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Trailer() *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
- type MockTestService_ServerStreamThatSleepsClient_Header_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_ServerStreamThatSleepsClient_Header_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Header_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Header_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_ServerStreamThatSleepsClient_Header_Call
- type MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
- type MockTestService_ServerStreamThatSleepsClient_Recv_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ServerStreamThatSleepsClient_Recv_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Recv_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Recv_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ServerStreamThatSleepsClient_Recv_Call
- type MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
- type MockTestService_ServerStreamThatSleepsClient_Trailer_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Trailer_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
- func (_c *MockTestService_ServerStreamThatSleepsClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
- type MockTestService_ServerStreamThatSleepsServer
- func (_m *MockTestService_ServerStreamThatSleepsServer) Context() context.Context
- func (_m *MockTestService_ServerStreamThatSleepsServer) EXPECT() *MockTestService_ServerStreamThatSleepsServer_Expecter
- func (_m *MockTestService_ServerStreamThatSleepsServer) RecvMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamThatSleepsServer) Send(_a0 *testproto.Msg) error
- func (_m *MockTestService_ServerStreamThatSleepsServer) SendHeader(_a0 metadata.MD) error
- func (_m *MockTestService_ServerStreamThatSleepsServer) SendMsg(m interface{}) error
- func (_m *MockTestService_ServerStreamThatSleepsServer) SetHeader(_a0 metadata.MD) error
- func (_m *MockTestService_ServerStreamThatSleepsServer) SetTrailer(_a0 metadata.MD)
- type MockTestService_ServerStreamThatSleepsServer_Context_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_Context_Call) Return(_a0 context.Context) *MockTestService_ServerStreamThatSleepsServer_Context_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_Context_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsServer_Context_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamThatSleepsServer_Context_Call
- type MockTestService_ServerStreamThatSleepsServer_Expecter
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) Context() *MockTestService_ServerStreamThatSleepsServer_Context_Call
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) Send(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_Send_Call
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
- func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
- type MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
- type MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
- type MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
- type MockTestService_ServerStreamThatSleepsServer_Send_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_Send_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsServer_Send_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ServerStreamThatSleepsServer_Send_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ServerStreamThatSleepsServer_Send_Call
- type MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) Return(_a0 error) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
- type MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) Return() *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
- func (_c *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
- type MockUnsafeTestServiceServer
- type MockUnsafeTestServiceServer_Expecter
- type MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Return() *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Run(run func()) *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn(run func()) *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTestServiceClient ¶
MockTestServiceClient is an autogenerated mock type for the TestServiceClient type
func NewMockTestServiceClient ¶
func NewMockTestServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MockTestServiceClient
NewMockTestServiceClient creates a new instance of MockTestServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestServiceClient) BidiStream ¶
func (_m *MockTestServiceClient) BidiStream(ctx context.Context, opts ...grpc.CallOption) (testproto.TestService_BidiStreamClient, error)
BidiStream provides a mock function with given fields: ctx, opts
func (*MockTestServiceClient) ClientStream ¶
func (_m *MockTestServiceClient) ClientStream(ctx context.Context, opts ...grpc.CallOption) (testproto.TestService_ClientStreamClient, error)
ClientStream provides a mock function with given fields: ctx, opts
func (*MockTestServiceClient) EXPECT ¶
func (_m *MockTestServiceClient) EXPECT() *MockTestServiceClient_Expecter
func (*MockTestServiceClient) ServerStream ¶
func (_m *MockTestServiceClient) ServerStream(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption) (testproto.TestService_ServerStreamClient, error)
ServerStream provides a mock function with given fields: ctx, in, opts
func (*MockTestServiceClient) ServerStreamThatSleeps ¶ added in v0.1.3
func (_m *MockTestServiceClient) ServerStreamThatSleeps(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption) (testproto.TestService_ServerStreamThatSleepsClient, error)
ServerStreamThatSleeps provides a mock function with given fields: ctx, in, opts
type MockTestServiceClient_BidiStream_Call ¶
MockTestServiceClient_BidiStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BidiStream'
func (*MockTestServiceClient_BidiStream_Call) Return ¶
func (_c *MockTestServiceClient_BidiStream_Call) Return(_a0 testproto.TestService_BidiStreamClient, _a1 error) *MockTestServiceClient_BidiStream_Call
func (*MockTestServiceClient_BidiStream_Call) Run ¶
func (_c *MockTestServiceClient_BidiStream_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *MockTestServiceClient_BidiStream_Call
func (*MockTestServiceClient_BidiStream_Call) RunAndReturn ¶
func (_c *MockTestServiceClient_BidiStream_Call) RunAndReturn(run func(context.Context, ...grpc.CallOption) (testproto.TestService_BidiStreamClient, error)) *MockTestServiceClient_BidiStream_Call
type MockTestServiceClient_ClientStream_Call ¶
MockTestServiceClient_ClientStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientStream'
func (*MockTestServiceClient_ClientStream_Call) Return ¶
func (_c *MockTestServiceClient_ClientStream_Call) Return(_a0 testproto.TestService_ClientStreamClient, _a1 error) *MockTestServiceClient_ClientStream_Call
func (*MockTestServiceClient_ClientStream_Call) Run ¶
func (_c *MockTestServiceClient_ClientStream_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *MockTestServiceClient_ClientStream_Call
func (*MockTestServiceClient_ClientStream_Call) RunAndReturn ¶
func (_c *MockTestServiceClient_ClientStream_Call) RunAndReturn(run func(context.Context, ...grpc.CallOption) (testproto.TestService_ClientStreamClient, error)) *MockTestServiceClient_ClientStream_Call
type MockTestServiceClient_Expecter ¶
type MockTestServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestServiceClient_Expecter) BidiStream ¶
func (_e *MockTestServiceClient_Expecter) BidiStream(ctx interface{}, opts ...interface{}) *MockTestServiceClient_BidiStream_Call
BidiStream is a helper method to define mock.On call
- ctx context.Context
- opts ...grpc.CallOption
func (*MockTestServiceClient_Expecter) ClientStream ¶
func (_e *MockTestServiceClient_Expecter) ClientStream(ctx interface{}, opts ...interface{}) *MockTestServiceClient_ClientStream_Call
ClientStream is a helper method to define mock.On call
- ctx context.Context
- opts ...grpc.CallOption
func (*MockTestServiceClient_Expecter) ServerStream ¶
func (_e *MockTestServiceClient_Expecter) ServerStream(ctx interface{}, in interface{}, opts ...interface{}) *MockTestServiceClient_ServerStream_Call
ServerStream is a helper method to define mock.On call
- ctx context.Context
- in *testproto.Msg
- opts ...grpc.CallOption
func (*MockTestServiceClient_Expecter) ServerStreamThatSleeps ¶ added in v0.1.3
func (_e *MockTestServiceClient_Expecter) ServerStreamThatSleeps(ctx interface{}, in interface{}, opts ...interface{}) *MockTestServiceClient_ServerStreamThatSleeps_Call
ServerStreamThatSleeps is a helper method to define mock.On call
- ctx context.Context
- in *testproto.Msg
- opts ...grpc.CallOption
func (*MockTestServiceClient_Expecter) Unary ¶
func (_e *MockTestServiceClient_Expecter) Unary(ctx interface{}, in interface{}, opts ...interface{}) *MockTestServiceClient_Unary_Call
Unary is a helper method to define mock.On call
- ctx context.Context
- in *testproto.Msg
- opts ...grpc.CallOption
type MockTestServiceClient_ServerStreamThatSleeps_Call ¶ added in v0.1.3
MockTestServiceClient_ServerStreamThatSleeps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerStreamThatSleeps'
func (*MockTestServiceClient_ServerStreamThatSleeps_Call) Run ¶ added in v0.1.3
func (_c *MockTestServiceClient_ServerStreamThatSleeps_Call) Run(run func(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption)) *MockTestServiceClient_ServerStreamThatSleeps_Call
func (*MockTestServiceClient_ServerStreamThatSleeps_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestServiceClient_ServerStreamThatSleeps_Call) RunAndReturn(run func(context.Context, *testproto.Msg, ...grpc.CallOption) (testproto.TestService_ServerStreamThatSleepsClient, error)) *MockTestServiceClient_ServerStreamThatSleeps_Call
type MockTestServiceClient_ServerStream_Call ¶
MockTestServiceClient_ServerStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerStream'
func (*MockTestServiceClient_ServerStream_Call) Return ¶
func (_c *MockTestServiceClient_ServerStream_Call) Return(_a0 testproto.TestService_ServerStreamClient, _a1 error) *MockTestServiceClient_ServerStream_Call
func (*MockTestServiceClient_ServerStream_Call) Run ¶
func (_c *MockTestServiceClient_ServerStream_Call) Run(run func(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption)) *MockTestServiceClient_ServerStream_Call
func (*MockTestServiceClient_ServerStream_Call) RunAndReturn ¶
func (_c *MockTestServiceClient_ServerStream_Call) RunAndReturn(run func(context.Context, *testproto.Msg, ...grpc.CallOption) (testproto.TestService_ServerStreamClient, error)) *MockTestServiceClient_ServerStream_Call
type MockTestServiceClient_Unary_Call ¶
MockTestServiceClient_Unary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unary'
func (*MockTestServiceClient_Unary_Call) Return ¶
func (_c *MockTestServiceClient_Unary_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestServiceClient_Unary_Call
func (*MockTestServiceClient_Unary_Call) Run ¶
func (_c *MockTestServiceClient_Unary_Call) Run(run func(ctx context.Context, in *testproto.Msg, opts ...grpc.CallOption)) *MockTestServiceClient_Unary_Call
func (*MockTestServiceClient_Unary_Call) RunAndReturn ¶
func (_c *MockTestServiceClient_Unary_Call) RunAndReturn(run func(context.Context, *testproto.Msg, ...grpc.CallOption) (*testproto.Msg, error)) *MockTestServiceClient_Unary_Call
type MockTestServiceServer ¶
MockTestServiceServer is an autogenerated mock type for the TestServiceServer type
func NewMockTestServiceServer ¶
func NewMockTestServiceServer(t interface { mock.TestingT Cleanup(func()) }) *MockTestServiceServer
NewMockTestServiceServer creates a new instance of MockTestServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestServiceServer) BidiStream ¶
func (_m *MockTestServiceServer) BidiStream(_a0 testproto.TestService_BidiStreamServer) error
BidiStream provides a mock function with given fields: _a0
func (*MockTestServiceServer) ClientStream ¶
func (_m *MockTestServiceServer) ClientStream(_a0 testproto.TestService_ClientStreamServer) error
ClientStream provides a mock function with given fields: _a0
func (*MockTestServiceServer) EXPECT ¶
func (_m *MockTestServiceServer) EXPECT() *MockTestServiceServer_Expecter
func (*MockTestServiceServer) ServerStream ¶
func (_m *MockTestServiceServer) ServerStream(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamServer) error
ServerStream provides a mock function with given fields: _a0, _a1
func (*MockTestServiceServer) ServerStreamThatSleeps ¶ added in v0.1.3
func (_m *MockTestServiceServer) ServerStreamThatSleeps(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamThatSleepsServer) error
ServerStreamThatSleeps provides a mock function with given fields: _a0, _a1
type MockTestServiceServer_BidiStream_Call ¶
MockTestServiceServer_BidiStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BidiStream'
func (*MockTestServiceServer_BidiStream_Call) Return ¶
func (_c *MockTestServiceServer_BidiStream_Call) Return(_a0 error) *MockTestServiceServer_BidiStream_Call
func (*MockTestServiceServer_BidiStream_Call) Run ¶
func (_c *MockTestServiceServer_BidiStream_Call) Run(run func(_a0 testproto.TestService_BidiStreamServer)) *MockTestServiceServer_BidiStream_Call
func (*MockTestServiceServer_BidiStream_Call) RunAndReturn ¶
func (_c *MockTestServiceServer_BidiStream_Call) RunAndReturn(run func(testproto.TestService_BidiStreamServer) error) *MockTestServiceServer_BidiStream_Call
type MockTestServiceServer_ClientStream_Call ¶
MockTestServiceServer_ClientStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientStream'
func (*MockTestServiceServer_ClientStream_Call) Return ¶
func (_c *MockTestServiceServer_ClientStream_Call) Return(_a0 error) *MockTestServiceServer_ClientStream_Call
func (*MockTestServiceServer_ClientStream_Call) Run ¶
func (_c *MockTestServiceServer_ClientStream_Call) Run(run func(_a0 testproto.TestService_ClientStreamServer)) *MockTestServiceServer_ClientStream_Call
func (*MockTestServiceServer_ClientStream_Call) RunAndReturn ¶
func (_c *MockTestServiceServer_ClientStream_Call) RunAndReturn(run func(testproto.TestService_ClientStreamServer) error) *MockTestServiceServer_ClientStream_Call
type MockTestServiceServer_Expecter ¶
type MockTestServiceServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestServiceServer_Expecter) BidiStream ¶
func (_e *MockTestServiceServer_Expecter) BidiStream(_a0 interface{}) *MockTestServiceServer_BidiStream_Call
BidiStream is a helper method to define mock.On call
- _a0 testproto.TestService_BidiStreamServer
func (*MockTestServiceServer_Expecter) ClientStream ¶
func (_e *MockTestServiceServer_Expecter) ClientStream(_a0 interface{}) *MockTestServiceServer_ClientStream_Call
ClientStream is a helper method to define mock.On call
- _a0 testproto.TestService_ClientStreamServer
func (*MockTestServiceServer_Expecter) ServerStream ¶
func (_e *MockTestServiceServer_Expecter) ServerStream(_a0 interface{}, _a1 interface{}) *MockTestServiceServer_ServerStream_Call
ServerStream is a helper method to define mock.On call
- _a0 *testproto.Msg
- _a1 testproto.TestService_ServerStreamServer
func (*MockTestServiceServer_Expecter) ServerStreamThatSleeps ¶ added in v0.1.3
func (_e *MockTestServiceServer_Expecter) ServerStreamThatSleeps(_a0 interface{}, _a1 interface{}) *MockTestServiceServer_ServerStreamThatSleeps_Call
ServerStreamThatSleeps is a helper method to define mock.On call
- _a0 *testproto.Msg
- _a1 testproto.TestService_ServerStreamThatSleepsServer
func (*MockTestServiceServer_Expecter) Unary ¶
func (_e *MockTestServiceServer_Expecter) Unary(_a0 interface{}, _a1 interface{}) *MockTestServiceServer_Unary_Call
Unary is a helper method to define mock.On call
- _a0 context.Context
- _a1 *testproto.Msg
type MockTestServiceServer_ServerStreamThatSleeps_Call ¶ added in v0.1.3
MockTestServiceServer_ServerStreamThatSleeps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerStreamThatSleeps'
func (*MockTestServiceServer_ServerStreamThatSleeps_Call) Return ¶ added in v0.1.3
func (_c *MockTestServiceServer_ServerStreamThatSleeps_Call) Return(_a0 error) *MockTestServiceServer_ServerStreamThatSleeps_Call
func (*MockTestServiceServer_ServerStreamThatSleeps_Call) Run ¶ added in v0.1.3
func (_c *MockTestServiceServer_ServerStreamThatSleeps_Call) Run(run func(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamThatSleepsServer)) *MockTestServiceServer_ServerStreamThatSleeps_Call
func (*MockTestServiceServer_ServerStreamThatSleeps_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestServiceServer_ServerStreamThatSleeps_Call) RunAndReturn(run func(*testproto.Msg, testproto.TestService_ServerStreamThatSleepsServer) error) *MockTestServiceServer_ServerStreamThatSleeps_Call
type MockTestServiceServer_ServerStream_Call ¶
MockTestServiceServer_ServerStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerStream'
func (*MockTestServiceServer_ServerStream_Call) Return ¶
func (_c *MockTestServiceServer_ServerStream_Call) Return(_a0 error) *MockTestServiceServer_ServerStream_Call
func (*MockTestServiceServer_ServerStream_Call) Run ¶
func (_c *MockTestServiceServer_ServerStream_Call) Run(run func(_a0 *testproto.Msg, _a1 testproto.TestService_ServerStreamServer)) *MockTestServiceServer_ServerStream_Call
func (*MockTestServiceServer_ServerStream_Call) RunAndReturn ¶
func (_c *MockTestServiceServer_ServerStream_Call) RunAndReturn(run func(*testproto.Msg, testproto.TestService_ServerStreamServer) error) *MockTestServiceServer_ServerStream_Call
type MockTestServiceServer_Unary_Call ¶
MockTestServiceServer_Unary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unary'
func (*MockTestServiceServer_Unary_Call) Return ¶
func (_c *MockTestServiceServer_Unary_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestServiceServer_Unary_Call
func (*MockTestServiceServer_Unary_Call) Run ¶
func (_c *MockTestServiceServer_Unary_Call) Run(run func(_a0 context.Context, _a1 *testproto.Msg)) *MockTestServiceServer_Unary_Call
func (*MockTestServiceServer_Unary_Call) RunAndReturn ¶
func (_c *MockTestServiceServer_Unary_Call) RunAndReturn(run func(context.Context, *testproto.Msg) (*testproto.Msg, error)) *MockTestServiceServer_Unary_Call
type MockTestService_BidiStreamClient ¶
MockTestService_BidiStreamClient is an autogenerated mock type for the TestService_BidiStreamClient type
func NewMockTestService_BidiStreamClient ¶
func NewMockTestService_BidiStreamClient(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_BidiStreamClient
NewMockTestService_BidiStreamClient creates a new instance of MockTestService_BidiStreamClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_BidiStreamClient) CloseSend ¶
func (_m *MockTestService_BidiStreamClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*MockTestService_BidiStreamClient) Context ¶
func (_m *MockTestService_BidiStreamClient) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_BidiStreamClient) EXPECT ¶
func (_m *MockTestService_BidiStreamClient) EXPECT() *MockTestService_BidiStreamClient_Expecter
func (*MockTestService_BidiStreamClient) Header ¶
func (_m *MockTestService_BidiStreamClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*MockTestService_BidiStreamClient) Recv ¶
func (_m *MockTestService_BidiStreamClient) Recv() (*testproto.Msg, error)
Recv provides a mock function with given fields:
func (*MockTestService_BidiStreamClient) RecvMsg ¶
func (_m *MockTestService_BidiStreamClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_BidiStreamClient) Send ¶
func (_m *MockTestService_BidiStreamClient) Send(_a0 *testproto.Msg) error
Send provides a mock function with given fields: _a0
func (*MockTestService_BidiStreamClient) SendMsg ¶
func (_m *MockTestService_BidiStreamClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_BidiStreamClient) Trailer ¶
func (_m *MockTestService_BidiStreamClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type MockTestService_BidiStreamClient_CloseSend_Call ¶
MockTestService_BidiStreamClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*MockTestService_BidiStreamClient_CloseSend_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_CloseSend_Call) Return(_a0 error) *MockTestService_BidiStreamClient_CloseSend_Call
func (*MockTestService_BidiStreamClient_CloseSend_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_CloseSend_Call) Run(run func()) *MockTestService_BidiStreamClient_CloseSend_Call
func (*MockTestService_BidiStreamClient_CloseSend_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_BidiStreamClient_CloseSend_Call
type MockTestService_BidiStreamClient_Context_Call ¶
MockTestService_BidiStreamClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_BidiStreamClient_Context_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_Context_Call) Return(_a0 context.Context) *MockTestService_BidiStreamClient_Context_Call
func (*MockTestService_BidiStreamClient_Context_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_Context_Call) Run(run func()) *MockTestService_BidiStreamClient_Context_Call
func (*MockTestService_BidiStreamClient_Context_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_BidiStreamClient_Context_Call
type MockTestService_BidiStreamClient_Expecter ¶
type MockTestService_BidiStreamClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_BidiStreamClient_Expecter) CloseSend ¶
func (_e *MockTestService_BidiStreamClient_Expecter) CloseSend() *MockTestService_BidiStreamClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*MockTestService_BidiStreamClient_Expecter) Context ¶
func (_e *MockTestService_BidiStreamClient_Expecter) Context() *MockTestService_BidiStreamClient_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_BidiStreamClient_Expecter) Header ¶
func (_e *MockTestService_BidiStreamClient_Expecter) Header() *MockTestService_BidiStreamClient_Header_Call
Header is a helper method to define mock.On call
func (*MockTestService_BidiStreamClient_Expecter) Recv ¶
func (_e *MockTestService_BidiStreamClient_Expecter) Recv() *MockTestService_BidiStreamClient_Recv_Call
Recv is a helper method to define mock.On call
func (*MockTestService_BidiStreamClient_Expecter) RecvMsg ¶
func (_e *MockTestService_BidiStreamClient_Expecter) RecvMsg(m interface{}) *MockTestService_BidiStreamClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_BidiStreamClient_Expecter) Send ¶
func (_e *MockTestService_BidiStreamClient_Expecter) Send(_a0 interface{}) *MockTestService_BidiStreamClient_Send_Call
Send is a helper method to define mock.On call
- _a0 *testproto.Msg
func (*MockTestService_BidiStreamClient_Expecter) SendMsg ¶
func (_e *MockTestService_BidiStreamClient_Expecter) SendMsg(m interface{}) *MockTestService_BidiStreamClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_BidiStreamClient_Expecter) Trailer ¶
func (_e *MockTestService_BidiStreamClient_Expecter) Trailer() *MockTestService_BidiStreamClient_Trailer_Call
Trailer is a helper method to define mock.On call
type MockTestService_BidiStreamClient_Header_Call ¶
MockTestService_BidiStreamClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*MockTestService_BidiStreamClient_Header_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_BidiStreamClient_Header_Call
func (*MockTestService_BidiStreamClient_Header_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_Header_Call) Run(run func()) *MockTestService_BidiStreamClient_Header_Call
func (*MockTestService_BidiStreamClient_Header_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_BidiStreamClient_Header_Call
type MockTestService_BidiStreamClient_RecvMsg_Call ¶
MockTestService_BidiStreamClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_BidiStreamClient_RecvMsg_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_RecvMsg_Call) Return(_a0 error) *MockTestService_BidiStreamClient_RecvMsg_Call
func (*MockTestService_BidiStreamClient_RecvMsg_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamClient_RecvMsg_Call
func (*MockTestService_BidiStreamClient_RecvMsg_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamClient_RecvMsg_Call
type MockTestService_BidiStreamClient_Recv_Call ¶
MockTestService_BidiStreamClient_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockTestService_BidiStreamClient_Recv_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_BidiStreamClient_Recv_Call
func (*MockTestService_BidiStreamClient_Recv_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_Recv_Call) Run(run func()) *MockTestService_BidiStreamClient_Recv_Call
func (*MockTestService_BidiStreamClient_Recv_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_BidiStreamClient_Recv_Call
type MockTestService_BidiStreamClient_SendMsg_Call ¶
MockTestService_BidiStreamClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_BidiStreamClient_SendMsg_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_SendMsg_Call) Return(_a0 error) *MockTestService_BidiStreamClient_SendMsg_Call
func (*MockTestService_BidiStreamClient_SendMsg_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamClient_SendMsg_Call
func (*MockTestService_BidiStreamClient_SendMsg_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamClient_SendMsg_Call
type MockTestService_BidiStreamClient_Send_Call ¶
MockTestService_BidiStreamClient_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*MockTestService_BidiStreamClient_Send_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_Send_Call) Return(_a0 error) *MockTestService_BidiStreamClient_Send_Call
func (*MockTestService_BidiStreamClient_Send_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_BidiStreamClient_Send_Call
func (*MockTestService_BidiStreamClient_Send_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_BidiStreamClient_Send_Call
type MockTestService_BidiStreamClient_Trailer_Call ¶
MockTestService_BidiStreamClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*MockTestService_BidiStreamClient_Trailer_Call) Return ¶
func (_c *MockTestService_BidiStreamClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_BidiStreamClient_Trailer_Call
func (*MockTestService_BidiStreamClient_Trailer_Call) Run ¶
func (_c *MockTestService_BidiStreamClient_Trailer_Call) Run(run func()) *MockTestService_BidiStreamClient_Trailer_Call
func (*MockTestService_BidiStreamClient_Trailer_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_BidiStreamClient_Trailer_Call
type MockTestService_BidiStreamServer ¶
MockTestService_BidiStreamServer is an autogenerated mock type for the TestService_BidiStreamServer type
func NewMockTestService_BidiStreamServer ¶
func NewMockTestService_BidiStreamServer(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_BidiStreamServer
NewMockTestService_BidiStreamServer creates a new instance of MockTestService_BidiStreamServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_BidiStreamServer) Context ¶
func (_m *MockTestService_BidiStreamServer) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_BidiStreamServer) EXPECT ¶
func (_m *MockTestService_BidiStreamServer) EXPECT() *MockTestService_BidiStreamServer_Expecter
func (*MockTestService_BidiStreamServer) Recv ¶
func (_m *MockTestService_BidiStreamServer) Recv() (*testproto.Msg, error)
Recv provides a mock function with given fields:
func (*MockTestService_BidiStreamServer) RecvMsg ¶
func (_m *MockTestService_BidiStreamServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_BidiStreamServer) Send ¶
func (_m *MockTestService_BidiStreamServer) Send(_a0 *testproto.Msg) error
Send provides a mock function with given fields: _a0
func (*MockTestService_BidiStreamServer) SendHeader ¶
func (_m *MockTestService_BidiStreamServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*MockTestService_BidiStreamServer) SendMsg ¶
func (_m *MockTestService_BidiStreamServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_BidiStreamServer) SetHeader ¶
func (_m *MockTestService_BidiStreamServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*MockTestService_BidiStreamServer) SetTrailer ¶
func (_m *MockTestService_BidiStreamServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type MockTestService_BidiStreamServer_Context_Call ¶
MockTestService_BidiStreamServer_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_BidiStreamServer_Context_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_Context_Call) Return(_a0 context.Context) *MockTestService_BidiStreamServer_Context_Call
func (*MockTestService_BidiStreamServer_Context_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_Context_Call) Run(run func()) *MockTestService_BidiStreamServer_Context_Call
func (*MockTestService_BidiStreamServer_Context_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_BidiStreamServer_Context_Call
type MockTestService_BidiStreamServer_Expecter ¶
type MockTestService_BidiStreamServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_BidiStreamServer_Expecter) Context ¶
func (_e *MockTestService_BidiStreamServer_Expecter) Context() *MockTestService_BidiStreamServer_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_BidiStreamServer_Expecter) Recv ¶
func (_e *MockTestService_BidiStreamServer_Expecter) Recv() *MockTestService_BidiStreamServer_Recv_Call
Recv is a helper method to define mock.On call
func (*MockTestService_BidiStreamServer_Expecter) RecvMsg ¶
func (_e *MockTestService_BidiStreamServer_Expecter) RecvMsg(m interface{}) *MockTestService_BidiStreamServer_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_BidiStreamServer_Expecter) Send ¶
func (_e *MockTestService_BidiStreamServer_Expecter) Send(_a0 interface{}) *MockTestService_BidiStreamServer_Send_Call
Send is a helper method to define mock.On call
- _a0 *testproto.Msg
func (*MockTestService_BidiStreamServer_Expecter) SendHeader ¶
func (_e *MockTestService_BidiStreamServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_BidiStreamServer_SendHeader_Call
SendHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_BidiStreamServer_Expecter) SendMsg ¶
func (_e *MockTestService_BidiStreamServer_Expecter) SendMsg(m interface{}) *MockTestService_BidiStreamServer_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_BidiStreamServer_Expecter) SetHeader ¶
func (_e *MockTestService_BidiStreamServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_BidiStreamServer_SetHeader_Call
SetHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_BidiStreamServer_Expecter) SetTrailer ¶
func (_e *MockTestService_BidiStreamServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_BidiStreamServer_SetTrailer_Call
SetTrailer is a helper method to define mock.On call
- _a0 metadata.MD
type MockTestService_BidiStreamServer_RecvMsg_Call ¶
MockTestService_BidiStreamServer_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_BidiStreamServer_RecvMsg_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_RecvMsg_Call) Return(_a0 error) *MockTestService_BidiStreamServer_RecvMsg_Call
func (*MockTestService_BidiStreamServer_RecvMsg_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamServer_RecvMsg_Call
func (*MockTestService_BidiStreamServer_RecvMsg_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamServer_RecvMsg_Call
type MockTestService_BidiStreamServer_Recv_Call ¶
MockTestService_BidiStreamServer_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockTestService_BidiStreamServer_Recv_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_BidiStreamServer_Recv_Call
func (*MockTestService_BidiStreamServer_Recv_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_Recv_Call) Run(run func()) *MockTestService_BidiStreamServer_Recv_Call
func (*MockTestService_BidiStreamServer_Recv_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_BidiStreamServer_Recv_Call
type MockTestService_BidiStreamServer_SendHeader_Call ¶
MockTestService_BidiStreamServer_SendHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendHeader'
func (*MockTestService_BidiStreamServer_SendHeader_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_SendHeader_Call) Return(_a0 error) *MockTestService_BidiStreamServer_SendHeader_Call
func (*MockTestService_BidiStreamServer_SendHeader_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_BidiStreamServer_SendHeader_Call
func (*MockTestService_BidiStreamServer_SendHeader_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_BidiStreamServer_SendHeader_Call
type MockTestService_BidiStreamServer_SendMsg_Call ¶
MockTestService_BidiStreamServer_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_BidiStreamServer_SendMsg_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_SendMsg_Call) Return(_a0 error) *MockTestService_BidiStreamServer_SendMsg_Call
func (*MockTestService_BidiStreamServer_SendMsg_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_BidiStreamServer_SendMsg_Call
func (*MockTestService_BidiStreamServer_SendMsg_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_BidiStreamServer_SendMsg_Call
type MockTestService_BidiStreamServer_Send_Call ¶
MockTestService_BidiStreamServer_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*MockTestService_BidiStreamServer_Send_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_Send_Call) Return(_a0 error) *MockTestService_BidiStreamServer_Send_Call
func (*MockTestService_BidiStreamServer_Send_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_BidiStreamServer_Send_Call
func (*MockTestService_BidiStreamServer_Send_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_BidiStreamServer_Send_Call
type MockTestService_BidiStreamServer_SetHeader_Call ¶
MockTestService_BidiStreamServer_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'
func (*MockTestService_BidiStreamServer_SetHeader_Call) Return ¶
func (_c *MockTestService_BidiStreamServer_SetHeader_Call) Return(_a0 error) *MockTestService_BidiStreamServer_SetHeader_Call
func (*MockTestService_BidiStreamServer_SetHeader_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_BidiStreamServer_SetHeader_Call
func (*MockTestService_BidiStreamServer_SetHeader_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_BidiStreamServer_SetHeader_Call
type MockTestService_BidiStreamServer_SetTrailer_Call ¶
MockTestService_BidiStreamServer_SetTrailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrailer'
func (*MockTestService_BidiStreamServer_SetTrailer_Call) Run ¶
func (_c *MockTestService_BidiStreamServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_BidiStreamServer_SetTrailer_Call
func (*MockTestService_BidiStreamServer_SetTrailer_Call) RunAndReturn ¶
func (_c *MockTestService_BidiStreamServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_BidiStreamServer_SetTrailer_Call
type MockTestService_ClientStreamClient ¶
MockTestService_ClientStreamClient is an autogenerated mock type for the TestService_ClientStreamClient type
func NewMockTestService_ClientStreamClient ¶
func NewMockTestService_ClientStreamClient(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_ClientStreamClient
NewMockTestService_ClientStreamClient creates a new instance of MockTestService_ClientStreamClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_ClientStreamClient) CloseAndRecv ¶
func (_m *MockTestService_ClientStreamClient) CloseAndRecv() (*testproto.Msg, error)
CloseAndRecv provides a mock function with given fields:
func (*MockTestService_ClientStreamClient) CloseSend ¶
func (_m *MockTestService_ClientStreamClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*MockTestService_ClientStreamClient) Context ¶
func (_m *MockTestService_ClientStreamClient) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_ClientStreamClient) EXPECT ¶
func (_m *MockTestService_ClientStreamClient) EXPECT() *MockTestService_ClientStreamClient_Expecter
func (*MockTestService_ClientStreamClient) Header ¶
func (_m *MockTestService_ClientStreamClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*MockTestService_ClientStreamClient) RecvMsg ¶
func (_m *MockTestService_ClientStreamClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_ClientStreamClient) Send ¶
func (_m *MockTestService_ClientStreamClient) Send(_a0 *testproto.Msg) error
Send provides a mock function with given fields: _a0
func (*MockTestService_ClientStreamClient) SendMsg ¶
func (_m *MockTestService_ClientStreamClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_ClientStreamClient) Trailer ¶
func (_m *MockTestService_ClientStreamClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type MockTestService_ClientStreamClient_CloseAndRecv_Call ¶
MockTestService_ClientStreamClient_CloseAndRecv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseAndRecv'
func (*MockTestService_ClientStreamClient_CloseAndRecv_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_CloseAndRecv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ClientStreamClient_CloseAndRecv_Call
func (*MockTestService_ClientStreamClient_CloseAndRecv_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_CloseAndRecv_Call) Run(run func()) *MockTestService_ClientStreamClient_CloseAndRecv_Call
func (*MockTestService_ClientStreamClient_CloseAndRecv_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_CloseAndRecv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ClientStreamClient_CloseAndRecv_Call
type MockTestService_ClientStreamClient_CloseSend_Call ¶
MockTestService_ClientStreamClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*MockTestService_ClientStreamClient_CloseSend_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_CloseSend_Call) Return(_a0 error) *MockTestService_ClientStreamClient_CloseSend_Call
func (*MockTestService_ClientStreamClient_CloseSend_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_CloseSend_Call) Run(run func()) *MockTestService_ClientStreamClient_CloseSend_Call
func (*MockTestService_ClientStreamClient_CloseSend_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_ClientStreamClient_CloseSend_Call
type MockTestService_ClientStreamClient_Context_Call ¶
MockTestService_ClientStreamClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_ClientStreamClient_Context_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_Context_Call) Return(_a0 context.Context) *MockTestService_ClientStreamClient_Context_Call
func (*MockTestService_ClientStreamClient_Context_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_Context_Call) Run(run func()) *MockTestService_ClientStreamClient_Context_Call
func (*MockTestService_ClientStreamClient_Context_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ClientStreamClient_Context_Call
type MockTestService_ClientStreamClient_Expecter ¶
type MockTestService_ClientStreamClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_ClientStreamClient_Expecter) CloseAndRecv ¶
func (_e *MockTestService_ClientStreamClient_Expecter) CloseAndRecv() *MockTestService_ClientStreamClient_CloseAndRecv_Call
CloseAndRecv is a helper method to define mock.On call
func (*MockTestService_ClientStreamClient_Expecter) CloseSend ¶
func (_e *MockTestService_ClientStreamClient_Expecter) CloseSend() *MockTestService_ClientStreamClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*MockTestService_ClientStreamClient_Expecter) Context ¶
func (_e *MockTestService_ClientStreamClient_Expecter) Context() *MockTestService_ClientStreamClient_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_ClientStreamClient_Expecter) Header ¶
func (_e *MockTestService_ClientStreamClient_Expecter) Header() *MockTestService_ClientStreamClient_Header_Call
Header is a helper method to define mock.On call
func (*MockTestService_ClientStreamClient_Expecter) RecvMsg ¶
func (_e *MockTestService_ClientStreamClient_Expecter) RecvMsg(m interface{}) *MockTestService_ClientStreamClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ClientStreamClient_Expecter) Send ¶
func (_e *MockTestService_ClientStreamClient_Expecter) Send(_a0 interface{}) *MockTestService_ClientStreamClient_Send_Call
Send is a helper method to define mock.On call
- _a0 *testproto.Msg
func (*MockTestService_ClientStreamClient_Expecter) SendMsg ¶
func (_e *MockTestService_ClientStreamClient_Expecter) SendMsg(m interface{}) *MockTestService_ClientStreamClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ClientStreamClient_Expecter) Trailer ¶
func (_e *MockTestService_ClientStreamClient_Expecter) Trailer() *MockTestService_ClientStreamClient_Trailer_Call
Trailer is a helper method to define mock.On call
type MockTestService_ClientStreamClient_Header_Call ¶
MockTestService_ClientStreamClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*MockTestService_ClientStreamClient_Header_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_ClientStreamClient_Header_Call
func (*MockTestService_ClientStreamClient_Header_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_Header_Call) Run(run func()) *MockTestService_ClientStreamClient_Header_Call
func (*MockTestService_ClientStreamClient_Header_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_ClientStreamClient_Header_Call
type MockTestService_ClientStreamClient_RecvMsg_Call ¶
MockTestService_ClientStreamClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_ClientStreamClient_RecvMsg_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_RecvMsg_Call) Return(_a0 error) *MockTestService_ClientStreamClient_RecvMsg_Call
func (*MockTestService_ClientStreamClient_RecvMsg_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamClient_RecvMsg_Call
func (*MockTestService_ClientStreamClient_RecvMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamClient_RecvMsg_Call
type MockTestService_ClientStreamClient_SendMsg_Call ¶
MockTestService_ClientStreamClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_ClientStreamClient_SendMsg_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_SendMsg_Call) Return(_a0 error) *MockTestService_ClientStreamClient_SendMsg_Call
func (*MockTestService_ClientStreamClient_SendMsg_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamClient_SendMsg_Call
func (*MockTestService_ClientStreamClient_SendMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamClient_SendMsg_Call
type MockTestService_ClientStreamClient_Send_Call ¶
MockTestService_ClientStreamClient_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*MockTestService_ClientStreamClient_Send_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_Send_Call) Return(_a0 error) *MockTestService_ClientStreamClient_Send_Call
func (*MockTestService_ClientStreamClient_Send_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ClientStreamClient_Send_Call
func (*MockTestService_ClientStreamClient_Send_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ClientStreamClient_Send_Call
type MockTestService_ClientStreamClient_Trailer_Call ¶
MockTestService_ClientStreamClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*MockTestService_ClientStreamClient_Trailer_Call) Return ¶
func (_c *MockTestService_ClientStreamClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_ClientStreamClient_Trailer_Call
func (*MockTestService_ClientStreamClient_Trailer_Call) Run ¶
func (_c *MockTestService_ClientStreamClient_Trailer_Call) Run(run func()) *MockTestService_ClientStreamClient_Trailer_Call
func (*MockTestService_ClientStreamClient_Trailer_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_ClientStreamClient_Trailer_Call
type MockTestService_ClientStreamServer ¶
MockTestService_ClientStreamServer is an autogenerated mock type for the TestService_ClientStreamServer type
func NewMockTestService_ClientStreamServer ¶
func NewMockTestService_ClientStreamServer(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_ClientStreamServer
NewMockTestService_ClientStreamServer creates a new instance of MockTestService_ClientStreamServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_ClientStreamServer) Context ¶
func (_m *MockTestService_ClientStreamServer) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_ClientStreamServer) EXPECT ¶
func (_m *MockTestService_ClientStreamServer) EXPECT() *MockTestService_ClientStreamServer_Expecter
func (*MockTestService_ClientStreamServer) Recv ¶
func (_m *MockTestService_ClientStreamServer) Recv() (*testproto.Msg, error)
Recv provides a mock function with given fields:
func (*MockTestService_ClientStreamServer) RecvMsg ¶
func (_m *MockTestService_ClientStreamServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_ClientStreamServer) SendAndClose ¶
func (_m *MockTestService_ClientStreamServer) SendAndClose(_a0 *testproto.Msg) error
SendAndClose provides a mock function with given fields: _a0
func (*MockTestService_ClientStreamServer) SendHeader ¶
func (_m *MockTestService_ClientStreamServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*MockTestService_ClientStreamServer) SendMsg ¶
func (_m *MockTestService_ClientStreamServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_ClientStreamServer) SetHeader ¶
func (_m *MockTestService_ClientStreamServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*MockTestService_ClientStreamServer) SetTrailer ¶
func (_m *MockTestService_ClientStreamServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type MockTestService_ClientStreamServer_Context_Call ¶
MockTestService_ClientStreamServer_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_ClientStreamServer_Context_Call) Return ¶
func (_c *MockTestService_ClientStreamServer_Context_Call) Return(_a0 context.Context) *MockTestService_ClientStreamServer_Context_Call
func (*MockTestService_ClientStreamServer_Context_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_Context_Call) Run(run func()) *MockTestService_ClientStreamServer_Context_Call
func (*MockTestService_ClientStreamServer_Context_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ClientStreamServer_Context_Call
type MockTestService_ClientStreamServer_Expecter ¶
type MockTestService_ClientStreamServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_ClientStreamServer_Expecter) Context ¶
func (_e *MockTestService_ClientStreamServer_Expecter) Context() *MockTestService_ClientStreamServer_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_ClientStreamServer_Expecter) Recv ¶
func (_e *MockTestService_ClientStreamServer_Expecter) Recv() *MockTestService_ClientStreamServer_Recv_Call
Recv is a helper method to define mock.On call
func (*MockTestService_ClientStreamServer_Expecter) RecvMsg ¶
func (_e *MockTestService_ClientStreamServer_Expecter) RecvMsg(m interface{}) *MockTestService_ClientStreamServer_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ClientStreamServer_Expecter) SendAndClose ¶
func (_e *MockTestService_ClientStreamServer_Expecter) SendAndClose(_a0 interface{}) *MockTestService_ClientStreamServer_SendAndClose_Call
SendAndClose is a helper method to define mock.On call
- _a0 *testproto.Msg
func (*MockTestService_ClientStreamServer_Expecter) SendHeader ¶
func (_e *MockTestService_ClientStreamServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_ClientStreamServer_SendHeader_Call
SendHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_ClientStreamServer_Expecter) SendMsg ¶
func (_e *MockTestService_ClientStreamServer_Expecter) SendMsg(m interface{}) *MockTestService_ClientStreamServer_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ClientStreamServer_Expecter) SetHeader ¶
func (_e *MockTestService_ClientStreamServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_ClientStreamServer_SetHeader_Call
SetHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_ClientStreamServer_Expecter) SetTrailer ¶
func (_e *MockTestService_ClientStreamServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_ClientStreamServer_SetTrailer_Call
SetTrailer is a helper method to define mock.On call
- _a0 metadata.MD
type MockTestService_ClientStreamServer_RecvMsg_Call ¶
MockTestService_ClientStreamServer_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_ClientStreamServer_RecvMsg_Call) Return ¶
func (_c *MockTestService_ClientStreamServer_RecvMsg_Call) Return(_a0 error) *MockTestService_ClientStreamServer_RecvMsg_Call
func (*MockTestService_ClientStreamServer_RecvMsg_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamServer_RecvMsg_Call
func (*MockTestService_ClientStreamServer_RecvMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamServer_RecvMsg_Call
type MockTestService_ClientStreamServer_Recv_Call ¶
MockTestService_ClientStreamServer_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockTestService_ClientStreamServer_Recv_Call) Return ¶
func (_c *MockTestService_ClientStreamServer_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ClientStreamServer_Recv_Call
func (*MockTestService_ClientStreamServer_Recv_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_Recv_Call) Run(run func()) *MockTestService_ClientStreamServer_Recv_Call
func (*MockTestService_ClientStreamServer_Recv_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ClientStreamServer_Recv_Call
type MockTestService_ClientStreamServer_SendAndClose_Call ¶
MockTestService_ClientStreamServer_SendAndClose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendAndClose'
func (*MockTestService_ClientStreamServer_SendAndClose_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_SendAndClose_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ClientStreamServer_SendAndClose_Call
func (*MockTestService_ClientStreamServer_SendAndClose_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_SendAndClose_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ClientStreamServer_SendAndClose_Call
type MockTestService_ClientStreamServer_SendHeader_Call ¶
MockTestService_ClientStreamServer_SendHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendHeader'
func (*MockTestService_ClientStreamServer_SendHeader_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ClientStreamServer_SendHeader_Call
func (*MockTestService_ClientStreamServer_SendHeader_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ClientStreamServer_SendHeader_Call
type MockTestService_ClientStreamServer_SendMsg_Call ¶
MockTestService_ClientStreamServer_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_ClientStreamServer_SendMsg_Call) Return ¶
func (_c *MockTestService_ClientStreamServer_SendMsg_Call) Return(_a0 error) *MockTestService_ClientStreamServer_SendMsg_Call
func (*MockTestService_ClientStreamServer_SendMsg_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ClientStreamServer_SendMsg_Call
func (*MockTestService_ClientStreamServer_SendMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ClientStreamServer_SendMsg_Call
type MockTestService_ClientStreamServer_SetHeader_Call ¶
MockTestService_ClientStreamServer_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'
func (*MockTestService_ClientStreamServer_SetHeader_Call) Return ¶
func (_c *MockTestService_ClientStreamServer_SetHeader_Call) Return(_a0 error) *MockTestService_ClientStreamServer_SetHeader_Call
func (*MockTestService_ClientStreamServer_SetHeader_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ClientStreamServer_SetHeader_Call
func (*MockTestService_ClientStreamServer_SetHeader_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ClientStreamServer_SetHeader_Call
type MockTestService_ClientStreamServer_SetTrailer_Call ¶
MockTestService_ClientStreamServer_SetTrailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrailer'
func (*MockTestService_ClientStreamServer_SetTrailer_Call) Run ¶
func (_c *MockTestService_ClientStreamServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ClientStreamServer_SetTrailer_Call
func (*MockTestService_ClientStreamServer_SetTrailer_Call) RunAndReturn ¶
func (_c *MockTestService_ClientStreamServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_ClientStreamServer_SetTrailer_Call
type MockTestService_ServerStreamClient ¶
MockTestService_ServerStreamClient is an autogenerated mock type for the TestService_ServerStreamClient type
func NewMockTestService_ServerStreamClient ¶
func NewMockTestService_ServerStreamClient(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_ServerStreamClient
NewMockTestService_ServerStreamClient creates a new instance of MockTestService_ServerStreamClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_ServerStreamClient) CloseSend ¶
func (_m *MockTestService_ServerStreamClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*MockTestService_ServerStreamClient) Context ¶
func (_m *MockTestService_ServerStreamClient) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_ServerStreamClient) EXPECT ¶
func (_m *MockTestService_ServerStreamClient) EXPECT() *MockTestService_ServerStreamClient_Expecter
func (*MockTestService_ServerStreamClient) Header ¶
func (_m *MockTestService_ServerStreamClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*MockTestService_ServerStreamClient) Recv ¶
func (_m *MockTestService_ServerStreamClient) Recv() (*testproto.Msg, error)
Recv provides a mock function with given fields:
func (*MockTestService_ServerStreamClient) RecvMsg ¶
func (_m *MockTestService_ServerStreamClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamClient) SendMsg ¶
func (_m *MockTestService_ServerStreamClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamClient) Trailer ¶
func (_m *MockTestService_ServerStreamClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type MockTestService_ServerStreamClient_CloseSend_Call ¶
MockTestService_ServerStreamClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*MockTestService_ServerStreamClient_CloseSend_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_CloseSend_Call) Return(_a0 error) *MockTestService_ServerStreamClient_CloseSend_Call
func (*MockTestService_ServerStreamClient_CloseSend_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_CloseSend_Call) Run(run func()) *MockTestService_ServerStreamClient_CloseSend_Call
func (*MockTestService_ServerStreamClient_CloseSend_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_ServerStreamClient_CloseSend_Call
type MockTestService_ServerStreamClient_Context_Call ¶
MockTestService_ServerStreamClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_ServerStreamClient_Context_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_Context_Call) Return(_a0 context.Context) *MockTestService_ServerStreamClient_Context_Call
func (*MockTestService_ServerStreamClient_Context_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_Context_Call) Run(run func()) *MockTestService_ServerStreamClient_Context_Call
func (*MockTestService_ServerStreamClient_Context_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamClient_Context_Call
type MockTestService_ServerStreamClient_Expecter ¶
type MockTestService_ServerStreamClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_ServerStreamClient_Expecter) CloseSend ¶
func (_e *MockTestService_ServerStreamClient_Expecter) CloseSend() *MockTestService_ServerStreamClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*MockTestService_ServerStreamClient_Expecter) Context ¶
func (_e *MockTestService_ServerStreamClient_Expecter) Context() *MockTestService_ServerStreamClient_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_ServerStreamClient_Expecter) Header ¶
func (_e *MockTestService_ServerStreamClient_Expecter) Header() *MockTestService_ServerStreamClient_Header_Call
Header is a helper method to define mock.On call
func (*MockTestService_ServerStreamClient_Expecter) Recv ¶
func (_e *MockTestService_ServerStreamClient_Expecter) Recv() *MockTestService_ServerStreamClient_Recv_Call
Recv is a helper method to define mock.On call
func (*MockTestService_ServerStreamClient_Expecter) RecvMsg ¶
func (_e *MockTestService_ServerStreamClient_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamClient_Expecter) SendMsg ¶
func (_e *MockTestService_ServerStreamClient_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamClient_Expecter) Trailer ¶
func (_e *MockTestService_ServerStreamClient_Expecter) Trailer() *MockTestService_ServerStreamClient_Trailer_Call
Trailer is a helper method to define mock.On call
type MockTestService_ServerStreamClient_Header_Call ¶
MockTestService_ServerStreamClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*MockTestService_ServerStreamClient_Header_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_ServerStreamClient_Header_Call
func (*MockTestService_ServerStreamClient_Header_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_Header_Call) Run(run func()) *MockTestService_ServerStreamClient_Header_Call
func (*MockTestService_ServerStreamClient_Header_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_ServerStreamClient_Header_Call
type MockTestService_ServerStreamClient_RecvMsg_Call ¶
MockTestService_ServerStreamClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_ServerStreamClient_RecvMsg_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_RecvMsg_Call) Return(_a0 error) *MockTestService_ServerStreamClient_RecvMsg_Call
func (*MockTestService_ServerStreamClient_RecvMsg_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamClient_RecvMsg_Call
func (*MockTestService_ServerStreamClient_RecvMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamClient_RecvMsg_Call
type MockTestService_ServerStreamClient_Recv_Call ¶
MockTestService_ServerStreamClient_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockTestService_ServerStreamClient_Recv_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ServerStreamClient_Recv_Call
func (*MockTestService_ServerStreamClient_Recv_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_Recv_Call) Run(run func()) *MockTestService_ServerStreamClient_Recv_Call
func (*MockTestService_ServerStreamClient_Recv_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ServerStreamClient_Recv_Call
type MockTestService_ServerStreamClient_SendMsg_Call ¶
MockTestService_ServerStreamClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_ServerStreamClient_SendMsg_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_SendMsg_Call) Return(_a0 error) *MockTestService_ServerStreamClient_SendMsg_Call
func (*MockTestService_ServerStreamClient_SendMsg_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamClient_SendMsg_Call
func (*MockTestService_ServerStreamClient_SendMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamClient_SendMsg_Call
type MockTestService_ServerStreamClient_Trailer_Call ¶
MockTestService_ServerStreamClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*MockTestService_ServerStreamClient_Trailer_Call) Return ¶
func (_c *MockTestService_ServerStreamClient_Trailer_Call) Return(_a0 metadata.MD) *MockTestService_ServerStreamClient_Trailer_Call
func (*MockTestService_ServerStreamClient_Trailer_Call) Run ¶
func (_c *MockTestService_ServerStreamClient_Trailer_Call) Run(run func()) *MockTestService_ServerStreamClient_Trailer_Call
func (*MockTestService_ServerStreamClient_Trailer_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_ServerStreamClient_Trailer_Call
type MockTestService_ServerStreamServer ¶
MockTestService_ServerStreamServer is an autogenerated mock type for the TestService_ServerStreamServer type
func NewMockTestService_ServerStreamServer ¶
func NewMockTestService_ServerStreamServer(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_ServerStreamServer
NewMockTestService_ServerStreamServer creates a new instance of MockTestService_ServerStreamServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_ServerStreamServer) Context ¶
func (_m *MockTestService_ServerStreamServer) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_ServerStreamServer) EXPECT ¶
func (_m *MockTestService_ServerStreamServer) EXPECT() *MockTestService_ServerStreamServer_Expecter
func (*MockTestService_ServerStreamServer) RecvMsg ¶
func (_m *MockTestService_ServerStreamServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamServer) Send ¶
func (_m *MockTestService_ServerStreamServer) Send(_a0 *testproto.Msg) error
Send provides a mock function with given fields: _a0
func (*MockTestService_ServerStreamServer) SendHeader ¶
func (_m *MockTestService_ServerStreamServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*MockTestService_ServerStreamServer) SendMsg ¶
func (_m *MockTestService_ServerStreamServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamServer) SetHeader ¶
func (_m *MockTestService_ServerStreamServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*MockTestService_ServerStreamServer) SetTrailer ¶
func (_m *MockTestService_ServerStreamServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type MockTestService_ServerStreamServer_Context_Call ¶
MockTestService_ServerStreamServer_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_ServerStreamServer_Context_Call) Return ¶
func (_c *MockTestService_ServerStreamServer_Context_Call) Return(_a0 context.Context) *MockTestService_ServerStreamServer_Context_Call
func (*MockTestService_ServerStreamServer_Context_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_Context_Call) Run(run func()) *MockTestService_ServerStreamServer_Context_Call
func (*MockTestService_ServerStreamServer_Context_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamServer_Context_Call
type MockTestService_ServerStreamServer_Expecter ¶
type MockTestService_ServerStreamServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_ServerStreamServer_Expecter) Context ¶
func (_e *MockTestService_ServerStreamServer_Expecter) Context() *MockTestService_ServerStreamServer_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_ServerStreamServer_Expecter) RecvMsg ¶
func (_e *MockTestService_ServerStreamServer_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamServer_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamServer_Expecter) Send ¶
func (_e *MockTestService_ServerStreamServer_Expecter) Send(_a0 interface{}) *MockTestService_ServerStreamServer_Send_Call
Send is a helper method to define mock.On call
- _a0 *testproto.Msg
func (*MockTestService_ServerStreamServer_Expecter) SendHeader ¶
func (_e *MockTestService_ServerStreamServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_ServerStreamServer_SendHeader_Call
SendHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_ServerStreamServer_Expecter) SendMsg ¶
func (_e *MockTestService_ServerStreamServer_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamServer_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamServer_Expecter) SetHeader ¶
func (_e *MockTestService_ServerStreamServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_ServerStreamServer_SetHeader_Call
SetHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_ServerStreamServer_Expecter) SetTrailer ¶
func (_e *MockTestService_ServerStreamServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_ServerStreamServer_SetTrailer_Call
SetTrailer is a helper method to define mock.On call
- _a0 metadata.MD
type MockTestService_ServerStreamServer_RecvMsg_Call ¶
MockTestService_ServerStreamServer_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_ServerStreamServer_RecvMsg_Call) Return ¶
func (_c *MockTestService_ServerStreamServer_RecvMsg_Call) Return(_a0 error) *MockTestService_ServerStreamServer_RecvMsg_Call
func (*MockTestService_ServerStreamServer_RecvMsg_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamServer_RecvMsg_Call
func (*MockTestService_ServerStreamServer_RecvMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamServer_RecvMsg_Call
type MockTestService_ServerStreamServer_SendHeader_Call ¶
MockTestService_ServerStreamServer_SendHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendHeader'
func (*MockTestService_ServerStreamServer_SendHeader_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamServer_SendHeader_Call
func (*MockTestService_ServerStreamServer_SendHeader_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamServer_SendHeader_Call
type MockTestService_ServerStreamServer_SendMsg_Call ¶
MockTestService_ServerStreamServer_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_ServerStreamServer_SendMsg_Call) Return ¶
func (_c *MockTestService_ServerStreamServer_SendMsg_Call) Return(_a0 error) *MockTestService_ServerStreamServer_SendMsg_Call
func (*MockTestService_ServerStreamServer_SendMsg_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamServer_SendMsg_Call
func (*MockTestService_ServerStreamServer_SendMsg_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamServer_SendMsg_Call
type MockTestService_ServerStreamServer_Send_Call ¶
MockTestService_ServerStreamServer_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*MockTestService_ServerStreamServer_Send_Call) Return ¶
func (_c *MockTestService_ServerStreamServer_Send_Call) Return(_a0 error) *MockTestService_ServerStreamServer_Send_Call
func (*MockTestService_ServerStreamServer_Send_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ServerStreamServer_Send_Call
func (*MockTestService_ServerStreamServer_Send_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ServerStreamServer_Send_Call
type MockTestService_ServerStreamServer_SetHeader_Call ¶
MockTestService_ServerStreamServer_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'
func (*MockTestService_ServerStreamServer_SetHeader_Call) Return ¶
func (_c *MockTestService_ServerStreamServer_SetHeader_Call) Return(_a0 error) *MockTestService_ServerStreamServer_SetHeader_Call
func (*MockTestService_ServerStreamServer_SetHeader_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamServer_SetHeader_Call
func (*MockTestService_ServerStreamServer_SetHeader_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamServer_SetHeader_Call
type MockTestService_ServerStreamServer_SetTrailer_Call ¶
MockTestService_ServerStreamServer_SetTrailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrailer'
func (*MockTestService_ServerStreamServer_SetTrailer_Call) Run ¶
func (_c *MockTestService_ServerStreamServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamServer_SetTrailer_Call
func (*MockTestService_ServerStreamServer_SetTrailer_Call) RunAndReturn ¶
func (_c *MockTestService_ServerStreamServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_ServerStreamServer_SetTrailer_Call
type MockTestService_ServerStreamThatSleepsClient ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient is an autogenerated mock type for the TestService_ServerStreamThatSleepsClient type
func NewMockTestService_ServerStreamThatSleepsClient ¶ added in v0.1.3
func NewMockTestService_ServerStreamThatSleepsClient(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_ServerStreamThatSleepsClient
NewMockTestService_ServerStreamThatSleepsClient creates a new instance of MockTestService_ServerStreamThatSleepsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_ServerStreamThatSleepsClient) CloseSend ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*MockTestService_ServerStreamThatSleepsClient) Context ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_ServerStreamThatSleepsClient) Header ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*MockTestService_ServerStreamThatSleepsClient) Recv ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) Recv() (*testproto.Msg, error)
Recv provides a mock function with given fields:
func (*MockTestService_ServerStreamThatSleepsClient) RecvMsg ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamThatSleepsClient) SendMsg ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamThatSleepsClient) Trailer ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type MockTestService_ServerStreamThatSleepsClient_CloseSend_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*MockTestService_ServerStreamThatSleepsClient_CloseSend_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call) RunAndReturn(run func() error) *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
type MockTestService_ServerStreamThatSleepsClient_Context_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_ServerStreamThatSleepsClient_Context_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Context_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Context_Call
func (*MockTestService_ServerStreamThatSleepsClient_Context_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamThatSleepsClient_Context_Call
type MockTestService_ServerStreamThatSleepsClient_Expecter ¶ added in v0.1.3
type MockTestService_ServerStreamThatSleepsClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) CloseSend ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) CloseSend() *MockTestService_ServerStreamThatSleepsClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) Context ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Context() *MockTestService_ServerStreamThatSleepsClient_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) Header ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Header() *MockTestService_ServerStreamThatSleepsClient_Header_Call
Header is a helper method to define mock.On call
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) Recv ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Recv() *MockTestService_ServerStreamThatSleepsClient_Recv_Call
Recv is a helper method to define mock.On call
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) RecvMsg ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) SendMsg ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamThatSleepsClient_Expecter) Trailer ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsClient_Expecter) Trailer() *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
Trailer is a helper method to define mock.On call
type MockTestService_ServerStreamThatSleepsClient_Header_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*MockTestService_ServerStreamThatSleepsClient_Header_Call) Return ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *MockTestService_ServerStreamThatSleepsClient_Header_Call
func (*MockTestService_ServerStreamThatSleepsClient_Header_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Header_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Header_Call
func (*MockTestService_ServerStreamThatSleepsClient_Header_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockTestService_ServerStreamThatSleepsClient_Header_Call
type MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
func (*MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsClient_RecvMsg_Call
type MockTestService_ServerStreamThatSleepsClient_Recv_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockTestService_ServerStreamThatSleepsClient_Recv_Call) Return ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Recv_Call) Return(_a0 *testproto.Msg, _a1 error) *MockTestService_ServerStreamThatSleepsClient_Recv_Call
func (*MockTestService_ServerStreamThatSleepsClient_Recv_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Recv_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Recv_Call
func (*MockTestService_ServerStreamThatSleepsClient_Recv_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Recv_Call) RunAndReturn(run func() (*testproto.Msg, error)) *MockTestService_ServerStreamThatSleepsClient_Recv_Call
type MockTestService_ServerStreamThatSleepsClient_SendMsg_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
func (*MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsClient_SendMsg_Call
type MockTestService_ServerStreamThatSleepsClient_Trailer_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*MockTestService_ServerStreamThatSleepsClient_Trailer_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Trailer_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
func (*MockTestService_ServerStreamThatSleepsClient_Trailer_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockTestService_ServerStreamThatSleepsClient_Trailer_Call
type MockTestService_ServerStreamThatSleepsServer ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer is an autogenerated mock type for the TestService_ServerStreamThatSleepsServer type
func NewMockTestService_ServerStreamThatSleepsServer ¶ added in v0.1.3
func NewMockTestService_ServerStreamThatSleepsServer(t interface { mock.TestingT Cleanup(func()) }) *MockTestService_ServerStreamThatSleepsServer
NewMockTestService_ServerStreamThatSleepsServer creates a new instance of MockTestService_ServerStreamThatSleepsServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestService_ServerStreamThatSleepsServer) Context ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) Context() context.Context
Context provides a mock function with given fields:
func (*MockTestService_ServerStreamThatSleepsServer) RecvMsg ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamThatSleepsServer) Send ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) Send(_a0 *testproto.Msg) error
Send provides a mock function with given fields: _a0
func (*MockTestService_ServerStreamThatSleepsServer) SendHeader ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*MockTestService_ServerStreamThatSleepsServer) SendMsg ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockTestService_ServerStreamThatSleepsServer) SetHeader ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*MockTestService_ServerStreamThatSleepsServer) SetTrailer ¶ added in v0.1.3
func (_m *MockTestService_ServerStreamThatSleepsServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type MockTestService_ServerStreamThatSleepsServer_Context_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockTestService_ServerStreamThatSleepsServer_Context_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_Context_Call) Run(run func()) *MockTestService_ServerStreamThatSleepsServer_Context_Call
func (*MockTestService_ServerStreamThatSleepsServer_Context_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_Context_Call) RunAndReturn(run func() context.Context) *MockTestService_ServerStreamThatSleepsServer_Context_Call
type MockTestService_ServerStreamThatSleepsServer_Expecter ¶ added in v0.1.3
type MockTestService_ServerStreamThatSleepsServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) Context ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) Context() *MockTestService_ServerStreamThatSleepsServer_Context_Call
Context is a helper method to define mock.On call
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) RecvMsg ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) RecvMsg(m interface{}) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) Send ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) Send(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_Send_Call
Send is a helper method to define mock.On call
- _a0 *testproto.Msg
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) SendHeader ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SendHeader(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
SendHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) SendMsg ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SendMsg(m interface{}) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) SetHeader ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SetHeader(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
SetHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*MockTestService_ServerStreamThatSleepsServer_Expecter) SetTrailer ¶ added in v0.1.3
func (_e *MockTestService_ServerStreamThatSleepsServer_Expecter) SetTrailer(_a0 interface{}) *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
SetTrailer is a helper method to define mock.On call
- _a0 metadata.MD
type MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
func (*MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsServer_RecvMsg_Call
type MockTestService_ServerStreamThatSleepsServer_SendHeader_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_SendHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendHeader'
func (*MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
func (*MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamThatSleepsServer_SendHeader_Call
type MockTestService_ServerStreamThatSleepsServer_SendMsg_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) Run(run func(m interface{})) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
func (*MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *MockTestService_ServerStreamThatSleepsServer_SendMsg_Call
type MockTestService_ServerStreamThatSleepsServer_Send_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*MockTestService_ServerStreamThatSleepsServer_Send_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_Send_Call) Run(run func(_a0 *testproto.Msg)) *MockTestService_ServerStreamThatSleepsServer_Send_Call
func (*MockTestService_ServerStreamThatSleepsServer_Send_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_Send_Call) RunAndReturn(run func(*testproto.Msg) error) *MockTestService_ServerStreamThatSleepsServer_Send_Call
type MockTestService_ServerStreamThatSleepsServer_SetHeader_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'
func (*MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
func (*MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *MockTestService_ServerStreamThatSleepsServer_SetHeader_Call
type MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call ¶ added in v0.1.3
MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrailer'
func (*MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) Run ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
func (*MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) RunAndReturn ¶ added in v0.1.3
func (_c *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *MockTestService_ServerStreamThatSleepsServer_SetTrailer_Call
type MockUnsafeTestServiceServer ¶
MockUnsafeTestServiceServer is an autogenerated mock type for the UnsafeTestServiceServer type
func NewMockUnsafeTestServiceServer ¶
func NewMockUnsafeTestServiceServer(t interface { mock.TestingT Cleanup(func()) }) *MockUnsafeTestServiceServer
NewMockUnsafeTestServiceServer creates a new instance of MockUnsafeTestServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockUnsafeTestServiceServer) EXPECT ¶
func (_m *MockUnsafeTestServiceServer) EXPECT() *MockUnsafeTestServiceServer_Expecter
type MockUnsafeTestServiceServer_Expecter ¶
type MockUnsafeTestServiceServer_Expecter struct {
// contains filtered or unexported fields
}
type MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call ¶
MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedTestServiceServer'
func (*MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn ¶
func (_c *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn(run func()) *MockUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
Source Files ¶
- mock_TestServiceClient.go
- mock_TestServiceServer.go
- mock_TestService_BidiStreamClient.go
- mock_TestService_BidiStreamServer.go
- mock_TestService_ClientStreamClient.go
- mock_TestService_ClientStreamServer.go
- mock_TestService_ServerStreamClient.go
- mock_TestService_ServerStreamServer.go
- mock_TestService_ServerStreamThatSleepsClient.go
- mock_TestService_ServerStreamThatSleepsServer.go
- mock_UnsafeTestServiceServer.go