Documentation ¶
Overview ¶
Package pbmock is a generated GoMock package.
Index ¶
- type MockVideoClient
- func (m *MockVideoClient) DeleteVideo(arg0 context.Context, arg1 *pb.DeleteVideoRequest, arg2 ...grpc.CallOption) (*pb.DeleteVideoResponse, error)
- func (m *MockVideoClient) EXPECT() *MockVideoClientMockRecorder
- func (m *MockVideoClient) GetVideo(arg0 context.Context, arg1 *pb.GetVideoRequest, arg2 ...grpc.CallOption) (*pb.GetVideoResponse, error)
- func (m *MockVideoClient) Healthz(arg0 context.Context, arg1 *pb.HealthzRequest, arg2 ...grpc.CallOption) (*pb.HealthzResponse, error)
- func (m *MockVideoClient) ListVideo(arg0 context.Context, arg1 *pb.ListVideoRequest, arg2 ...grpc.CallOption) (*pb.ListVideoResponse, error)
- func (m *MockVideoClient) UploadVideo(arg0 context.Context, arg1 ...grpc.CallOption) (pb.Video_UploadVideoClient, error)
- type MockVideoClientMockRecorder
- func (mr *MockVideoClientMockRecorder) DeleteVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockVideoClientMockRecorder) GetVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockVideoClientMockRecorder) Healthz(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockVideoClientMockRecorder) ListVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockVideoClientMockRecorder) UploadVideo(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockVideo_UploadVideoServer
- func (m *MockVideo_UploadVideoServer) Context() context.Context
- func (m *MockVideo_UploadVideoServer) EXPECT() *MockVideo_UploadVideoServerMockRecorder
- func (m *MockVideo_UploadVideoServer) Recv() (*pb.UploadVideoRequest, error)
- func (m *MockVideo_UploadVideoServer) RecvMsg(arg0 interface{}) error
- func (m *MockVideo_UploadVideoServer) SendAndClose(arg0 *pb.UploadVideoResponse) error
- func (m *MockVideo_UploadVideoServer) SendHeader(arg0 metadata.MD) error
- func (m *MockVideo_UploadVideoServer) SendMsg(arg0 interface{}) error
- func (m *MockVideo_UploadVideoServer) SetHeader(arg0 metadata.MD) error
- func (m *MockVideo_UploadVideoServer) SetTrailer(arg0 metadata.MD)
- type MockVideo_UploadVideoServerMockRecorder
- func (mr *MockVideo_UploadVideoServerMockRecorder) Context() *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) Recv() *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockVideo_UploadVideoServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVideoClient ¶
type MockVideoClient struct {
// contains filtered or unexported fields
}
MockVideoClient is a mock of VideoClient interface.
func NewMockVideoClient ¶
func NewMockVideoClient(ctrl *gomock.Controller) *MockVideoClient
NewMockVideoClient creates a new mock instance.
func (*MockVideoClient) DeleteVideo ¶
func (m *MockVideoClient) DeleteVideo(arg0 context.Context, arg1 *pb.DeleteVideoRequest, arg2 ...grpc.CallOption) (*pb.DeleteVideoResponse, error)
DeleteVideo mocks base method.
func (*MockVideoClient) EXPECT ¶
func (m *MockVideoClient) EXPECT() *MockVideoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVideoClient) GetVideo ¶
func (m *MockVideoClient) GetVideo(arg0 context.Context, arg1 *pb.GetVideoRequest, arg2 ...grpc.CallOption) (*pb.GetVideoResponse, error)
GetVideo mocks base method.
func (*MockVideoClient) Healthz ¶
func (m *MockVideoClient) Healthz(arg0 context.Context, arg1 *pb.HealthzRequest, arg2 ...grpc.CallOption) (*pb.HealthzResponse, error)
Healthz mocks base method.
func (*MockVideoClient) ListVideo ¶
func (m *MockVideoClient) ListVideo(arg0 context.Context, arg1 *pb.ListVideoRequest, arg2 ...grpc.CallOption) (*pb.ListVideoResponse, error)
ListVideo mocks base method.
func (*MockVideoClient) UploadVideo ¶
func (m *MockVideoClient) UploadVideo(arg0 context.Context, arg1 ...grpc.CallOption) (pb.Video_UploadVideoClient, error)
UploadVideo mocks base method.
type MockVideoClientMockRecorder ¶
type MockVideoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVideoClientMockRecorder is the mock recorder for MockVideoClient.
func (*MockVideoClientMockRecorder) DeleteVideo ¶
func (mr *MockVideoClientMockRecorder) DeleteVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteVideo indicates an expected call of DeleteVideo.
func (*MockVideoClientMockRecorder) GetVideo ¶
func (mr *MockVideoClientMockRecorder) GetVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetVideo indicates an expected call of GetVideo.
func (*MockVideoClientMockRecorder) Healthz ¶
func (mr *MockVideoClientMockRecorder) Healthz(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Healthz indicates an expected call of Healthz.
func (*MockVideoClientMockRecorder) ListVideo ¶
func (mr *MockVideoClientMockRecorder) ListVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListVideo indicates an expected call of ListVideo.
func (*MockVideoClientMockRecorder) UploadVideo ¶
func (mr *MockVideoClientMockRecorder) UploadVideo(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UploadVideo indicates an expected call of UploadVideo.
type MockVideo_UploadVideoServer ¶
type MockVideo_UploadVideoServer struct {
// contains filtered or unexported fields
}
MockVideo_UploadVideoServer is a mock of Video_UploadVideoServer interface.
func NewMockVideo_UploadVideoServer ¶
func NewMockVideo_UploadVideoServer(ctrl *gomock.Controller) *MockVideo_UploadVideoServer
NewMockVideo_UploadVideoServer creates a new mock instance.
func (*MockVideo_UploadVideoServer) Context ¶
func (m *MockVideo_UploadVideoServer) Context() context.Context
Context mocks base method.
func (*MockVideo_UploadVideoServer) EXPECT ¶
func (m *MockVideo_UploadVideoServer) EXPECT() *MockVideo_UploadVideoServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVideo_UploadVideoServer) Recv ¶
func (m *MockVideo_UploadVideoServer) Recv() (*pb.UploadVideoRequest, error)
Recv mocks base method.
func (*MockVideo_UploadVideoServer) RecvMsg ¶
func (m *MockVideo_UploadVideoServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockVideo_UploadVideoServer) SendAndClose ¶
func (m *MockVideo_UploadVideoServer) SendAndClose(arg0 *pb.UploadVideoResponse) error
SendAndClose mocks base method.
func (*MockVideo_UploadVideoServer) SendHeader ¶
func (m *MockVideo_UploadVideoServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockVideo_UploadVideoServer) SendMsg ¶
func (m *MockVideo_UploadVideoServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockVideo_UploadVideoServer) SetHeader ¶
func (m *MockVideo_UploadVideoServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockVideo_UploadVideoServer) SetTrailer ¶
func (m *MockVideo_UploadVideoServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockVideo_UploadVideoServerMockRecorder ¶
type MockVideo_UploadVideoServerMockRecorder struct {
// contains filtered or unexported fields
}
MockVideo_UploadVideoServerMockRecorder is the mock recorder for MockVideo_UploadVideoServer.
func (*MockVideo_UploadVideoServerMockRecorder) Context ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockVideo_UploadVideoServerMockRecorder) Recv ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockVideo_UploadVideoServerMockRecorder) RecvMsg ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockVideo_UploadVideoServerMockRecorder) SendAndClose ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
SendAndClose indicates an expected call of SendAndClose.
func (*MockVideo_UploadVideoServerMockRecorder) SendHeader ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockVideo_UploadVideoServerMockRecorder) SendMsg ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockVideo_UploadVideoServerMockRecorder) SetHeader ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockVideo_UploadVideoServerMockRecorder) SetTrailer ¶
func (mr *MockVideo_UploadVideoServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.